summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm2
Commit message (Collapse)AuthorAgeFilesLines
* Import the preliminary port of the TTM.kib2013-03-0524-8/+9963
| | | | | | | | | The early commit is done to facilitate the off-tree work on the porting of the Radeon driver. Sponsored by: The FreeBSD Foundation Debugged and tested by: dumbbell MFC after: 1 month
* Import the drm_global references helpers.kib2013-03-052-0/+165
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 month
* Import the drm_mm_debug_table() function.kib2013-03-052-0/+39
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 month
* Import the likely() compat macro.kib2013-03-051-0/+1
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 month
* - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi toglebius2012-11-021-2/+3
| | | | | | | | | | | all supported debugging bits. - If DRM_DEBUG_DEFAULT_ON isn't defined, then initialize drm_debug_flag to zero. DRM_DEBUG_DEFAULT_ON is defined when module is build with -DDEBUG_DRM or if kernel config has 'options DEBUG_DRM'. Reviewed by: kib
* Revert previous commit...kevlo2012-10-101-1/+1
| | | | Pointyhat to: kevlo (myself)
* Prefer NULL over 0 for pointerskevlo2012-10-091-1/+1
|
* Reduce delays in several wait loops from 10ms to 10us, same is it is donemav2012-09-251-5/+5
| | | | | | | in Linux. This substantially increases graphics performance on Ivy Bridge. Submitted by: avg@ Reviewed by: kib@
* Prefer __containerof() above member2struct().ed2012-09-152-2/+2
| | | | | The first does proper checking of the argument types, while the latter does not.
* Add drm and i915 ioctl translations for 32 bit process on 64 bit host.kib2012-08-186-6/+976
| | | | | Submitted by: meowthink@gmail.com MFC after: 2 weeks
* Streamline use of cdevpriv and correct some corner cases.hselasky2012-08-151-8/+6
| | | | | | | | | | | | | | | | | | | | 1) It is not useful to call "devfs_clear_cdevpriv()" from "d_close" callbacks, hence for example read, write, ioctl and so on might be sleeping at the time of "d_close" being called and then then freed private data can still be accessed. Examples: dtrace, linux_compat, ksyms (all fixed by this patch) 2) In sys/dev/drm* there are some cases in which memory will be freed twice, if open fails, first by code in the open routine, secondly by the cdevpriv destructor. Move registration of the cdevpriv to the end of the drm open routines. 3) devfs_clear_cdevpriv() is not called if the "d_open" callback registered cdevpriv data and the "d_open" callback function returned an error. Fix this. Discussed with: phk MFC after: 2 weeks
* Fix millisecond to ticks conversion in drm_msleep().mav2012-06-281-1/+1
| | | | | | | | On systems with HZ=100 it caused Intel eDP video output initialization (and Xorg startup) to take several minutes instead of several seconds. Reviewed by: kib MFC after: 3 days
* Add PCI IDs for Ivy Bridgeemaste2012-06-211-0/+6
|
* Use right size when freeing unneeded GTT mapping.kib2012-06-151-1/+1
| | | | MFC after: 3 days
* A small simplification to i915_gem_pager_fault().alc2012-05-281-1/+1
| | | | Reviewed by: kib
* Disable end of buffer fixup by default. New DDX does not need this, andkib2012-05-281-1/+1
| | | | | | | | | since batch_len is unused by Linux driver, it seems that it is sometimes gets passed wrong. This causes command buffer corruption and GPU hung. Old GEMified DDX drivers that needs this workaround are not supported. MFC after: 1 month
* Fix calculation of the execution buffer end in the mapped pageskib2012-05-281-3/+3
| | | | | | when it is spilled into the next page. MFC after: 1 month
* Fix the following clang warning in drm2:dim2012-05-241-1/+1
| | | | | | | | | | | | sys/dev/drm2/i915/intel_display.c:8861:3: error: expression result unused [-Werror,-Wunused-value] _intel_wait_for(dev, ^~~~~~~~~~~~~~~~~~~~ @/dev/drm2/i915/intel_drv.h:55:2: note: expanded from macro '_intel_wait_for' ret; \ ^~~ Reviewed by: kib MFC after: 1 week
* Add the code for new Intel GPU driver, which supports GEM, KMS andkib2012-05-2281-0/+72060
works with new generations of GPUs (IronLake, SandyBridge and supposedly IvyBridge). The driver is not connected to the build yet. Sponsored by: The FreeBSD Foundation MFC after: 1 week
OpenPOWER on IntegriCloud