]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd1608a17faba5d1cba9d90d28bcc352ad9da5d1
tree5cf8b31b34eb4ac437bed2b243d7ee1607062795
parentf2cde3c4cb9b5774a458d8dc1ad0eb5544c06421
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