Re: [PATCH 2/4] drm/i915: Don't cast away const

2024-03-08 Thread Jani Nikula
On Thu, 07 Mar 2024, Ville Syrjala wrote: > From: Ville Syrjälä > > 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ä Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/i915/display/intel_a

[PATCH 2/4] drm/i915: Don't cast away const

2024-03-07 Thread Ville Syrjala
From: Ville Syrjälä 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ä --- drivers/gpu/drm/i915/display/intel_atomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/g