summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2019-06-25 17:46:23 +0200
committerMichel Dänzer <michel.daenzer@amd.com>2019-06-25 17:46:23 +0200
commit33803c85f761d343aa7300311b8e9489b1a89495 (patch)
tree189f4e8892cc3bbbf2db0c9f6110d09273428bd3 /src/radeon.h
parentfee737e82837dc8282a832fc9391ed959c4c3737 (diff)
present: Check that we can get a KMS FB for flipping
This can legitimately fail if the pixmap's storage is shared from another device, e.g. when using PRIME render offloading. (Ported from amdgpu commit 7d3fef72e0c871e1677e9e544f4cae5e238b5c52)
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 008a59f3..2c913466 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -309,6 +309,7 @@ struct radeon_pixmap {
struct radeon_buffer *bo;
struct drmmode_fb *fb;
+ Bool fb_failed;
uint32_t tiling_flags;