aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-11-04 09:42:52 +0100
committerDave Airlie <airlied@redhat.com>2009-11-19 13:02:46 +1000
commitcda6be1ce27d721a88cb90543a1e6d0f41baeaa4 (patch)
tree3a30d44004a75a526719fbe7082a59327e44449a /include/drm
parentdrm/kms: properly handle fbdev blanking (diff)
downloadlinux-dev-cda6be1ce27d721a88cb90543a1e6d0f41baeaa4.tar.xz
linux-dev-cda6be1ce27d721a88cb90543a1e6d0f41baeaa4.zip
drm/fb: fix FBIOGET/PUT_VSCREENINFO pixel clock handling
When the framebuffer driver does not publish detailed timing information for the current video mode, the correct value for the pixclock field is zero, not -1. Since pixclock is actually unsigned, the value -1 would be interpreted as 4294967295 picoseconds (i.e., about 4 milliseconds) by register_framebuffer() and userspace programs. This patch allows X.org's fbdev driver to work. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions