]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Transform whitelisting WAs into a simple reg write
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 28 Sep 2017 22:40:39 +0000 (15:40 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Oct 2017 14:05:39 +0000 (15:05 +0100)
commit32ced39c1b122679f829cfdac5a679b3a5aefeaf
treefe6d30682a2bc788061c5d2b0cec9adf8c3caba7
parent8279aaf59006fb19ca8caa3f0f0b8bfc33a0dd1a
drm/i915: Transform whitelisting WAs into a simple reg write

RING_FORCE_TO_NONPRIV registers do not live in the logical context. They are simply
global privileged MMIO registers that happen to be powercontext saved and restored
(meaning only they can survive RC6). Therefore, there is absolutely no need to save
them so that they can be restored everytime we create a new logical context.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1506638439-6903-1-git-send-email-oscar.mateo@intel.com
Acked-by: Michel Thierry <michel.thierry@intel.com>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk> #bxt
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_engine_cs.c