File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
drivers/gpu/drm/amd/display/dc/dml/dcn30 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ typedef struct {
63
63
64
64
#define BPP_INVALID 0
65
65
#define BPP_BLENDED_PIPE 0xffffffff
66
+ #define DCN30_MAX_DSC_IMAGE_WIDTH 5184
66
67
67
68
static void DisplayPipeConfiguration (struct display_mode_lib * mode_lib );
68
69
static void DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation (
@@ -3984,6 +3985,9 @@ void dml30_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
3984
3985
} else if (v -> PlaneRequiredDISPCLKWithoutODMCombine > v -> MaxDispclkRoundedDownToDFSGranularity ) {
3985
3986
v -> ODMCombineEnablePerState [i ][k ] = dm_odm_combine_mode_2to1 ;
3986
3987
v -> PlaneRequiredDISPCLK = v -> PlaneRequiredDISPCLKWithODMCombine2To1 ;
3988
+ } else if (v -> DSCEnabled [k ] && (v -> HActive [k ] > DCN30_MAX_DSC_IMAGE_WIDTH )) {
3989
+ v -> ODMCombineEnablePerState [i ][k ] = dm_odm_combine_mode_2to1 ;
3990
+ v -> PlaneRequiredDISPCLK = v -> PlaneRequiredDISPCLKWithODMCombine2To1 ;
3987
3991
} else {
3988
3992
v -> ODMCombineEnablePerState [i ][k ] = dm_odm_combine_mode_disabled ;
3989
3993
v -> PlaneRequiredDISPCLK = v -> PlaneRequiredDISPCLKWithoutODMCombine ;
You can’t perform that action at this time.
0 commit comments