[PATCH] drm/amdgpu: remove program of lbpw for renoir

Huang, Ray Ray.Huang at amd.com
Mon Sep 16 02:09:57 UTC 2019



> -----Original Message-----
> From: Liu, Aaron <Aaron.Liu at amd.com>
> Sent: Monday, September 16, 2019 9:40 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Huang, Ray
> <Ray.Huang at amd.com>; Liu, Aaron <Aaron.Liu at amd.com>
> Subject: [PATCH] drm/amdgpu: remove program of lbpw for renoir
> 
> These is no LBPW on Renoir. So removing program of lbpw for renoir.
> 
> Signed-off-by: Aaron Liu <aaron.liu at amd.com>

Reviewed-by: Huang Rui <ray.huang at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index b75ef89..fe21ef8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1646,7 +1646,6 @@ static int gfx_v9_0_rlc_init(struct amdgpu_device
> *adev)
> 
>  	switch (adev->asic_type) {
>  	case CHIP_RAVEN:
> -	case CHIP_RENOIR:
>  		gfx_v9_0_init_lbpw(adev);
>  		break;
>  	case CHIP_VEGA20:
> @@ -3013,7 +3012,6 @@ static int gfx_v9_0_rlc_resume(struct
> amdgpu_device *adev)
> 
>  	switch (adev->asic_type) {
>  	case CHIP_RAVEN:
> -	case CHIP_RENOIR:
>  		if (amdgpu_lbpw == 0)
>  			gfx_v9_0_enable_lbpw(adev, false);
>  		else
> --
> 2.7.4



More information about the amd-gfx mailing list