The NetBSD Project

CVS log for src/sys/external/bsd/drm2/radeon/radeon_pci.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.21.4.2 / (download) - annotate - [select for diffs], Fri Aug 11 14:48:34 2023 UTC (6 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.21.4.1: +8 -4 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by riastradh in ticket #321):

	sys/external/bsd/drm2/amdgpu/amdgpu_pci.c: revision 1.12
	sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.38
	sys/external/bsd/drm2/radeon/radeon_pci.c: revision 1.24

amdgpu: Suspend ioctls while device is suspended.
nouveau: Suspend ioctls while device is suspended.
radeon: Suspend ioctls while device is suspended.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Aug 7 16:35:06 2023 UTC (6 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.23: +8 -4 lines
Diff to previous 1.23 (colored)

radeon: Suspend ioctls while device is suspended.

XXX pullup-10

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Mon Mar 20 17:24:15 2023 UTC (11 months ago) by martin
Branch: netbsd-10
Changes since 1.21: +26 -2 lines
Diff to previous 1.21 (colored)

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

	sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gart.c: revision 1.11
	sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.37
	sys/external/bsd/drm2/radeon/radeon_pci.c: revision 1.22
	sys/dev/wscons/wsdisplay.c: revision 1.166
	sys/dev/wscons/wsdisplayvar.h: revision 1.57

amdgpu: Fix bogus loop invariant assertions in amdgpu_gart_map.
nouveau: Kick out genfb on firmware framebuffer before initializing.

PR kern/53126

radeon: Kick out genfb on firmware framebuffer before initializing.
this is the same change as nouveau_pci.c:1.37, and should fix at
least PR#56714 and i thought at least another PR i can't find right
now.  it fixes at least 2 different radeon cards for me on UEFI
booted system.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 7 20:23:00 2023 UTC (11 months, 2 weeks ago) by mrg
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

remove "nouveau" from a comment.  noted by jmcneill.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 7 09:47:48 2023 UTC (11 months, 2 weeks ago) by mrg
Branch: MAIN
Changes since 1.21: +26 -2 lines
Diff to previous 1.21 (colored)

radeon: Kick out genfb on firmware framebuffer before initializing.

this is the same change as nouveau_pci.c:1.37, and should fix at
least PR#56714 and i thought at least another PR i can't find right
now.  it fixes at least 2 different radeon cards for me on UEFI
booted system.

XXX: pullup-10 also include the original change:
   http://mail-index.netbsd.org/source-changes/2023/03/01/msg143606.html

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 18 23:34:03 2022 UTC (19 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.20: +3 -5 lines
Diff to previous 1.20 (colored)

drm: Simplify async framebuffer child task attachment logic.

No need for scheduling the task to fail.  Nix needless error
branches.

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

drm: Rework attach/detach and deferred task logic.

- Reduce the number of states the softc can be in.
- Fix races between attach and other threads.

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

drm: Omit needless pci_attach_args from our drm_pci_attach.

Can already get it from the struct pci_dev, and this way we can more
easily call it from patched upstream code as i915 will need to do.

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

Split drm_dev_alloc/register out of drm_pci_attach.

Needed by nouveau which needs to do

drm_dev_alloc
drm_pci_attach
nouveau_drm_device_init
drm_dev_register

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

Remove last users of drmP.h.

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

shuffle includes (after changes to drmP.h)


Author: Maya Rashish <maya@NetBSD.org>

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

Extra argument to radeon_suspend_kms now.

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: +18 -2 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.13.6.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:50 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.13: +18 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 24 11:44:27 2020 UTC (4 years ago) by jmcneill
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, ad-namecache-base2
Changes since 1.13: +18 -2 lines
Diff to previous 1.13 (colored)

If radeon attaches, prevent simplefb from claiming the console

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: +7 -3 lines
Diff to previous 1.10 (colored)

Sync with HEAD

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: +7 -3 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.13 / (download) - annotate - [select for diffs], Mon Aug 27 14:12:14 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Call linux_pci_dev_destroy on detach.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 27 14:11:46 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

Pass the parent explicitly to linux_pci_dev_init.

This will allow us to use it in match routines.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 27 14:11:22 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

Move linux_pci_dev_init into callers of drm_pci_attach.

The order in nouveau has to be

- linux_pci_dev_init
- nvkm_device_pci_new
- rest of drm_pci_attach

Revision 1.4.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:00 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.6.2: +85 -2 lines
Diff to previous 1.4.6.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

update from HEAD

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:20 2015 UTC (8 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4.8.1: +56 -4 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Tue Jun 2 14:50:50 2015 UTC (8 years, 8 months ago) by sborrill
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-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.4.4.2: +11 -2 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Pull up the following revisions(s) (requested by mrg in ticket #818):
	sys/external/bsd/drm2/radeon/radeon_pci.c:	revision 1.10

Disable drmkms on R100 and most R200 cards. Works around PR#49744.

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 29 05:48:46 2015 UTC (8 years, 8 months ago) by mrg
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, nick-nhusb-base-20150606, netbsd-8-base, 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
Changes since 1.9: +11 -2 lines
Diff to previous 1.9 (colored)

disable drmkms on r100 and most r200.  works around PR#49744, etc.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Thu Apr 23 07:31:17 2015 UTC (8 years, 10 months ago) by snj
Branch: netbsd-7
Changes since 1.4.4.1: +47 -4 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

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.9 / (download) - annotate - [select for diffs], Sun Apr 19 01:08:56 2015 UTC (8 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.8: +10 -6 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 10 02:03:14 2015 UTC (8 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.7: +41 -2 lines
Diff to previous 1.7 (colored)

almost add radeondrmkms suspend/resume support.  it unfortunately doesn't work.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:18 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4: +33 -2 lines
Diff to previous 1.4 (colored)

Sync with HEAD

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Fri Mar 6 21:39:11 2015 UTC (8 years, 11 months ago) by snj
Branch: netbsd-7
Changes since 1.4: +33 -2 lines
Diff to previous 1.4 (colored)

Pull up following revision(s) (requested by mrg in ticket #573):
	sys/external/bsd/common/include/linux/kernel.h: 1.5, 1.6
	sys/external/bsd/drm2/dist/drm/drm_ioctl.c: 1.4
	sys/external/bsd/drm2/dist/drm/drm_irq.c: 1.6-1.8
	sys/external/bsd/drm2/dist/drm/i915/i915_dma.c: 1.13-1.15
	sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.23-1.27
	sys/external/bsd/drm2/dist/drm/i915/i915_gem_execbuffer.c: 1.5
	sys/external/bsd/drm2/dist/drm/i915/intel_display.c: 1.14, 1.15
	sys/external/bsd/drm2/dist/drm/i915/intel_dp.c: 1.10
	sys/external/bsd/drm2/dist/drm/i915/intel_drv.h: 1.8
	sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c: 1.8-1.13
	sys/external/bsd/drm2/dist/drm/i915/intel_pm.c: 1.6
	sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c: 1.5, 1.6
	sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_base.c: 1.4
	sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_nvc0.c: 1.3, 1.4
	sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_nve0.c: 1.3, 1.4
	sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/device.h: 1.4
	sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/mc.h: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/pwr.h: 1.3, 1.4
	sys/external/bsd/drm2/dist/drm/nouveau/core/os.h: 1.4, 1.5
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/nouveau_subdev_bios_base.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/nouveau_subdev_bios_pll.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nouveau_subdev_clock_base.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nouveau_subdev_clock_nv50.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/fbmem.h: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nouveau_subdev_devinit_nv04.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nouveau_subdev_fb_nv50.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nouveau_subdev_fb_nvc0.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv50.h: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nvc0.h: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nouveau_subdev_mc_base.c: 1.2, 1.3
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nouveau_subdev_mxm_nv50.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/nouveau_subdev_pwr_base.c: 1.3, 1.4
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/nouveau_subdev_therm_ic.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/timer/nouveau_subdev_timer_nv04.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nouveau_subdev_vm_base.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nouveau_subdev_vm_nv04.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nouveau_subdev_vm_nv44.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nv04.h: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.h: 1.3
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c: 1.4, 1.5
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fbcon.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nv50_display.c: 1.3
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nv84_fence.c: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ttm.c: 1.3
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ttm.h: 1.2
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_vga.h: 1.2
	sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c: 1.6-1.8
	sys/external/bsd/drm2/dist/drm/radeon/radeon_pm.c: 1.3
	sys/external/bsd/drm2/dist/drm/radeon/rs400.c: 1.3
	sys/external/bsd/drm2/dist/drm/via/via_dmablit.c: 1.3, 1.4
	sys/external/bsd/drm2/dist/drm/via/via_drv.h: 1.3
	sys/external/bsd/drm2/dist/drm/via/via_irq.c: 1.3, 1.4
	sys/external/bsd/drm2/dist/drm/via/via_video.c: 1.3, 1.4
	sys/external/bsd/drm2/dist/include/drm/drmP.h: 1.10
	sys/external/bsd/drm2/dist/include/drm/drm_crtc.h: 1.4
	sys/external/bsd/drm2/dist/include/drm/drm_modes.h: 1.3
	sys/external/bsd/drm2/dist/uapi/drm/i915_drm.h: 1.2
	sys/external/bsd/drm2/drm/drm_cache.c: 1.4-1.6
	sys/external/bsd/drm2/drm/drm_drv.c: 1.14
	sys/external/bsd/drm2/drm/drm_module.c: 1.10
	sys/external/bsd/drm2/drm/drm_sysctl.c: 1.5
	sys/external/bsd/drm2/drm/drm_vma_manager.c: 1.2
	sys/external/bsd/drm2/drm/drmfb.c: 1.1
	sys/external/bsd/drm2/drm/files.drmkms: 1.10, 1.11
	sys/external/bsd/drm2/i2c/drm_encoder_slave.c: 1.1
	sys/external/bsd/drm2/i915drm/files.i915drmkms: 1.7, 1.10
	sys/external/bsd/drm2/i915drm/intelfb.c: 1.11, 1.12
	sys/external/bsd/drm2/include/asm/io.h: 1.4
	sys/external/bsd/drm2/include/asm/unaligned.h: 1.2, 1.3
	sys/external/bsd/drm2/include/drm/drm_encoder_slave.h: 1.1
	sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: 1.7-1.11
	sys/external/bsd/drm2/include/drm/drmfb.h: 1.1
	sys/external/bsd/drm2/include/drm/drmfb_pci.h: 1.1, 1.2
	sys/external/bsd/drm2/include/linux/bitops.h: 1.9
	sys/external/bsd/drm2/include/linux/i2c.h: 1.7, 1.8
	sys/external/bsd/drm2/include/linux/io-mapping.h: 1.5
	sys/external/bsd/drm2/include/linux/moduleparam.h: 1.5
	sys/external/bsd/drm2/include/linux/pci.h: 1.12-1.15
	sys/external/bsd/drm2/include/linux/pm.h: 1.4
	sys/external/bsd/drm2/include/linux/reboot.h: 1.2
	sys/external/bsd/drm2/include/linux/slab.h: 1.5
	sys/external/bsd/drm2/include/linux/string.h: 1.4
	sys/external/bsd/drm2/include/linux/vgaarb.h: 1.3
	sys/external/bsd/drm2/include/linux/ww_mutex.h: 1.10
	sys/external/bsd/drm2/linux/files.drmkms_linux: 1.8
	sys/external/bsd/drm2/linux/linux_i2c.c: 1.3
	sys/external/bsd/drm2/linux/linux_ww_mutex.c: 1.1
	sys/external/bsd/drm2/nouveau/files.nouveau: 1.5-1.8
	sys/external/bsd/drm2/nouveau/nouveau_pci.c: 1.1-1.3
	sys/external/bsd/drm2/nouveau/nouveau_pci.h: 1.1
	sys/external/bsd/drm2/nouveau/nouveau_sysfs.c: 1.1
	sys/external/bsd/drm2/nouveau/nouveau_vga.c: 1.1
	sys/external/bsd/drm2/nouveau/nouveaufb.c: 1.1
	sys/external/bsd/drm2/nouveau/nouveaufb.h: 1.1
	sys/external/bsd/drm2/pci/drm_pci.c: 1.10-1.12
	sys/external/bsd/drm2/pci/drm_pci_module.c: 1.4
	sys/external/bsd/drm2/pci/drmfb_pci.c: 1.1-1.3
	sys/external/bsd/drm2/pci/files.drmkms_pci: 1.5
	sys/external/bsd/drm2/radeon/radeon_pci.c: 1.5-1.7
	sys/modules/drmkms/Makefile: 1.8, 1.9
	sys/modules/drmkms_linux/Makefile: 1.6
	sys/modules/drmkms_pci/Makefile: 1.5
sync drm2 with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 1 10:07:01 2015 UTC (8 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.6: +8 -7 lines
Diff to previous 1.6 (colored)

fix some comments about the half-working i386 hack.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 16 12:17:57 2015 UTC (9 years ago) by mrg
Branch: MAIN
Changes since 1.5: +8 -4 lines
Diff to previous 1.5 (colored)

fix the previous.  bus_space_map() returns *zero* on success.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Feb 14 06:58:12 2015 UTC (9 years ago) by mrg
Branch: MAIN
Changes since 1.4: +28 -2 lines
Diff to previous 1.4 (colored)

add a ugly hack to avoid difficult to understand failures with
radeondrmkms on i386.  the problem is that the pcdisplay@isa
and vga@isa drivers rely on some other driver having already
mapped the vga registers to know they should not attach, but
radeondrmkms attaches late as it needs rootfs access, and it
does not map these registers, and either of vga or pcdisplay
will attach, and then attach wsdisplay0, and then getty and
X11 will fail and you shake a tiny fist at the computer.

so, for i386, map and unmap the VGA register space between
the normal attach and the mountroot attach.

Revision 1.4.6.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.4.6.1: +279 -0 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4.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.4.2.1: +279 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Rebase.

Revision 1.4.6.1, Sat Jul 26 07:36:09 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +0 -279 lines
FILE REMOVED

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

Revision 1.4.2.1, Sat Jul 26 07:36:09 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.4: +0 -279 lines
FILE REMOVED

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

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 26 07:36:09 2014 UTC (9 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: tls-maxphys, tls-earlyentropy, nick-nhusb, netbsd-7
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Rename radeondrmkms to just plain radeon.

radeondrmkmsfb will stay as is until the name radeonfb is available
(currently taken by legacy dev/pci/radeonfb.c).

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 26 07:32:18 2014 UTC (9 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.2: +31 -8 lines
Diff to previous 1.2 (colored)

Defer real radeon attachment until mountroot so we can load firmware.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 25 12:35:03 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1: +58 -230 lines
Diff to previous 1.1 (colored)

Hook up radeondrmkmsfb code.

Builds, not testable yet.

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>