]> git.baikalelectronics.ru Git - kernel.git/commit
drm: hdlcd: Cleanup the atomic plane operations
authorLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 1 Jun 2016 14:00:15 +0000 (15:00 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 2 Jun 2016 16:45:29 +0000 (17:45 +0100)
commit81db7a030b44b1338fd38cf2473bdb3ee6a6cea9
tree6fbf2d66455ae62f4f5afc4d67d060f700493c5e
parent3c7139e4d3fc2a44f7c62101482ab0729fd16691
drm: hdlcd: Cleanup the atomic plane operations

Harden the plane_check() code to drop attempts at scaling because
that is not supported. Make hdlcd_plane_atomic_update() set the pitch
and line length registers that correctly reflect the plane's values.
And make hdlcd_crtc_mode_set_nofb() a helper function for
hdlcd_crtc_enable() rather than an exposed hook.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_crtc.c
drivers/gpu/drm/arm/hdlcd_drv.h