]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitecad6da8a944fff133df0fae61324daf8c7ec2d2
tree7bd7f559624915873635d1255f473ff972860194
parentb8fc4f3c2dbf280b7558ac1206b99b256661530a
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