]> git.baikalelectronics.ru Git - 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)
commit31cb49a9cb78b2fab171a28cb40baaa9c274aa96
tree1ae7ec152cfeb244704fe5bbc434a1b6822cbf16
parent7b18d7250e2044e597fefb7376e65722a4d4a8e5
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