aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <[email protected]>2018-10-10 17:44:39 -0700
committerDaniel Vetter <[email protected]>2018-10-11 10:52:35 +0200
commit7323001549804be70b179a8b636f78e758aeb28d (patch)
tree27ecf7a93cda6ce0e47d28ea44542fbfff141d35 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent2a7be4b4a9a57c3f3adeafd1fc9e453448dc8275 (diff)
drm: Do not call drm_dp_cec_set_edid() while registering DP connectors
drm_dp_cec_register_connector() is called when registering each DP connector in DRM, while sounds a good idea register CEC adapters as earlier as possible, it causes some driver initialization delay trying to do DPCD transactions in disconnected connectors. This change will cause no regressions as drm_dp_cec_set_edid() will still be called in further detection of connected connectors with a valid edid parameter. This change reduced the module load of i915 by average 0.5sec in a machine with just one DP port disconnected while reducing more than 3sec in a machine with 4 DP ports disconnected. Cc: Hans Verkuil <[email protected]> Signed-off-by: José Roberto de Souza <[email protected]> Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions