[PATCH] drm/amdgpu: Remove bo.priority compiler warning
Felix Kuehling
felix.kuehling at amd.com
Tue Feb 14 18:30:41 UTC 2017
I think Nicolai beat you to this with his patch "drm/ttm: make
TTM_MAX_BO_PRIORITY unsigned".
On 17-02-14 01:03 PM, Kent Russell wrote:
> 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
>
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list