]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsb: Fix in mmio offset calculation of DSB instance
authorAnimesh Manna <animesh.manna@intel.com>
Thu, 5 Dec 2019 12:35:13 +0000 (18:05 +0530)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 16 Dec 2019 09:38:06 +0000 (11:38 +0200)
commit90b839dd329e5d3c3a001d9238d09a2ef89d951a
tree618b0fae8bc1ed1134326e519db05dcb9c863ad9
parent498b47670c5ee1c0b4be596eefcfb035b76ac53e
drm/i915/dsb: Fix in mmio offset calculation of DSB instance

As the current usage is restricted to first DSB instance per pipe, so
existing code could not catch the issue to calculate the mmio offset
of different DSB instance per pipe. Corrected the offset calculation.

Fixes: 2d3b2b6655d8 ("drm/i915/dsb: Check DSB engine status.")
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191205123513.22603-1-animesh.manna@intel.com
(cherry picked from commit d04a661a2c7169b48782aa5e9d85d4b4383d562e)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_reg.h