[PATCH] amd/amdgpu: fix typo about amdgpu_sriov_vf

Huang, Ray Ray.Huang at amd.com
Mon Dec 10 10:58:25 UTC 2018


> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Chengming Gui
> Sent: Monday, December 10, 2018 4:05 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Gui, Jack <Jack.Gui at amd.com>
> Subject: [PATCH] amd/amdgpu: fix typo about amdgpu_sriov_vf
> 

Please add description (fix build error) to for the commit. 

With that fixed, please add
Reviewed-by: Huang Rui <ray.huang at amd.com>


> Signed-off-by: Chengming Gui <Jack.Gui at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> index a9c853a..08f443f 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> @@ -4068,7 +4068,7 @@ static void gfx_v8_0_rlc_start(struct
> amdgpu_device *adev)
> 
>  static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev)  {
> -	if (amdgpu_sriov(adev)) {
> +	if (amdgpu_sriov_vf(adev)) {
>  		gfx_v8_0_init_csb(adev);
>  		return 0;
>  	}
> --
> 2.7.4
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list