drm/i915/tgl: Fix missing parentheses on TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 12 Aug 2019 17:54:05 +0000 (10:54 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 13 Aug 2019 16:59:26 +0000 (09:59 -0700)
commit1cdd8705c7acad7a49d0546d0f22fcde3ad8dcb9
tree97b3156a701e342615a8cf577947204127beb138
parentabb042f310ff34e88060d618b0fcc9b05baa97e3
drm/i915/tgl: Fix missing parentheses on TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT

In this case we want to apply the mask and then shift so the
parentheses is needed.

SPANK! SPANK! SPANK! Naughty programmer!

Fixes: 9749a5b6c09f ("drm/i915/tgl: Fix the read of the DDI that transcoder is attached to")
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190812175405.14479-1-jose.souza@intel.com
drivers/gpu/drm/i915/i915_reg.h