What is Nostr?
npub1yk5…2jl0
2024-07-11 19:43:53

npub1yk…d2jl0 on Nostr: struct amdgpu_device *adev = ring->adev; bool ret = false; if ...

struct amdgpu_device *adev = ring->adev;
bool ret = false;

if (amdgpu_ip_version(adev, UVD_HWIP, 0) >= IP_VERSION(4, 0, 0))
ret = true;

return ret;

...I know AMD is killing this code now and I shouldn't bother complaining about something i have no intention of contributing to but goddammit quality MATTERS. Craftsmanship MATTERS

return amdgpu_ip_version(adev, UVD_HWIP, 0) >= IP_VERSION(4, 0, 0);
Author Public Key
npub1yk5jnr8fa4s87afelvnaj3qczc28deegfdfr2a7w96rclncc2t7s7d2jl0