Commit b976238f authored by Christian Kohn's avatar Christian Kohn Committed by Michal Simek
Browse files

drm: xilinx: crtc: Switch to drm_crtc_init_with_planes()



As the universal plane has been added, the legacy drm_crtc_init()
was changed to allocates a primary plane implicitly. It results in
2 planes allocated for one Xilinx DRM CRTC. Replacing drm_crtc_init()
call with drm_crtc_init_with_planes() fixes this, and the CRTC's
private plane is passed as an argument to this call.

Signed-off-by: default avatarChristian Kohn <christian.kohn@xilinx.com>
Signed-off-by: default avatarHyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 35e2a7ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment