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

Christian K├Ânig deathsimple at vodafone.de
Wed Feb 15 09:21:26 UTC 2017


Yeah, Nicolai was faster than you.

Patch is already reviewed and should be committed.

Christian.

Am 14.02.2017 um 19:30 schrieb Felix Kuehling:
> 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
> _______________________________________________
> 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