diff options
author | Adam Jackson <ajax@redhat.com> | 2007-12-19 19:15:19 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2007-12-19 19:15:19 -0500 |
commit | fb7a4e24f2da3561ef81371ca4013a4f13806e91 (patch) | |
tree | 0b9456244f99be090569c69401640f3b6c34666b /configure.ac | |
parent | c1b0b69cc50516c3b7e881b0eb46cb3cd2e9dce6 (diff) |
Fix RN50 mode filtering.
The old code would attempt to limit the maximum pixel size of the screen
by limiting the maximum PLL frequency. This ends up confusing the PLL
computation code since sometimes your maximum freq can be lower than your
minimum freq. More to the point it's just wrong, maximum PLL frequency
isn't the same thing as maximum pixel clock, and even that isn't the same
thing as maximum scanout pixels per second.
The correct thing to do is filter by the mode's effective memory bandwidth.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1570e54c..cc4d490a 100644 --- a/configure.ac +++ b/configure.ac @@ -204,6 +204,11 @@ AC_CHECK_DECL(xf86XVFillKeyHelperDrawable, [], [#include <xf86xv.h>]) +AC_CHECK_DECL(xf86ModeBandwidth, + [AC_DEFINE(HAVE_XF86MODEBANDWIDTH, 1, [Have xf86ModeBandwidth prototype])], + [], + [#include "xf86Modes.h"]) + AC_CHECK_DECL(XSERVER_LIBPCIACCESS, [XSERVER_LIBPCIACCESS=yes],[XSERVER_LIBPCIACCESS=no], [#include "xorg-server.h"]) |