disp: msm: sde: add support for hwfence profiling
This change adds hwfence input and output fence profiling registers and debugfs to enable them. To enable input hw fences timestamps: echo 0x1 > /d/dri/0/debug/hw_fence_status To enable output hw fences timestamps: echo 0x2 > /d/dri/0/debug/hw_fence_status To enable both, input and output hw fences timestamps: echo 0x3 > /d/dri/0/debug/hw_fence_status. Change-Id: I269a38f3843a01ec8c0816890e50bb7d847a4ed9 Signed-off-by: Christina Oliveira <quic_coliveir@quicinc.com>
This commit is contained in:
@@ -172,6 +172,8 @@ static int _sde_debugfs_init(struct sde_kms *sde_kms)
|
||||
|
||||
debugfs_create_u32("pm_suspend_clk_dump", 0600, debugfs_root,
|
||||
(u32 *)&sde_kms->pm_suspend_clk_dump);
|
||||
debugfs_create_u32("hw_fence_status", 0600, debugfs_root,
|
||||
(u32 *)&sde_kms->debugfs_hw_fence);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user