mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
Merge branch 'handle_mgpu_reset' into 'master'
backend/drm: handle secondary GPU reset See merge request wlroots/wlroots!4706
This commit is contained in:
commit
1b930e502a
6 changed files with 26 additions and 6 deletions
|
|
@ -723,7 +723,7 @@ static bool drm_connector_state_update_primary_fb(struct wlr_drm_connector *conn
|
|||
return false;
|
||||
}
|
||||
|
||||
local_buf = drm_surface_blit(&plane->mgpu_surf, source_buf);
|
||||
local_buf = drm_surface_blit(drm, &plane->mgpu_surf, source_buf);
|
||||
if (local_buf == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
|
@ -1088,7 +1088,7 @@ static bool drm_connector_set_cursor(struct wlr_output *output,
|
|||
return false;
|
||||
}
|
||||
|
||||
local_buf = drm_surface_blit(&plane->mgpu_surf, buffer);
|
||||
local_buf = drm_surface_blit(drm, &plane->mgpu_surf, buffer);
|
||||
if (local_buf == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue