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.
Can you add a boot-time warning message instead?
And/Or compile out the warning when "warnings = errors"?
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%7C430e22f895ec4822fe5e08da50503030%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637910602602101203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vT%2BWgL83xuAOqv44oVU3J4ypTDzC9f%2FNslYXtbIl56Y%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
.