summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_cmd_parser.c
diff options
context:
space:
mode:
authorHarish Chegondi <harish.chegondi@intel.com>2021-12-17 08:02:55 -0800
committerMatt Roper <matthew.d.roper@intel.com>2022-01-07 13:33:51 -0800
commit814d5c51f8966895bb20b51c886bd3961f76f3f4 (patch)
treeea822c5ca9ffc0a03be6ee3125179623bbf8b1cb /drivers/gpu/drm/i915/i915_cmd_parser.c
parent80dfdeb75028084f42a81a4151a986c56aeec1c1 (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 <jani.nikula@intel.com> Cc: Caz Yokoyama <caz.yokoyama@intel.com> Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211217160255.1300348-1-harish.chegondi@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_cmd_parser.c')
0 files changed, 0 insertions, 0 deletions