aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorShrikanth Hegde <[email protected]>2024-03-08 11:58:53 +0100
committerIngo Molnar <[email protected]>2024-03-12 11:03:40 +0100
commit02a61f325a8e62a7c76479c5f2f7ddcba16877e8 (patch)
treea113dd0ab7ec22384bc9df21db1f4c1685d900a9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent214c1b7f13954559cf09d5d04b934bf32ba4d618 (diff)
sched/balancing: Remove reliance on 'enum cpu_idle_type' ordering when iterating [CPU_MAX_IDLE_TYPES] arrays in show_schedstat()
show_schedstat() output breaks and doesn't print all entries if the ordering of the definitions in 'enum cpu_idle_type' is changed, because show_schedstat() assumes that 'CPU_IDLE' is 0. Fix it before we change the definition order & values. [ mingo: Added changelog. ] Signed-off-by: Shrikanth Hegde <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions