]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix HTI port checking
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 8 Jan 2021 13:48:02 +0000 (05:48 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 11 Jan 2021 13:46:43 +0000 (05:46 -0800)
commit2c6362f9779421d802333e7c9d3dd7309de3bdd7
tree729db303e2ad7ce08f3d5cde4d92944c40a85e38
parent47a8481b999cbbcc1b6f50b27daad4b0b5f3644a
drm/i915: Fix HTI port checking

There was some misinterpretation of specification, when DDIX_USED is
set, the next bit means 0 for DP and 1 for HDMI.

Anyways this misinterpretation is not causing any issues, this change
is just to comply with specification.
Also as for us it do not matters if it is HDMI or DP, not checking the
port type that HTI is using.

Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210108134802.21280-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/i915_reg.h