Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 Update for new name, fal...
details: https://anonhg.NetBSD.org/src/rev/1b03f1469ef5
branches: trunk
changeset: 1028627:1b03f1469ef5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:32:01 2021 +0000
description:
Update for new name, fallthrough, reorder to make GCC happy about fallthrough comment
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_getparam.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 2df213c5f1ab -r 1b03f1469ef5 sys/external/bsd/drm2/dist/drm/i915/i915_getparam.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_getparam.c Sun Dec 19 11:31:54 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_getparam.c Sun Dec 19 11:32:01 2021 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: i915_getparam.c,v 1.3 2021/12/19 10:24:52 riastradh Exp $ */
+/* $NetBSD: i915_getparam.c,v 1.4 2021/12/19 11:32:01 riastradh Exp $ */
/*
* SPDX-License-Identifier: MIT
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_getparam.c,v 1.3 2021/12/19 10:24:52 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_getparam.c,v 1.4 2021/12/19 11:32:01 riastradh Exp $");
#include "gem/i915_gem_mman.h"
#include "gt/intel_engine_user.h"
@@ -116,10 +116,11 @@
break;
case I915_PARAM_MMAP_VERSION:
+ /* Remember to bump this if the version changes! */
#ifdef __NetBSD__
- dev_priv->quirks |= QUIRK_NETBSD_VERSION_CALLED;
+ i915->quirks |= QUIRK_NETBSD_VERSION_CALLED;
#endif
- /* Remember to bump this if the version changes! */
+ /* FALLTHROUGH */
case I915_PARAM_HAS_GEM:
case I915_PARAM_HAS_PAGEFLIPPING:
case I915_PARAM_HAS_EXECBUF2: /* depends on GEM */
Home |
Main Index |
Thread Index |
Old Index