summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-04-01 15:51:52 +0900
committerMichel Dänzer <michel@daenzer.net>2015-04-03 11:42:00 +0900
commiteea79472a84672ee4dc7adc4487cec6a4037048a (patch)
tree048565969b5749c9e03d25e4f0f0eb3baf82b7d6 /src/radeon_kms.c
parent051d46382656ffc3e6cac1aab3aee7efdf5b623a (diff)
glamor: Add wrappers for the X server rendering hooks
They can choose between using the GPU or CPU for the operation.
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r--src/radeon_kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 0722f0db..3f723d55 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -91,6 +91,7 @@ void radeon_cs_flush_indirect(ScrnInfoPtr pScrn)
#ifdef USE_GLAMOR
if (info->use_glamor) {
glamor_block_handler(pScrn->pScreen);
+ info->gpu_flushed++;
return;
}
#endif