]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: Fix XCP instance mask calculation
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 11 Sep 2024 08:19:51 +0000 (13:49 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Sep 2024 20:15:09 +0000 (16:15 -0400)
commit42ac749d5b8bf78b347ac8a52eb15cc397b157a0
tree9226e3c078d67bf6a35c5f1552f2d0f9946066c1
parentef126c06a98bde1a41303970eb0fc0ac33c3cc02
drm/amdgpu: Fix XCP instance mask calculation

Fix instance mask calculation for VCN IP. There are cases where VCN
instance could be shared across partitions. Fix here so that other
blocks don't need to check for any shared instances based on partition
mode.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c