Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/external/bsd/drm2/dist/drm/i915 Pull up following rev...
details: https://anonhg.NetBSD.org/src/rev/8559d416ede2
branches: netbsd-7
changeset: 799364:8559d416ede2
user: snj <snj%NetBSD.org@localhost>
date: Fri May 22 17:28:37 2015 +0000
description:
Pull up following revision(s) (requested by riastradh in ticket #797):
sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c: revision 1.4
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 db5b5d55295f -r 8559d416ede2 sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c Fri May 22 16:58:47 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c Fri May 22 17:28:37 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