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)
commit068143d38804825d59d951a192cfadd2e22f457d
tree87acefe03fe5a97577e90f89c79909aad5ba2a5e
parentdfee5614e4d83a32cef9193a8b19bc1d8900f93d
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