Re: [PATCH] drm/amdgpu: fix incorrect VCN revision in SRIOV

2021-12-08 Thread Alex Deucher
> That seems cleaner. We can also drop amdgpu_discovery_get_vcn_version() and just use vcn_config. Alex > Thanks, > Lijo > > > Regards, > > Guchun > > > > -Original Message- > > From: amd-gfx On Behalf Of Leslie > > Shi > > Sent: Wedn

Re: [PATCH] drm/amdgpu: fix incorrect VCN revision in SRIOV

2021-12-08 Thread Lazar, Lijo
_MASK Looks like baremetal enables all and VF enables only encode or decode on particular VCN instance. Thanks, Lijo Regards, Guchun -Original Message- From: amd-gfx On Behalf Of Leslie Shi Sent: Wednesday, December 8, 2021 4:46 PM To: amd-gfx@lists.freedesktop.org Subject: [PATCH] drm/amdg

RE: [PATCH] drm/amdgpu: fix incorrect VCN revision in SRIOV

2021-12-08 Thread Chen, Guchun
4:46 PM To: amd-gfx@lists.freedesktop.org Subject: [PATCH] drm/amdgpu: fix incorrect VCN revision in SRIOV Guest OS will setup VCN instance 1 which is disabled as an enabled instance. This will cause VCN ib ring test failure during modprobe. Fixes: 36b7d5646476 ("drm/amdgpu: handle SRIO

[PATCH] drm/amdgpu: fix incorrect VCN revision in SRIOV

2021-12-08 Thread Leslie Shi
Guest OS will setup VCN instance 1 which is disabled as an enabled instance. This will cause VCN ib ring test failure during modprobe. Fixes: 36b7d5646476 ("drm/amdgpu: handle SRIOV VCN revision parsing") Signed-off-by: Leslie Shi --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 3 +++ 1 file chang