drm: Don't use weston_view in drm_output_find_plane_for_view

We can get what we need via the paint node.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2026-03-16 10:01:02 -05:00
parent c1fcfd288d
commit 838d6d92be

View file

@ -648,7 +648,7 @@ drm_output_find_plane_for_view(struct drm_output_state *state,
return NULL;
}
buffer = ev->surface->buffer_ref.buffer;
buffer = pnode->surface->buffer_ref.buffer;
if (pnode->draw_solid) {
pnode->try_view_on_plane_failure_reasons |=
FAILURE_REASONS_SOLID_SURFACE;