RE: [PATCH] drm/amdgpu: check rlc_g firmware pointer is valid before using it

2020-01-13 Thread Zhang, Hawking
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of shaoyunl Sent: Tuesday, January 14, 2020 00:20 To: amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: check rlc_g firmware pointer

Re: [PATCH] drm/amdgpu: check rlc_g firmware pointer is valid before using it

2020-01-13 Thread shaoyunl
ping. On 2020-01-10 1:33 p.m., shaoyunl wrote: In SRIOV, rlc_g firmware is loaded by host, guest driver won't load it which will cause the rlc_fw pointer is null Change-Id: Id16f65171dd427d623af4c5bc75f674019e63dec Signed-off-by: shaoyunl --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 9

[PATCH] drm/amdgpu: check rlc_g firmware pointer is valid before using it

2020-01-10 Thread shaoyunl
In SRIOV, rlc_g firmware is loaded by host, guest driver won't load it which will cause the rlc_fw pointer is null Change-Id: Id16f65171dd427d623af4c5bc75f674019e63dec Signed-off-by: shaoyunl --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(