]> git.baikalelectronics.ru Git - kernel.git/commit
drm_fb_helper: Preserve capability to use atomic kms
authorJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:32 +0000 (09:22 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:32 +0000 (09:22 -0500)
commit310e1b6dbdcff26cde71ccf994bc71868ca78664
treefdc206571a96b405f64e1b211205d7861e5ba544
parent638c8ae0dffc5adc7395ea66aafbfaeeaaaf7793
drm_fb_helper: Preserve capability to use atomic kms

Commit 5e9f6e12ea7af1165bb98a6de4a01a5e79983538 (drm/fb: fix
FBIOGET/PUT_VSCREENINFO pixel clock handling) changed the logic of
when a pixclock was valid vs invalid.

The atomic kernel mode setting used by the kernel debugger relies upon
the drm_fb_helper_check_var() to always return -EINVAL.  Until a
better solution exists, this behavior will be restored.

CC: David Airlie <airlied@linux.ie>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
drivers/gpu/drm/drm_fb_helper.c