commit | 35ac28a88223d64a996535c58b8f0112118a989c | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@intel.com> | Tue Oct 29 18:24:47 2019 -0700 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Mon Nov 04 13:44:31 2019 -0800 |
tree | 0168ebff091b7bc2ac1f12b0d40da5b1a810cb80 | |
parent | a687b4ef6e2825162fb58bffaf1556ca68705393 [diff] |
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: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191030012448.14937-5-lucas.demarchi@intel.com