Skip to content
Commit 296b5975 authored by JeffyChen's avatar JeffyChen Committed by Daniel Stone
Browse files

backend-drm: Don't try to prepare a non-cursor view in renderer-only mode



Doing this might cause unnecessary DRM importing, which might result in
an error when the DRM's memory address mapping is nearly full.

Return before attempting to create drm_fb to avoid that, since it will
fail in the later check anyway.

Signed-off-by: JeffyChen's avatarJeffy Chen <jeffy.chen@rock-chips.com>
parent cc3542b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment