AMDGPU_MAX_PLANES
struct drm_plane *planes[AMDGPU_MAX_PLANES];
if (primary_planes > AMDGPU_MAX_PLANES) {