diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2016-08-04 04:59:52 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-08-08 20:20:00 +0200 |
commit | 0d5a32b7257234a25cc6b7ae936d236f61030f3f (patch) | |
tree | 2ecce23fd387dfbc37084367cddd2b308a249393 /drivers/gpu/drm/mediatek/mtk_drm_plane.h | |
parent | drm/mediatek: Remove mtk_drm_crtc_check_flush (diff) | |
download | linux-0d5a32b7257234a25cc6b7ae936d236f61030f3f.tar.xz linux-0d5a32b7257234a25cc6b7ae936d236f61030f3f.zip |
drm/mediatek: plane: Remove plane zpos/index
It is not actually useful to a mtk plane to know its zpos/index, so just
remove this field.
This let's completely remove struct mtk_drm_plane in a follow up patch.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1470279597-60453-3-git-send-email-bibby.hsieh@mediatek.com
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_plane.h')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_drm_plane.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_plane.h b/drivers/gpu/drm/mediatek/mtk_drm_plane.h index 72a7b3e4c126..74dbedad005d 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_plane.h +++ b/drivers/gpu/drm/mediatek/mtk_drm_plane.h @@ -20,7 +20,6 @@ struct mtk_drm_plane { struct drm_plane base; - unsigned int idx; }; struct mtk_plane_pending_state { @@ -53,7 +52,6 @@ to_mtk_plane_state(struct drm_plane_state *state) } int mtk_plane_init(struct drm_device *dev, struct mtk_drm_plane *mtk_plane, - unsigned long possible_crtcs, enum drm_plane_type type, - unsigned int zpos); + unsigned long possible_crtcs, enum drm_plane_type type); #endif |