Fix RADEON_FALLBACK logging

This commit is contained in:
Grigori Goronzy
2013-05-18 13:46:03 +02:00
parent c16c59f8f9
commit c08e09b7be
3 changed files with 10 additions and 10 deletions

View File

@@ -1134,7 +1134,7 @@ static Bool EVERGREENPrepareComposite(int op, PicturePtr pSrcPicture,
if (!pSrc) {
pSrc = RADEONSolidPixmap(pScreen, pSrcPicture->pSourcePict->solidFill.color);
if (!pSrc)
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
dst_obj.bo = radeon_get_pixmap_bo(pDst);
@@ -1165,7 +1165,7 @@ static Bool EVERGREENPrepareComposite(int op, PicturePtr pSrcPicture,
if (!pMask) {
if (!pSrcPicture->pDrawable)
pScreen->DestroyPixmap(pSrc);
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
}
mask_obj.bo = radeon_get_pixmap_bo(pMask);

View File

@@ -1179,7 +1179,7 @@ static Bool R600PrepareComposite(int op, PicturePtr pSrcPicture,
if (!pSrc) {
pSrc = RADEONSolidPixmap(pScreen, pSrcPicture->pSourcePict->solidFill.color);
if (!pSrc)
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
dst_obj.bo = radeon_get_pixmap_bo(pDst);
@@ -1211,7 +1211,7 @@ static Bool R600PrepareComposite(int op, PicturePtr pSrcPicture,
if (!pMask) {
if (!pSrcPicture->pDrawable)
pScreen->DestroyPixmap(pSrc);
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
}

View File

@@ -602,7 +602,7 @@ static Bool R100PrepareComposite(int op,
if (!pSrc) {
pSrc = RADEONSolidPixmap(pScreen, cpu_to_le32(pSrcPicture->pSourcePict->solidFill.color));
if (!pSrc)
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
if (((dst_pitch >> pixel_shift) & 0x7) != 0)
@@ -616,7 +616,7 @@ static Bool R100PrepareComposite(int op,
if (!pMask) {
if (!pSrcPicture->pDrawable)
pScreen->DestroyPixmap(pSrc);
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
}
@@ -967,7 +967,7 @@ static Bool R200PrepareComposite(int op, PicturePtr pSrcPicture,
if (!pSrc) {
pSrc = RADEONSolidPixmap(pScreen, cpu_to_le32(pSrcPicture->pSourcePict->solidFill.color));
if (!pSrc)
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
if (!RADEONSetupSourceTile(pSrcPicture, pSrc, FALSE, TRUE))
@@ -978,7 +978,7 @@ static Bool R200PrepareComposite(int op, PicturePtr pSrcPicture,
if (!pMask) {
if (!pSrcPicture->pDrawable)
pScreen->DestroyPixmap(pSrc);
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
}
@@ -1459,7 +1459,7 @@ static Bool R300PrepareComposite(int op, PicturePtr pSrcPicture,
if (!pSrc) {
pSrc = RADEONSolidPixmap(pScreen, cpu_to_le32(pSrcPicture->pSourcePict->solidFill.color));
if (!pSrc)
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
if (!RADEONSetupSourceTile(pSrcPicture, pSrc, TRUE, FALSE))
@@ -1470,7 +1470,7 @@ static Bool R300PrepareComposite(int op, PicturePtr pSrcPicture,
if (!pMask) {
if (!pSrcPicture->pDrawable)
pScreen->DestroyPixmap(pSrc);
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
RADEON_FALLBACK(("Failed to create solid scratch pixmap\n"));
}
}