summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRinat Ibragimov <ibragimovrinat@mail.ru>2017-10-24 01:43:43 +0300
committerAdam Jackson <ajax@redhat.com>2018-01-24 16:17:22 -0500
commitac138f9b31b0fba00742edbc3326afe66e28099a (patch)
tree59ecc34a6e1ae3331a0ea207da1c2690e53672ee
parent5cb330cd5d887b20351604ac080e8b71a4e28be7 (diff)
modesetting: setup colormap
Signed-off-by: Rinat Ibragimov <ibragimovrinat@mail.ru> Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
-rw-r--r--hw/xfree86/drivers/modesetting/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c
index 380dbbe17..e057970a6 100644
--- a/hw/xfree86/drivers/modesetting/driver.c
+++ b/hw/xfree86/drivers/modesetting/driver.c
@@ -1656,7 +1656,7 @@ ScreenInit(ScreenPtr pScreen, int argc, char **argv)
if (!xf86CrtcScreenInit(pScreen))
return FALSE;
- if (!miCreateDefColormap(pScreen))
+ if (!drmmode_setup_colormap(pScreen, pScrn))
return FALSE;
xf86DPMSInit(pScreen, xf86DPMSSet, 0);