diff options
| author | Kunal Joshi <kunal1.joshi@intel.com> | 2020-04-23 04:31:50 +0530 |
|---|---|---|
| committer | Kunal Joshi <kunal1.joshi@intel.com> | 2020-04-27 04:00:45 +0530 |
| commit | c8dc1fd926a550308b971ca7d83fe0a927a38152 (patch) | |
| tree | e05a1298d741bc08207fb04a3dc7e06c85ae2e44 /benchmarks/gem_wsim.c | |
| parent | 9386624c2da8357c112015858177398c7cc6cd06 (diff) | |
tests/kms_chamelium: Capture on type-c
Chamelium uses HPD pulses to signal the need for a receiver reset
using DPMS cycle.Some connectors (e.g. DP over TypeC) have limitations
and will receive just a single such pulse and discard the rest.
This lasts until we disable the mode completetly and only then reenable it.
Receiver reset is always required after we set a new mode, so let's disable
the mode (reset_state() does that) before we switch to a new mode.
With this we will get the HPD pulses reliably for each iteration over
all the supoprted modes.
v2: Correction in code flow (Arek)
v3: Modified commit message. (Arek)
Cc: Hiler Arkadiusz <arkadiusz.hiler@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Issue: https://gitlab.freedesktop.org/drm/intel/issues/262
Suggested-by: Hiler Arkadiusz <arkadiusz.hiler@intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com>
Reviewed-by: Hiler Arkadiusz <arkadiusz.hiler@intel.com>
Diffstat (limited to 'benchmarks/gem_wsim.c')
0 files changed, 0 insertions, 0 deletions
