[PATCH 1/4] drm/amdgpu: Add flag to enable indirect RLCG access for gfx v9.4.3

Lazar, Lijo lijo.lazar at amd.com
Wed Nov 8 09:59:35 UTC 2023



On 11/3/2023 8:26 PM, Victor Lu wrote:
> The "rlcg_reg_access_supported" flag is missing. Add it back in.
> 
> Signed-off-by: Victor Lu <victorchengchi.lu at amd.com>

Series is
	Reviewed-by: Lijo Lazar <lijo.lazar at amd.com>

Thanks,
Lijo

> ---
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> index a1c2c952d882..ce2a9876369e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> @@ -1101,6 +1101,7 @@ static void gfx_v9_4_3_init_rlcg_reg_access_ctrl(struct amdgpu_device *adev)
>   		reg_access_ctrl->grbm_idx = SOC15_REG_OFFSET(GC, GET_INST(GC, xcc_id), regGRBM_GFX_INDEX);
>   		reg_access_ctrl->spare_int = SOC15_REG_OFFSET(GC, GET_INST(GC, xcc_id), regRLC_SPARE_INT);
>   	}
> +	adev->gfx.rlc.rlcg_reg_access_supported = true;
>   }
>   
>   static int gfx_v9_4_3_rlc_init(struct amdgpu_device *adev)


More information about the amd-gfx mailing list