xref: /netbsd-src/sys/external/bsd/drm2/i915drm/i915_switcheroo.c (revision f1da9b35911ced5ef0f192721061e7b335ea9808)
1*f1da9b35Sriastradh /*	$NetBSD: i915_switcheroo.c,v 1.1 2021/12/19 11:37:41 riastradh Exp $	*/
2*f1da9b35Sriastradh 
3*f1da9b35Sriastradh /*-
4*f1da9b35Sriastradh  * Copyright (c) 2021 The NetBSD Foundation, Inc.
5*f1da9b35Sriastradh  * All rights reserved.
6*f1da9b35Sriastradh  *
7*f1da9b35Sriastradh  * Redistribution and use in source and binary forms, with or without
8*f1da9b35Sriastradh  * modification, are permitted provided that the following conditions
9*f1da9b35Sriastradh  * are met:
10*f1da9b35Sriastradh  * 1. Redistributions of source code must retain the above copyright
11*f1da9b35Sriastradh  *    notice, this list of conditions and the following disclaimer.
12*f1da9b35Sriastradh  * 2. Redistributions in binary form must reproduce the above copyright
13*f1da9b35Sriastradh  *    notice, this list of conditions and the following disclaimer in the
14*f1da9b35Sriastradh  *    documentation and/or other materials provided with the distribution.
15*f1da9b35Sriastradh  *
16*f1da9b35Sriastradh  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17*f1da9b35Sriastradh  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18*f1da9b35Sriastradh  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19*f1da9b35Sriastradh  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20*f1da9b35Sriastradh  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21*f1da9b35Sriastradh  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22*f1da9b35Sriastradh  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23*f1da9b35Sriastradh  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24*f1da9b35Sriastradh  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25*f1da9b35Sriastradh  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26*f1da9b35Sriastradh  * POSSIBILITY OF SUCH DAMAGE.
27*f1da9b35Sriastradh  */
28*f1da9b35Sriastradh 
29*f1da9b35Sriastradh /* i915_switcheroo.c stubs */
30*f1da9b35Sriastradh 
31*f1da9b35Sriastradh #include "i915_switcheroo.h"
32*f1da9b35Sriastradh 
33*f1da9b35Sriastradh int
i915_switcheroo_register(struct drm_i915_private * i915)34*f1da9b35Sriastradh i915_switcheroo_register(struct drm_i915_private *i915)
35*f1da9b35Sriastradh {
36*f1da9b35Sriastradh 
37*f1da9b35Sriastradh 	return 0;
38*f1da9b35Sriastradh }
39*f1da9b35Sriastradh 
40*f1da9b35Sriastradh void
i915_switcheroo_unregister(struct drm_i915_private * i915)41*f1da9b35Sriastradh i915_switcheroo_unregister(struct drm_i915_private *i915)
42*f1da9b35Sriastradh {
43*f1da9b35Sriastradh }
44