mbox series

[0/8] drm/client: Stop using legacy crtc->mode and a bunch of cleanups

Message ID 20241003113304.11700-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/client: Stop using legacy crtc->mode and a bunch of cleanups | expand

Message

Ville Syrjälä Oct. 3, 2024, 11:32 a.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The most interesting part is the change to modes[] to solve
the lifetime issue so that we can stop using the legacy
crtc->mode for atomic drivers.

Additionally I included a bunch of cleanups, some of which were
inherited from https://patchwork.freedesktop.org/series/132051/

Ville Syrjälä (8):
  drm/client: Constify modes
  drm/client: Use array notation for function arguments
  drm/client: Streamline mode selection debugs
  drm/client: Make copies of modes
  drm/client: Stop using the legacy crtc->mode
  drm/client: s/new_crtc/crtc/
  drm/client: Move variables to tighter scope
  drm/client: s/unsigned int i/int i/

 drivers/gpu/drm/drm_client_modeset.c | 253 +++++++++++++--------------
 1 file changed, 125 insertions(+), 128 deletions(-)