]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Enable background color fill when necessary
authorStefan Schake <stschake@gmail.com>
Fri, 9 Mar 2018 00:53:37 +0000 (01:53 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 9 Mar 2018 19:25:11 +0000 (11:25 -0800)
commit0d1651a1bec0d0596f1564aaaffba0abd99d59b9
treeb7049556ed1276aa5d9b1879add344a2303212f9
parentc1e20bc260b0005902c003963d23bd100ef83a12
drm/vc4: Enable background color fill when necessary

Using the hint from the plane state, we turn on the background color
to avoid display corruption from planes blending with the background.

Changes from v1:
 - Use needs_bg_fill from plane state

Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1520556817-97297-5-git-send-email-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_crtc.c