Yesterday I got my second M1 mini (a 16GB which is replacing the 8GB) and with both of them I've had panics due to "dcpav-audio-interface-epic", which from some search I did the first time seems to be related to HDMI. With the first mini I seemed to have resolved by connecting the second monitor with a DisplayLink adapter instead of the HDMI port. This morning I found the new mini restarted with the same panic and I had connected the second monitor to the HDMI just to try. So I have connected it with DisplayPort again now. Hopefully that will fix it again. There are a number of people having various issues with HDMI apparently.