Commit 05230fa9 authored by Roman Li's avatar Roman Li Committed by Alex Deucher

drm/amd/display: Disable FBC for linear tiling

- Fixing text console on FBC-enabled builds
Signed-off-by: default avatarRoman Li <Roman.Li@amd.com>
Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e338aab0
...@@ -1552,6 +1552,10 @@ static enum dc_status validate_fbc(struct dc *dc, ...@@ -1552,6 +1552,10 @@ static enum dc_status validate_fbc(struct dc *dc,
if (pipe_ctx->stream->sink->link->psr_enabled) if (pipe_ctx->stream->sink->link->psr_enabled)
return DC_ERROR_UNEXPECTED; return DC_ERROR_UNEXPECTED;
/* Only for non-linear tiling */
if (pipe_ctx->plane_state->tiling_info.gfx8.array_mode == DC_ARRAY_LINEAR_GENERAL)
return DC_ERROR_UNEXPECTED;
return DC_OK; return DC_OK;
} }
......
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