mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 08:31:37 +00:00
drm/amdgpu/display/dce11: only enable FBC when selected
Causes a black screen on a Stoney laptop. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=108577 Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
04b94af4e3
commit
5822e9539d
@ -1362,7 +1362,8 @@ static bool construct(
|
||||
pool->base.sw_i2cs[i] = NULL;
|
||||
}
|
||||
|
||||
dc->fbc_compressor = dce110_compressor_create(ctx);
|
||||
if (dc->config.fbc_support)
|
||||
dc->fbc_compressor = dce110_compressor_create(ctx);
|
||||
|
||||
if (!underlay_create(ctx, &pool->base))
|
||||
goto res_create_fail;
|
||||
|
Loading…
Reference in New Issue
Block a user