modesetting: setup colormap

Signed-off-by: Rinat Ibragimov <ibragimovrinat@mail.ru>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
This commit is contained in:
Rinat Ibragimov 2017-10-24 01:43:43 +03:00 committed by Adam Jackson
parent 5cb330cd5d
commit ac138f9b31

View File

@ -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);