]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add _TRANS2()
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 30 Jul 2019 22:47:51 +0000 (15:47 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 13 Aug 2019 22:51:12 +0000 (15:51 -0700)
commitaad8f0e648ac79b632941f5415fa0465e27897f0
treeb6cc80679eda4b94fd4d0cf66c09d0e7913f8961
parent8845f3e588faddbb7aed921111a85d5ab91217de
drm/i915: Add _TRANS2()

A new macro that is going to be added in a further patch will need to
adjust the offset returned by _MMIO_TRANS2(), so here adding
_TRANS2() and moving most of the implementation of _MMIO_TRANS2() to
it and while at it taking the opportunity to rename pipe to trans.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiya@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiya@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190730224753.14907-2-jose.souza@intel.com
drivers/gpu/drm/i915/i915_reg.h