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)
commit81cdeca45a061f0ec9ecbbf7de864e2a57df5ee4
tree251acf0609717be9e54ecc594dee26f5b93f5dad
parent44d0a9c05bc078aef75229d0750e9c55959caae4
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