Re: [PATCH] gpu: host1x: Free the IOMMU domain when there is no device to attach
From: Jon Hunter
Date: Tue Jul 18 2017 - 05:10:01 EST
Hi Mikko,
On 11/07/17 07:43, Mikko Perttunen wrote:
> Thanks for the patch, didn't consider this case. I really need to get
> together some system to automatically test on multiple platforms.. :)
We already have the infrastructure in place to do this, however, at the
moment we are just making sure the platforms boot. Something like this
we should be able to catch, even if we don't explicitly test display/hdmi.
I was thinking that we could parse the /dev and /sys file-systems to
ensure that devices for a given platform are present after boot. I am
not sure if there is a good way to do this, but if you have any
thoughts, then I am willing to add more testing.
What is interesting about this case, was that there were no specific
error messages that indicated this had broken AFAICT.
Cheers
Jon
--
nvpublic