mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Fix RADEON_FALLBACK logging
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user