From: Chris Wilson Date: Fri, 30 May 2014 13:35:26 +0000 (+0300) Subject: drm/i915: Always apply cursor width changes X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~10^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b0e333ee1100e621c5530d368a3029d41131214;p=pandora-kernel.git drm/i915: Always apply cursor width changes It is possible for userspace to create a big object large enough for a 256x256, and then switch over to using it as a 64x64 cursor. This requires the cursor update routines to check for a change in width on every update, rather than just when the cursor is originally enabled. This also fixes an issue with 845g/865g which cannot change the base address of the cursor whilst it is active. Signed-off-by: Chris Wilson [Antti:rebased, adjusted macro names and moved some lines, no functional changes] Reviewed-by: Antti Koskipaa Tested-by: Antti Koskipaa Cc: stable@vger.kernel.org Testcase: igt/kms_cursor_crc/cursor-size-change Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed