[PATCH] drm/amdgpu: disable DC on KB/ML for now

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-08-23 09:48 AM, Alex Deucher wrote:
> Until I've had time to test it better.
>> bug: https://bugs.freedesktop.org/show_bug.cgi?id=102372
> 

Looks like just one missing piece in dce110_opp_power_on_regamma_lut

> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 119542f..158c1ea 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -1954,8 +1954,6 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
>  	case CHIP_BONAIRE:
>  	case CHIP_HAWAII:
>  	case CHIP_KAVERI:
> -	case CHIP_KABINI:
> -	case CHIP_MULLINS:
>  	case CHIP_CARRIZO:
>  	case CHIP_STONEY:
>  	case CHIP_POLARIS11:
> @@ -1965,6 +1963,9 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
>  	case CHIP_FIJI:
>  	case CHIP_VEGA10:
>  		return amdgpu_dc != 0;
> +	case CHIP_KABINI:
> +	case CHIP_MULLINS:
> +		return amdgpu_dc > 0;
>  #endif
>  #if defined(CONFIG_DRM_AMD_DC) && defined(CONFIG_DRM_AMD_DC_DCN1_0)
>  	case CHIP_RAVEN:
> 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux