drm/amdgpu: extend AMDGPU_CTX_PRIORITY_NORMAL comment
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 14 Jun 2019 17:33:35 +0000 (18:33 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2019 18:08:30 +0000 (13:08 -0500)
commitcf034477321e8c88d667514923763b93a0892f49
tree5cf8b31b34eb4ac437bed2b243d7ee1607062795
parent54728170e00cecfac0394c6ee7ea4043778a512b
drm/amdgpu: extend AMDGPU_CTX_PRIORITY_NORMAL comment

Currently the AMDGPU_CTX_PRIORITY_* defines are used in both
drm_amdgpu_ctx_in::priority and drm_amdgpu_sched_in::priority.

Extend the comment to mention the CAP_SYS_NICE or DRM_MASTER requirement
is only applicable with the former.

Cc: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/uapi/drm/amdgpu_drm.h