Skip to content

Commit

Permalink
drm/i915: Use I915_MAX_PIPES in the pipe/plane_to_crtc_mapping defini…
Browse files Browse the repository at this point in the history
…tions

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Damien Lespiau authored and Daniel Vetter committed Feb 12, 2014
1 parent e358990 commit 76c4ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1500,8 +1500,8 @@ typedef struct drm_i915_private {

struct sdvo_device_mapping sdvo_mappings[2];

struct drm_crtc *plane_to_crtc_mapping[3];
struct drm_crtc *pipe_to_crtc_mapping[3];
struct drm_crtc *plane_to_crtc_mapping[I915_MAX_PIPES];
struct drm_crtc *pipe_to_crtc_mapping[I915_MAX_PIPES];
wait_queue_head_t pending_flip_queue;

#ifdef CONFIG_DEBUG_FS
Expand Down

0 comments on commit 76c4ac0

Please sign in to comment.