]> 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)
commit7fd3adfd219d8906dcff2cd3ce541d9997841f3d
treeac2b2e8ba462dd2e087c8bb7583fc62a7442ca91
parenta741ec4875c13bac8c50e76c3e7178adaa85b3f8
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