diff options
| author | Michel Dänzer <[email protected]> | 2018-07-17 10:37:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-07-19 18:56:43 +0000 |
| commit | 4841203102a337b4b627e6dd3a1dc8c88aec982b (patch) | |
| tree | 213cb5f05821ebe28f4393e534778f44e36d25c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/powerplay: fixed uninitialized value (diff) | |
| download | kernel-4841203102a337b4b627e6dd3a1dc8c88aec982b.tar.gz kernel-4841203102a337b4b627e6dd3a1dc8c88aec982b.zip | |
drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86
Allowing CONFIG_DRM_AMD_DC_DCN1_0 to be disabled on X86 was an
opportunity for display with Raven Ridge accidentally not working.
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Michel Dänzer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 2b2de5f3e6e3..386a7b34d2f4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -2200,7 +2200,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type) case CHIP_VEGA10: case CHIP_VEGA12: case CHIP_VEGA20: -#if defined(CONFIG_DRM_AMD_DC_DCN1_0) +#ifdef CONFIG_X86 case CHIP_RAVEN: #endif return amdgpu_dc != 0; |
