]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Fix LUT programming for 16bpp
authorEgbert Eich <eich@suse.com>
Wed, 17 Jul 2013 13:07:27 +0000 (15:07 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 29 Jul 2013 23:44:42 +0000 (09:44 +1000)
commite9fbb91cc32a629e6aa53aa853a813d45982abd5
tree4e5a3782b903c7ebeb04011e6a0c8ec82dddbaab
parentecd8b031bc6122e4d6ac35f11658604f86b2ae36
drm/mgag200: Fix LUT programming for 16bpp

Since there are only 32 (64) distinct color values for each color
in 16bpp Matrox hardware expects those in a 'dense' manner, ie in
the first 32 (64) entries of the respective color.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_mode.c