summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
AgeCommit message (Collapse)Author
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@
2014-02-23Give drm(4) a console locator just like wsdisplay(4) such that we can makeMark Kettenis
sure /dev/drm0 always matches the primary display. ok mpi@
2014-02-19drm/radeon: 0x9649 is SUMO2 not SUMOJonathan Gray
From Alex Deucher 9f920083d1b766e795acbddf0dbd766a4291c5d6 in ubuntu 3.8 d00adcc8ae9e22eca9d8af5f66c59ad9a74c90ec in mainline linux
2014-02-19drm/i915: fix missed hunk after GT access breakageJonathan Gray
From Ben Widawsky 991d4b19f95e3baa4297d57413ca64e7caa1d959 in ubuntu 3.8 e1b4d3036c07ff137955fb1c0197ab62534f46ec in mainline linux
2014-02-19drm/i915: initialize gt_lock early with other spin locksJonathan Gray
From Jani Nikula b5ff26dd315431af29d270c338dfabd48ce29073 in ubuntu 3.8 14c5cec5d0cd73e7e9d4fbea2bbfeea8f3ade871 in mainline linux
2014-02-19drm/i915: fix up gt init sequence falloutJonathan Gray
From Daniel Vetter fc832386574c43961b8b0f177d0062132be1d13b in ubuntu 3.8 181d1b9e31c668259d3798c521672afb8edd355c in mainline linux
2014-02-19drm/i915: fix long-standing SNB regression in power consumption after resume v2Jonathan Gray
From Konstantin Khlebnikov e508abbbfbefacf721cc1faf39fe5105d179f489 in ubuntu 3.8 7dcd2677ea912573d9ed4bcd629b0023b2d11505 in mainline linux
2014-02-19Partially revert "drm/i915: unconditionally use mt forcewake on hsw/ivb"Jonathan Gray
From Guenter Roeck 5ce34926a10cb5be0fd2e1817ccc116817ec640f in ubuntu 3.8 c11e5f35ab490bd30591563816fbc83526521777 in mainline linux
2014-02-18drm/i915: VLV2 - Fix hotplug detect bitsJonathan Gray
From Todd Previte 080caf7f5b0d025c2e19f2f516da634d020ba70f in ubuntu 3.8 232a6ee9af8adb185640f67fcaaa9014a9aa0573 in mainline linux
2014-02-18drm/i915: Hold mutex across i915_gem_releaseJonathan Gray
From Chris Wilson e20ebbe3f08a1258fe54bcf6e6bcd75bb9b1ecc0 in ubuntu 3.8 0d1430a3f4b7cfd8779b78740a4182321f3ca7f3 in mainline linux
2014-02-15drm/radeon/DCE4+: clear bios scratch dpms bit (v2)Jonathan Gray
From Alex Deucher 5e47f3719629ddfbb33326a3446d521f1a78c3b4 in ubuntu 3.8 6802d4bad83f50081b2788698570218aaff8d10e in mainline linux
2014-02-15drm/radeon: fix surface sync in fence on cayman (v2)Jonathan Gray
From Alex Deucher 5dd953fd70af5ef1bd605b93f87f55bc663be6a8 in ubuntu 3.8 10e9ffae463396c5a25fdfe8a48d7c98a87f6b85 in mainline linux
2014-02-15drm/radeon: disable ss on DP for DCE3.xJonathan Gray
From Alex Deucher b069c7f6ed4d74d9eff333a093ebb94f38af3db1 in ubuntu 3.8 d8e24525094200601236fa64a54cf73e3d682f2e in mainline linux
2014-02-15drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALIDJonathan Gray
From Marek Olsak de17d04713f1efa68e9e7bfbeab7e91fe495e012 in ubuntu 3.8 56492e0fac2dbaf7735ffd66b206a90624917789 in mainline linux
2014-02-15radeon/pm: Guard access to rdev->pm.power_state arrayJonathan Gray
From Michel Daenzer 0a44540222a9693995ac4d188f9dbaeb394d00bf in ubuntu 3.8 370169516e736edad3b3c5aa49858058f8b55195 in mainline linux
2014-02-15drm/radeon: warn users when hw_i2c is enabled (v2)Jonathan Gray
From Alex Deucher 4e5bd6f0c144ee55733bbbcfce7aad822d992417 in ubuntu 3.8 d195178297de9a91246519dbfa98952b70f9a9b6 in mainline linux
2014-02-15drm/mm: fix dump table BUGJonathan Gray
From Daniel Vetter c565ce76dab93e16a2deb68fb70a26b635f3ab5b in ubuntu 3.8 3a359f0b21ab218c1bf7a6a1b638b6fd143d0b99 in mainline linux
2014-02-15drm/i915: Don't deref pipe->cpu_transcoder in the hangcheck codeJonathan Gray
From Chris Wilson d280fd3cae523191525251159e3cf9e773fdcedb in ubuntu 3.8 63b66e5ba54b15a6592be00555d762db6db739ce in mainline linux
2014-02-15drm/i915: Use the correct GMCH_CTRL register for Sandybridge+Jonathan Gray
From Chris Wilson 2259bb7720c52941c1d62e078bf019aa88d6f525 in ubuntu 3.8 a885b3ccc74d8e38074e1c43a47c354c5ea0b01e in mainline linux
2014-02-15drm/i915: fix DDI PLLs HW state readout codeJonathan Gray
From Paulo Zanoni ab678ee101d7f1bed57e488d807a9f85c15af3fc in ubuntu 3.8 0882dae983707455e97479e5e904e37673517ebc in mainline linux
2014-02-13Some Linux i915 drm "fast" path code relies on being able to "disable" pageMark Kettenis
faults to avoid sleeping. Implement this functionality for i386 and amd64 for faults in the user address space. If the ci_inatomic flag is set in struct cpu_info, copyin(9) and copyout(9) will return EFAULT when a user-space address needs to be faulted in. Use this to properly implement __copy_to_user_inatomic() and __copy_from_user_inatomic_nocache() in the inteldrm(4) code. ok krw@, guenther@
2014-02-13Make sure we copy out the right amount of data in the various copyout() callsMark Kettenis
that replace the put_user() calls in the Linux code by using sizeof on the appropriate variables instead of explicit uint32_t/uint64_t types. Fixes a case where we accidentally copied out only 32 bits of a 64-bit value, uncovered by xf86-video-intel 2.99.909. ok jsg@, matthieu@
2014-02-13drm/i915: prefer VBT modes for SVDO-LVDS over EDIDJonathan Gray
From Daniel Vetter 795de6db7c0397315b083c6dbf57cecd2c6ad098 in ubuntu 3.8 c3456fb3e4712d0448592af3c5d644c9472cd3c1 in mainline linux
2014-02-13drm/i915/sdvo: Use &intel_sdvo->ddc instead of intel_sdvo->i2c for DDC.Jonathan Gray
From Egbert Eich aee389b0e2e0d99c1ac779804fc46c2921b405d6 in ubuntu 3.8 53d3b4d7778daf15900867336c85d3f8dd70600c in mainline linux
2014-02-10drm/ttm: Fix memory type compatibility checkJonathan Gray
From Thomas Hellstrom 04623382c8e829413c2b69f740a9455e2e764ab7 in ubuntu 3.8 59c8e66378fb78adbcd05f0d09783dde6fef282b in mainline linux
2014-02-10drm/ttm: Fix ttm_bo_move_memcpyJonathan Gray
From Thomas Hellstrom 1fe70122dd9b926e84b14d1603202ae2ef2c5edd in ubuntu 3.8 da95c788ef0c645378ffccb7060a0df1a33aee38 in mainline linux
2014-02-10drm/ttm: Handle in-memory region copiesJonathan Gray
From Jakob Bornecrantz f8f0599d88fb76646bdd8b735dc2574ad80c625d in ubuntu 3.8 9a0599ddeae012a771bba5e23393fc52d8a59d89 in mainline linux