1d6c0b56eSmrg/* 2d6c0b56eSmrg * Copyright 2000 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org 3d6c0b56eSmrg * 4d6c0b56eSmrg * Permission to use, copy, modify, distribute, and sell this software and its 5d6c0b56eSmrg * documentation for any purpose is hereby granted without fee, provided that 6d6c0b56eSmrg * the above copyright notice appear in all copies and that both that copyright 7d6c0b56eSmrg * notice and this permission notice appear in supporting documentation, and 8d6c0b56eSmrg * that the name of Marc Aurele La France not be used in advertising or 9d6c0b56eSmrg * publicity pertaining to distribution of the software without specific, 10d6c0b56eSmrg * written prior permission. Marc Aurele La France makes no representations 11d6c0b56eSmrg * about the suitability of this software for any purpose. It is provided 12d6c0b56eSmrg * "as-is" without express or implied warranty. 13d6c0b56eSmrg * 14d6c0b56eSmrg * MARC AURELE LA FRANCE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15d6c0b56eSmrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO 16d6c0b56eSmrg * EVENT SHALL MARC AURELE LA FRANCE BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17d6c0b56eSmrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18d6c0b56eSmrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19d6c0b56eSmrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20d6c0b56eSmrg * PERFORMANCE OF THIS SOFTWARE. 21d6c0b56eSmrg */ 22d6c0b56eSmrg 23d6c0b56eSmrg#ifndef _AMDGPU_VERSION_H_ 24d6c0b56eSmrg#define _AMDGPU_VERSION_H_ 1 25d6c0b56eSmrg 26d6c0b56eSmrg#undef AMDGPU_NAME 27d6c0b56eSmrg#undef AMDGPU_DRIVER_NAME 28d6c0b56eSmrg#undef R200_DRIVER_NAME 29d6c0b56eSmrg#undef AMDGPU_VERSION_MAJOR 30d6c0b56eSmrg#undef AMDGPU_VERSION_MINOR 31d6c0b56eSmrg#undef AMDGPU_VERSION_PATCH 32d6c0b56eSmrg#undef AMDGPU_VERSION_CURRENT 33d6c0b56eSmrg#undef AMDGPU_VERSION_EVALUATE 34d6c0b56eSmrg#undef AMDGPU_VERSION_STRINGIFY 35d6c0b56eSmrg#undef AMDGPU_VERSION_NAME 36d6c0b56eSmrg 37d6c0b56eSmrg#define AMDGPU_NAME "AMDGPU" 38d6c0b56eSmrg#define AMDGPU_DRIVER_NAME "amdgpu" 39d6c0b56eSmrg#define SI_DRIVER_NAME "radeonsi" 40d6c0b56eSmrg 41d6c0b56eSmrg#define AMDGPU_VERSION_MAJOR PACKAGE_VERSION_MAJOR 42d6c0b56eSmrg#define AMDGPU_VERSION_MINOR PACKAGE_VERSION_MINOR 43d6c0b56eSmrg#define AMDGPU_VERSION_PATCH PACKAGE_VERSION_PATCHLEVEL 44d6c0b56eSmrg 45d6c0b56eSmrg#ifndef AMDGPU_VERSION_EXTRA 46d6c0b56eSmrg#define AMDGPU_VERSION_EXTRA "" 47d6c0b56eSmrg#endif 48d6c0b56eSmrg 49d6c0b56eSmrg#define AMDGPU_VERSION_CURRENT \ 50d6c0b56eSmrg ((AMDGPU_VERSION_MAJOR << 20) | \ 51d6c0b56eSmrg (AMDGPU_VERSION_MINOR << 10) | \ 52d6c0b56eSmrg (AMDGPU_VERSION_PATCH)) 53d6c0b56eSmrg 54d6c0b56eSmrg#define AMDGPU_VERSION_EVALUATE(__x) #__x 55d6c0b56eSmrg#define AMDGPU_VERSION_STRINGIFY(_x) AMDGPU_VERSION_EVALUATE(_x) 56d6c0b56eSmrg#define AMDGPU_VERSION_NAME \ 57d6c0b56eSmrg AMDGPU_VERSION_STRINGIFY(AMDGPU_VERSION_MAJOR) "." \ 58d6c0b56eSmrg AMDGPU_VERSION_STRINGIFY(AMDGPU_VERSION_MINOR) "." \ 59d6c0b56eSmrg AMDGPU_VERSION_STRINGIFY(AMDGPU_VERSION_PATCH) AMDGPU_VERSION_EXTRA 60d6c0b56eSmrg 61d6c0b56eSmrg#endif /* _AMDGPU_VERSION_H_ */ 62