summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 419b4be3..fc7043d7 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -781,6 +781,13 @@ struct drm_driver {
uint32_t read_domains,
uint32_t write_domain);
+ /**
+ * Driver-specific callback to flush pwrite through chipset
+ */
+ int (*gem_flush_pwrite) (struct drm_gem_object *obj,
+ uint64_t offset,
+ uint64_t size);
+
struct drm_fence_driver *fence_driver;
struct drm_bo_driver *bo_driver;