]> 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)
commit57e889dd2482f739be19a6e43e67d97207e803a4
tree97b3156a701e342615a8cf577947204127beb138
parentdd82c8bb5720457263535d4ab2ed30acccb4bac1
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: da00894bab3f ("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