]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: allow for more flexible priority handling
authorChristian König <christian.koenig@amd.com>
Mon, 16 Jul 2018 11:47:34 +0000 (13:47 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jul 2018 21:18:43 +0000 (16:18 -0500)
commite33f54bc48e742a56b32de17804c9c6254964961
tree1e51aa100e231cbd9ff50f376be1a7e421f1e816
parent0902187659fa4b1f25a1ae14b88b4b9080a4b8ad
drm/amdgpu: allow for more flexible priority handling

Allow to call amdgpu_ring_priority_get() after pushing the ring to the
scheduler.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c