Commit 5822e953 authored by Alex Deucher's avatar Alex Deucher

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=108577Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 04b94af4
...@@ -1362,7 +1362,8 @@ static bool construct( ...@@ -1362,7 +1362,8 @@ static bool construct(
pool->base.sw_i2cs[i] = NULL; 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)) if (!underlay_create(ctx, &pool->base))
goto res_create_fail; goto res_create_fail;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment