diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v6_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index c7803dc2b2d5..982855e6cf52 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c @@ -2424,7 +2424,7 @@ static void dce_v6_0_crtc_dpms(struct drm_crtc *crtc, int mode)  		break;  	}  	/* adjust pm to dpms */ -	amdgpu_pm_compute_clocks(adev); +	amdgpu_dpm_compute_clocks(adev);  }  static void dce_v6_0_crtc_prepare(struct drm_crtc *crtc) @@ -2674,6 +2674,7 @@ static int dce_v6_0_sw_init(void *handle)  	adev_to_drm(adev)->mode_config.max_height = 16384;  	adev_to_drm(adev)->mode_config.preferred_depth = 24;  	adev_to_drm(adev)->mode_config.prefer_shadow = 1; +	adev_to_drm(adev)->mode_config.fb_modifiers_not_supported = true;  	adev_to_drm(adev)->mode_config.fb_base = adev->gmc.aper_base;  	r = amdgpu_display_modeset_create_props(adev);  | 
