diff options
author | James Simmons <jsimmons@infradead.org> | 2010-08-02 20:33:19 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-09 20:47:00 -0400 |
commit | 7203425a943eb3e189ba6b512827e0deb5f23872 (patch) | |
tree | e0fdc7ed583f6990bbffde67f4f45b1f11b5a39e /include/drm/drm_crtc.h | |
parent | 38fcbb674d7cc37b38473a89e8045ee80364e4f9 (diff) |
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>
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 606eb93d7db0..692cc55eeab6 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -310,7 +310,7 @@ struct drm_crtc_funcs { | |||
310 | 310 | ||
311 | /* Set gamma on the CRTC */ | 311 | /* Set gamma on the CRTC */ |
312 | void (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, | 312 | void (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, |
313 | uint32_t size); | 313 | uint32_t start, uint32_t size); |
314 | /* Object destroy routine */ | 314 | /* Object destroy routine */ |
315 | void (*destroy)(struct drm_crtc *crtc); | 315 | void (*destroy)(struct drm_crtc *crtc); |
316 | 316 | ||