diff options
author | Dave Airlie <airlied@redhat.com> | 2009-10-04 19:58:02 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-04 20:00:59 -0400 |
commit | 068143d38804825d59d951a192cfadd2e22f457d (patch) | |
tree | 87acefe03fe5a97577e90f89c79909aad5ba2a5e /include/drm/drm_fb_helper.h | |
parent | dfee5614e4d83a32cef9193a8b19bc1d8900f93d (diff) |
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>
Diffstat (limited to 'include/drm/drm_fb_helper.h')
-rw-r--r-- | include/drm/drm_fb_helper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 4aa5740ce59f..f1ed08559fc7 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h | |||
@@ -98,9 +98,11 @@ int drm_fb_helper_setcolreg(unsigned regno, | |||
98 | void drm_fb_helper_restore(void); | 98 | void drm_fb_helper_restore(void); |
99 | void drm_fb_helper_fill_var(struct fb_info *info, struct drm_framebuffer *fb, | 99 | void drm_fb_helper_fill_var(struct fb_info *info, struct drm_framebuffer *fb, |
100 | uint32_t fb_width, uint32_t fb_height); | 100 | uint32_t fb_width, uint32_t fb_height); |
101 | void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch); | 101 | void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch, |
102 | uint32_t depth); | ||
102 | 103 | ||
103 | int drm_fb_helper_add_connector(struct drm_connector *connector); | 104 | int drm_fb_helper_add_connector(struct drm_connector *connector); |
104 | int drm_fb_helper_parse_command_line(struct drm_device *dev); | 105 | int drm_fb_helper_parse_command_line(struct drm_device *dev); |
106 | int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info); | ||
105 | 107 | ||
106 | #endif | 108 | #endif |