search for: rgbbits

Displaying 3 results from an estimated 3 matches for "rgbbits".

Did you mean: rabbits
2018 Mar 01
1
[PATCH] Fix colormap handling at screen depth 30.
...8 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL) * Must follow initialization of the default colormap */ if (xf86_config->num_crtc && - !xf86HandleColormaps(pScreen, 256, 8, NVLoadPalette, - NULL, CMAP_PALETTED_TRUECOLOR)) + !xf86HandleColormaps(pScreen, 1 << pScrn->rgbBits, pScrn->rgbBits, + NVLoadPalette, NULL, CMAP_PALETTED_TRUECOLOR)) return FALSE; /* Report any unused options (only for the first generation) */ -- 2.7.4
2018 Jun 12
0
[PATCH] Fix colormap handling at screen depth 30. (v2)
...; 8 bpc color maps, so skip + * color map setup on old servers at > 8 bpc. Gamma luts still work. */ - if (xf86_config->num_crtc && - !xf86HandleColormaps(pScreen, 256, 8, NVLoadPalette, - NULL, CMAP_PALETTED_TRUECOLOR)) + if (xf86_config->num_crtc && (pScrn->rgbBits <= 8 || + XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,20,0,0,0)) && + !xf86HandleColormaps(pScreen, 1 << pScrn->rgbBits, pScrn->rgbBits, + NVLoadPalette, NULL, CMAP_PALETTED_TRUECOLOR)) return FALSE; /* Report any unused options (only for the first ge...
2018 Mar 02
2
Nouveau Digest, Vol 131, Issue 3
...>> */ >> if (xf86_config->num_crtc && >> - !xf86HandleColormaps(pScreen, 256, 8, NVLoadPalette, >> - NULL, CMAP_PALETTED_TRUECOLOR)) >> + !xf86HandleColormaps(pScreen, 1 << pScrn->rgbBits, pScrn->rgbBits, >> + NVLoadPalette, NULL, CMAP_PALETTED_TRUECOLOR)) >> return FALSE; >> >> /* Report any unused options (only for the first generation) */ >> -- >> 2.7.4