commit | d6b53f68356f74d11530cb834b1c8acfe5f2bae2 | [log] [tgz] |
---|---|---|
author | Sean Paul <seanpaul@chromium.org> | Tue Nov 05 16:10:19 2019 -0500 |
committer | CK Hu <ck.hu@mediatek.com> | Wed Nov 06 16:00:44 2019 +0800 |
tree | 65de59639f1a7c488ed5d50d929a40174053971e | |
parent | 31c5558dae0513bd2bae33ea37543f584c6c35a5 [diff] |
drm/mediatek: Add helper to get component for a plane Instead of hard-coding which components have planes, add a helper function to walk the components and map a plane index to a component layer. Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: CK Hu <ck.hu@mediatek.com>