OSDN Git Service

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)
commit9d46f32bdd3e9d4bf435c5ae50f72fb475bf0620
tree1e51aa100e231cbd9ff50f376be1a7e421f1e816
parente6d5752080e2d069643d65b0db10c411f6b45412
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