From fb4d85023675bc7da402da96b2bb84fd12905dbf Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 21 May 2019 22:40:06 +0000 Subject: add amdgpu from linux 4.19.44 for recent AMD Radeon parts committing now so this can be worked on in tree Thanks to the OpenBSD Foundation for sponsoring this work and kettenis@ for helping. --- sys/dev/pci/drm/amd/amdgpu/amdgpu_trace_points.c | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys/dev/pci/drm/amd/amdgpu/amdgpu_trace_points.c (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_trace_points.c') diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_trace_points.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_trace_points.c new file mode 100644 index 00000000000..b160b958e5f --- /dev/null +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_trace_points.c @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0 +/* Copyright Red Hat Inc 2010. + * + * 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. + * + * Author : Dave Airlie + */ +#include +#include +#include "amdgpu.h" + +#define CREATE_TRACE_POINTS +#include "amdgpu_trace.h" -- cgit v1.2.3-59-g8ed1b