On Wed, Feb 15, 2017 at 1:09 PM, Alex Xie <[email protected]> wrote:
> Change-Id: Iaeeb253cc5c028c93c536ee6ea08213c7fa8f299
> Signed-off-by: Alex Xie <[email protected]>

Reviewed-by: Alex Deucher <[email protected]>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h 
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
> index 51fa12f..cc389af 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
> @@ -63,7 +63,7 @@ struct amdgpu_bo_list_entry;
>  #define AMDGPU_PTE_READABLE    (1ULL << 5)
>  #define AMDGPU_PTE_WRITEABLE   (1ULL << 6)
>
> -#define AMDGPU_PTE_FRAG(x)     ((x & 0x1f) << 7)
> +#define AMDGPU_PTE_FRAG(x)     ((x & 0x1fULL) << 7)
>
>  #define AMDGPU_PTE_PRT         (1ULL << 63)
>
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to