diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-07-17 19:06:20 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-07-19 15:35:18 +0100 |
commit | 7405cb77e008aa83908c9824ff7897c403929d57 (patch) | |
tree | ee966144b733b019f6e11cd8ad6e3ebbaa74994b /lib/zlib_deflate/deftree.c | |
parent | 15160879d47213c32f357bc67b6014d9aaf14ed7 (diff) |
drm/i915: Trust programmed MCR in read_subslice_reg
Instead of re-calculating the MCR selector in read_subslice_reg do the
rwm on its existing value and restore it when done.
This consolidates MCR programming to one place for cnl+, and avoids
re-calculating its default value on older platforms during hangcheck.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190717180624.20354-3-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'lib/zlib_deflate/deftree.c')
0 files changed, 0 insertions, 0 deletions