]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/intel_display.c
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)
commit7203425a943eb3e189ba6b512827e0deb5f23872
treee0fdc7ed583f6990bbffde67f4f45b1f11b5a39e
parent38fcbb674d7cc37b38473a89e8045ee80364e4f9
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