android_kernel_motorola_sm6375/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yiwei Zhang d9dc672866 UPSTREAM: gpu/trace: add a gpu total memory usage tracepoint
This change adds the below gpu memory tracepoint:
gpu_mem/gpu_mem_total: track global or proc gpu memory total usages

Per process tracking of total gpu memory usage in the gem layer is not
appropriate and hard to implement with trivial overhead. So for the gfx
device driver layer to track total gpu memory usage both globally and
per process in an easy and uniform way is to integrate the tracepoint in
this patch to the underlying varied implementations of gpu memory
tracking system from vendors.

Putting this tracepoint in the common trace events can not only help
wean the gfx drivers off of debugfs but also greatly help the downstream
Android gpu vendors because debugfs is to be deprecated in the upcoming
Android release. Then the gpu memory tracking of both Android kernel and
the upstream linux kernel can stay closely, which can benefit the whole
kernel eco-system in the long term.

Link: http://lkml.kernel.org/r/20200302235044.59163-1-zzyiwei@google.com

Bug: 154523335
Test: saw this tracepoint on Pixel after gfx driver integration
Change-Id: Ia6f273015c656e7a286041d850e83e49fd063aa4
(cherry picked from commit bbd9d05618a6d608c72640b1d3d651a75913456a)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Yiwei Zhang <zzyiwei@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2020-04-22 16:10:37 +00:00
..
acpi ACPICA: Allow acpi_any_gpe_status_set() to skip one GPE 2020-04-17 10:50:09 +02:00
asm-generic This is the 5.4.24 stable release 2020-03-05 17:42:40 +01:00
clocksource
crypto UPSTREAM: crypto: x86 - Regularize glue function prototypes 2020-02-10 23:21:58 +00:00
drm ANDROID: Add C protos for dma_buf/drm_prime get_uuid 2020-04-17 20:46:15 +00:00
dt-bindings clk: imx8mn: Fix incorrect clock defines 2020-03-18 07:17:55 +01:00
keys
kvm
linux ANDROID: Add C protos for dma_buf/drm_prime get_uuid 2020-04-17 20:46:15 +00:00
math-emu
media This is the 5.4.33 stable release 2020-04-17 11:26:58 +02:00
misc
net This is the 5.4.34 stable release 2020-04-21 10:22:32 +02:00
pcmcia
ras
rdma IB/core: Let IB core distribute cache update events 2020-02-24 08:36:26 +01:00
scsi This is the 5.4.23 stable release 2020-03-01 10:17:44 +01:00
soc
sound This is the 5.4.23 stable release 2020-03-01 10:17:44 +01:00
target scsi: target: fix hang when multiple threads try to destroy the same iscsi session 2020-04-21 09:05:04 +02:00
trace UPSTREAM: gpu/trace: add a gpu total memory usage tracepoint 2020-04-22 16:10:37 +00:00
uapi This is the 5.4.32 stable release 2020-04-13 13:11:19 +02:00
vdso
video
xen