Commit e0a9f1fe authored by Christian König's avatar Christian König

dma-buf: deprecate DMABUF_SYSFS_STATS

Add a warning that this UAPI wasn't such a good idea and shouldn't be
used by anybody.

That should give us a better chance to remove it at some point and
prevents others from running into the same issues.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarT.J. Mercier <tjmercier@google.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220617085702.4298-1-christian.koenig@amd.com
parent 009a3a52
...@@ -75,7 +75,7 @@ menuconfig DMABUF_HEAPS ...@@ -75,7 +75,7 @@ menuconfig DMABUF_HEAPS
between drivers. between drivers.
menuconfig DMABUF_SYSFS_STATS menuconfig DMABUF_SYSFS_STATS
bool "DMA-BUF sysfs statistics" bool "DMA-BUF sysfs statistics (DEPRECATED)"
depends on DMA_SHARED_BUFFER depends on DMA_SHARED_BUFFER
help help
Choose this option to enable DMA-BUF sysfs statistics Choose this option to enable DMA-BUF sysfs statistics
...@@ -85,6 +85,10 @@ menuconfig DMABUF_SYSFS_STATS ...@@ -85,6 +85,10 @@ menuconfig DMABUF_SYSFS_STATS
statistics for the DMA-BUF with the unique inode number statistics for the DMA-BUF with the unique inode number
<inode_number>. <inode_number>.
This option is deprecated and should sooner or later be removed.
Android is the only user of this and it turned out that this resulted
in quite some performance problems.
source "drivers/dma-buf/heaps/Kconfig" source "drivers/dma-buf/heaps/Kconfig"
endmenu endmenu
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment