]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panfrost: Expose the selected coherency protocol to the UMD
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 8 Dec 2025 10:08:36 +0000 (11:08 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 9 Dec 2025 12:09:36 +0000 (13:09 +0100)
commit2396d65d94fc75d39f096b9777f9edc9c8e677c1
tree73083fad44611a13b1e36eb13d1171e8df7531d4
parent3ae6637378e64e56634ce257cb354636ada96d69
drm/panfrost: Expose the selected coherency protocol to the UMD

Will be needed if we want to skip CPU cache maintenance operations when
the GPU can snoop CPU caches.

v2:
- New commit

v3:
- Fix the coherency values (enum instead of bitmask)

v4:
- Fix init/test on coherency_features

v5:
- No changes

v6:
- Collect R-b

v7:
- No changes

v8:
- No changes

Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patch.msgid.link/20251208100841.730527-10-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/gpu/drm/panfrost/panfrost_device.h
drivers/gpu/drm/panfrost/panfrost_drv.c
drivers/gpu/drm/panfrost/panfrost_gpu.c
drivers/gpu/drm/panfrost/panfrost_regs.h
include/uapi/drm/panfrost_drm.h