Skip to content
Snippets Groups Projects
Select Git revision
  • 127c8c5f0589cea2208c329bff7dcb36e375f46c
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

crash_core.c

Blame
  • amdgpu.h 75.25 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;