]> 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)
commit9a00321f6facb500ed7696656ec4052f38ed51b7
tree4e5a3782b903c7ebeb04011e6a0c8ec82dddbaab
parent78021e8e34b726e5f0d34b486216fbaa2d9a7453
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