Skip to content

Commit 5822e95

Browse files
committed
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>
1 parent 04b94af commit 5822e95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,8 @@ static bool construct(
13621362
pool->base.sw_i2cs[i] = NULL;
13631363
}
13641364

1365-
dc->fbc_compressor = dce110_compressor_create(ctx);
1365+
if (dc->config.fbc_support)
1366+
dc->fbc_compressor = dce110_compressor_create(ctx);
13661367

13671368
if (!underlay_create(ctx, &pool->base))
13681369
goto res_create_fail;

0 commit comments

Comments
 (0)