summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2022-05-13 12:42:23 +1000
committerDave Airlie <airlied@redhat.com>2022-05-13 13:14:34 +1000
commit5756c29bfa816dfde24e0719002d225ab96a0cd6 (patch)
treea88c0cf1398bfd590ecd72730607f1fa35eaae5a /include/linux
parentf83493f7d34da258310ecd3d07f0cc78f884c954 (diff)
parentcb7e1abc2c73633e1eefa168ab2dad6e838899c9 (diff)
downloadcachepc-linux-5756c29bfa816dfde24e0719002d225ab96a0cd6.tar.gz
cachepc-linux-5756c29bfa816dfde24e0719002d225ab96a0cd6.zip
Merge tag 'drm/tegra/for-5.19-rc1' of https://gitlab.freedesktop.org/drm/tegra into drm-next
drm/tegra: Changes for v5.19-rc1 Only a few fixes this time, and some debuggability improvements. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thierry Reding <thierry.reding@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220506164004.3922226-1-thierry.reding@gmail.com
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/host1x.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index e8dc5bc41f79..c0bf4e581fe9 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -31,6 +31,11 @@ u64 host1x_get_dma_mask(struct host1x *host1x);
* struct host1x_bo_cache - host1x buffer object cache
* @mappings: list of mappings
* @lock: synchronizes accesses to the list of mappings
+ *
+ * Note that entries are not periodically evicted from this cache and instead need to be
+ * explicitly released. This is used primarily for DRM/KMS where the cache's reference is
+ * released when the last reference to a buffer object represented by a mapping in this
+ * cache is dropped.
*/
struct host1x_bo_cache {
struct list_head mappings;
@@ -81,6 +86,7 @@ struct host1x_client_ops {
* @parent: pointer to parent structure
* @usecount: reference count for this structure
* @lock: mutex for mutually exclusive concurrency
+ * @cache: host1x buffer object cache
*/
struct host1x_client {
struct list_head list;