Govindaraj Rajagopal
60c04ed08d
video: driver: enable session stability testing
Enable session stability test support.
Clients can trigger session stability through debugfs as follows:
echo <trigger_val> > /d/msm_vidc/core/trigger_stability
u64 trigger_val provides:
<payload><sub_client_id><stability_type>
stability_type : 0-3 bits(one of the HFI_STABILITY_TYPE_*)
sub_client_id : 4-7 bits(1 - CCE, 2 - VSP, 3 - VPP, 4 - CPUSS)
reserved : 8-31 bits(Not used)
payload : 32-63 bits(depends on stability_type)
For e.x, to VCODEC_HUNG on CCE hardware module for 5 consequtive frames.
adb shell "echo 0x500000011 > /d/msm_vidc/core/trigger_stability".
Change-Id: I604f0430e3ab905504c4f0b7c84b157a5d464958
Signed-off-by: Govindaraj Rajagopal <quic_grajagop@quicinc.com>