Re: radeon driver warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

Am 17.06.22 um 13:52 schrieb John Garry:
Hi Christian,


well, this warning is intentional.

The key point is that your random config results in a very suboptimal situation where the graphics driver only barely work.

ok


And radeon is pointing that out with this warning. That is totally expected behavior.

Sure, but I don't think that it should break the build.

well, this doesn't break the build we already have that for years.

What breaks the build now is that warnings are handled as errors.


Can you add a boot-time warning message instead?

Yes, we already have that as well.


And/Or compile out the warning when "warnings = errors"?

That should be doable I think.

Regards,
Christian.


All the best,
John


Regards,
Christian.

Am 17.06.22 um 12:57 schrieb John Garry:
Hi guys,

This warning in the radeon driver breaks my randconfig build on v5.19-rc2:

drivers/gpu/drm/radeon/radeon_object.c:186:2: error: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [;;https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fonl&data=05%7C01%7Cchristian.koenig%40amd.com%7Ca03d7af65a8a4a5bfe4108da5057dec9%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637910635599228345%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cRh91K85SllKnVm7pkZEK%2Bv4rbrKCzLkiT%2B9Q5mJ65I%3D&reserved=0
inedocs/gcc/Warning-Options.html#index-Wcpp-Werror=cpp;;]

Is anything being done to fix it? I don't see anything in -next or on dridevel list recently which it could be.

thanks,
John

.





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux