Revert "drm/vc4: hvs: More logging for dlist generation"

This reverts commit 8a22cf9b5d.
This commit is contained in:
Dave Stevenson
2024-12-02 16:51:46 +00:00
parent 0807a70b66
commit 6f53543514

View File

@@ -826,22 +826,11 @@ int vc4_hvs_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state)
if (hweight32(crtc_state->connector_mask) > 1) if (hweight32(crtc_state->connector_mask) > 1)
return -EINVAL; return -EINVAL;
drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) { drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state)
u32 plane_dlist_count = vc4_plane_dlist_size(plane_state); dlist_count += vc4_plane_dlist_size(plane_state);
drm_dbg_driver(dev, "[CRTC:%d:%s] Found [PLANE:%d:%s] with DLIST size: %u\n",
crtc->base.id, crtc->name,
plane->base.id, plane->name,
plane_dlist_count);
dlist_count += plane_dlist_count;
}
dlist_count++; /* Account for SCALER_CTL0_END. */ dlist_count++; /* Account for SCALER_CTL0_END. */
drm_dbg_driver(dev, "[CRTC:%d:%s] Allocating DLIST block with size: %u\n",
crtc->base.id, crtc->name, dlist_count);
alloc = vc4_hvs_alloc_dlist_entry(vc4->hvs, vc4_state->assigned_channel, dlist_count); alloc = vc4_hvs_alloc_dlist_entry(vc4->hvs, vc4_state->assigned_channel, dlist_count);
if (IS_ERR(alloc)) if (IS_ERR(alloc))
return PTR_ERR(alloc); return PTR_ERR(alloc);