drm/state-propose: Remove unnecessary check
If sprites_are_broken, then we will only ever arrive in renderer_only mode, so this case will be caught by the checks above. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -720,15 +720,6 @@ drm_output_prepare_plane_view(struct drm_output_state *state,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (plane->type != WDRM_PLANE_TYPE_CURSOR &&
|
|
||||||
b->sprites_are_broken) {
|
|
||||||
drm_debug(b, "\t\t\t\t[plane] not adding plane %d, type %s to "
|
|
||||||
"candidate list: sprites are broken!\n",
|
|
||||||
plane->plane_id,
|
|
||||||
drm_output_get_plane_type_name(plane));
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (plane->type == WDRM_PLANE_TYPE_CURSOR && !shmbuf) {
|
if (plane->type == WDRM_PLANE_TYPE_CURSOR && !shmbuf) {
|
||||||
drm_debug(b, "\t\t\t\t[plane] not adding plane %d, type cursor to "
|
drm_debug(b, "\t\t\t\t[plane] not adding plane %d, type cursor to "
|
||||||
"candidate list: cursor planes only support wl_shm "
|
"candidate list: cursor planes only support wl_shm "
|
||||||
|
|||||||
Reference in New Issue
Block a user