summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
AgeCommit message (Collapse)Author
2014-07-12regenJonathan Gray
2014-07-12missed the trailing digitJonathan Gray
2014-07-12Print a line in dmesg to indicate if the aperture driver isJonathan Gray
required to run X. This will be used by the installer to decide what value to set machdep.allowaperture to. For devices supported by i915 and radeon kms machdep.allowaperture will be set to 0. Systems that have a graphics device commonly found in servers (g200e*/aspeed/es1000 etc) will also not have the aperture enabled as they generally don't need to run X. ok deraadt@ kettenis@
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.
2014-07-12remove ifdef'd out valleyview/baytrail device listsJonathan Gray
on linux versions before 3.11 i915_pci_probe() doesn't match valleyview unless i915_preliminary_hw_support is specified as a module parameter. our drm code is currently based on linux 3.8, so it seems unlikely that the valleyview support we have works.
2014-07-06drm/radeon: avoid segfault on device open when accel is not working.Jonathan Gray
From Jerome Glisse 16d30071c6cd4b72a950d265b0d7d08fb4220b92 in ubuntu 3.8 24f47acc78b0ab5e2201f859fe1f693ae90c7c83 in mainline linux
2014-07-06drm/radeon: handle non-VGA class pci devices with ATRMJonathan Gray
From Alex Deucher 6a6170926060797bdf25e5d6609a3168466f2e6c in ubuntu 3.8 d8ade3526b2aa0505132c404c05a38b73ea15490 in mainline linux
2014-07-06drm/radeon: also try GART for CPU accessed buffersJonathan Gray
From Christian Koenig 72568eb7e4e40096fd80c7c8abd04ac630e45bb9 in ubuntu 3.8 544092596e8ac269f70e70961b5e9381909c9b1e in mainline linux
2014-07-03Get clocks from Open Firmware on macppc and sparc64.Mark Kettenis
ok jsg@
2014-07-02Use real parameter types for u{dv,vn}_attach() instead of void *Matthew Dempsky
ok guenther
2014-06-28Add the userland facing drm header for nouveau.Jonathan Gray
This is required by the generic loader code in newer versions of Mesa even when we aren't building any nouveau drivers. The way these headers are used on Linux is with a kernel version and a libdrm version which are largely identical with the *_drm.h headers always installed by libdrm when libdrm is built with autoconf. In OpenBSD we have a single version of the _drm.h headers that are shared by the kernel and userspace and have our own simple Makefile for the libdrm build.
2014-06-21drm/i915: Break encoder->crtc link separately in intel_sanitize_crtc()Jonathan Gray
From Egbert Eich 9e68a1156da093385f057b9e4576652203f1248e in ubuntu 3.8 7f1950fbb989e8fc5463b307e062b4529d51c862 in mainline linux
2014-06-21drm/radeon/si: make sure mc ucode is loaded before checking the sizeJonathan Gray
From Alex Deucher eed35bff1fe05f3a32989ace86107a1402f18537 in ubuntu 3.8 8c79bae6a30f606b7a4e17c994bc5f72f8fdaf11 in mainline linux
2014-06-21drm/radeon: memory leak on bo reservation failure. v2Jonathan Gray
From Quentin Casasnovas 2b9149f17e7135c31c9df1c80ab6d912c4265126 in ubuntu 3.8 74073c9dd29905645feb6dee03c144657a9844cd in mainline linux
2014-06-20sf@ pointed out that atom.c defines a DEBUG macro that takes arguments,Jonathan Gray
this breaks when compiling a kernel with DEBUG defined for additional printfs elsewhere. Instead of renaming the macro, undefine DEBUG before the new definition to minimise the diff the linux.
2014-06-19drm/i915: fix lane bandwidth capping for DP 1.2 sinksJonathan Gray
DP 1.2 compatible displays may report a 5.4Gbps maximum bandwidth which the driver will treat as an invalid value and use 1.62Gbps instead. Fix this by capping to 2.7Gbps for sinks reporting a 5.4Gbps max bw. Also add a warning for reserved values. From Imre Deak d4eead50eb206b875f54f66cc0f6ec7d54122c28 in mainline linux One of two backported commits to prevent a black screen on a Lenovo IdeaPad Yoga 2 Pro as reported/debugged by Steven Wilson.
2014-06-19drm/i915: kill intel_dp_link_clock()Jonathan Gray
Use drm_dp_bw_code_to_link_rate insead. It's the same thing, but supports DP_LINK_BW_5_4 and is also used by the other drivers. From Paulo Zanoni 9fa5f6522e6eecb5ab20192a264a29ba4f2f4e85 in mainline linux One of two backported commits to prevent a black screen on a Lenovo IdeaPad Yoga 2 Pro as reported/debugged by Steven Wilson.
2014-05-24Barriers for mips64Miod Vallat
2014-05-12Move GTT management for Sandy Bridge and up into inteldrm(4). This makesMark Kettenis
it possible to use the non-mappable part of the GTT, prepares the way for using the PPGTT and reduces the diffs with Linux. ok jsg@
2014-05-03drm/radeon: call drm_edid_to_eld when we update the edidJonathan Gray
From Alex Deucher 7752811a7d6be680e8f1a87da18e3670633981ee in ubuntu 3.8 16086279353cbfecbb3ead474072dced17b97ddc in mainline linux
2014-05-03Skip intel_crt_init for Dell XPS 8700Jonathan Gray
From Giacomo Comes 95849485beb5e665d56269cd05c3c19df399fb20 in ubuntu 3.8 10b6ee4a87811a110cb01eaca01eb04da6801baf in mainline linux
2014-05-03drm/i915/tv: fix gen4 composite s-video tv-outJonathan Gray
From Jani Nikula 1f2561bd1e2c46145c643673b662c099d2074936 in ubuntu 3.8 e1f23f3dd817f53f622e486913ac662add46eeed in mainline linux
2014-05-03drm/i915: quirk invert brightness for Acer Aspire 5336Jonathan Gray
From Jani Nikula 083bda2f1130f185eccdf7c5cbbdb53fa88429b1 in ubuntu 3.8 0f540c3a7cfb91c9d7a19eb0c95c24c5de1197d5 in mainline linux
2014-04-12drm/ttm: don't oops if no invalidate_caches()Jonathan Gray
From Rob Clark 8af4707afcb6d191b9cc75dfd73b9550e8276253 in ubuntu 3.8 9ef7506f7eff3fc42724269f62e30164c141661f in mainline linux
2014-04-12drm/radeon/atom: select the proper number of lanes in transmitter setupJonathan Gray
From Alex Deucher 20b03e738e7ded3ab66dd7dd3c3ac198c8531381 in ubuntu 3.8 d03874c881a049a50e12f285077ab1f9fc2686e1 in mainline linux
2014-04-12drm/radeon: TTM must be init with cpu-visible VRAM, v2Jonathan Gray
From Lauri Kasanen 7e88b3ea565f869721b8ac011ee73b95b773e938 in ubuntu 3.8 14eedc32a3c0ec9dd70448a73763ee21feae3111 in mainline linux
2014-04-11sync with libdrm 2.4.53Jonathan Gray
2014-04-07reduce the diff to linux for drm pci vid/pid testsJonathan Gray
ok kettenis@
2014-04-01Move some duplicated code implementing Linux compatibility APIs and stick itMark Kettenis
in a seperate header file. This will become a dumping ground for similar code. ok jsg@
2014-03-30drm/radeon: disable pll sharing for DP on DCE4.1Jonathan Gray
From Alex Deucher 2e673e623ba5a604c02fadcad9bf75e6a0ee9705 in ubuntu 3.8 9ef4e1d000a5b335fcebfcf8aef3405e59574c89 in mainline linux
2014-03-30drm/radeon: fix missing bo reservationJonathan Gray
From Christian Koenig ea0e5ee12a70badcdfee846bfaf5d4338dc285ca in ubuntu 3.8 5e386b574cf7e1593e1296e5b0feea4108ed6ad8 in mainline linux
2014-03-30drm/i915/dp: add native aux defer retry limitJonathan Gray
From Jani Nikula b4cdadf2591e12c61f895556cf93a8b61a36892c in ubuntu 3.8 f51a44b9a6c4982cc25bfb3727de9bb893621ebc in mainline linux
2014-03-30drm/i915/dp: increase native aux defer retry timeoutJonathan Gray
From Jani Nikula 6048560066737a87621b9169ef4bdab0e3cef620 in ubuntu 3.8 04eada25d1f72efdecd32d702706594f81de65d5 in mainline linux
2014-03-30drm/i915: Prevent MI_DISPLAY_FLIP straddling two cachelines on IVBJonathan Gray
From Ville Syrjala 0828f7607cee51cabf00b984dad3a8ef200beb41 in ubuntu 3.8 f66fab8e1cd6b3127ba4c5c0d11539fbe1de1e36 in mainline linux
2014-03-30drm/i915: Add intel_ring_cachline_align()Jonathan Gray
From Ville Syrjala 0320c449d2a820ed2a1972e23d8f20f8024a5872 in ubuntu 3.8 753b1ad4a281b0663329409d410243e91825c323 in mainline linux
2014-03-30correct the value of DRM_MAJOR for non i386 platformsJonathan Gray
ok matthieu@
2014-03-28Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofMartin Pieuchot
<uvm/uvm.h> if possible and remove double inclusions. ok beck@, mlarkin@, deraadt@
2014-03-26No need to include <sys/lock.h> when only <sys/rwlock.h> is needed,Martin Pieuchot
so remove the former and include the latter instead of pulling it in <dev/pci/agpvar.h>. This header already requires various other types anyway. While here remove unneeded headers.
2014-03-25Remove and shuffle some includes to reduce their number since drmP.hMartin Pieuchot
is included by a lot of files.
2014-03-24Another round of reducing diffs with the Linux codebase.Mark Kettenis
2014-03-17Use the ci_inatomic flag here as well to "disable" page faults and provideMark Kettenis
the same implementations of kmap_atomic() and kunmap_atomic() as we have in i915_gem.c. These will be unified later.
2014-03-17The AGP ioctl interface is gone; remove the header file as well.Mark Kettenis
ok matthieu@
2014-03-16drm/i915: Do not clobber config status after a forced restore of hw stateJonathan Gray
From Chris Wilson 790dddadff219165a4666def708c16e8db2c5a7d in ubuntu 3.8 edd5b13313551d6b04acfb90d3db58ed3cf3c814 in mainline linux
2014-03-13We no longer provide the dri1 agp interfaces, so remove the associated glueMark Kettenis
as well. ok jsg@
2014-03-13Block userland from entering drm code (and make sure it is no longer in there)Mark Kettenis
before we truly start quiescing the device and don't unblock until we've finished waking the device up. Fixes issues with suspend/resume on inteldrm(4) and perhaps radeondrm(4) as well. i"it is the right place to stall" deraadt@
2014-03-09drm/radeon: set the full cache bit for fences on r7xx+Jonathan Gray
From Alex Deucher 93e2a4108f7d2665136d6051727471731889ea5f in ubuntu 3.8 d45b964a22cad962d3ede1eba8d24f5cee7b2a92 in mainline linux
2014-03-09use linux style memory allocations in shared drm codeJonathan Gray
2014-03-09remove dri1 interfacesJonathan Gray
discussed with kettenis some time last year
2014-02-25Some broken BIOSen don't assign an address to the ROM BAR. Fix this up, as weMark Kettenis
typically need to be able to map the ROM to get connector information and/or to POST the card. ok deraadt@
2014-02-24Reduce dmesg spam. Apologies to stsp@ for rejecting his larger diff thatMark Kettenis
contained this bit. ok deraadt@