Commit Graph

2 Commits

Author SHA1 Message Date
Sunny He
cc64606a53 gpu: nvgpu: debugfs code to dump HAL functions
Prints addresses of device-specific HAL functions to debugfs file
hal/gops.

The list of functions is produced by dumping the contents of the
gpu_ops substruct of the gk20a struct. This interface makes the
assumption that there are only function pointers in gpu_ops.

Companion Python script nvgpu_debug_hal.py analyzes gk20a.h to
determine operation counts and prettyify debugfs interface's
output.

Jira NVGPU-107

Change-Id: I0910e86638d144979e8630bbc5b330bccfd3ad94
Signed-off-by: Sunny He <suhe@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1542990
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2017-08-24 09:34:52 -07:00
Amit Sharma
a626fba62e checkpatch: add checkpatch.pl
Add checkpatch.pl and dependent spelling.txt file to
newly added kernel repo's.

We might need to update the added files incase there is
any modification happens in mentioned files within kernel-next.

Bug 200192360

Change-Id: Id6eb52070ea7d76b81e9bff8461f1251a0e2c0b1
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/1128609
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
2016-04-19 09:23:35 -07:00