]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use context parameters to enable FBC
authorShirish S <shirish.s@amd.com>
Mon, 4 Feb 2019 08:54:25 +0000 (14:24 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 02:16:22 +0000 (21:16 -0500)
commitea2b4df24e242e4cd576d07a91b6e833891b6886
treeba00f672540fe239c258212d0cab7972069c794e
parent45748e6264dae0cd1123631b4e40c283178a2140
drm/amd/display: Use context parameters to enable FBC

[What]
FBC fails to get enabled when switched between LINEAR(console/VT)
and non-LINEAR(GUI) based rendering due to default value of
tiling info stored in the current_state which is used for deciding
whether or not to turn FBC on or off.

[How]
Use context structure's tiling information which is coherant with
the screen updates.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c