]> git.dujemihanovic.xyz Git - linux.git/commit
drm/i915: Move CURSIZE setup to i845_update_cursor()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Aug 2014 16:39:53 +0000 (19:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Aug 2014 12:23:37 +0000 (14:23 +0200)
commitd7ce484eeec43079ad842f1d351f53998ed6bb30
tree747f61191f9a0f8f2620fb3141bf933f9869a08c
parenta08a42ad441e113f87308e0844049cb881f1ac1d
drm/i915: Move CURSIZE setup to i845_update_cursor()

CURSIZE register exists on 845/865 only, so move it to
i845_update_cursor(). Changes to cursor size must be done only when the
cursor is disabled, so do the write just before enabling the cursor.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c