linux_dsm_epyc7002/drivers/gpu
Steve Longerbeam 9f0ba3d92f gpu: ipu-v3: Fix U/V offset macros for planar 4:2:0
The U and V offset macros for planar 4:2:0 (U_OFFSET, V_OFFSET, and
UV_OFFSET), are not correct. The height component to the offset was
calculated as:

(pix->width * y / 4)

But this does not produce correct offsets for odd values of y (luma
line #). The luma line # must be decimated by two to produce the
correct U/V line #, so the correct formula is:

(pix->width * (y / 2) / 2)

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2018-08-02 11:47:39 +02:00
..
drm drm/imx: imx-ldb: check if channel is enabled before printing warning 2018-07-16 16:56:34 +02:00
host1x drm for v4.18-rc1 2018-06-06 08:16:33 -07:00
ipu-v3 gpu: ipu-v3: Fix U/V offset macros for planar 4:2:0 2018-08-02 11:47:39 +02:00
vga docs: Fix some broken references 2018-06-15 18:10:01 -03:00
Makefile