RE: [PATCH] drm/amdgpu: Workaround RCC_DEV0_EPF0_STRAP0 access issue for SRIOV

2020-09-21 Thread Zhang, Hawking
[AMD Public Use] You shall by pass get_rev_id function call, instead of adding the check in the callback function. For each hw generation, there could be several callback function implementation depending on whether the mmRCC_DEV0_EPF0_STRAP0 can be re-used. It's error prone if we just take th

RE: [PATCH] drm/amdgpu: Workaround RCC_DEV0_EPF0_STRAP0 access issue for SRIOV

2020-09-21 Thread Khaire, Rohit
Subject: Re: [PATCH] drm/amdgpu: Workaround RCC_DEV0_EPF0_STRAP0 access issue for SRIOV On Fri, Sep 11, 2020 at 6:03 PM Rohit Khaire wrote: > > Signed-off-by: Rohit Khaire > --- > drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 14 +- > 1 file changed, 13 insertions(+), 1 delet

Re: [PATCH] drm/amdgpu: Workaround RCC_DEV0_EPF0_STRAP0 access issue for SRIOV

2020-09-13 Thread Alex Deucher
On Fri, Sep 11, 2020 at 6:03 PM Rohit Khaire wrote: > > Signed-off-by: Rohit Khaire > --- > drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c > b/drivers/gpu/drm/amd/amdgpu/nbio_v