]> 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)
commit466d4d9927f24e5a99368690f2421256befb21bc
tree6fbf2d66455ae62f4f5afc4d67d060f700493c5e
parent31a8445f83fb2996b3a17c8ae25a226538d78305
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