[PATCH] drm/amdgpu: Remove bo.priority compiler warning

Kent Russell kent.russell at amd.com
Tue Feb 14 18:03:45 UTC 2017


Addresses this compile warning:

warning: comparison of distinct pointer types lacks a cast [enabled by 
default]
   bo->tbo.priority = min(bo->tbo.priority, TTM_MAX_BO_PRIORITY - 1);

  Kent

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-amdgpu-Remove-bo.priority-compiler-warning.patch
Type: text/x-patch
Size: 1172 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170214/ea527728/attachment.bin>


More information about the amd-gfx mailing list