mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: call hal callback when set fecs_trace default filter
vgpu depends on the hal callback to notify server the filter changes. Bug 200469911 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Change-Id: Ibc9221de853ebe813609f897b46584f5cf88cbce Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2343613 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
bc4cef7a43
commit
b3766f352c
@@ -355,6 +355,8 @@ int gk20a_ctxsw_dev_open(struct inode *inode, struct file *filp)
|
||||
|
||||
/* enable all traces by default */
|
||||
NVGPU_CTXSW_FILTER_SET_ALL(&dev->filter);
|
||||
if (g->ops.gr.fecs_trace.set_filter)
|
||||
g->ops.gr.fecs_trace.set_filter(g, &dev->filter);
|
||||
|
||||
/* compute max number of entries generated with this filter */
|
||||
n = g->ops.gr.fecs_trace.max_entries(g, &dev->filter);
|
||||
|
||||
Reference in New Issue
Block a user