]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Fix the clear color for the first tile rendered.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jan 2016 21:52:41 +0000 (13:52 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 20:20:58 +0000 (12:20 -0800)
commit2a947452e312825b6bb68728687750044bc5388e
treeac2b2e8ba462dd2e087c8bb7583fc62a7442ca91
parent7d71f00b028599161671218f9d84c6a7446a4163
drm/vc4: Fix the clear color for the first tile rendered.

Apparently in hardware (as opposed to simulation), the clear colors
need to be uploaded before the render config, otherwise they won't
take effect.  Fixes igt's vc4_wait_bo/used-bo-* subtests.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_render_cl.c