Comment 36 for bug 347618

Revision history for this message
In , Rafał Miłecki (zajec5) wrote :

(In reply to comment #25)
> Created an attachment (id=30189) [details]
> properly check planemasks
>
> Does this patch help?

Did not help on my RV620 (M82). I've added some debugging to this patch. R600ValidPM is called very often, but:

> if (!R600ValidPM(pm, pPix->drawable.bitsPerPixel))
> RADEON_FALLBACK(("invalid planemask\n"));

never happens in any: Solid or Copy. I've changed that in both places to:

> if (!R600ValidPM(pm, pPix->drawable.bitsPerPixel)) {
> xf86DrvMsg(pScrn->scrnIndex, X_INFO, "[ZAJEC] invalid");
> RADEON_FALLBACK(("invalid planemask\n"));
> }

and nothing in my log.