mirror_ubuntu-kernels/drivers/gpu/drm/amd
Grigory Vasilyev 6f90a49bc0 drm/amdgpu: Fix incorrect enum type
Instead of the 'amdgpu_ring_priority_level' type,
the 'amdgpu_gfx_pipe_priority' type was used,
which is an error when setting ring priority.
This is a minor error, but may cause problems in the future.

Instead of AMDGPU_RING_PRIO_2 = 2, we can use AMDGPU_RING_PRIO_MAX = 3,
but AMDGPU_RING_PRIO_2 = 2 is used for compatibility with
AMDGPU_GFX_PIPE_PRIO_HIGH = 2, and not change the behavior of the
code.

Signed-off-by: Grigory Vasilyev <h0tc0d3@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-04-11 13:50:35 -04:00
..
acp
amdgpu drm/amdgpu: Fix incorrect enum type 2022-04-11 13:50:35 -04:00
amdkfd drm/amdkfd: Handle drain retry fault race with XNACK mode change 2022-04-11 13:50:35 -04:00
display drm/amd/display: cleanup extern usage in function definition 2022-04-07 16:37:35 -04:00
include drm/amdgpu: Use flexible array member 2022-04-11 13:50:35 -04:00
pm drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00