[PATCH] drm/amdkfd: use add ull suffix to 64bit defines
Felix Kuehling
felix.kuehling at amd.com
Wed Jan 10 16:23:12 UTC 2018
Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
On 2018-01-10 06:01 AM, Oded Gabbay wrote:
> Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
> index 6a48d29ada47..0bedcf9cc08c 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
> @@ -41,9 +41,9 @@
>
> #define KFD_SYSFS_FILE_MODE 0444
>
> -#define KFD_MMAP_DOORBELL_MASK 0x8000000000000
> -#define KFD_MMAP_EVENTS_MASK 0x4000000000000
> -#define KFD_MMAP_RESERVED_MEM_MASK 0x2000000000000
> +#define KFD_MMAP_DOORBELL_MASK 0x8000000000000ull
> +#define KFD_MMAP_EVENTS_MASK 0x4000000000000ull
> +#define KFD_MMAP_RESERVED_MEM_MASK 0x2000000000000ull
>
> /*
> * When working with cp scheduler we should assign the HIQ manually or via
More information about the amd-gfx
mailing list