drm/amdgpu: Unset context priority is now invalid
authorLuben Tuikov <luben.tuikov@amd.com>
Tue, 17 Oct 2023 02:24:39 +0000 (22:24 -0400)
committerLuben Tuikov <luben.tuikov@amd.com>
Wed, 18 Oct 2023 00:35:38 +0000 (20:35 -0400)
commiteab0261967aeab528db4d0a51806df8209aec179
treec4f70ae55ea08ec5e9c0d0a816df3a84ae83daeb
parent88630e91f12677848c0c4a5790ec0d691f8859fa
drm/amdgpu: Unset context priority is now invalid

A context priority value of AMD_CTX_PRIORITY_UNSET is now invalid--instead of
carrying it around and passing it to the Direct Rendering Manager--and it
becomes AMD_CTX_PRIORITY_NORMAL in amdgpu_ctx_ioctl(), the gateway to context
creation.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Acked-by: Alex Deucher <Alexander.Deucher@amd.com>
Link: https://lore.kernel.org/r/20231017035656.8211-1-luben.tuikov@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c