aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_request.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-05-25 13:49:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2020-05-26 12:53:52 +0100
commit22da5d846d54dd13183b57874b9d5611d583d7c8 (patch)
tree33294d340b2c9c02a5d678a6da1c8fb572bad839 /drivers/gpu/drm/i915/i915_request.c
parentdrm/i915: Improve execute_cb struct packing (diff)
downloadlinux-dev-22da5d846d54dd13183b57874b9d5611d583d7c8.tar.xz
linux-dev-22da5d846d54dd13183b57874b9d5611d583d7c8.zip
drm/i915/display: Only query DP state of a DDI encoder
Avoid a NULL dereference for a mismatched encoder type, hit when probing state for all encoders. This is a band aid to prevent the OOPS as the right fix is "probably to swap the psr vs infoframes.enable checks, or outright disappear from this function" (Ville). Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1892 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200525124912.16019-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions