summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2013-09-23correct some radeon entries and add new Intel Ethernet and 8 series idsJonathan Gray
2013-09-22Support MSI for virtio. This is useful for bhyve.Stefan Fritsch
2013-09-21regenMiod Vallat
2013-09-21Oxford OXPCIE952 parallel port puc(4) board; contributed by Markus UhlinMiod Vallat
(markus.uhlin; bredband dot net), thanks!
2013-09-21regenJasper Lievisse Adriaanse
2013-09-21add several devices found on the hp microserver gen8 and add some moreJasper Lievisse Adriaanse
xeon e3-1200v2 pcie ids while here as suggested by jsg@ ok jsg@
2013-09-18sync the execbuffer relocation code with linux 3.8.13Jonathan Gray
with the fastpath and cpu relocs disabled for now. eb_* functions based on code in FreeBSD. ok kettenis@
2013-09-17Add support for AMD Family 15h Models 10h-1Fh Processors.Mark Kettenis
2013-09-17regenMark Kettenis
2013-09-17Rename existing AMD Family 15h Models 00h-0Fh Processor entries and addMark Kettenis
a bunch of AMD Family 15h Models 10h-1Fh Processor entries.
2013-09-13Fix sign of returned error code.Mark Kettenis
ok jsg@
2013-09-12sync drm_mm with linux 3.8.13Jonathan Gray
2013-09-11regenMark Kettenis
2013-09-11Another AMD Hudson-2 PCIE bridge.Mark Kettenis
2013-09-10Enable some code that seems to relate to an errata forJonathan Gray
Crystalwell/eDRAM Haswell parts. Original linux commit mesage: 'This magic brings stability to HSW CRW machines.'
2013-09-08switch to using linux style pci match tablesJonathan Gray
fixes some omissions and flag errors for radeon and removes the duplicate table for i915
2013-09-08Unbreak vmx(4) on i386. The right shift of 32 bits for the DSHReyk Floeter
register (driver shared address high) exceeded the width of the 32bit bus address; casting the address to a 64bit type will correctly result in a zero value on i386 and the high bits on amd64.
2013-09-06Missing semicolons.Martin Pieuchot
ok jsg@
2013-09-02fb refcount must be initialised to 1 not 0 to match the behaviourJonathan Gray
of the linux kref functions. Switch to using the FreeBSD refcount api for the fb refcount while here.
2013-09-02use DRM_MEMORYBARRIER() for smp_mb__*Jonathan Gray
2013-09-02add static back to functions that originally had itJonathan Gray
reduces the diff to linux
2013-09-01drm/radeon: update line buffer allocation for dce6Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce6 asics. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=64850 from a proposed Linux patch by Alex Deucher of AMD. Fixes problems with multiple displays on pitcairn reported by Alexis de BRUYN.
2013-09-01drm/radeon: update line buffer allocation for dce4.1/5Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce4.1/5 asics. from a proposed Linux patch by Alex Deucher of AMD.
2013-08-30Turn on msi for mfii(4).Christiano F. Haesbaert
There is a family of Supermicro boards where the apic pin is incorrectly mapped on acpi, it tells us the pin for "Intel boot interrupts". Since this is a fairly new chip, lets use MSI as no one else is probably using it via apic, this fixes the routing issues. Machines/Motherboards seen so far with incorrect routing: Supermicro X9DR3-F Supermicro X9DRH + Symbios Logic MegaRAID SAS2208 Fujitsu primergy RX300 S7 + Symbios Logic MegaRAID SAS2208 ok dlg@
2013-08-29Add support for advanced btcoex. This commit is not really neededSylvestre Gallon
but it reduces the diff against the FreeBSD version. Tested on: My Wifi Link 130. jca@ Wifi Link 5300. Jan Stary Wifi Link 4965 (thanks). Adapted from FreeBSD r220894. ok mpi@.
2013-08-28vmx(4) uses 4 different types of 128bit descriptors in little-endianReyk Floeter
format for Rx and Tx. Replace the bit fields in the descriptor structs with 32bit words to access them with traditional bit operations using shifts and masks. We try to avoid bit fields in OpenBSD. For consistence with other drivers, this change also uses letoh32/htole32 endianess conversions even if it is very unlikely that vmx will ever run on a big-endian VM/host. discussed with uebayasi@ and deraadt@
2013-08-27Give RS400/RS480/RS690 another chance. These were previously disabledJonathan Gray
with the old radeondrm code but should work now.
2013-08-27implement drm_pcie_get_speed_cap_mask()Jonathan Gray
non integrated radeon >= r600 parts will now try to enable PCIe 2.0/3.0 speeds when the PCIe root port advertises the relevant speeds.
2013-08-27stash pci chipset and bridge tags in the drm_device structJonathan Gray
2013-08-26add a define for the link capabilities register forJonathan Gray
version 2 of the PCIe capability.
2013-08-26Add a stubbed out version of drm_pcie_get_speed_cap_mask() andJonathan Gray
enable all the code in the various radeon pcie_gen2_enable() functions. no functional change
2013-08-26remove an uneeded printfJonathan Gray
2013-08-25call if_link_state_change when link state actually changes; ok claudioMike Belopuhov
2013-08-25new ciss devices from Scott Benesh of HP via FreeBSDJonathan Gray
2013-08-25regenJonathan Gray
2013-08-25new ciss devices from Scott Benesh of HP via FreeBSDJonathan Gray
2013-08-23don't call if_link_state_change if link state is not changedMike Belopuhov
and fix minor discrepancies with link state handling
2013-08-23don't call if_link_state_change if link state is not changedMike Belopuhov
2013-08-21Fix build without vlan.Martin Pieuchot
ok mikeb@
2013-08-21get rid of the copy argument in m_devget that let you provide anDavid Gwynne
alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@
2013-08-18While we forceably detach radeondrm on fatal error in initJonathan Gray
non fatal errors with >= r600 could result in an unuseable system. Avoid this by always programming the MC on startup. Patch from Alex Deucher in Linux based on a change from kettenis to program the MC on failure to load firmware for cayman/aruba. ok kettenis@
2013-08-16Hook up the framebuffer colormap helper code on sparc64.Mark Kettenis
2013-08-16Pass cursor position in wsdisplay_cnattach() call. Preparation for seamlessMark Kettenis
console transation on sparc64 (and eventually macppc).
2013-08-15Include files.agp and files.drm from files.pci. Makes sure "drm.h" getsMark Kettenis
generated on all architectures that support pci, making alpha and loongson compile again. ok todd@, miod@ seemed to agree with the idea
2013-08-14drm_heap.c is no longer neededJonathan Gray
2013-08-14remove references to ati_pcigartJonathan Gray
2013-08-13ati_pcigart.c is no longer neededJonathan Gray
ok kettenis@
2013-08-13Call drm_mtrr_add() directly instead adding a map.Mark Kettenis
ok jsg@
2013-08-13add static back to functions that originally had itJonathan Gray
reduces the diff to linux and makes ddb hangman a little easier
2013-08-12Add a port of the TTM and Radeon DRM code from Linux 3.8.13.Jonathan Gray
Includes kernel modesetting, framebuffer console and support for newer hardware. Firmware needs to be present for acceleration and in some cases modesetting to work. It can be installed via fw_update or manually via pkg_add. With lots of help from kettenis@ some macppc bits from mpi@ and some ttm refcount/queue bits from FreeBSD. Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.