]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb: add setcmap and fix 8-bit support.
authorDave Airlie <airlied@redhat.com>
Sun, 4 Oct 2009 23:58:02 +0000 (09:58 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Oct 2009 00:00:59 +0000 (10:00 +1000)
commitb7a7d282fdd47d3de5d2e44746d55ca372414cb9
tree87acefe03fe5a97577e90f89c79909aad5ba2a5e
parent7d276afd0fed3893d34b68136d95dd7967a2efb5
drm/fb: add setcmap and fix 8-bit support.

This adds support for the setcmap api and fixes the 8bpp
support at least on radeon hardware. It adds a new load_lut
hook which can be called once the color map is setup.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/radeon_fb.c
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
include/drm/drm_crtc_helper.h
include/drm/drm_fb_helper.h