summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2019-09-04 14:34:16 -0700
committerJosé Roberto de Souza <jose.souza@intel.com>2019-09-04 17:07:38 -0700
commite468ff06157a3bb1b70ac8ea807429446b8bf4b2 (patch)
tree9d69f349ac2ff782290bc60a0045b74c6a99fe29 /tools/perf/scripts/python
parent8241cfbe67f4082eee5fc72e5a8025c5b58c2ddf (diff)
downloadkernel-e468ff06157a3bb1b70ac8ea807429446b8bf4b2.tar.gz
drm/i915: protect access to DP_TP_* on non-dp
DP_TP_{CTL,STATUS} should only be programmed when the encoder is intel_dp. Checking its current usages intel_disable_ddi_buf() is the only offender, with other places being protected by checks like pipe_config->fec_enable that is only set by intel_dp. v3 (José): - Using intel_crtc_has_dp_encoder() instead of intel_encoder_is_dp() (Ville) Cc: Matt Roper <matthew.d.roper@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190904213419.27547-4-jose.souza@intel.com Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions