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 Add __diagused attribute...
details: https://anonhg.NetBSD.org/src/rev/e78cc90cacdd
branches: trunk
changeset: 835786:e78cc90cacdd
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Sep 09 03:04:43 2018 +0000
description:
Add __diagused attribute to some diagnostic routines.
OK riastradh@
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r e9520e62ded4 -r e78cc90cacdd sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c Sun Sep 09 01:53:23 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c Sun Sep 09 03:04:43 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_cmd_parser.c,v 1.17 2018/08/27 14:50:04 riastradh Exp $ */
+/* $NetBSD: i915_cmd_parser.c,v 1.18 2018/09/09 03:04:43 pgoyette Exp $ */
/*
* Copyright © 2013 Intel Corporation
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_cmd_parser.c,v 1.17 2018/08/27 14:50:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_cmd_parser.c,v 1.18 2018/09/09 03:04:43 pgoyette Exp $");
#include "i915_drv.h"
@@ -555,6 +555,7 @@
return 0;
}
+__diagused
static bool validate_cmds_sorted(struct intel_engine_cs *ring,
const struct drm_i915_cmd_table *cmd_tables,
int cmd_table_count)
@@ -611,6 +612,7 @@
return ret;
}
+__diagused
static bool validate_regs_sorted(struct intel_engine_cs *ring)
{
return check_sorted(ring->id, ring->reg_table, ring->reg_count) &&
Home |
Main Index |
Thread Index |
Old Index