]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: do not read swizzle info if unavailable
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 2 Jul 2020 20:07:14 +0000 (13:07 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Jul 2020 09:27:06 +0000 (10:27 +0100)
commit2379f16e43ce7c480bf0d4dc30984e36e1e9b858
treea8d5934e4ccd48882c4807d2a858adbc6ec32c7a
parenta71ddf010167977c975c5f9deea1886e585ef4b5
drm/i915: do not read swizzle info if unavailable

Since gen8 we don't use swizzle anymore. Don't dump registers related to
it: registers may or may not be there.

v2: pull the rest of driver state reporting before the read out (Chris)

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702200714.1278-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_debugfs.c