Commit 0932a6b3 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Chris Wilson
Browse files

sna/video/textured: Disable textured Xv for depth 8



We can't output color index formats with the render engine,
so let's disable the textured Xv adaptor for depth 8.
Signed-off-by: Ville Syrjälä's avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent f09051df
......@@ -354,6 +354,12 @@ void sna_video_textured_setup(struct sna *sna, ScreenPtr screen)
struct sna_video *video;
int nports, i;
if (sna->scrn->depth == 8) {
xf86DrvMsg(sna->scrn->scrnIndex, X_INFO,
"Textured video not supported in 8bpp mode\n");
return;
}
if (!sna->render.video) {
xf86DrvMsg(sna->scrn->scrnIndex, X_INFO,
"Textured video not supported on this hardware or backend\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment