OSDN Git Service

drm/i915: Introduce some local intel_dp variables
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Apr 2020 17:19:26 +0000 (20:19 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 May 2020 20:05:45 +0000 (23:05 +0300)
commit6770ef332fccd6ad7fdd1ffeee8cd20c8bb10562
tree77bbc78f46d236fe2bae558dcce2f786fafb3e68
parentbd34cea2a0e4b0c7a8e73d6cbaf694b233769d9d
drm/i915: Introduce some local intel_dp variables

The drrs code dereferences mode->vrefresh via some really long chain
of structures/pointers. Couldn't get coccinelle to see through all
that so let's add some local variables to help it.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200428171940.19552-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_dp.c