diff options
| author | Dmitry Torokhov <[email protected]> | 2022-12-12 10:47:03 -0800 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2022-12-12 10:47:03 -0800 | 
| commit | e291c116f60f3c1ca98090f0f8e7c77e658562fb (patch) | |
| tree | 2fbe810f2a6f8b29f1cdaefd87b24debbfa0ec07 /drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | |
| parent | 8c9a59939deb4bfafdc451100c03d1e848b4169b (diff) | |
| parent | c3991107a28a5ad0bd90660ca3bbf8c2c220ea98 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.2 merge window.
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v8_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c index 802e5c753271..a22b45c92792 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c @@ -2693,8 +2693,11 @@ static int dce_v8_0_sw_init(void *handle)  	adev_to_drm(adev)->mode_config.max_height = 16384;  	adev_to_drm(adev)->mode_config.preferred_depth = 24; -	/* disable prefer shadow for now due to hibernation issues */ -	adev_to_drm(adev)->mode_config.prefer_shadow = 0; +	if (adev->asic_type == CHIP_HAWAII) +		/* disable prefer shadow for now due to hibernation issues */ +		adev_to_drm(adev)->mode_config.prefer_shadow = 0; +	else +		adev_to_drm(adev)->mode_config.prefer_shadow = 1;  	adev_to_drm(adev)->mode_config.fb_modifiers_not_supported = true; |