mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: pass device pointer as argument to nvhost
Pass device pointer as an argument to nvhost_register_dump_device() This is needed so that nvhost can call the callback with device pointer that we register Bug 200188753 Change-Id: I4e3ff7e99378b9d7ec25b88a7af2c89998496b4c Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1126791 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Terje Bergstrom
parent
b6dc4315a4
commit
61e009c0f8
@@ -748,7 +748,8 @@ static int gk20a_tegra_probe(struct device *dev)
|
||||
|
||||
if (platform->g->host1x_dev)
|
||||
nvhost_register_dump_device(platform->g->host1x_dev,
|
||||
gk20a_debug_dump_device);
|
||||
gk20a_debug_dump_device,
|
||||
platform->g->dev);
|
||||
#ifdef CONFIG_OF
|
||||
joint_xpu_rail = of_property_read_bool(of_chosen,
|
||||
"nvidia,tegra-joint_xpu_rail");
|
||||
|
||||
Reference in New Issue
Block a user