drm/amd: abstract kernel rq and normal rq to priority of run queue
authorChunming Zhou <David1.Zhou@amd.com>
Thu, 5 Nov 2015 07:23:09 +0000 (15:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2015 20:54:33 +0000 (15:54 -0500)
commitd033a6de80054139b4358db12cf6bb8d6cf58853
tree10a1d10028b74702abea494cb5e029747696dbd5
parentccba7691a580a0967f60a512473ce699b9edac0d
drm/amd: abstract kernel rq and normal rq to priority of run queue

Allows us to set priorities in the scheduler.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h