Up to [cvs.NetBSD.org] / src / sys / external / bsd / drm2 / include / linux
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.57 / (download) - annotate - [select for diffs], Sat Sep 30 10:46:46 2023 UTC (6 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
HEAD
Changes since 1.56: +24 -12
lines
Diff to previous 1.56 (colored) to selected 1.1.2.7 (colored)
drm: enable almost all PCIe functionality linux_pci.c revisions 1.24 and 1.25 implemented most of the remaining missing PCIe backends, but only enabled them for some amdgpu portions. this enables all code marked with "XXX amdgpu pcie", "XXX radeon pcie", and "XXX pcie speed". for most of it, simply removing #ifndefs __NetBSD__ to enable compliation was required, once the new "bus->max_bus_speed" member was added to struct pci_bus. add an "always fails" backend for pci_enable_atomic_ops_to_root() which seems to only be necessary for virtual GPU functionality (and could be implemented if needed.) tested on radeon 5450, 7750, R7 240 [radeon], and RX 550 [amdgpu], and nvidia 750 and 1030 [nouveau]. this still does not quite work on nvidia cards. there are two problems that remain: - the call to set the link speed is skipped because the speed is set to the default value of "-1". nvkm_pcie_set_link() will actually determine the right value for this and for some cards, calling this function if the current speed is -1 helps set the link speed. it may be that on linux other paths we don't have enabled properly would set this (there's one via debugfs, and a jetson specific one, though perhaps setting either AC or DC speed values as boot options (after hooking up these for netbsd) would currently work. - worse, cards newer than kepler - geforce 900, 1000, and newer, are all lacking the backing support to set pcie link speed. the GT 1030 card i have been testing with remains at pcie 1.0.
Revision 1.56 / (download) - annotate - [select for diffs], Tue Oct 25 23:37:06 2022 UTC (17 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: 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
Changes since 1.55: +10 -1
lines
Diff to previous 1.55 (colored) to selected 1.1.2.7 (colored)
linux/pci.h: Stubs for pci_request/release_region(s).
Revision 1.55 / (download) - annotate - [select for diffs], Mon Oct 17 03:05:32 2022 UTC (18 months ago) by mrg
Branch: MAIN
Changes since 1.54: +32 -1
lines
Diff to previous 1.54 (colored) to selected 1.1.2.7 (colored)
add pcie capability and read request size linux compat, some pci root support implement support for: - pcie_capability_read_dword() - pcie_capability_read_word() - pcie_capability_write_dword() - pcie_capability_write_word() - pcie_get_readrq() - pcie_set_readrq() implement the "struct pci_dev" bus->self member by creating a minimal fake "struct pci_dev" for the pci bus itself. this is kind of gross. it checks that the current device's parent is a netbsd "pci" device, and that it has a (grand) parent "ppb" device, and then fills in the fake device based upon the pci and ppb devices. add some PCIE_LCSR2_TGT_LSPEED encodings, and map them to linux names. map several other PCIE_LCSR and PCIE_LCAP names. uncomment several pcie code segments in radeon and amdgpu. (not sure that we can test the amdgpu_si.c change, as we use the radeon version and the amdgpu version hangs on the one machine i have.) tested on amdgpu (RX550) and radeon (7750 & 3650). ok @riastradh
Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 20 23:01:42 2022 UTC (18 months, 4 weeks ago) by mrg
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Changes since 1.53: +27 -1
lines
Diff to previous 1.53 (colored) to selected 1.1.2.7 (colored)
fill out more of the linux pci API compat - implement pcie_get_speed_cap(), pcie_bandwidth_available(), and pci_is_root_bus(). - expand "enum pci_bus_speed" to add PCIe 5.x and 6.x speeds. - add "enum pcie_link_width". - add defines for PCIE_LCSR_LINKSPEED (PCIe generation) and PCIE_LCSR_NLW (negotiated lane width) to pcireg.h - enable amdgpu_device_get_pcie_info() code now it works. ok riastradh@
Revision 1.53 / (download) - annotate - [select for diffs], Sun Feb 27 14:23:08 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.52: +7 -1
lines
Diff to previous 1.52 (colored) to selected 1.1.2.7 (colored)
linux: Define PCI_CLASS_DISPLAY_OTHER, wanted by radeon/amdgpu.
Revision 1.52 / (download) - annotate - [select for diffs], Sun Feb 27 14:22:29 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.51: +1 -5
lines
Diff to previous 1.51 (colored) to selected 1.1.2.7 (colored)
drm: Omit needless conditionals around #include "acpica.h".
Revision 1.51 / (download) - annotate - [select for diffs], Sun Dec 19 12:13:16 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.50: +7 -3
lines
Diff to previous 1.50 (colored) to selected 1.1.2.7 (colored)
linux: PCI_BUS_NUM; tweak types for PCI_SLOT/PCI_FUNC.
Revision 1.50 / (download) - annotate - [select for diffs], Sun Dec 19 12:00:16 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.49: +3 -1
lines
Diff to previous 1.49 (colored) to selected 1.1.2.7 (colored)
linux: pci_name
Revision 1.49 / (download) - annotate - [select for diffs], Sun Dec 19 11:38:04 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.48: +7 -1
lines
Diff to previous 1.48 (colored) to selected 1.1.2.7 (colored)
i915: another whack at it
Revision 1.48 / (download) - annotate - [select for diffs], Sun Dec 19 11:09:47 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.47: +9 -2
lines
Diff to previous 1.47 (colored) to selected 1.1.2.7 (colored)
drm: Remove local diffs for drm_pci_set_busid. Instead, move it to its own file that can be safely used without bringing in a link/run-time dependency on pci.
Revision 1.47 / (download) - annotate - [select for diffs], Sun Dec 19 10:57:42 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.46: +2 -8
lines
Diff to previous 1.46 (colored) to selected 1.1.2.7 (colored)
Move acpi includes to linux_pci.c to avoid pollution.
Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 19 09:55:32 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.45: +9 -1
lines
Diff to previous 1.45 (colored) to selected 1.1.2.7 (colored)
Provide enum pci_bus_speed We don't really make use of it but why not. Author: Maya Rashish <maya@NetBSD.org>
Revision 1.45 / (download) - annotate - [select for diffs], Sun Dec 19 09:49:39 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.44: +2 -1
lines
Diff to previous 1.44 (colored) to selected 1.1.2.7 (colored)
Stub dev_is_pci Author: Maya Rashish <maya@NetBSD.org>
Revision 1.44 / (download) - annotate - [select for diffs], Sun Dec 19 01:48:12 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.43: +3 -1
lines
Diff to previous 1.43 (colored) to selected 1.1.2.7 (colored)
Define pci_is_thunderbolt_attached (answer: no).
Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 19 01:23:01 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.42: +2 -1
lines
Diff to previous 1.42 (colored) to selected 1.1.2.7 (colored)
Side-load <linux/interrupt.h> in <linux/pci.h>.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Dec 19 01:21:15 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.41: +5 -4
lines
Diff to previous 1.41 (colored) to selected 1.1.2.7 (colored)
Define pci_get/set_drvdata properly.
Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 19 01:21:08 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored) to selected 1.1.2.7 (colored)
pci_get_bus_and_slot -> pci_get_domain_bus_and_slot
Revision 1.40 / (download) - annotate - [select for diffs], Sun Dec 19 01:21:00 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.39: +5 -1
lines
Diff to previous 1.39 (colored) to selected 1.1.2.7 (colored)
Define some obscure PCI ids.
Revision 1.24.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:27 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.24.4.1: +5 -2
lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.1.2.7 (colored)
Merge changes from current as of 20200406
Revision 1.37.6.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:20:17 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.37.6.1: +4 -1
lines
Diff to previous 1.37.6.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.1.2.7 (colored)
Sync with head.
Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 14 14:34:59 2020 UTC (4 years, 2 months ago) by maya
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.38: +4 -1
lines
Diff to previous 1.38 (colored) to selected 1.1.2.7 (colored)
Reduce diffs by side-loading some header files like Linux. From riastradh
Revision 1.37.6.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:50 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.37: +2 -2
lines
Diff to previous 1.37 (colored) to selected 1.1.2.7 (colored)
Sync with head.
Revision 1.38 / (download) - annotate - [select for diffs], Sat Jan 18 03:00:04 2020 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.37: +2 -2
lines
Diff to previous 1.37 (colored) to selected 1.1.2.7 (colored)
Pull in acpica.h on aarch64
Revision 1.24.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:08:32 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.24: +136 -556
lines
Diff to previous 1.24 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD
Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:36 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.24: +136 -556
lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 27 14:16:38 2018 UTC (5 years, 7 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.36: +119 -711
lines
Diff to previous 1.36 (colored) to selected 1.1.2.7 (colored)
Move the Linux PCI shim into its very own .c file. The poor thing has deserved this for a very long time, even though it is full of kludges. Also I'm tired of recompiling everything every time I touch it.
Revision 1.36 / (download) - annotate - [select for diffs], Mon Aug 27 14:16:04 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.35: +1 -1
lines
Diff to previous 1.35 (colored) to selected 1.1.2.7 (colored)
Fix sense of test to make linux_pci_dev_destroy work.
Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 27 14:15:35 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.34: +2 -0
lines
Diff to previous 1.34 (colored) to selected 1.1.2.7 (colored)
Initialize more of struct pci_device.
Revision 1.34 / (download) - annotate - [select for diffs], Mon Aug 27 14:12:00 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.33: +28 -1
lines
Diff to previous 1.33 (colored) to selected 1.1.2.7 (colored)
Implement linux_pci_dev_destroy.
Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 27 14:11:46 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.32: +4 -4
lines
Diff to previous 1.32 (colored) to selected 1.1.2.7 (colored)
Pass the parent explicitly to linux_pci_dev_init. This will allow us to use it in match routines.
Revision 1.32 / (download) - annotate - [select for diffs], Mon Aug 27 13:39:33 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.31: +1 -0
lines
Diff to previous 1.31 (colored) to selected 1.1.2.7 (colored)
Free the bus crap.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Aug 27 13:39:21 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.30: +1 -1
lines
Diff to previous 1.30 (colored) to selected 1.1.2.7 (colored)
For the kludges we don't have or need a device (parent) pointer.
Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 27 07:47:32 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.29: +1 -0
lines
Diff to previous 1.29 (colored) to selected 1.1.2.7 (colored)
Add no_64bit_msi field. (What to do wiht it?)
Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 27 07:34:13 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.28: +64 -3
lines
Diff to previous 1.28 (colored) to selected 1.1.2.7 (colored)
Add pci_enable/disable_device, pci_domain_nr, and some vendor ids.
Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 27 07:20:05 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.27: +74 -6
lines
Diff to previous 1.27 (colored) to selected 1.1.2.7 (colored)
Add pci_bus_read/write_config_{byte,word,dword}.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Aug 27 07:03:02 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.26: +7 -5
lines
Diff to previous 1.26 (colored) to selected 1.1.2.7 (colored)
Namespace our private fields in Linux struct pci_device.
Revision 1.26 / (download) - annotate - [select for diffs], Mon Aug 27 06:40:43 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.25: +8 -0
lines
Diff to previous 1.25 (colored) to selected 1.1.2.7 (colored)
Stub pci_is_root_bus.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Aug 27 06:37:53 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.24: +3 -1
lines
Diff to previous 1.24 (colored) to selected 1.1.2.7 (colored)
Forward-declare struct pci_driver, which is unused but appears in prototypes.
Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:59 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.8.2.2: +160 -18
lines
Diff to previous 1.8.2.2 (colored) next main 1.9 (colored) to selected 1.1.2.7 (colored)
update from HEAD
Revision 1.23.6.1 / (download) - annotate - [select for diffs], Fri Sep 1 09:51:08 2017 UTC (6 years, 7 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Changes since 1.23: +5 -1
lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by maya in ticket #259): sys/external/bsd/drm2/include/linux/pci.h: revision 1.24 Disable MSI on DRMKMS (again). It is causing problems on some older nvidia graphics cards: http://mail-index.netbsd.org/netbsd-users/2017/08/02/msg020026.html http://mail-index.netbsd.org/pkgsrc-users/2017/08/26/msg025492.html PR kern/52440
Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 31 23:47:50 2017 UTC (6 years, 7 months ago) by maya
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
phil-wifi-base,
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
Branch point for: phil-wifi,
pgoyette-compat
Changes since 1.23: +5 -1
lines
Diff to previous 1.23 (colored) to selected 1.1.2.7 (colored)
Disable MSI on DRMKMS (again). It is causing problems on some older nvidia graphics cards: http://mail-index.netbsd.org/netbsd-users/2017/08/02/msg020026.html http://mail-index.netbsd.org/pkgsrc-users/2017/08/26/msg025492.html PR kern/52440
Revision 1.11.2.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:34 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.2.4: +16 -6
lines
Diff to previous 1.11.2.4 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD
Revision 1.22.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:59 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.22: +16 -6
lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:45 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.22: +16 -6
lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD
Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 2 04:31:51 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.22: +16 -6
lines
Diff to previous 1.22 (colored) to selected 1.1.2.7 (colored)
drmkms_pci: Use MSI if available (Take 2) tested by martin@ and yhardy@
Revision 1.11.2.4 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:30 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.11.2.3: +22 -5
lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD
Revision 1.7.2.9 / (download) - annotate - [select for diffs], Thu Feb 11 22:52:58 2016 UTC (8 years, 2 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
Changes since 1.7.2.8: +1 -10
lines
Diff to previous 1.7.2.8 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by riastradh in ticket #1080): sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c: revision 1.14 sys/external/bsd/drm2/dist/drm/i915/intel_pm.c: revision 1.8 sys/external/bsd/drm2/dist/drm/i915/intel_sdvo.c: revision 1.7 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c: revision 1.7 sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/device.h: revision 1.5 sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/nouveau_subdev_bios_base.c: revision 1.3 sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c: revision 1.5 sys/external/bsd/drm2/dist/drm/radeon/radeon_gem.c: revision 1.3 sys/external/bsd/drm2/dist/drm/radeon/radeon_i2c.c: revision 1.3 sys/external/bsd/drm2/dist/drm/radeon/radeon_kms.c: revision 1.3 sys/external/bsd/drm2/include/linux/pci.h: revision 1.21 sys/external/bsd/drm2/include/linux/platform_device.h: revision 1.7 sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.5 Use nv_device_base(dev) like other callers, not dev->pdev->dev. First step in fixing the struct device nonsense. This won't actually fix anything yet until we also fix nv_device_base. -- dev->dev, not &dev->pdev->dev. Latter is a charlatan, soon to meet judgment for its sins. -- dev->dev, not &dev->pdev->dev. Latter is a mistake that is all my fault. Oops. -- Eliminate Linux struct pci_dev::dev, struct platform_device::dev.
Revision 1.7.2.8 / (download) - annotate - [select for diffs], Wed Jan 27 00:01:07 2016 UTC (8 years, 2 months ago) by snj
Branch: netbsd-7
Changes since 1.7.2.7: +22 -5
lines
Diff to previous 1.7.2.7 (colored) to branchpoint 1.7 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by riastradh in ticket #1077): sys/external/bsd/drm2/include/linux/pci.h: revision 1.22 Use PCI ROM MD fallback if PCI ROM BAR points to invalid ROM. We previously applied the PCI ROM MD fallback only if the PCI ROM BAR was altogether unpopulated. Some Radeon devices seem to have a populated PCI ROM BAR pointing at a bogus ROM, while 0xc0000 works fine. Fixes at least one manifestation of PR kern/49964.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Jan 17 01:40:39 2016 UTC (8 years, 3 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
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,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Changes since 1.21: +22 -5
lines
Diff to previous 1.21 (colored) to selected 1.1.2.7 (colored)
Use PCI ROM MD fallback if PCI ROM BAR points to invalid ROM. We previously applied the PCI ROM MD fallback only if the PCI ROM BAR was altogether unpopulated. Some Radeon devices seem to have a populated PCI ROM BAR pointing at a bogus ROM, while 0xc0000 works fine. Fixes at least one manifestation of PR kern/49964.
Revision 1.11.2.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:03 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.2.2: +5 -10
lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD (as of 26th Dec)
Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 27 13:21:18 2015 UTC (8 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.20: +1 -10
lines
Diff to previous 1.20 (colored) to selected 1.1.2.7 (colored)
Eliminate Linux struct pci_dev::dev, struct platform_device::dev.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 17 14:54:10 2015 UTC (8 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.19: +5 -1
lines
Diff to previous 1.19 (colored) to selected 1.1.2.7 (colored)
Don't include ACPI headers unless NACPICA > 0
Revision 1.11.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:05 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.2.1: +9 -7
lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD
Revision 1.7.2.7 / (download) - annotate - [select for diffs], Thu Jul 30 15:46:41 2015 UTC (8 years, 8 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.7.2.6: +9 -7
lines
Diff to previous 1.7.2.6 (colored) to branchpoint 1.7 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by riastradh in ticket #906): sys/external/bsd/drm2/include/linux/pci.h: revisions 1.18, 1.19 sys/external/bsd/drm2/dist/drm/radeon/radeon_bios.c: revision 1.4 Save the location of the found ROM so caller can bus_space_read it. -- Use bus_space_read rather than kmemdup to read ROM. jakllsch@ reports that on some 64-bit systems, kmemdup does 8-byte reads, which yield garbage in the high word. bus_space_read_region_1 does 1-byte reads instead, which seem to work. Derived from a patch from jakllsch@. -- Fix type of pd_rom_found_size: it's a size, not a handle.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 24 19:46:30 2015 UTC (8 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (colored) to selected 1.1.2.7 (colored)
Fix type of pd_rom_found_size: it's a size, not a handle.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 24 18:20:36 2015 UTC (8 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.17: +9 -7
lines
Diff to previous 1.17 (colored) to selected 1.1.2.7 (colored)
Save the location of the found ROM so caller can bus_space_read it.
Revision 1.7.2.6 / (download) - annotate - [select for diffs], Thu Apr 23 07:31:17 2015 UTC (8 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC2,
netbsd-7-0-RC1
Changes since 1.7.2.5: +2 -2
lines
Diff to previous 1.7.2.5 (colored) to branchpoint 1.7 (colored) to selected 1.1.2.7 (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.11.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:17 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.11: +64 -2
lines
Diff to previous 1.11 (colored) to selected 1.1.2.7 (colored)
Sync with HEAD
Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 6 02:29:18 2015 UTC (9 years ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored) to selected 1.1.2.7 (colored)
Missed a zero: it's 0x100000, not 0x10000.
Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 6 01:11:19 2015 UTC (9 years ago) by riastradh
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored) to selected 1.1.2.7 (colored)
Don't let anyone else allocate the video BIOS either.
Revision 1.7.2.5 / (download) - annotate - [select for diffs], Fri Mar 6 21:39:10 2015 UTC (9 years, 1 month ago) by snj
Branch: netbsd-7
Changes since 1.7.2.4: +63 -1
lines
Diff to previous 1.7.2.4 (colored) to branchpoint 1.7 (colored) to selected 1.1.2.7 (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.15 / (download) - annotate - [select for diffs], Fri Mar 6 01:43:07 2015 UTC (9 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.14: +20 -1
lines
Diff to previous 1.14 (colored) to selected 1.1.2.7 (colored)
One last round for nouveau. It links!
Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 25 14:51:22 2015 UTC (9 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.13: +3 -2
lines
Diff to previous 1.13 (colored) to selected 1.1.2.7 (colored)
Add sizep argument to pci_platform_rom stub.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 25 14:50:51 2015 UTC (9 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.12: +8 -1
lines
Diff to previous 1.12 (colored) to selected 1.1.2.7 (colored)
Add pci_platform_rom stub to <linux/pci.h>.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 25 14:49:01 2015 UTC (9 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.11: +36 -1
lines
Diff to previous 1.11 (colored) to selected 1.1.2.7 (colored)
Add pci_enable_rom/pci_disable_rom to <linux/pci.h>.
Revision 1.7.2.4 / (download) - annotate - [select for diffs], Sun Jan 11 05:59:17 2015 UTC (9 years, 3 months ago) by snj
Branch: netbsd-7
Changes since 1.7.2.3: +3 -1
lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by chs in ticket #401): distrib/sets/lists/modules/md.amd64: revisions 1.46, 1.47 via patch distrib/sets/lists/modules/md.i386: revisions 1.49, 1.50 sys/dev/ic/pcdisplayvar.h: revision 1.20 sys/dev/ic/vgavar.h: revision 1.32 sys/external/bsd/drm/dist/bsd-core/drm_drv.c: revision 1.26 sys/external/bsd/drm2/dist/drm/drm_agpsupport.c: revisions 1.5, 1.6 sys/external/bsd/drm2/dist/drm/drm_pci.c: revisions 1.4, 1.5 sys/external/bsd/drm2/dist/drm/drm_stub.c: revisions 1.6-1.8 sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: revision 1.11 sys/external/bsd/drm2/dist/drm/radeon/cik.c: revision 1.3 sys/external/bsd/drm2/dist/drm/radeon/ni.c: revision 1.3 sys/external/bsd/drm2/dist/drm/radeon/si.c: revision 1.3 sys/external/bsd/drm2/dist/include/drm/drmP.h: revisions 1.8, 1.9 sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h: revisions 1.3, 1.4 sys/external/bsd/drm2/drm/drm_drv.c: revision 1.11 sys/external/bsd/drm2/drm/drm_module.c: revision 1.9 sys/external/bsd/drm2/drm/drm_sysctl.c: revisions 1.1-1.4 sys/external/bsd/drm2/drm/drm_vm.c: revision 1.7 sys/external/bsd/drm2/drm/files.drmkms: revisions 1.8, 1.9 sys/external/bsd/drm2/i915drm/files.i915drmkms: revision 1.9 sys/external/bsd/drm2/i915drm/i915_module.c: revisions 1.4, 1.5 sys/external/bsd/drm2/include/drm/drm_sysctl.h: revisions 1.1, 1.2 sys/external/bsd/drm2/include/linux/hdmi.h: revisions 1.3-1.5 sys/external/bsd/drm2/include/linux/module.h: revision 1.5 sys/external/bsd/drm2/include/linux/moduleparam.h: revisions 1.3, 1.4 sys/external/bsd/drm2/include/linux/pci.h: revision 1.11 sys/external/bsd/drm2/linux/linux_module.c: revision 1.5 sys/external/bsd/drm2/nouveau/files.nouveau: revision 1.4 sys/external/bsd/drm2/nouveau/nouveau_module.c: revision 1.3 sys/external/bsd/drm2/pci/drm_pci.c: revision 1.8 sys/external/bsd/drm2/pci/drm_pci_module.c: revision 1.3 sys/external/bsd/drm2/radeon/radeon_module.c: revision 1.3 sys/external/bsd/drm2/ttm/files.ttm: revision 1.1 sys/modules/drm2pci/Makefile: file removal sys/modules/drmkms/Makefile: revisions 1.4-1.7 sys/modules/drmkms_linux/Makefile: revision 1.5 sys/modules/drmkms_pci/Makefile: revisions 1.3, 1.4 sys/modules/i915drmkms/Makefile: revisions 1.5-1.7 Split drm ttm config into a separate file. -- Fix module build of drmkms_linux. -- Remove vestigial drm2pci module, replaced by drmkms_pci. -- fix the module class. -- add the drmkms modules -- make a drm_agp_destroy() function to resolve the circular dependency between drmkms and drmkms_pci -- finalize the idr code. -- add drm_agp_destroy -- fix drmkms module path for xen. -- fix build failure. /tmp/bracket/build/2014.11.10.22.43.46-i386/src/sys/external/bsd/drm2/include/linux/pci.h:36:20: fatal error: acpica.h: No such file or directory -- make this work: add agpsupport and sysctl code -- move agpsupport to drmkms to avoid circular dependencies. -- turn on dynamic ldscript creation to handle link set symbol definitions used in the automatic sysctl creation. -- Add __link_set based code to automatically convert the linux module parameters into sysctls. -- this module needs MKLDSCRIPT too now -- more _KERNEL_OPT -- prettify and add to all the modules that have it. -- fix description setting. -- Adjust flags to allow building with clang. -- Fix build with clang. -- Drop casts in favour of expressions that actually give the right pointer. -- Move all PCI/AGP code back to drmkms_pci module where it belongs. -- Use correct length for hdmi_infoframe_header_pack in <linux/hdmi.h>. Fixes PR kern/49411. -- Back out previous, fix PR kern/49411 correctly. frame->header.length is not initialized in the vendor packet case. Instead, make hdmi_infoframe_header_pack take the packet length and subtract the size of the header when packing the header. (Could make it take the payload length instead, but for callers it is more convenient to have a name for the whole packet length.) -- Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411). -- Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to avoid -Werror. OK christos@ and riastradh@ -- fix debugging compilation (ALL kernel) -- nouveau_nv50_fence.c needs -Wno-shadow. -- fix a confusion between dev_t and devmajor_t, and include the primary minor when calling makedev().
Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 11 11:30:21 2014 UTC (9 years, 5 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.10: +3 -1
lines
Diff to previous 1.10 (colored) to selected 1.1.2.7 (colored)
fix build failure. > /tmp/bracket/build/2014.11.10.22.43.46-i386/src/sys/external/bsd/drm2/include/linux/pci.h:36:20: fatal error: acpica.h: No such file or directory
Revision 1.7.2.3 / (download) - annotate - [select for diffs], Tue Nov 11 09:06:32 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-7
Changes since 1.7.2.2: +22 -3
lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by nonaka in ticket #197): sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: revision 1.10 sys/external/bsd/drm2/include/linux/pci.h: revision 1.10 sys/external/bsd/drm2/dist/drm/i915/intel_acpi.c: revision 1.3 sys/external/bsd/drm2/dist/drm/i915/intel_acpi.c: revision 1.4 sys/external/bsd/drm2/dist/drm/i915/intel_acpi.c: revision 1.5 sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c: revision 1.6 sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c: revision 1.7 sys/external/bsd/drm2/include/linux/acpi.h: revision 1.3 sys/external/bsd/drm2/dist/drm/i915/i915_dma.c: revision 1.12 sys/external/bsd/drm2/i915drm/files.i915drmkms: revision 1.8 i915drmkms(4): Enable CONFIG_ACPI if NACPICA > 0. Now brightness can be adjusted via hotkey on Mouse Computer LB-J300X (Clevo W330SU2). Fix compilation (debug) pci_attach_args of pci_find_device and match function is not the same thing. fix PR/49372.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 5 23:46:09 2014 UTC (9 years, 5 months ago) by nonaka
Branch: MAIN
Changes since 1.9: +22 -3
lines
Diff to previous 1.9 (colored) to selected 1.1.2.7 (colored)
i915drmkms(4): Enable CONFIG_ACPI if NACPICA > 0. Now brightness can be adjusted via hotkey on Mouse Computer LB-J300X (Clevo W330SU2).
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Fri Oct 17 07:14:33 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.7.2.1: +34 -3
lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by riastradh in ticket #144): sys/dev/pci/radeonfb.c: revision 1.85 sys/dev/pci/pcivar.h: revision 1.100 sys/dev/pci/pci_map.c: revision 1.31 sys/external/bsd/drm2/include/linux/pci.h: revision 1.9 Generalize pci_find_rom and use it to locate x86 video ROM in drm2. - Make pci_find_rom take the ROM `BAR' size as a parameter, instead of using pci_find_mem with the ROM `BAR' to detect the size. - Use it to find the x86 video ROM in [0xc0000, 0xe0000) in drm2, when nothing else reports that location. - Adapt the one other caller in radeonfb, which already has the maximum ROM size handy (romsz). XXX pullup to netbsd-7
Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 16 12:31:23 2014 UTC (9 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.8: +34 -3
lines
Diff to previous 1.8 (colored) to selected 1.1.2.7 (colored)
Generalize pci_find_rom and use it to locate x86 video ROM in drm2. - Make pci_find_rom take the ROM `BAR' size as a parameter, instead of using pci_find_mem with the ROM `BAR' to detect the size. - Use it to find the x86 video ROM in [0xc0000, 0xe0000) in drm2, when nothing else reports that location. - Adapt the one other caller in radeonfb, which already has the maximum ROM size handy (romsz). XXX pullup to netbsd-7
Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:21 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.8.2.1: +577 -0
lines
Diff to previous 1.8.2.1 (colored) to selected 1.1.2.7 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri Aug 15 11:11:59 2014 UTC (9 years, 8 months ago) by martin
Branch: netbsd-7
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored) to selected 1.1.2.7 (colored)
Pull up following revision(s) (requested by riastradh in ticket #18): sys/external/bsd/drm2/ttm/ttm_agp_backend.c: revision 1.2 sys/external/bsd/drm2/ttm/ttm_agp_backend.c: revision 1.3 sys/external/bsd/drm2/include/linux/pci.h: revision 1.8 Fix shifts & masks in Linux pci_read_config_{word,byte}. Use ttm_dma_tt_init in ttm_agp_tt_create so we can use ttm_bus_dma. Zero ttm_agp objects on creation.
Revision 1.8.2.1, Wed Aug 13 20:56:21 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.8: +0 -577
lines
FILE REMOVED
file pci.h was added on branch tls-maxphys on 2014-08-20 00:04:21 +0000
Revision 1.8 / (download) - annotate - [select for diffs], Wed Aug 13 20:56:21 2014 UTC (9 years, 8 months ago) by riastradh
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored) to selected 1.1.2.7 (colored)
Fix shifts & masks in Linux pci_read_config_{word,byte}.
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:39 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.3: +221 -29
lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.1.2.7 (colored)
Rebase.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 6 13:52:06 2014 UTC (9 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Changes since 1.6: +14 -1
lines
Diff to previous 1.6 (colored) to selected 1.1.2.7 (colored)
Add Linux PCI DMA stuff and NVIDIA vendor.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 16 23:24:23 2014 UTC (9 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.5: +2 -5
lines
Diff to previous 1.5 (colored) to selected 1.1.2.7 (colored)
Remove needless pci_map_rom error messages.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 16 20:59:58 2014 UTC (9 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.4: +58 -8
lines
Diff to previous 1.4 (colored) to selected 1.1.2.7 (colored)
First whack at radeon driver. No hardware to test yet, but it builds.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 16 20:56:25 2014 UTC (9 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.3: +150 -18
lines
Diff to previous 1.3 (colored) to selected 1.1.2.7 (colored)
Make it build and boot on my test machines. Screen blanks on boot on the Ivy Bridge system with DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun But after that everything is OK. Appears to be an upstream problem. To investigate... I think there's a cache flushing issue somewhere -- there are little display artefacts on my T60.
Revision 1.3.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:56 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3.6.1: +385 -0
lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.1.2.7 (colored)
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.3.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:01 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.3.4.1: +385 -0
lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.1.2.7 (colored)
sync with head
Revision 1.3.6.1, Thu Apr 3 19:18:29 2014 UTC (10 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.3: +0 -385
lines
FILE REMOVED
file pci.h was added on branch yamt-pagecache on 2014-05-22 11:40:56 +0000
Revision 1.3.4.1, Thu Apr 3 19:18:29 2014 UTC (10 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.3: +0 -385
lines
FILE REMOVED
file pci.h was added on branch rmind-smpnet on 2014-05-18 17:46:01 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 3 19:18:29 2014 UTC (10 years ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base
Branch point for: yamt-pagecache,
tls-earlyentropy,
rmind-smpnet
Changes since 1.2: +3 -2
lines
Diff to previous 1.2 (colored) to selected 1.1.2.7 (colored)
Miscellaneous fixes for drm2 on i386.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:43 2014 UTC (10 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Changes since 1.1: +384 -0
lines
Diff to previous 1.1 (colored) to selected 1.1.2.7 (colored)
Merge riastradh-drm2 to HEAD.
Revision 1.1.2.15 / (download) - annotate - [select for diffs], Wed Jul 24 03:45:53 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.14: +1 -0
lines
Diff to previous 1.1.2.14 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.1.2.7 (colored)
Add bogus struct device dev member to <linux/pci.h> struct pci_dev.
Revision 1.1.2.14 / (download) - annotate - [select for diffs], Wed Jul 24 03:32:19 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.13: +57 -6
lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Add kludgey implementation of pci_map_rom.
Revision 1.1.2.13 / (download) - annotate - [select for diffs], Wed Jul 24 03:24:03 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.12: +88 -28
lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Kludge up Linux PCI device shims. . New drm_pci_attach/drm_pci_detach simplify initialization of autoconf-derived struct pci_dev. . New linux_pci_dev_init initializes struct pci_dev so that there's one place where all its fields are listed. The kludge parameter is, well, kludgey. Sorry. . Replace pci_kludgey_find_dev by pci_get_bus_and_slot with the same interface as Linux's, but some kasserts requiring it to look for the one bus/device/function tuple that i915drm is interested in. . Add pci_get_class which does similarly, for intel_detect_pch. Later pci_get_bus_and_slot and pci_get_class should be fixed once we can pass a cookie through PCI bus enumeration and pci_find_device.
Revision 1.1.2.12 / (download) - annotate - [select for diffs], Wed Jul 24 03:20:05 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.11: +33 -10
lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Add pci_{read,write}_config_byte to <linux/pci.h>.
Revision 1.1.2.11 / (download) - annotate - [select for diffs], Wed Jul 24 03:18:24 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.10: +7 -1
lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Fix struct pci_dev::dev in <linux/pci.h>. Linux code expects it to be a struct device and takes its address, but we can't arrange for the actual struct device to go there.
Revision 1.1.2.10 / (download) - annotate - [select for diffs], Wed Jul 24 03:16:47 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.9: +37 -6
lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Fill in <linux/pci.h> a bit.
Revision 1.1.2.9 / (download) - annotate - [select for diffs], Wed Jul 24 03:10:37 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.8: +24 -0
lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Add 16-bit (RMW) pci_{read,write}_config_word to <linux/pci.h>.
Revision 1.1.2.8 / (download) - annotate - [select for diffs], Wed Jul 24 03:04:18 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.7: +12 -0
lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)
Add pci_set_master to <linux/pci.h>.
Revision 1.1.2.7 / (download) - annotate - [selected], Wed Jul 24 03:02:07 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.6: +18 -0
lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)
Add stubs for pci_enable_msi and pci_disable_msi to <linux/pci.h>.
Revision 1.1.2.6 / (download) - annotate - [select for diffs], Wed Jul 24 03:01:54 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.5: +1 -0
lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Add field to struct pci_dev for the PCI device number.
Revision 1.1.2.5 / (download) - annotate - [select for diffs], Wed Jul 24 03:01:38 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.4: +42 -0
lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Add pci_kludgey_find_dev to <linux/pci.h>. This is not a Linux KPI, but the Linux KPI (pci_get_bus_and_slot) doesn't pass along the original pci device or bus, so this is what we'll use to replace uses of it (or, the one use of it) without changing much code.
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Jul 24 03:01:09 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.3: +53 -2
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Add pci_bus_alloc_resource to <linux/pci.h>.
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Jul 24 03:00:34 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.2: +12 -0
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Add pci_config_{read,write}_dword to <linux/pci.h>.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jul 24 01:59:37 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.1: +17 -0
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) to selected 1.1.2.7 (colored)
Kill some #ifs in drmP.h by adding Linuxoid PCI goo to <linux/pci.h>.
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Jul 24 00:33:12 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1: +35 -0
lines
Diff to previous 1.1 (colored) to selected 1.1.2.7 (colored)
Add stubs for Linux header files for drm.
Revision 1.1, Wed Jul 24 00:33:12 2013 UTC (10 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Branch point for: riastradh-drm2
FILE REMOVED
file pci.h was initially added on branch riastradh-drm2.