[PATCH 2/2] drm/amdgpu/display: disable FBC
Wentland, Harry
Harry.Wentland at amd.com
Mon Nov 5 23:54:29 UTC 2018
On 2018-11-05 2:27 p.m., Alex Deucher wrote:
> Causes a black screen on Stoney laptop.
>
> bug: https://bugs.freedesktop.org/show_bug.cgi?id=108577
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
> index 1a90e1a38055..ad59436a91b1 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
> @@ -1354,7 +1354,8 @@ static bool construct(
> pool->base.sw_i2cs[i] = NULL;
> }
>
> - dc->fbc_compressor = dce110_compressor_create(ctx);
> + /* disable FBC for now */
> + /* dc->fbc_compressor = dce110_compressor_create(ctx); */
Maybe we should make that runtime configurable if it can be flaky, like i915's enable_fbc: https://wiki.archlinux.org/index.php/intel_graphics#Framebuffer_compression_.28enable_fbc.29
Harry
>
> if (!underlay_create(ctx, &pool->base))
> goto res_create_fail;
>
More information about the amd-gfx
mailing list