OSDN Git Service

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)
commitff7fb44d00e5dac1fb31170a9d08ccd352f5114f
tree729db303e2ad7ce08f3d5cde4d92944c40a85e38
parent0d4ced1c5bfe649196877d90442d4fd618e19153
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