diff options
| author | Harish Chegondi <[email protected]> | 2021-12-17 08:02:55 -0800 |
|---|---|---|
| committer | Matt Roper <[email protected]> | 2022-01-07 13:33:51 -0800 |
| commit | 814d5c51f8966895bb20b51c886bd3961f76f3f4 (patch) | |
| tree | ea822c5ca9ffc0a03be6ee3125179623bbf8b1cb /tools/perf/scripts/python/libxed.py | |
| parent | 80dfdeb75028084f42a81a4151a986c56aeec1c1 (diff) | |
drm/i915: Fix possible NULL pointer dereferences in i9xx_update_wm()
Check return pointer from intel_crtc_for_plane() before dereferencing
it, as it can be NULL.
v2: Moved the NULL check into intel_crtc_active().
Cc: Jani Nikula <[email protected]>
Cc: Caz Yokoyama <[email protected]>
Cc: Radhakrishna Sripada <[email protected]>
Signed-off-by: Harish Chegondi <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions