diff options
| author | Ville Syrjälä <[email protected]> | 2024-05-23 21:28:16 +0300 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2024-05-27 14:29:51 +0300 |
| commit | 5f128aa1052e7d28074ac9b5279d0a09232b699a (patch) | |
| tree | 093150711c2155db1f9bc49f9b7fd071d0a47c5f /tools/perf/scripts/python/flamegraph.py | |
| parent | fabdb275e5ed13271d8fa218a22616ba7ae5aeea (diff) | |
drm/i915: Plumb the entire atomic state into intel_color_check()
Bunch of stuff in intel_color_check() needs to look at both the
old and new crtc states. Currently we do that by digging the
full atomic state via the crtc_state->state pointer. That thing
is a total footgun if I ever saw one, as it's only valid during
specific parts of the atomic flow. A lot of people have been
bitten by this thing in the past when trying to use it after
it's no longer valid.
Take a small step towards elimination of the footgun by not
using it in the inte_color_check(). Instead we plumb in the
entire atomic state all the way from the top.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions