• Grigory Vasilyev's avatar
    drm/amdgpu: Fix incorrect enum type · 6f90a49b
    Grigory Vasilyev authored
    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: default avatarGrigory Vasilyev <h0tc0d3@gmail.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    6f90a49b
gfx_v9_0.c 242 KB