]> 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)
commita9a514f62d314ccfed03d31883d9b2f9f068b66a
tree729db303e2ad7ce08f3d5cde4d92944c40a85e38
parent69b8fb92adb6cedd72c217d2316be62b45002c97
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