1d38ceaf9SAlex Deucher /* amdgpu_drv.h -- Private header for amdgpu driver -*- linux-c -*- 2d38ceaf9SAlex Deucher * 3d38ceaf9SAlex Deucher * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. 4d38ceaf9SAlex Deucher * Copyright 2000 VA Linux Systems, Inc., Fremont, California. 5d38ceaf9SAlex Deucher * All rights reserved. 6d38ceaf9SAlex Deucher * 7d38ceaf9SAlex Deucher * Permission is hereby granted, free of charge, to any person obtaining a 8d38ceaf9SAlex Deucher * copy of this software and associated documentation files (the "Software"), 9d38ceaf9SAlex Deucher * to deal in the Software without restriction, including without limitation 10d38ceaf9SAlex Deucher * the rights to use, copy, modify, merge, publish, distribute, sublicense, 11d38ceaf9SAlex Deucher * and/or sell copies of the Software, and to permit persons to whom the 12d38ceaf9SAlex Deucher * Software is furnished to do so, subject to the following conditions: 13d38ceaf9SAlex Deucher * 14d38ceaf9SAlex Deucher * The above copyright notice and this permission notice (including the next 15d38ceaf9SAlex Deucher * paragraph) shall be included in all copies or substantial portions of the 16d38ceaf9SAlex Deucher * Software. 17d38ceaf9SAlex Deucher * 18d38ceaf9SAlex Deucher * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19d38ceaf9SAlex Deucher * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20d38ceaf9SAlex Deucher * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 21d38ceaf9SAlex Deucher * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 22d38ceaf9SAlex Deucher * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 23d38ceaf9SAlex Deucher * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 24d38ceaf9SAlex Deucher * DEALINGS IN THE SOFTWARE. 25d38ceaf9SAlex Deucher * 26d38ceaf9SAlex Deucher */ 27d38ceaf9SAlex Deucher 28d38ceaf9SAlex Deucher #ifndef __AMDGPU_DRV_H__ 29d38ceaf9SAlex Deucher #define __AMDGPU_DRV_H__ 30d38ceaf9SAlex Deucher 31d38ceaf9SAlex Deucher #include <linux/firmware.h> 32d38ceaf9SAlex Deucher #include <linux/platform_device.h> 33d38ceaf9SAlex Deucher 342f7d10b3SJammy Zhou #include "amd_shared.h" 35d38ceaf9SAlex Deucher 36d38ceaf9SAlex Deucher /* General customization: 37d38ceaf9SAlex Deucher */ 38d38ceaf9SAlex Deucher 39d38ceaf9SAlex Deucher #define DRIVER_AUTHOR "AMD linux driver team" 40d38ceaf9SAlex Deucher 41d38ceaf9SAlex Deucher #define DRIVER_NAME "amdgpu" 42d38ceaf9SAlex Deucher #define DRIVER_DESC "AMD GPU" 43d38ceaf9SAlex Deucher 44*2c1c7ba4SJames Zhu extern const struct drm_driver amdgpu_partition_driver; 45*2c1c7ba4SJames Zhu 46d38ceaf9SAlex Deucher long amdgpu_drm_ioctl(struct file *filp, 47d38ceaf9SAlex Deucher unsigned int cmd, unsigned long arg); 48d38ceaf9SAlex Deucher 49e105b64aSIsabella Basso long amdgpu_kms_compat_ioctl(struct file *filp, 50e105b64aSIsabella Basso unsigned int cmd, unsigned long arg); 51e105b64aSIsabella Basso 52d38ceaf9SAlex Deucher #endif 53