From: Damien Lespiau Date: Fri, 28 Mar 2014 14:17:49 +0000 (+0000) Subject: drm/i915: Don't store the max cursor width/height in the crtc X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~63^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=068be56163794c12e0f80d47cdcdb7e7487a05b6;p=pandora-kernel.git drm/i915: Don't store the max cursor width/height in the crtc 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 Cc: Chris Wilson Cc: Imre Deak Signed-off-by: Damien Lespiau Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed