linux-stable/drivers/gpu/drm/armada
Russell King 73068ce3b5 drm/armada: fix overlay when partially off-screen
Fix the start address calculation when overlay is partially off screen.
fb->bits_per_pixel is not set for YUV formats, and is always zero, which
led to the first component always starting at zero.

Use drm_format_plane_cpp() instead.

This also revealed a problem in that YUYV formats toggle the U/V data
for odd pixel start address offsets.  We try to rectify that by
toggling the U/V swap, which for the most part works, but seemingly
introduces a flicker for one scan frame of swapped U/V.

However, these changes result in an overall improvement.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-07-15 16:45:29 +01:00
..
armada_510.c drm/armada: update Armada 510 (Dove) to use "ext_ref_clk1" as the clock 2014-07-11 15:40:14 +01:00
armada_crtc.c drm/armada: Remove dummy ->load_lut() implementation 2014-12-10 13:51:25 +01:00
armada_crtc.h drm/armada: register crtc with port 2014-07-11 20:34:47 +01:00
armada_debugfs.c DRM: Armada: convert to use simple_open() 2013-11-06 12:02:36 +10:00
armada_drm.h drm/armada: make variant a CRTC thing 2014-07-03 16:24:48 +01:00
armada_drv.c Merge branch 'platform/remove_owner' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into driver-core-next 2014-11-03 19:53:56 -08:00
armada_fb.c
armada_fb.h
armada_fbdev.c drm: Introduce drm_fb_helper_prepare() 2014-07-08 11:31:28 +10:00
armada_gem.c drm/armada: fix gem object free after failed prime import 2015-07-15 16:45:29 +01:00
armada_gem.h drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
armada_hw.h
armada_ioctlP.h
armada_output.c drm: add register and unregister functions for connectors 2014-06-19 08:55:28 +02:00
armada_output.h drm/armada: constify struct drm_encoder_helper_funcs pointer 2015-04-13 15:00:13 +02:00
armada_overlay.c drm/armada: fix overlay when partially off-screen 2015-07-15 16:45:29 +01:00
armada_slave.c
armada_slave.h
Kconfig DRM: armada: fix missing DRM_KMS_FB_HELPER select 2014-01-27 23:47:14 +00:00
Makefile