]> 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)
commit45dcac911142e1d39e97c9b7de1d226222117d77
tree1ae7ec152cfeb244704fe5bbc434a1b6822cbf16
parentca935f93cb04f269d6fe2d2be63eba1bb3ecf2a3
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