OSDN Git Service

drm/i915: Nuke display error state
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 May 2021 19:11:40 +0000 (22:11 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 May 2021 05:06:49 +0000 (08:06 +0300)
commite7c46e43bdd28f16ace4415a0d63c7740671438a
tree40f7dcf052b78305f667ccec834feb64577fe264
parent9a5b5e1b981309179e030aca0c535a4f037dfa95
drm/i915: Nuke display error state

I doubt anyone has used the display error state since CS flips
went the way of the dodo. Just nuke it.

It might be semi interesting to have something like this for
FIFO underruns and the like, but as it stands this wouldn't
provide a sufficient amount of information. So would need
an extensive rewrite anyway.

The lockless power well handling is also racy, so this could
just be contributing noise to test results if we end up
accessing something with the relevant power well already
disabled.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210505191140.14215-1-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_gpu_error.h