drm/i915: Don't cast away const
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Mar 2024 15:18:08 +0000 (17:18 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Mar 2024 08:53:25 +0000 (10:53 +0200)
commit7e0c5caf944ab67f33592ecea628caefea1ebe85
treef66770b361e0a7973124ad56f3c8e920738c4294
parent9eae5bac7bcdf1d73de6f90cb0b7f423b6746e8f
drm/i915: Don't cast away const

The connector state passed to .atomic_get_property() is const.
We should preserve that when downcasting to our version.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240307151810.24208-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_atomic.c