]> 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)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Dec 2019 10:13:47 +0000 (12:13 +0200)
commitec753ce541cd5427de1e2bbc3ff00d35a271516b
treeb3e7fd88475fed570d061b1fc8bba16f25f7a75f
parentd0bc0efe9c66c54679bc1d77d43feca7baae6904
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: 8304ffaaec0f ("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
drivers/gpu/drm/i915/i915_reg.h