]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: remove static variable for aux last status
authorJani Nikula <jani.nikula@intel.com>
Wed, 2 Oct 2019 14:41:38 +0000 (17:41 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 4 Oct 2019 12:10:27 +0000 (15:10 +0300)
commitd583247596e66e39a2e82efe4e0e0e8af730e17c
tree251acf0609717be9e54ecc594dee26f5b93f5dad
parentd8a386061ca084df3197cfcec5da1be9818453e0
drm/i915/dp: remove static variable for aux last status

Add aux_busy_last_status to intel_dp. Don't bother with initializing to
all ones; the only difference is potentially missing logging for one
error case if the readout is all zeros.

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