From 13d37ac4fa627e7d3604e30fd80a715a19d80a89 Mon Sep 17 00:00:00 2001 From: jcs Date: Thu, 19 Apr 2018 14:52:34 +0000 Subject: [PATCH] modesetting: setup colormap Fixes utilities like xcalib Upstream xorg commit ac138f9b31b0fba00742edbc3326afe66e28099a ok matthieu --- xserver/hw/xfree86/drivers/modesetting/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xserver/hw/xfree86/drivers/modesetting/driver.c b/xserver/hw/xfree86/drivers/modesetting/driver.c index bdb848bd1..c604ebc09 100644 --- a/xserver/hw/xfree86/drivers/modesetting/driver.c +++ b/xserver/hw/xfree86/drivers/modesetting/driver.c @@ -1675,7 +1675,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);