]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move MMCD_MISC_CTRL from context w/a to standard
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Oct 2017 12:41:52 +0000 (13:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Oct 2017 14:05:40 +0000 (15:05 +0100)
commit2198373340bffe5a81bb909987f86e10969db9b8
tree3891da9a6d4b94d961885d0a8063f69259b703ba
parent1fb32540de8f76f3fa1a5e074e8d18153be19458
drm/i915: Move MMCD_MISC_CTRL from context w/a to standard

Looking at gem_workarounds shows us that MMCD_MISC_CTRL is not restored
following a suspend-resume cycle. This implies that MMCD_MISC_CTRL is
not stored in the context, but is an ordinary register w/a that we need to
restore during init_hw.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Oscar Mateo <oscar.mateo@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171004124153.14142-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/intel_engine_cs.c