[PATCH] PCI: use dev_info rather than dev_err for rom validation

Alex Deucher alexdeucher at gmail.com
Mon Nov 27 18:05:44 UTC 2017


On Mon, Nov 27, 2017 at 1:00 PM, Michel Dänzer <michel at daenzer.net> wrote:
> On 2017-11-27 06:21 PM, Alex Deucher wrote:
>> On AMD GPUs, we use several mechanisms to fetch the vbios
>> rom depending on the platform.  We try to read the rom
>> back via the rom BAR and fall back to other methods in
>> some cases.  This leads to spurious error messages
>> from the pci rom code which are harmless in our case.
>> This leads to bugs being files, etc.  Change these to
>> dev_info rather than dev_err to avoid that.
>
> Does dev_info still print the message by default though? If so, I wonder
> if this will change anything in practice...

It will still show up, just not as an error so if you are filtering on
errors, you won't see it.

Alex


More information about the dri-devel mailing list