The NetBSD Project

CVS log for src/sys/external/bsd/drm2/ttm/ttm_bo_vm.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / external / bsd / drm2 / ttm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 21 08:07:56 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored)

drm/ttm: Cast to potentially larger types before << PAGE_SHIFT.

Not sure if this is a problem but it might affect, e.g., i386pae.
Can't hurt, in any case, to cast to what the type will be after the
shift anyway.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 20 01:12:14 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.20: +8 -5 lines
Diff to previous 1.20 (colored)

drm/ttm: Handle io_mem_pfn, used by amdgpu.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 19 11:34:14 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.19: +25 -3 lines
Diff to previous 1.19 (colored)

drm/ttm: More careful diagnostics earlier on.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 19 11:34:06 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.18: +8 -4 lines
Diff to previous 1.18 (colored)

drm/ttm: Compare bytes to bytes, not pages to bytes.

While here, KASSERT -> KASSERTMSG for better diagnostics.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 19 11:09:25 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored)

drm/ttm: ttm_bo_put(bo) won't bo=NULL like ttm_bo_unref(&bo) did.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 19 09:57:33 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

Don't call TTM functions that were removed, try replacements


Author: Maya Rashish <maya@NetBSD.org>

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 19 09:57:17 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.15: +11 -11 lines
Diff to previous 1.15 (colored)

More obvious part of TTM API changes:

- ref/unref to get/put
- some global TTM things are now global
- More indirection to get vma_node


Author: Maya Rashish <maya@NetBSD.org>

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 19 01:47:24 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.14: +27 -14 lines
Diff to previous 1.14 (colored)

Sync ttm_bo_vm.c.

