162306a36Sopenharmony_ci/* amdgpu_drv.h -- Private header for amdgpu driver -*- linux-c -*- 262306a36Sopenharmony_ci * 362306a36Sopenharmony_ci * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. 462306a36Sopenharmony_ci * Copyright 2000 VA Linux Systems, Inc., Fremont, California. 562306a36Sopenharmony_ci * All rights reserved. 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * Permission is hereby granted, free of charge, to any person obtaining a 862306a36Sopenharmony_ci * copy of this software and associated documentation files (the "Software"), 962306a36Sopenharmony_ci * to deal in the Software without restriction, including without limitation 1062306a36Sopenharmony_ci * the rights to use, copy, modify, merge, publish, distribute, sublicense, 1162306a36Sopenharmony_ci * and/or sell copies of the Software, and to permit persons to whom the 1262306a36Sopenharmony_ci * Software is furnished to do so, subject to the following conditions: 1362306a36Sopenharmony_ci * 1462306a36Sopenharmony_ci * The above copyright notice and this permission notice (including the next 1562306a36Sopenharmony_ci * paragraph) shall be included in all copies or substantial portions of the 1662306a36Sopenharmony_ci * Software. 1762306a36Sopenharmony_ci * 1862306a36Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1962306a36Sopenharmony_ci * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2062306a36Sopenharmony_ci * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 2162306a36Sopenharmony_ci * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 2262306a36Sopenharmony_ci * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 2362306a36Sopenharmony_ci * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 2462306a36Sopenharmony_ci * DEALINGS IN THE SOFTWARE. 2562306a36Sopenharmony_ci * 2662306a36Sopenharmony_ci */ 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#ifndef __AMDGPU_DRV_H__ 2962306a36Sopenharmony_ci#define __AMDGPU_DRV_H__ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci#include <linux/firmware.h> 3262306a36Sopenharmony_ci#include <linux/platform_device.h> 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci#include "amd_shared.h" 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ci/* General customization: 3762306a36Sopenharmony_ci */ 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci#define DRIVER_AUTHOR "AMD linux driver team" 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci#define DRIVER_NAME "amdgpu" 4262306a36Sopenharmony_ci#define DRIVER_DESC "AMD GPU" 4362306a36Sopenharmony_ci#define DRIVER_DATE "20150101" 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ciextern const struct drm_driver amdgpu_partition_driver; 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_cilong amdgpu_drm_ioctl(struct file *filp, 4862306a36Sopenharmony_ci unsigned int cmd, unsigned long arg); 4962306a36Sopenharmony_ci 5062306a36Sopenharmony_cilong amdgpu_kms_compat_ioctl(struct file *filp, 5162306a36Sopenharmony_ci unsigned int cmd, unsigned long arg); 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ci#endif 54