summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-10-09 20:08:31 +1000
committerDave Airlie <airlied@linux.ie>2009-10-09 20:08:31 +1000
commita956d478043b44c49aed39c7aa3d576ef32cadc5 (patch)
treedc5a9f4e0b17ebb1560affaa640570850643d66f /src/radeon_kms.c
parenta493feb94c0d84aaf5bfd84c6940d7f03974dd86 (diff)
Revert "kms: setup colormap and gamma correctly."
This reverts commit 60d9685abddccec17c1a9a5ec48cbe9c92543e0f. which breaks colormap on 1.6 X server Conflicts: src/drmmode_display.c
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r--src/radeon_kms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index faa6025e..b3fe20cd 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -767,8 +767,8 @@ Bool RADEONScreenInit_KMS(int scrnIndex, ScreenPtr pScreen,
// info->PointerMoved = pScrn->PointerMoved;
// pScrn->PointerMoved = RADEONPointerMoved;
- if (!miCreateDefColormap(pScreen))
- return FALSE;
+ if (!drmmode_setup_colormap(pScreen, pScrn))
+ return FALSE;
/* Note unused options */
if (serverGeneration == 1)