Skip to content
Commit 4d9020c3 authored by Evan Benn's avatar Evan Benn Committed by Greg Kroah-Hartman
Browse files

drm/mediatek: Find the cursor plane instead of hard coding it

[ Upstream commit 318caac7

 ]

The cursor and primary planes were hard coded.
Now search for them for passing to drm_crtc_init_with_planes

Signed-off-by: default avatarEvan Benn <evanbenn@chromium.org>
Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarCK Hu <ck.hu@mediatek.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 61c895d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment