drm/shmobile: Restrict plane loops to only operate on legacy planes
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 1 Apr 2014 22:22:33 +0000 (15:22 -0700)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Apr 2014 00:11:27 +0000 (20:11 -0400)
commit2b79dc13dc88c72c89fc9c4e4589bfc1139a441d
tree8b695631dfd90aa34d81e9afc3228247ce89902a
parentaf2b653bfb4ef40931b4d101ca842ce0c5da57ef
drm/shmobile: Restrict plane loops to only operate on legacy planes

Ensure that existing driver loops over all planes do not change behavior
when we begin adding new types of planes (primary and cursor) to the DRM
plane list in future patches.

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/shmobile/shmob_drm_crtc.c