[PATCH] gpu: host1x: Free the IOMMU domain when there is no device to attach

Jon Hunter jonathanh at nvidia.com
Tue Jul 18 02:09:45 PDT 2017


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



More information about the linux-arm-kernel mailing list