]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb: remove drm_fb_helper_setcolreg
authorJames Simmons <jsimmons@infradead.org>
Wed, 7 Apr 2010 15:06:21 +0000 (15:06 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Apr 2010 00:09:50 +0000 (10:09 +1000)
commit61f0cb0c6d0b9a4ff3c6e7c5860e4a4a562c7d51
tree7c10f2ed19e731db08db035686077e64d953a1aa
parent0e54df6eda4318ab37646a6b1242cd724b0aae8f
drm/fb: remove drm_fb_helper_setcolreg

This patch is against the drm-fbdevfix1 branch. It removes the
drm_fb_helper_setcolreg function. The reason is that fb_setcolreg is only
used in the case where fb_setcmap is called and no fb_ops->fb_setcmap is
used. In the drm case we always need a fb_setcmap hook to handle multiple
crtcs so we don't need a fb_setcolreg hook. Please apply.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/radeon/radeon_fb.c