mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 13:08:04 +02:00
drm-backend: do not set output->crtc to NULL in drm_output_init_planes() failure
After commit "drm-backend: move code to init/deinit planes to specific functions" we have a specific function to init planes. As this function does not set output->crtc, it should not set it to NULL in case of failure. This is caller's responsibility. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
parent
05cecc8ef3
commit
de1b77e7cd
1 changed files with 0 additions and 1 deletions
|
|
@ -1664,7 +1664,6 @@ drm_output_init_planes(struct drm_output *output)
|
|||
if (!output->scanout_plane) {
|
||||
weston_log("Failed to find primary plane for output %s\n",
|
||||
output->base.name);
|
||||
output->crtc = NULL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue