mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 13:57:54 -04:00
drm/amd/display: assume VBIOS supports DSC as default
[Why & How] The clear_dsc_setting at boot logic was based on dcn version check. As such new ASIC lost this DSC clear up logic, change the assumption to BIOS support eDP DSC for new ASIC. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Charlene Liu <Charlene.Liu@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
084e073544
commit
50bcdef7b6
@@ -1836,11 +1836,10 @@ static void clean_up_dsc_blocks(struct dc *dc)
|
||||
struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl;
|
||||
int i;
|
||||
|
||||
if (dc->ctx->dce_version != DCN_VERSION_3_5 &&
|
||||
dc->ctx->dce_version != DCN_VERSION_3_6 &&
|
||||
dc->ctx->dce_version != DCN_VERSION_3_51)
|
||||
if (!dc->caps.is_apu ||
|
||||
dc->ctx->dce_version < DCN_VERSION_3_15)
|
||||
return;
|
||||
|
||||
/*VBIOS supports dsc starts from dcn315*/
|
||||
for (i = 0; i < dc->res_pool->res_cap->num_dsc; i++) {
|
||||
struct dcn_dsc_state s = {0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user