]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: use its own define for gpio
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 27 Jul 2018 19:36:46 +0000 (12:36 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 16 Aug 2018 18:52:06 +0000 (11:52 -0700)
commit336662e5e3c90e2b6d4b2c2a773f87218baa8a61
tree09c5ff37f8fd2c72daef53b7713f357c731abd10
parentf5133cca38f5cad3e8eff5f75e321cb592c3b4b0
drm/i915/gvt: use its own define for gpio

The definition on i915_reg.h is going to change to depend on
dev_priv->gpio_mmio_base being properly initialized. Define our own
macros since init_generic_mmio_info() is called before than
gpio_mmio_base being set.

Cc: intel-gvt-dev@lists.freedesktop.org
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180727193647.8639-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/reg.h