Revision 1.10.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:28 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.10.18.1: +4 -7 lines
Diff to previous 1.10.18.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Merge changes from current as of 20200406

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:20:18 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.12: +4 -7 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 23 15:46:40 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart.  v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap.  Others to follow later.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 28 23:24:09 2020 UTC (4 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.12: +3 -6 lines
Diff to previous 1.12 (colored)

Do not extract mmap flags from the bus_space_mmap cookie as they may
conflict with the bo's existing protection flags. This caused VRAM to
be incorrectly mapped as Device-nGnRE on Arm64 instead of Normal-NC. Ok
riastradh@.

Revision 1.10.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:08:33 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.10: +6 -12 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Mon Apr 22 09:03:55 2019 UTC (4 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up following revision(s) (requested by mrg in ticket #1239):

	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.12

ttm_bo_uvm_fault() is a netbsd API function and thus should return
netbsd errnos.  fix the one "return -ERESTART".

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 9 01:59:47 2019 UTC (4 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

ttm_bo_uvm_fault() is a netbsd API function and thus should return
netbsd errnos.  fix the one "return -ERESTART".

Revision 1.10.16.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:37 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.10: +5 -11 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 27 07:53:28 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.10: +5 -11 lines
Diff to previous 1.10 (colored)

struct ttm_bo_device::fence_lock is no more.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:01 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.2.2: +25 -15 lines
Diff to previous 1.3.2.2 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:05 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.8: +6 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.2.4.6 / (download) - annotate - [select for diffs], Thu Jul 30 15:29:25 2015 UTC (8 years, 7 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.2.4.5: +6 -5 lines
Diff to previous 1.2.4.5 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by riastradh in ticket #894):
	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revisions 1.9, 1.10
Fix error branch: ttm_bo_unreserve on failure after ttm_bo_reserve.
Tiny chance this will fix PR kern/49862 by not leaking a ww_mutex
lock.
--
ttm_bo_unreserve in case of ttm_bo_uvm_fault_idle restart.
Better chance of fixing PR kern/49862 by avoiding leaking a buffer
ww_mutex lock.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 28 01:25:00 2015 UTC (8 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

ttm_bo_unreserve in case of ttm_bo_uvm_fault_idle restart.

Better chance of fixing PR kern/49862 by avoiding leaking a buffer
ww_mutex lock.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 27 22:26:50 2015 UTC (8 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Fix error branch: ttm_bo_unreserve on failure after ttm_bo_reserve.

Tiny chance this will fix PR kern/49862 by not leaking a ww_mutex
lock.

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Fri Nov 14 14:22:41 2014 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC2, netbsd-7-0-RC1
Changes since 1.2.4.4: +4 -5 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by snj in ticket #224):
	sys/external/bsd/drm2/dist/drm/radeon/radeon_drv.c: revision 1.5
	sys/external/bsd/drm2/dist/drm/i915/intel_overlay.c: revision 1.6
	sys/external/bsd/drm2/dist/drm/radeon/sumo_dpm.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/atombios_dp.c: revision 1.4
	sys/external/bsd/drm2/dist/drm/i915/intel_dp.c: revision 1.9
	sys/external/bsd/drm2/dist/drm/radeon/trinity_dpm.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/r100.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/rv770_dpm.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/evergreen_cs.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/i915/i915_gem_tiling.c: revision 1.4
	sys/external/bsd/drm2/dist/drm/radeon/evergreen_cs.c: revision 1.4
	sys/external/bsd/drm2/dist/drm/i915/intel_display.c: revision 1.13
	sys/external/bsd/drm2/dist/drm/radeon/si_dpm.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/kv_dpm.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/kv_dpm.c: revision 1.4
	sys/external/bsd/drm2/dist/drm/radeon/ci_dpm.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/ci_dpm.c: revision 1.4
	sys/external/bsd/drm2/dist/drm/i915/intel_tv.c: revision 1.6
	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.8
test some pointers and return EINVAL instead of blindly assuming
they're valid.  converts kernel crashes in to app failures.
GL is still not working on evergreen for me.
Use %hhx for uint8_t, not %hx.
Mark some unused variables as such to shut up Clang.
Ifdef out nonsensical comparison until we update from upstream.
We don't use radeon_(un)register_atpx_handler at the moment.
Ifdef out another nonsensical comparison.
fix uninitialized
fix shadowing for min() and max() from libkern
Fix little C issues in i915drmkms hindering the Clang build.
- Test `x == NULL', not `&container_of(x, t, base)->base == NULL'.
- Fix format strings in intel_dp_probe_oui to use %hhx for uint8_t.
- Omit needless ioread32 in intel_overlay.c.
- Ifdef out unused definitions in intel_tv.c.
Update comment to reflect recent change to.

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Mon Nov 10 19:45:54 2014 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
Changes since 1.2.4.3: +8 -11 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by snj in ticket #191):
	sys/external/bsd/drm2/include/linux/io-mapping.h: revision 1.4
	sys/external/bsd/drm2/dist/uapi/drm/drm.h: revision 1.5
	sys/external/bsd/drm2/dist/drm/i915/intel_panel.c: revision 1.5
	sys/external/bsd/drm2/dist/uapi/drm/drm.h: revision 1.6
	sys/external/bsd/drm2/dist/drm/i915/intel_drv.h: revision 1.7
	sys/external/bsd/drm2/include/linux/ww_mutex.h: revision 1.7
	sys/external/bsd/drm2/dist/drm/i915/intel_dp.c: revision 1.8
	sys/external/bsd/drm2/dist/drm/i915/i915_ums.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/i915/intel_pm.c: revision 1.5
	sys/external/bsd/drm2/dist/drm/i915/i915_debugfs.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: revision 1.9
	sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c: revision 1.4
	sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/i915/intel_display.c: revision 1.11
	sys/external/bsd/drm2/dist/drm/i915/intel_hdmi.c: revision 1.5
	sys/external/bsd/drm2/dist/drm/i915/intel_display.c: revision 1.12
	sys/external/bsd/drm2/include/asm/processor.h: revision 1.3
	sys/external/bsd/drm2/dist/drm/i915/intel_crt.c: revision 1.5
	sys/external/bsd/drm2/dist/drm/i915/intel_sideband.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/i915/intel_ddi.c: revision 1.5
	sys/external/bsd/drm2/dist/drm/i915/intel_tv.c: revision 1.5
	sys/external/bsd/drm2/dist/drm/i915/i915_dma.c: revision 1.11
	sys/external/bsd/drm2/dist/drm/i915/i915_irq.c: revision 1.10
	sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.16
	sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.17
	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.6
	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.7
	sys/external/bsd/drm2/drm/drm_module.c: revision 1.8
	sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/i915/intel_dsi_cmd.c: revision 1.2
	sys/external/bsd/drm2/i915drm/intelfb.c: revision 1.10
	sys/external/bsd/drm2/dist/drm/i915/intel_dvo.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/i915/intel_sdvo.c: revision 1.6
	sys/external/bsd/drm2/dist/drm/i915/intel_lvds.c: revision 1.6
Code cleanup and minor bugfixes for drm2.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 6 13:14:31 2014 UTC (9 years, 3 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

Update comment to reflect recent change to.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 5 15:03:19 2014 UTC (9 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Oops -- fix call to ttm_bo_uvm_fault_idle in last commit.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 5 14:47:16 2014 UTC (9 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.5: +7 -10 lines
Diff to previous 1.5 (colored)

Simplify uvmfault_unlockall use in ttm_bo_uvm_fault.

Pass NULL for uobj instead of locking uobj->vmobjlock before calling
uvmfault_unlockall.

Should fix lockdebug unlocking-unlocked-mutex crash in
ttm_bo_uvm_fault_idle.

XXX pullup to netbsd-7

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sun Sep 21 18:04:38 2014 UTC (9 years, 5 months ago) by snj
Branch: netbsd-7
Changes since 1.2.4.2: +6 -4 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by riastradh in ticket #98):
	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.5
We dropped vmobjlock, so reacquire it before uvmfault_unlockall.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 10 18:24:16 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.4: +6 -4 lines
Diff to previous 1.4 (colored)

We dropped vmobjlock, so reacquire it before uvmfault_unlockall.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Fri Aug 22 10:35:59 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.2.4.1: +7 -3 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by riastradh in ticket #46):
	sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.15
	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.4
Do not take the {ttm,gem} vmobjlock in the fault handler.
- We don't need this lock.
- uvm does nothing between taking it and calling the fault handler.
- Now that the uvm_aobj shares vmobjlock with the {ttm,gem} uvm
  object, we must not hold the lock when we call uvm_obj_wirepages on
  the uvm_aobj.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 20 13:48:08 2014 UTC (9 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.3: +7 -3 lines
Diff to previous 1.3 (colored)

Drop take the {ttm,gem} vmobjlock in the fault handler.

- We don't need this lock.
- uvm does nothing between taking it and calling the fault handler.
- Now that the uvm_aobj shares vmobjlock with the {ttm,gem} uvm
  object, we must not hold the lock when we call uvm_obj_wirepages on
  the uvm_aobj.

XXX pullup to netbsd-7

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:22 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.2.1: +281 -0 lines
Diff to previous 1.3.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Aug 18 07:49:10 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.2: +14 -7 lines
Diff to previous 1.2 (colored)

Pull up following revision(s) (requested by riastradh in ticket #36):
	sys/external/bsd/drm2/dist/drm/drm_gem.c: revision 1.5
	sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c: revision 1.5
	sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c: revision 1.6
bus_space_mmap cookies are not paddrs, so don't pmap_enter them!
For gem and ttm objects backed by uvm_aobjs, share the vmobjlock.
XXX pullup to 7
Simplify previous.

Revision 1.3.2.1, Mon Aug 18 01:17:34 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.3: +0 -288 lines
FILE REMOVED

file ttm_bo_vm.c was added on branch tls-maxphys on 2014-08-20 00:04:22 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 18 01:17:34 2014 UTC (9 years, 6 months ago) by riastradh
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.2: +14 -7 lines
Diff to previous 1.2 (colored)

bus_space_mmap cookies are not paddrs, so don't pmap_enter them!

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:40 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2.2.1: +281 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Rebase.

Revision 1.2.2.1, Sat Aug 9 00:18:58 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2: +0 -281 lines
FILE REMOVED

file ttm_bo_vm.c was added on branch tls-earlyentropy on 2014-08-10 06:55:40 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sat Aug 9 00:18:58 2014 UTC (9 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: tls-earlyentropy, netbsd-7
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Multiply by PAGE_SIZE, not PAGE_SHIFT!

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 16 20:59:58 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN

First whack at radeon driver.

No hardware to test yet, but it builds.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>