Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isys-video: Set extra v4l2 formats. #114

Open
wants to merge 1 commit into
base: iotg_ipu6
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions drivers/media/pci/intel/ipu-isys-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
const struct ipu_isys_pixelformat ipu_isys_pfmts_be_soc[] = {
{V4L2_PIX_FMT_Y10, 16, 10, 0, MEDIA_BUS_FMT_Y10_1X10,
IPU_FW_ISYS_FRAME_FORMAT_RAW16},
{V4L2_PIX_FMT_Y8I, 16, 16, 0, MEDIA_BUS_FMT_UYVY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_UYVY},
{V4L2_PIX_FMT_Z16, 16, 16, 0, MEDIA_BUS_FMT_UYVY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_UYVY},
{V4L2_PIX_FMT_UYVY, 16, 16, 0, MEDIA_BUS_FMT_UYVY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_UYVY},
{V4L2_PIX_FMT_YUYV, 16, 16, 0, MEDIA_BUS_FMT_YUYV8_1X16,
Expand Down Expand Up @@ -80,6 +76,12 @@ const struct ipu_isys_pixelformat ipu_isys_pfmts_be_soc[] = {
IPU_FW_ISYS_FRAME_FORMAT_RAW8},
{V4L2_PIX_FMT_GREY, 8, 8, 0, MEDIA_BUS_FMT_Y8_1X8,
IPU_FW_ISYS_FRAME_FORMAT_RAW8},
{V4L2_PIX_FMT_Z16, 16, 16, 0, MEDIA_BUS_FMT_UYVY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_UYVY},
{V4L2_PIX_FMT_Y8I, 16, 16, 0, MEDIA_BUS_FMT_VYUY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_YUYV},
{V4L2_PIX_FMT_Y12I, 32, 24, 0, MEDIA_BUS_FMT_RGB888_1X24,
IPU_FW_ISYS_FRAME_FORMAT_RGBA888},
{}
};

Expand All @@ -90,10 +92,6 @@ const struct ipu_isys_pixelformat ipu_isys_pfmts_packed[] = {
{V4L2_PIX_FMT_Y210, 20, 20, 0, MEDIA_BUS_FMT_YUYV10_1X20,
IPU_FW_ISYS_FRAME_FORMAT_YUYV},
#endif
{V4L2_PIX_FMT_Y8I, 16, 16, 0, MEDIA_BUS_FMT_UYVY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_UYVY},
{V4L2_PIX_FMT_Z16, 16, 16, 0, MEDIA_BUS_FMT_UYVY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_UYVY},
{V4L2_PIX_FMT_UYVY, 16, 16, 0, MEDIA_BUS_FMT_UYVY8_1X16,
IPU_FW_ISYS_FRAME_FORMAT_UYVY},
{V4L2_PIX_FMT_YUYV, 16, 16, 0, MEDIA_BUS_FMT_YUYV8_1X16,
Expand Down