[PATCH] drm/amdgpu: add one rlc version into gfxoff blacklist

StDenis, Tom Tom.StDenis at amd.com
Wed Mar 20 11:25:34 UTC 2019


FWIW when I manually apply this to my drm-next kernel on my raven1 devel 
box it works fine.


Tested-by: Tom St Denis <tom.stdenis at amd.com>

Tom

On 2019-03-19 9:31 a.m., Huang Rui wrote:
> RLC #53815 ucode has the noise issue on 4k playback while gfxoff enabled.
>
> Signed-off-by: Huang Rui <ray.huang at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 6b48d4c..3765d97 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -589,6 +589,7 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
>   		if (adev->rev_id >= 0x8 || adev->pdev->device == 0x15d8)
>   			break;
>   		if ((adev->gfx.rlc_fw_version < 531) ||
> +		    (adev->gfx.rlc_fw_version == 53815) ||
>   		    (adev->gfx.rlc_feature_version < 1) ||
>   		    !adev->gfx.rlc.is_rlc_v2_1)
>   			adev->pm.pp_feature &= ~PP_GFXOFF_MASK;


More information about the amd-gfx mailing list