提交 87fd9ef4 编写于 作者: G Geert Uytterhoeven 提交者: Sumit Semwal

dma-buf: DMABUF_SYSFS_STATS should depend on DMA_SHARED_BUFFER

DMA-BUF sysfs statistics are an option of DMA-BUF.  It does not make
much sense to bother the user with a question about DMA-BUF sysfs
statistics if DMA-BUF itself is not enabled.  Worse, enabling the
statistics enables the feature.

Fixes: bdb8d06d ("dmabuf: Add the capability to expose DMA-BUF stats in sysfs")
Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NSumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210902124913.2698760-4-geert@linux-m68k.org
上级 cca62758
...@@ -76,7 +76,7 @@ menuconfig DMABUF_HEAPS ...@@ -76,7 +76,7 @@ menuconfig DMABUF_HEAPS
menuconfig DMABUF_SYSFS_STATS menuconfig DMABUF_SYSFS_STATS
bool "DMA-BUF sysfs statistics" bool "DMA-BUF sysfs statistics"
select 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
in location /sys/kernel/dmabuf/buffers. in location /sys/kernel/dmabuf/buffers.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册