CVS log for src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c
Up to [cvs.NetBSD.org] / src / sys / external / bsd / drm2 / dist / drm / ttm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Feb 14 09:25:39 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
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
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2
lines
drm/ttm: Avoid uninitialized mem in error branch.
Not sure why this error branch is getting hit, but let's not make the
problem worse by choking on stack garbage.
Candidate fix for symptom of PR kern/56565, PR kern/56711.
Underlying problem -- that ttm_bo_mem_space fails with ENOMEM --
remains.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Dec 23 17:09:25 2021 UTC (2 years, 11 months ago) by hannken
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4
lines
Cast addr to uint64_t before printing.
Ok: riastradh@
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Dec 19 12:40:44 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +10 -8
lines
drm: Switch sense of #if __linux__ conditionals to use __NetBSD__.
Keep it consistent with the rest of drm.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Dec 19 11:21:12 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -3
lines
drm/ttm: Conditionalize destruction of vma node.
Needs to match conditional initialization.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Dec 19 11:09:02 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -3
lines
Fix merge botch: do uvm_obj_init unconditionally.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Dec 19 11:07:20 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3
lines
drm/ttm: Omit spurious kfree in global failure branches.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Dec 19 11:07:04 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +10 -7
lines
drm/ttm: Fix up ttm_bo_global_release a bit.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Dec 19 09:57:33 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -3
lines
Don't call TTM functions that were removed, try replacements
Author: Maya Rashish <maya@NetBSD.org>
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Dec 19 09:57:25 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +8 -4
lines
do a struct mutex we can digest, use more specific header than drmP
Author: Maya Rashish <maya@NetBSD.org>
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Dec 19 09:57:17 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -5
lines
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.21: download - view: text, markup, annotated - select for diffs
Sat Dec 18 23:45:44 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +821 -672
lines
Merge linux-drm-v5-6-rc3
Revision 1.1.1.4 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Dec 18 20:15:53 2021 UTC (2 years, 11 months ago) by riastradh
Branches: LINUX
CVS tags: linux-drm-v5-6-rc3
Diff to: previous 1.1.1.3: preferred, colored
Changes since revision 1.1.1.3: +819 -651
lines
Import drm from Linux v5.6-rc3 (commit f8788d86ab28f61f7b46eb6be375f8a726783636)
drivers/gpu/drm -> sys/external/bsd/drm2/dist/drm
include/drm -> sys/external/bsd/drm2/dist/include/drm
include/uapi/drm -> sys/external/bsd/drm2/dist/include/uapi/drm
GPL exclusions in dist/drm:
- amd/amdgpu/amdgpu_atpx_handler.c
- arc/
- arm/
- armada/
- aspeed/
- atmel-hlcdc/
- bochs/
- bridge/
- cirrus/
- drm_dp_cec.c
- drm_dp_mst_topology_internal.h
- drm_edid_load.c
- drm_format_helper.c
- drm_gem_cma_helper.c
- drm_gem_framebuffer_helper.c
- drm_gem_shmem_helper.c
- drm_gem_ttm_helper.c
- drm_gem_vram_helper.c
- drm_hdcp.c
- drm_lease.c
- drm_mipi_dbi.c
- drm_simple_kms_helper.c
- drm_sysfs.c
- drm_trace.h
- drm_vram_helper_common.c
- drm_writeback.c
- etnaviv/
- exynos/
- fsl-dcu/
- gma500/
- hisilicon/
- i2c/tda9950.c
- i2c/tda998x_drv.c
- i915/gt/selftest_context.c
- i915/gt/selftest_engine.c
- i915/gt/selftest_engine.h
- i915/gt/selftest_engine_cs.c
- i915/gt/selftest_engine_pm.c
- i915/i915_trace.h
- i915/selftests/i915_live_selftests.h
- i915/selftests/i915_mock_selftests.h
- i915/selftests/i915_perf_selftests.h
- i915/selftests/lib_sw_fence.h
- imx/
- ingenic/
- lima/
- mcde/
- mediatek/
- meson/
- mgag200/
- msm/
- mxsfb/
- omapdrm/
- panel/
- panfrost/
- pl111/
- radeon/radeon_atpx_handler.c
- rcar-du/
- rockchip/
- selftests/drm_cmdline_selftests.h
- selftests/drm_modeset_selftests.h
- selftests/test-drm_cmdline_parser.c
- selftests/test-drm_damage_helper.c
- selftests/test-drm_dp_mst_helper.c
- selftests/test-drm_format.c
- selftests/test-drm_framebuffer.c
- selftests/test-drm_modeset_common.c
- selftests/test-drm_modeset_common.h
- selftests/test-drm_plane_helper.c
- selftests/test-drm_rect.c
- shmobile/
- sti/
- stm/
- sun4i/
- tegra/
- tilcdc/
- tiny/
- tve200/
- udl/
- v3d/
- vc4/
- virtio/virtgpu_trace.h
- virtio/virtgpu_trace_points.c
- vkms/
- vmwgfx/device_include/vmware_pack_begin.h
- vmwgfx/device_include/vmware_pack_end.h
- zte/
Exceptions -- these all appear to be files to which someone added
an SPDX license header automatically by a script that is not aware
of the default MIT licensing under drivers/gpu/drm:
- ast/ast_dp501.c
- ast/ast_dram_tables.h
- lib/drm_random.c
- lib/drm_random.h
- i915/display/intel_acpi.c
- i915/selftests/mock_gem_device.h
- i915/selftests/i915_mock_selftests.h
- i915/selftests/i915_live_selftests.h
- r128/ati_pcigart.h
- selftests/drm_mm_selftests.h
- selftests/test-drm_mm.c
- vmwgfx/device_include/vm_basic_types.h
GPL exclusions in dist/include/drm:
- bridge
- drm_client.h
- drm_fb_cma_helper.h
- drm_format_helper.h
- drm_gem_cma_helper.h
- drm_gem_shmem_helper.h
- drm_gem_ttm_helper.h
- drm_gem_vram_helper.h
- drm_lease.h
- drm_mipi_dbi.h
- drm_mipi_dsi.h
- drm_of.h
- drm_simple_kms_helper.h
- drm_sysfs.h
- drm_writeback.h
- gma_drm.h
- i2c/tda998x.h
- i915_mei_hdcp_interface.h
- intel-gtt.h
Exceptions:
- drm_agpsupport.h - was in original drm; wrong spdx header auto-added
GPL exclusions in dist/include/uapi/drm:
- armada_drm.h
- etnaviv_drm.h
- exynos_drm.h
- lima_drm.h
- omap_drm.h
Exceptions:
- i810_drm.h - was in original drm; spdx header is wrong
Revision 1.10.18.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:26 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.10.18.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.18.1: +8 -29
lines
Merge changes from current as of 20200406
Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:20:16 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +8 -29
lines
Sync with head.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 23 15:46:40 2020 UTC (4 years, 9 months ago) by ad
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5
lines
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.19: download - view: text, markup, annotated - select for diffs
Fri Feb 14 14:34:59 2020 UTC (4 years, 9 months ago) by maya
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -5
lines
Reduce diffs by side-loading some header files like Linux.
From riastradh
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Feb 14 04:37:28 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3
lines
Revert cosmetic changes.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Feb 14 04:35:20 2020 UTC (4 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -23
lines
Use a header file hack to cope with Linux/NetBSD namespace clashes.
Currently serves for:
ALIGN
mutex_init
mutex_destroy
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 12 20:22:37 2020 UTC (4 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2
lines
mark case fallthrough to avoid warning
Revision 1.10.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:08:28 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +203 -200
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Feb 2 21:46:27 2019 UTC (5 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -6
lines
combine a pair of #ifdef's and make upstream diff slightly less ugly. NFCI.
Revision 1.10.16.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:34 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +201 -196
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 27 15:32:39 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -0
lines
Check for DMA-safe addresses before allowing DRM prime import.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 27 07:53:16 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -0
lines
Need <linux/fence.h> for fence stuff.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 27 07:52:53 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Go back from DRM_HZ to HZ, seems fine.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 27 04:58:37 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +191 -193
lines
merge linux-drm-v4-4-143
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Aug 27 01:34:59 2018 UTC (6 years, 3 months ago) by riastradh
Branches: LINUX
CVS tags: linux-drm-v4-4-143
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +191 -193
lines
Import drm from Linux v4.4.143 (commit a8ea6276d00555387deaaa5eaeb380cd5c17bdc9).
drivers/gpu/drm -> sys/external/bsd/drm2/dist/drm
include/drm -> sys/external/bsd/drm2/dist/include/drm
include/uapi/drm -> sys/external/bsd/drm2/dist/uapi/drm
GPL sources excluded.
Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:57 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.2: +32 -5
lines
update from HEAD
Revision 1.6.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:19 2015 UTC (9 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.1: +9 -2
lines
Sync with HEAD
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 23 07:31:17 2015 UTC (9 years, 7 months ago) by snj
Branches: 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-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +17 -5
lines
Pull up following revision(s) (requested by mrg in ticket #718):
sys/arch/x86/include/pmap.h: revision 1.56
sys/arch/x86/x86/pmap.c: revision 1.188
sys/dev/pci/agp_amd64.c: revision 1.8
sys/dev/pci/agp_i810.c: revision 1.118
sys/external/bsd/drm2/dist/drm/i915/i915_dma.c: revision 1.16
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.29
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_agp.c: revision 1.3
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ttm.c: revision 1.4
sys/external/bsd/drm2/dist/drm/radeon/atombios_crtc.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/radeon_agp.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_crtc.c: revision 1.2
sys/external/bsd/drm2/dist/drm/radeon/radeon_object.c: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c: revision 1.7
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c: revisions 1.7-1.10
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c: revision 1.5
sys/external/bsd/drm2/i915drm/intelfb.c: revision 1.13
sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: revisions 1.12, 1.13
sys/external/bsd/drm2/include/linux/mm.h: revision 1.5
sys/external/bsd/drm2/include/linux/pci.h: revisions 1.16, 1.17
sys/external/bsd/drm2/nouveau/nouveaufb.c: revision 1.2
sys/external/bsd/drm2/radeon/radeon_pci.c: revisions 1.8, 1.9
sys/uvm/uvm_init.c: revision 1.46
Hack against the blank console problem:
Leave the CLUT alone on ancient cards. At least this leaves us with a
semi working console (red and blue are flipped). Leave an example of what
seems to be happening but disable it because colors are better than 444 bit
greyscale.
--
Initialize P->V tracking for unmanaged device pages in uvm_init.
Conditional on __HAVE_PMAP_PV_TRACK until we add it to all pmaps.
MI part of pmap_pv(9) change proposed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html
--
Implement pmap_pv(9) for x86 for P->V tracking of unmanaged pages.
Proposed on tech-kern with no objections:
https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html
--
Use pmap_pv(9) to remove mappings of Intel graphics aperture pages.
Proposed on tech-kern with no objections:
https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html
Further background at:
https://mail-index.netbsd.org/tech-kern/2014/07/23/msg017392.html
--
Use pmap_pv(9) to remove mappings of device pages in TTM.
Adapt nouveau and radeon to do pmap_pv_track for their device pages.
Proposed on tech-kern with no objections:
https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html
Further background at:
https://mail-index.netbsd.org/tech-kern/2014/07/23/msg017392.html
--
Fix error branches in agp_amd64.c.
- agp_generic_detach always.
- Free asc if it was allocated. (Found by Brainy, noted by maxv@.)
- Free the GATT if it was allocated.
--
pmf_device_register returns false on failure, not true
--
In DRM_SPIN_WAIT_ON, don't stop after waiting only one tick.
Continue the loop to recheck the condition and count the whole
duration.
--
Don't use the video BIOS memory as an i915 flush page!
--
Don't let anyone else allocate the video BIOS either.
--
Missed a zero: it's 0x100000, not 0x10000.
--
Don't reserve if atomic -- caller must have pre-pinned the buffer.
--
Don't reserve if atomic -- caller must have pre-pinned the buffer.
--
almost add radeondrmkms suspend/resume support. it unfortunately doesn't work.
--
Need the page's uvm object lock to do pmap_page_protect.
--
Use KASSERTMSG to show bad base/offset.
--
KASSERT about page-alignment on initialization too.
--
Don't break when hardclock_ticks wraps around.
Since we now only count time spent in wait, rather than determining
the end time and checking whether we've passed it, timeouts might be
marginally longer in effect. Unlikely to be an issue.
--
Remove broken drm2 vm_mmap stub. Can't possibly have ever worked.
--
apply some of the additional changes from Arto Huusko in PR#49645:
- call pmf_device_deregister on detach.
i've kept the "resume = true" for radeon_resume_kms() call as it
seems to work for me (indeed, code inspection shows it is unused
on netbsd :-)
my old nforce4 box that can resume old drm (or could, last i tried
several years ago) while X and GL apps were running, can at least
survive a resume if X hasn't started. my one attempt so far with
X exited, but having run, did not work.
--
First attempt to make ttm_buffer_object_transfer less bogus.
--
Make sure mem.bus.is_iomem is initialized. PR 49833
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 20 20:15:22 2015 UTC (9 years, 7 months ago) by riastradh
Branches: 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,
nick-nhusb-base-20150606,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -0
lines
Make sure mem.bus.is_iomem is initialized. PR 49833
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 10 17:28:42 2015 UTC (9 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -2
lines
Use KASSERTMSG to show bad base/offset.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 10 13:30:01 2015 UTC (9 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -0
lines
Need the page's uvm object lock to do pmap_page_protect.
Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:16 2015 UTC (9 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -5
lines
Sync with HEAD
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 3 01:09:42 2015 UTC (9 years, 8 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -5
lines
Use pmap_pv(9) to remove mappings of device pages in TTM.
Adapt nouveau and radeon to do pmap_pv_track for their device pages.
Proposed on tech-kern with no objections:
https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html
Further background at:
https://mail-index.netbsd.org/tech-kern/2014/07/23/msg017392.html
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:19 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +1839 -0
lines
Rebase to HEAD as of a few days ago.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 18 07:49:10 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +15 -0
lines
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.6.2.1
Mon Aug 18 02:43:27 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.6: +0 -1854
lines
file ttm_bo.c was added on branch tls-maxphys on 2014-08-20 00:04:19 +0000
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Aug 18 02:43:27 2014 UTC (10 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: tls-maxphys,
nick-nhusb
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +14 -15
lines
Simplify previous.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Aug 18 01:21:03 2014 UTC (10 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +16 -0
lines
For gem and ttm objects backed by uvm_aobjs, share the vmobjlock.
XXX pullup to 7
Revision 1.1.1.1.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:55:38 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.1.1.1: preferred, colored; next MAIN 1.1.1.2: preferred, colored
Changes since revision 1.1.1.1: +228 -267
lines
Rebase.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jul 27 00:40:39 2014 UTC (10 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1
lines
Revert ttm_bo.c 1.3 and try to fix the double-free properly.
bo->destroy doesn't ttm_tt_destroy or ttm_tt_fini anything. Trouble
is that ttm_tt_fini expects the swap storage to still be there, and
ttm_tt_destroy -- which is what calls ttm_tt_fini by way of
ttm->func->destroy -- has already nulled it out.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 26 06:34:12 2014 UTC (10 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
Don't ttm_tt_destroy bo->ttm if bo->destroy will destroy it too.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jul 16 20:59:57 2014 UTC (10 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +228 -267
lines
First whack at radeon driver.
No hardware to test yet, but it builds.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Jul 16 19:35:29 2014 UTC (10 years, 4 months ago) by riastradh
Branches: LINUX
CVS tags: linux-3-15-drm-bsd
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +124 -260
lines
Import drm from Linux 3.15 (commitid 1860e379875dfe7271c649058aeddffe5afd9d0d).
drivers/gpu/drm -> sys/external/bsd/drm2/dist/drm
include/drm -> sys/external/bsd/drm2/dist/include/drm
include/uapi/drm -> sys/external/bsd/drm2/dist/uapi/drm
GPL sources excluded.
Revision 1.1.1.1.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:54 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.1.1.1.8.1: preferred, colored; branchpoint 1.1.1.1: preferred, colored; next MAIN 1.1.1.2: preferred, colored
Changes since revision 1.1.1.1.8.1: +1878 -0
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.1.1.1.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:33 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.1.1.1.4.1: preferred, colored; branchpoint 1.1.1.1: preferred, colored; next MAIN 1.1.1.2: preferred, colored
Changes since revision 1.1.1.1.4.1: +1878 -0
lines
sync with head
Revision 1.1.1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:28:23 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.1.1.1.2.1: preferred, colored; branchpoint 1.1.1.1: preferred, colored; next MAIN 1.1.1.2: preferred, colored
Changes since revision 1.1.1.1.2.1: +1878 -0
lines
sync with HEAD and actually get the drm2 import
Revision 1.1.1.1.8.1
Tue Jul 23 02:13:10 2013 UTC (11 years, 4 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.1.1.1: +0 -1878
lines
file ttm_bo.c was added on branch yamt-pagecache on 2014-05-22 11:40:54 +0000
Revision 1.1.1.1.4.1
Tue Jul 23 02:13:10 2013 UTC (11 years, 4 months ago) by rmind
Branches: rmind-smpnet
FILE REMOVED
Changes since revision 1.1.1.1: +0 -1878
lines
file ttm_bo.c was added on branch rmind-smpnet on 2013-08-28 23:59:33 +0000
Revision 1.1.1.1.2.1
Tue Jul 23 02:13:10 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
FILE REMOVED
Changes since revision 1.1.1.1: +0 -1878
lines
file ttm_bo.c was added on branch riastradh-drm2 on 2013-07-23 21:28:23 +0000
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Jul 23 02:13:10 2013 UTC (11 years, 4 months ago) by riastradh
Branches: LINUX
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
linux-3-6-rc8-drm2-bsd
Branch point for: yamt-pagecache,
tls-earlyentropy,
rmind-smpnet,
riastradh-drm2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Import drm sources from Linux v3.8-rc6.
(commit id 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7)
Linux NetBSD
drivers/gpu/drm sys/external/bsd/drm2/dist/drm
include/drm sys/external/bsd/drm2/dist/include/drm
include/uapi/drm sys/external/bsd/drm2/dist/uapi/drm
Files/subtrees excluded because of licence issues, to be either
revisited later (particularly nouveau and radeon, which are mostly
permissively licensed but a number of whose files have no licence
statements), rewritten/ignored, or imported later as kernel modules
under external/gpl2 instead:
include/drm/drm_fb_cma_helper.h
include/drm/drm_gem_cma_helper.h
include/drm/drm_os_linux.h
include/drm/drm_pciids.h
include/drm/drm_sysfs.h
include/drm/drm_usb.h
include/drm/exynos_drm.h
include/drm/gma_drm.h
include/drm/intel-gtt.h
drm/cirrus
drm/drm_edid_load.c
drm/drm_fb_cma_helper.c
drm/drm_gem_cma_helper.c
drm/drm_sysfs.c
drm/drm_trace.h
drm/drm_trace_points.c
drm/drm_usb.c
drm/exynos
drm/gma500
drm/i915/i915_trace.h
drm/i915/i915_trace_points.c
drm/i915/intel_acpi.c
drm/mgag200
drm/nouveau
drm/radeon
drm/shmobile
drm/tegra
drm/udl
uapi/exynos_drm.h
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 02:13:10 2013 UTC (11 years, 4 months ago) by riastradh
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>