drm: Fix shifts which were miscalculated when converting from bitfields.
authorMichel Dänzer <michel@daenzer.net>
Tue, 23 Jun 2009 10:36:32 +0000 (12:36 +0200)
committerDave Airlie <airlied@linux.ie>
Wed, 24 Jun 2009 06:11:04 +0000 (16:11 +1000)
Looks like I managed to mess up most shifts when converting from bitfields. :(

The patch below works on my Thinkpad T500 (as well as on my PowerBook,
where the previous change worked as well, maybe out of luck...). I'd
appreciate more testing and eyes looking over it though.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Tested-by: Michael Pyne <mpyne@kde.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found