diff options
| author | Paul E. McKenney <[email protected]> | 2025-03-13 23:24:36 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2025-05-08 23:13:26 +0000 |
| commit | 25228c60999f848fdeb291031858de49c115b64e (patch) | |
| tree | 79a2b45f00226556f13e1d8265f6809d497fb653 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | random: Avoid open-coded use of ratelimit_state structure's ->missed field (diff) | |
| download | kernel-25228c60999f848fdeb291031858de49c115b64e.tar.gz kernel-25228c60999f848fdeb291031858de49c115b64e.zip | |
drm/i915: Avoid open-coded use of ratelimit_state structure's ->missed field
The i915_oa_stream_destroy() function directly accesses the
ratelimit_state structure's ->missed field, which works, but which also
makes it more difficult to change this field. Therefore, make use of
the ratelimit_state_get_miss() function instead of directly accessing
the ->missed field.
Link: https://lore.kernel.org/all/fbe93a52-365e-47fe-93a4-44a44547d601@paulmck-laptop/
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
