summaryrefslogtreecommitdiffstats
path: root/kernel/up.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-10-31 22:37:10 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-11-01 16:40:38 +0200
commit98187836fc75b7a003db101e19cfa8685da78905 (patch)
tree88e9e4a98e32d143bddee511e025b07dbcbf09d8 /kernel/up.c
parentb91eb5cce65047eced9d13e8e15b46dced0c3c53 (diff)
downloadtalos-op-linux-98187836fc75b7a003db101e19cfa8685da78905.tar.gz
talos-op-linux-98187836fc75b7a003db101e19cfa8685da78905.zip
drm/i915: Always use intel_get_crtc_for_pipe()
Replace the open coded dev_priv->pipe_to_crtc_mapping[] usage with intel_get_crtc_for_pipe(). Mostly done with coccinelle, with a few manual tweaks @@ expression E1, E2; @@ ( - E1->pipe_to_crtc_mapping[E2] + intel_get_crtc_for_pipe(E1, E2) | - E1->plane_to_crtc_mapping[E2] + intel_get_crtc_for_plane(E1, E2) ) Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1477946245-14134-12-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud