OSDN Git Service

drm/i915/ddi: s/crtc->config/old_crtc_state in haswell_crtc_disable()
authorImre Deak <imre.deak@intel.com>
Wed, 13 Jun 2018 17:07:06 +0000 (20:07 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 14 Jun 2018 16:50:02 +0000 (19:50 +0300)
commit24a28179ecc0011e41a0fc8034a1a8e0fefbb406
tree4a7197a6aa5fe3e78c8e3ed74061c0cffce99fc5
parent5422b37c907e7c00a15d5298d6717c6f7ba1403f
drm/i915/ddi: s/crtc->config/old_crtc_state in haswell_crtc_disable()

crtc->config points to the old crtc state at the point
display.crtc_disable() is called, so use the more descriptive pointer
instead.

v2:
- Convert one remaining instance of the ptr in the function. (Ville)

Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180613170710.15080-2-imre.deak@intel.com
drivers/gpu/drm/i915/intel_display.c