linux-stable/drivers/media/platform/s5p-g2d
Hans Verkuil f72b9d8cfc media: s5p-g2d: convert g/s_crop to g/s_selection
Replace g/s_crop by g/s_selection and set the V4L2_FL_QUIRK_INVERTED_CROP
flag since this is one of the old drivers that predates the selection
API. Those old drivers allowed g_crop when it really shouldn't have since
g_crop returns a compose rectangle instead of a crop rectangle for the
CAPTURE stream, and vice versa for the OUTPUT stream.

Also drop the now unused vidioc_cropcap.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-20 13:53:57 -05:00
..
Makefile
g2d-hw.c [media] s5p-g2d: Add support for G2D H/W Rev.4.1 2013-02-05 17:30:14 -02:00
g2d-regs.h [media] s5p-g2d: Add support for G2D H/W Rev.4.1 2013-02-05 17:30:14 -02:00
g2d.c media: s5p-g2d: convert g/s_crop to g/s_selection 2018-11-20 13:53:57 -05:00
g2d.h media: s5p-g2d: Remove unrequired wait in .job_abort 2018-07-24 17:43:15 -04:00