]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit059d101f69aa5d37fbaf0e51a9fb1b50998f79f4
tree97b3156a701e342615a8cf577947204127beb138
parentd89d4683e3730f499c48e0c4960a62e9d62255ff
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: eb933104cfe1 ("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