[Intel-gfx] [PATCH] drm/i915: Don't store the max cursor width/height in the crtc
Chris Wilson
chris at chris-wilson.co.uk
Fri Mar 28 15:28:38 CET 2014
On Fri, Mar 28, 2014 at 02:17:49PM +0000, Damien Lespiau wrote:
> Those values are, global, only used in one function and already stored
> in mode_config.cursor_{width,height}.
>
> As a result, this initialization code has been moved from the
> crtc_init() function to the global modeset_init() one.
>
> I also renamed CURSOR_{WIDTH,HEIGHT} to MAX_CURSOR_{WIDTH,HEIGHT} to be
> more accurate about what these value really are.
>
> Cc: Sagar Kamble <sagar.a.kamble at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Imre Deak <imre.deak at intel.com>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list