[prev in list] [next in list] [prev in thread] [next in thread]
List: mesa3d-dev
Subject: Re: Forcing device loss for debugging
From: Christian_König <ckoenig.leichtzumerken () gmail ! com>
Date: 2023-09-11 11:21:36
Message-ID: 4c4ffc14-fd61-7ac4-c6d7-3d94dab25d6b () gmail ! com
[Download RAW message or body]
Under the sysfs directory for each PCI device you should have a virtual
file called "remove".
So if you just do an "echo 1 > /sys/devices/pci..../remove" you
basically simulate hot unplugging the specific PCI device
IIRC the PCI bridge where the device is connected to should then have a
"rescan" virtual device which triggers hot plugging the device back in
again when written.
Regards,
Christian.
Am 06.09.23 um 02:27 schrieb Jim Blandy:
> Is there any way to force a Vulkan device to report itself lost, in
> order to exercise one's application's recovery paths? I looked through
> the Mesa sources but didn't find anything that seemed suitable.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic