]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: remove hardcoded queue_mask in PACKET3_SET_RESOURCES
authorAndres Rodriguez <andresx7@gmail.com>
Tue, 4 Apr 2017 21:18:28 +0000 (17:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 May 2017 20:48:57 +0000 (16:48 -0400)
commitde65513af1124b28f2a858bc19b71a54dd93824e
tree1ae7ec152cfeb244704fe5bbc434a1b6822cbf16
parente33fec4835b9d2b1f8f8b1eb7c3415ab75a0faf5
drm/amdgpu: remove hardcoded queue_mask in PACKET3_SET_RESOURCES

The assumption that we are only using the first pipe no longer holds.
Instead, calculate the queue_mask from the queue_bitmap.

Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c