diff options
| author | Adrián Larumbe <[email protected]> | 2023-09-29 19:14:29 +0100 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2023-10-04 13:04:15 +0200 |
| commit | 9ccdac7aa822f0468893e161c1a311674667da1b (patch) | |
| tree | fa92c179cec06b908867aaedab8eaa7a92a45d8c /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | f11b0417eec21ade937da866363433cc0b8b396c (diff) | |
drm/panfrost: Add fdinfo support for memory stats
A new DRM GEM object function is added so that drm_show_memory_stats can
provide more accurate memory usage numbers.
Ideally, in panfrost_gem_status, the BO's purgeable flag would be checked
after locking the driver's shrinker mutex, but drm_show_memory_stats takes
over the drm file's object handle database spinlock, so there's potential
for a race condition here.
Signed-off-by: Adrián Larumbe <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions