For a bug tracker for the amdgpu driver see:
This issue seems close:
It would be good to know the precise card, inxi gave:
Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
But which one precise.
I see there was a big amdgpu update going over from 6.17 to 6.18: