amdgpu.h (3fe89771cb0a65d3b686bcafb5b7e3ebae0ea604) | amdgpu.h (9cca0b8e5df0ac438c65eec5044bfa089d16fbbe) |
---|---|
1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 165 unchanged lines hidden (view full) --- 174 175struct amdgpu_device; 176struct amdgpu_ib; 177struct amdgpu_cs_parser; 178struct amdgpu_job; 179struct amdgpu_irq_src; 180struct amdgpu_fpriv; 181struct amdgpu_mn; | 1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 165 unchanged lines hidden (view full) --- 174 175struct amdgpu_device; 176struct amdgpu_ib; 177struct amdgpu_cs_parser; 178struct amdgpu_job; 179struct amdgpu_irq_src; 180struct amdgpu_fpriv; 181struct amdgpu_mn; |
182struct amdgpu_bo_va_mapping; |
|
182 183enum amdgpu_cp_irq { 184 AMDGPU_CP_IRQ_GFX_EOP = 0, 185 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP, 186 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE1_EOP, 187 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE2_EOP, 188 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE3_EOP, 189 AMDGPU_CP_IRQ_COMPUTE_MEC2_PIPE0_EOP, --- 1705 unchanged lines hidden (view full) --- 1895int amdgpu_acpi_pcie_performance_request(struct amdgpu_device *adev, 1896 u8 perf_req, bool advertise); 1897int amdgpu_acpi_pcie_notify_device_ready(struct amdgpu_device *adev); 1898#else 1899static inline int amdgpu_acpi_init(struct amdgpu_device *adev) { return 0; } 1900static inline void amdgpu_acpi_fini(struct amdgpu_device *adev) { } 1901#endif 1902 | 183 184enum amdgpu_cp_irq { 185 AMDGPU_CP_IRQ_GFX_EOP = 0, 186 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP, 187 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE1_EOP, 188 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE2_EOP, 189 AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE3_EOP, 190 AMDGPU_CP_IRQ_COMPUTE_MEC2_PIPE0_EOP, --- 1705 unchanged lines hidden (view full) --- 1896int amdgpu_acpi_pcie_performance_request(struct amdgpu_device *adev, 1897 u8 perf_req, bool advertise); 1898int amdgpu_acpi_pcie_notify_device_ready(struct amdgpu_device *adev); 1899#else 1900static inline int amdgpu_acpi_init(struct amdgpu_device *adev) { return 0; } 1901static inline void amdgpu_acpi_fini(struct amdgpu_device *adev) { } 1902#endif 1903 |
1903struct amdgpu_bo_va_mapping * 1904amdgpu_cs_find_mapping(struct amdgpu_cs_parser *parser, 1905 uint64_t addr, struct amdgpu_bo **bo); 1906int amdgpu_cs_sysvm_access_required(struct amdgpu_cs_parser *parser); | 1904int amdgpu_cs_find_mapping(struct amdgpu_cs_parser *parser, 1905 uint64_t addr, struct amdgpu_bo **bo, 1906 struct amdgpu_bo_va_mapping **mapping); |
1907 1908#include "amdgpu_object.h" 1909#endif | 1907 1908#include "amdgpu_object.h" 1909#endif |