[PATCH 00/10] drm/i915: Potential boot oops fix and some cleanups
Ville Syrjala
ville.syrjala at linux.intel.com
Thu Nov 7 16:11:13 UTC 2024
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
I noticed we're grabbing intel_display from the 'state' parameter
in a bunch of encoder hooks. That could oops due to
intel_sanitize_encoder() being an idiot. So fix that.
Follow up with a bunch of cleanups for the analog port code.
Ville Syrjälä (10):
drm/i915: Grab intel_display from the encoder to avoid potential
oopsies
drm/i915/crt: Split long line
drm/i915/crt: Drop the unused ADPA_DPMS bit definitions
drm/i915/crt: Use REG_BIT() & co.
drm/i915/crt: Clean up ADPA_HOTPLUG_BITS definitions
drm/i915/crt: Extract intel_crt_regs.h
drm/i915/crt: s/pipe_config/crtc_state/
drm/i915/crt: Drop pointless drm_device variables
drm/i915/crt: Rename some variables
drm/i915/crt: Nuke unused crt->connector
drivers/gpu/drm/i915/display/intel_crt.c | 157 +++++++++---------
drivers/gpu/drm/i915/display/intel_crt_regs.h | 48 ++++++
.../gpu/drm/i915/display/intel_pch_display.c | 1 +
drivers/gpu/drm/i915/display/intel_tv.c | 4 +-
drivers/gpu/drm/i915/gvt/display.c | 1 +
drivers/gpu/drm/i915/gvt/handlers.c | 1 +
drivers/gpu/drm/i915/i915_reg.h | 47 ------
drivers/gpu/drm/i915/intel_gvt_mmio_table.c | 1 +
8 files changed, 131 insertions(+), 129 deletions(-)
create mode 100644 drivers/gpu/drm/i915/display/intel_crt_regs.h
--
2.45.2
More information about the Intel-gfx
mailing list