drm: add "auto" dithering method
authorBen Skeggs <bskeggs@redhat.com>
Fri, 16 Jul 2010 05:09:17 +0000 (15:09 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Jul 2010 01:19:45 +0000 (11:19 +1000)
commit92897b5c669f5e819ff2596fe6228ca2e4904981
tree7bd7f559624915873635d1255f473ff972860194
parent9440106b460ddfb7c0ff98beb6a6741f1f67b92b
drm: add "auto" dithering method

There's no convenient/reliable way for drivers to both obey the dithering
mode property, and to be able to attempt to provide a good default in all
cases.

This commit adds an "auto" method to the property which drivers can default
to if they wish, whilst still allowing the user to override the choice as
they do now.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_mode.h