Skip to content

drm/i915: Use container_of_const()

Ville Syrjala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/dsi: Use enc_to_intel_dsi()drivers/gpu/drm/i915/display/icl_dsi.c drivers/gpu/drm/i915/display/vlv_dsi.c+2 -41 reply
2/4drm/i915: Don't cast away constdrivers/gpu/drm/i915/display/intel_atomic.c+1 -11 reply
3/4drm/i915: Use container_of_const() for statesdrivers/gpu/drm/i915/display/intel_bw.h drivers/gpu/drm/i915/display/intel_cdclk.h drivers/gpu/drm/i915/display/intel_display_types.h +4 more+23 -121 reply
4/4drm/i915: Drop pointless (void*) castdrivers/gpu/drm/i915/display/intel_sdvo.c+1 -11 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Ville Syrjälä <[email protected]>

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(-)
Signature · 1 line
2.43.0