> -----Original Message-----
> From: amd-gfx [mailto:[email protected]] On Behalf
> Of Huang Rui
> Sent: Thursday, July 20, 2017 3:36 AM
> To: [email protected]
> Cc: Huang, Ray
> Subject: [PATCH 3/3] drm/amdgpu: fix the incorrect scratch reg number on
> gfx v6
> 
> Signed-off-by: Huang Rui <[email protected]>

Series is:
Reviewed-by: Alex Deucher <[email protected]>

> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> index 5173ca1..4ac85f4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> @@ -1573,7 +1573,7 @@ static void gfx_v6_0_gpu_init(struct
> amdgpu_device *adev)
> 
>  static void gfx_v6_0_scratch_init(struct amdgpu_device *adev)
>  {
> -     adev->gfx.scratch.num_reg = 7;
> +     adev->gfx.scratch.num_reg = 8;
>       adev->gfx.scratch.reg_base = mmSCRATCH_REG0;
>       adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) -
> 1;
>  }
> --
> 2.7.4
> 
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to