]> git.baikalelectronics.ru Git - kernel.git/commit
drm: expand gamma_set
authorJames Simmons <jsimmons@infradead.org>
Tue, 3 Aug 2010 00:33:19 +0000 (01:33 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Aug 2010 00:47:00 +0000 (10:47 +1000)
commitcbdc8248abe4199232a9af2bcd521cd506e9802c
treee0fdc7ed583f6990bbffde67f4f45b1f11b5a39e
parent9bdd499b48285cc62f952e28d7bf19cd5d86f41e
drm: expand gamma_set

Expand the crtc_gamma_set function to accept a starting offset. The
reason for this is to eventually use this function for setcolreg from
drm_fb_helper.c. The fbdev colormap function can start at any offset in
the color map.

Signed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/nouveau/nv04_crtc.c
drivers/gpu/drm/nouveau/nv50_crtc.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
include/drm/drm_crtc.h