drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 26 Jul 2012 18:53:19 +0000 (20:53 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Sep 2012 02:37:00 +0000 (03:37 +0100)
commite3b0eeb5a6bcf203635aab88111f6821d3c2a839
tree0d6986c69b488baeceaf2965459f201a7e2b72c1
parent5e1bf138823dfadd94a6270112d5882d3e4c13d4
drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate

commit af5e7d84b0ec45b2b614b0d6e3657cbdceaa21f9 upstream.

Signed-off-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
[bwh: Backported to 3.2: register value is in the local 'data' variable]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/nouveau/nvd0_display.c