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 Fix kassert: npdp may be...
details: https://anonhg.NetBSD.org/src/rev/7012c7789052
branches: trunk
changeset: 338374:7012c7789052
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed May 20 11:29:45 2015 +0000
description:
Fix kassert: npdp may be GEN8_LEGACY_PDPS exactly.
Tripped over by msaitoh, our first Broadwell user, apparently.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8f2b4a49303b -r 7012c7789052 sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c Wed May 20 11:22:54 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c Wed May 20 11:29:45 2015 +0000
@@ -575,7 +575,7 @@
ppgtt->u.gen8->npdp = npdp;
- KASSERT(nsegs < GEN8_LEGACY_PDPS);
+ KASSERT(nsegs <= GEN8_LEGACY_PDPS);
CTASSERT(GEN8_LEGACY_PDPS == __arraycount(ppgtt->u.gen8->pd_segs));
/* XXX errno NetBSD->Linux */
Home |
Main Index |
Thread Index |
Old Index