mbox series

[0/4] drm/i915: Use container_of_const()

Message ID 20240307151810.24208-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Use container_of_const() | expand

Message

Ville Syrjälä March 7, 2024, 3:18 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Start using container_of_const() for some extra const safety.

Ville Syrjälä (4):
  drm/i915/dsi: Use enc_to_intel_dsi()
  drm/i915: Don't cast away const
  drm/i915: Use container_of_const() for states
  drm/i915: Drop pointless (void*) cast

 drivers/gpu/drm/i915/display/icl_dsi.c             |  3 +--
 drivers/gpu/drm/i915/display/intel_atomic.c        |  2 +-
 drivers/gpu/drm/i915/display/intel_bw.h            |  3 ++-
 drivers/gpu/drm/i915/display/intel_cdclk.h         |  4 +++-
 drivers/gpu/drm/i915/display/intel_display_types.h | 14 ++++++++++----
 drivers/gpu/drm/i915/display/intel_pmdemand.h      |  5 ++---
 drivers/gpu/drm/i915/display/intel_sdvo.c          |  4 ++--
 drivers/gpu/drm/i915/display/intel_tv.c            |  3 ++-
 drivers/gpu/drm/i915/display/skl_watermark.h       |  4 +++-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  3 +--
 10 files changed, 27 insertions(+), 18 deletions(-)