diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-25 13:49:12 +0100 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2020-06-09 14:47:05 +0300 |
commit | 3680c2e9f4254d1f033bf00f540e47a51f8f996b (patch) | |
tree | 4d19ceb2e531f1055b1963fbb84546fb181261b8 /drivers/iio/accel/bmc150-accel-i2c.c | |
parent | 4da1ced1e57c885b714255b130e17845234669ff (diff) |
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
(cherry picked from commit 22da5d846d54dd13183b57874b9d5611d583d7c8)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/iio/accel/bmc150-accel-i2c.c')
0 files changed, 0 insertions, 0 deletions