diff options
author | Martin-Éric Racine <q-funk@iki.fi> | 2008-01-26 01:51:39 +0200 |
---|---|---|
committer | Martin-Éric Racine <q-funk@iki.fi> | 2008-01-26 01:51:39 +0200 |
commit | 4670abb6036379245995f000dcb7d3e33f39570f (patch) | |
tree | 6c21fdb4bddcd216f5d512da7d98b38d18230586 | |
parent | 2ac6c6e3764f4e6ae014af23db6b5211bb034424 (diff) |
[GX/LX] Bump the default pixel depth up to 16-bit.xf86-video-amd-2.7.7.6
This is a reasonable compromise between memory consumption
and picture readability. This also gives the driver usable
defaults for X server >= 1.3 when used with -configure.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/amd_gx_driver.c | 2 | ||||
-rw-r--r-- | src/amd_lx_driver.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index bc9dc5e..c219e06 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-amd], - 2.7.7.5, + 2.7.7.6, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2FAMD], xf86-video-amd) diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c index 28cb067..177b111 100644 --- a/src/amd_gx_driver.c +++ b/src/amd_gx_driver.c @@ -443,7 +443,7 @@ GXPreInit(ScrnInfoPtr pScrni, int flags) /* Fill in the monitor information */ pScrni->monitor = pScrni->confScreen->monitor; - if (!xf86SetDepthBpp(pScrni, 8, 8, 8, Support24bppFb | Support32bppFb)) + if (!xf86SetDepthBpp(pScrni, 16, 16, 16, Support24bppFb | Support32bppFb)) return FALSE; switch (pScrni->depth) { diff --git a/src/amd_lx_driver.c b/src/amd_lx_driver.c index 9cb7e42..9abbd5f 100644 --- a/src/amd_lx_driver.c +++ b/src/amd_lx_driver.c @@ -527,7 +527,7 @@ LXPreInit(ScrnInfoPtr pScrni, int flags) /* Fill in the monitor information */ pScrni->monitor = pScrni->confScreen->monitor; - if (!xf86SetDepthBpp(pScrni, 8, 8, 8, Support24bppFb | Support32bppFb)) + if (!xf86SetDepthBpp(pScrni, 16, 16, 16, Support24bppFb | Support32bppFb)) return FALSE; switch (pScrni->depth) { |