Skip to content
Commit 35ac28a8 authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

drm/i915: avoid reading DP_TP_CTL twice



Just avoid the additional read in case DP_TP_CTL is enabled:
read it once and save the value.

Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191030012448.14937-5-lucas.demarchi@intel.com
parent a687b4ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment