Skip to content

Commit

Permalink
Merge pull request #200 from pop-os/asahi-testing
Browse files Browse the repository at this point in the history
kms: don't fail when encountering render-only devices
  • Loading branch information
Drakulix authored Oct 18, 2023
2 parents 806e10f + 02d818b commit c38a236
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/kms/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,9 @@ pub fn init_backend(
state.launch_xwayland(Some(primary));

for (dev, path) in udev_dispatcher.as_source_ref().device_list() {
state
.device_added(dev, path.into(), dh, false)
.with_context(|| format!("Failed to add drm device: {}", path.display()))?;
if let Err(err) = state.device_added(dev, path.into(), dh, false) {
warn!("Failed to add device {}: {:?}", path.display(), err);
}
}

// HACK: amdgpu doesn't like us initializing vulkan too early..
Expand Down

0 comments on commit c38a236

Please sign in to comment.