]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Keep plane to CRTC associations when disabling a plane
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 28 Apr 2015 15:01:45 +0000 (18:01 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 25 May 2015 12:34:12 +0000 (15:34 +0300)
commit4fbbe9638b4db8eb25d72abb7fa615074b224ff5
treec10facea26db9c7c7460fc6762c9eb3633fcff69
parent514ed0c5516aad256b7c0de6e172e27adc74856e
drm: rcar-du: Keep plane to CRTC associations when disabling a plane

Changing the plane to CRTC associations requires restarting the CRTC
group, creating visible flicker. Mitigate the issue by changing plane
association only when a plane becomes enabled, not when it get disabled.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_group.c
drivers/gpu/drm/rcar-du/rcar_du_group.h