Skip to content
Snippets Groups Projects
Select Git revision
  • 4b50bcc7eda4d3cc9e3f2a0aa60e590fedf728c5
  • master default
  • android-container
  • nanopc-t4
  • for-kernelci
  • WIP-syscall
  • v4.16-rc5
  • v4.16-rc4
  • v4.16-rc3
  • v4.16-rc2
  • v4.16-rc1
  • v4.15
  • v4.15-rc9
  • v4.15-rc8
  • v4.15-rc7
  • v4.15-rc6
  • v4.15-rc5
  • v4.15-rc4
  • v4.15-rc3
  • v4.15-rc2
  • v4.15-rc1
  • v4.14
  • v4.14-rc8
  • v4.14-rc7
  • v4.14-rc6
  • v4.14-rc5
26 results

page_alloc.c

Blame
  • amdgpu.h 73.78 KiB
    /*
     * Copyright 2008 Advanced Micro Devices, Inc.
     * Copyright 2008 Red Hat Inc.
     * Copyright 2009 Jerome Glisse.
     *
     * Permission is hereby granted, free of charge, to any person obtaining a
     * copy of this software and associated documentation files (the "Software"),
     * to deal in the Software without restriction, including without limitation
     * the rights to use, copy, modify, merge, publish, distribute, sublicense,
     * and/or sell copies of the Software, and to permit persons to whom the
     * Software is furnished to do so, subject to the following conditions:
     *
     * The above copyright notice and this permission notice shall be included in
     * all copies or substantial portions of the Software.
     *
     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
     * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
     * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
     * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     * OTHER DEALINGS IN THE SOFTWARE.
     *
     * Authors: Dave Airlie
     *          Alex Deucher
     *          Jerome Glisse
     */
    #ifndef __AMDGPU_H__
    #define __AMDGPU_H__
    
    #include <linux/atomic.h>
    #include <linux/wait.h>
    #include <linux/list.h>
    #include <linux/kref.h>
    #include <linux/interval_tree.h>
    #include <linux/hashtable.h>
    #include <linux/fence.h>
    
    #include <ttm/ttm_bo_api.h>
    #include <ttm/ttm_bo_driver.h>
    #include <ttm/ttm_placement.h>
    #include <ttm/ttm_module.h>
    #include <ttm/ttm_execbuf_util.h>
    
    #include <drm/drmP.h>
    #include <drm/drm_gem.h>
    #include <drm/amdgpu_drm.h>
    
    #include "amd_shared.h"
    #include "amdgpu_mode.h"
    #include "amdgpu_ih.h"
    #include "amdgpu_irq.h"
    #include "amdgpu_ucode.h"
    #include "amdgpu_gds.h"
    #include "amd_powerplay.h"
    #include "amdgpu_acp.h"
    
    #include "gpu_scheduler.h"
    
    /*
     * Modules parameters.
     */
    extern int amdgpu_modeset;
    extern int amdgpu_vram_limit;
    extern int amdgpu_gart_size;
    extern int amdgpu_benchmarking;
    extern int amdgpu_testing;
    extern int amdgpu_audio;
    extern int amdgpu_disp_priority;
    extern int amdgpu_hw_i2c;