Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9245d60 authored by Dhaval Patel's avatar Dhaval Patel
Browse files

drm/msm/sde: update misr support for crtc and encoder



Update misr support for crtc and encoder to allow
client to capture the misr on both software blocks.
Encoder will be able to capture misr only for video
mode interface. The patch also fixes the issues related
to misr debugfs file handling.

Format:
echo "enable/disable frame_count" > /sys/kernel/debug/
dri/0/crtc*/misr_data

Examples:
echo "1 14" > /sys/kernel/debug/dri/0/crtc*/misr_data
cat /sys/kernel/debug/dri/0/crtc*/misr_data

echo "1 0" > /sys/kernel/debug/dri/0/enc*/misr_data
cat /sys/kernel/debug/dri/0/enc*/misr_data

Change-Id: I74b23cd388e3c6e9e92bd3d97dfd76acc9246567
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent 436b4a5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment