[RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed May 30 02:24:50 PDT 2012


Hi Daniel,

On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote:
> On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote:
> > The passed mode must not be modified by the operation, make it const.
> > 
> > Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> 
> Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Thank you for the ack. Would you also be so kind as to tell me how to fix the 
related i915 issue (as briefly stated in the patch, the i915 driver modifies 
mode->clock in intel_dp_mode_fixup()) ? Or, even better, provide a patch for 
that ? :-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list