summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/i915 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ansijsg2021-03-051-1/+1
|
* sync with i915_pciids.hjsg2020-12-201-2/+0
|
* remove duplicate device id caused by subids in INTEL_IVB_Q_IDSjsg2020-12-201-1/+0
|
* adjust for reversed outb arguments linux usesjsg2020-11-171-0/+4
|
* Remove unused `anon' argument from uvmfault_unlockall().mpi2020-11-061-5/+5
| | | | | | | | | It won't be used when amap and anon locking will be introduced. This "fixes" passing a unrelated/uninitialized pointer in an error path in case of memory shortage. ok kettenis@
* handle capable(CAP_SYS_NICE) for allowing high priority contextsjsg2020-10-211-4/+0
|
* change drm_vma function arguments to take struct drm_file *jsg2020-10-212-3/+3
| | | | | reduces the diff to linux 5.7.y ok kettenis@
* use drm_mm from linux 5.7.yjsg2020-10-202-18/+0
| | | | | | | | | | | | | | | | | Without this boot time tests from setting amdgpu_testing = 1 fail. For example on Vega 56: drm: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF ... [drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0xa00000 [drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0xb00000 ... [drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x1fe00000 [drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x1ff00000 [drm] *ERROR* 0xffff80000135f858 bind failed Error while testing BO move ok kettenis@
* move ifdef to make it clear we don't use __create_shmem()jsg2020-10-131-6/+2
|
* Align pool items on CACHELINESIZE when replacing linux kmem_cache withjsg2020-10-117-9/+9
| | | | | | SLAB_HWCACHE_ALIGN flag. tested by semarie@
* syncjsg2020-10-051-1/+5
|
* adjust for reversed outb arguments linux usesjsg2020-10-021-0/+6
|
* use drm_cache.c from linux 5.7.yjsg2020-09-131-2/+0
| | | | ok kettenis@
* add an ipi for wbinvd and a linux style wbinvd_on_all_cpus() functionjsg2020-09-131-1/+1
| | | | ok kettenis@ deraadt@
* drm/i915/gt: Force the GT reset on shutdownjsg2020-08-221-0/+5
| | | | | | From Chris Wilson 5c4f75b93e2263ba5594a3eaa51745786a8565ce in linux 5.7.y/5.7.17 7c4541a37bbbf83c0f16f779e85eb61d9348ed29 in mainline linux
* drm/i915/perf: Use GTT when saving/restoring engine GPRjsg2020-07-231-0/+1
| | | | | | From Umesh Nerlige Ramappa b3944d5248c6be0f2dc95a231822c6c67d6f6fd9 in linux 5.7.y/5.7.10 aee62e02c48bd62b9b07f5e297ecfc9aaa964937 in mainline linux
* drm/i915/gvt: Fix two CFL MMIO handling caused by regression.jsg2020-07-231-2/+2
| | | | | | From Colin Xu 7924e77bf17003aad76f31126d27afe17439876d in linux 5.7.y/5.7.10 fccd0f7cf4d532674d727c7f204f038456675dee in mainline linux
* drm/i915/gt: Only swap to a random sibling once upon creationjsg2020-07-231-14/+4
| | | | | | From Chris Wilson b99382de1233866a7eea4a016029d417bdcc0fe7 in linux 5.7.y/5.7.10 110f9efa858f584c6bed177cd48d0c0f526940e1 in mainline linux
* drm/i915/gt: Ignore irq enabling on the virtual enginesjsg2020-07-231-0/+1
| | | | | | From Chris Wilson efce4c5bf8873329a578b70c4b5b0df0fee73e2d in linux 5.7.y/5.7.10 858f1299fd6f7518ddef19ddd304c8398ac79fa5 in mainline linux
* drm/i915: Move cec_notifier to intel_hdmi_connector_unregister, v2.jsg2020-07-231-8/+2
| | | | | | From Maarten Lankhorst bc4727542c394ac99e1826e35d708d83088591d3 in linux 5.7.y/5.7.10 6647e6cdba753e71170be7da2acfead7154f56d8 in mainline linux
* drm/i915: Also drop vm.ref along error paths for vma constructionjsg2020-07-161-10/+6
| | | | | | From Chris Wilson 5e53344673fcf1df8ff52675ab0539fff26a8e29 in linux 5.7.y/5.7.9 cf1976b11372cac3b57fbae1831f66a4486355d3 in mainline linux
* drm/i915: Drop vm.ref for duplicate vma on constructionjsg2020-07-161-0/+1
| | | | | | From Chris Wilson 98762e5b00567622d57295d2d3389aea2c37be03 in linux 5.7.y/5.7.9 42723673a193d5f8e30dba6ea9826d42262a502b in mainline linux
* drm/i915: Skip stale object handle for debugfs per-file-statsjsg2020-07-161-1/+1
| | | | | | From Chris Wilson d073ed965cd908d320d49824dee02c80168f96a8 in linux 5.7.y/5.7.9 7dfbf8a07cf8c936b0d6cc810df6ae7923954d5b in mainline linux
* drm/i915/gt: Pin the rings before marking activejsg2020-07-161-6/+6
| | | | | | From Chris Wilson 096b85c64987a0ef4fcc6ac0e3c3661573828df1 in linux 5.7.y/5.7.9 5a383d443b29a140094430f3ad1d02fa1acc2b80 in mainline linux
* change some drm locks from IPL_TTY to IPL_NONEjsg2020-07-137-8/+8
| | | | | | | | In drm linux spinlocks are mapped to mutex(9). Locks without calls to spin_lock_irqsave(), spin_lock_irq() and the like (which block interrupts) can be changed to IPL_NONE. ok kettenis@
* drm/i915: Include asm sources for {ivb, hsw}_clear_kernel.cjsg2020-07-093-0/+282
| | | | | | From Rodrigo Vivi 95e961c6c23c35bb9f190f8d6bd13f1606de5a48 in linux 5.7.y/5.7.8 55fd7e0222ea01246ef3e6aae28b5721fdfb790f in mainline linux
* drm/i915/gt: Mark timeline->cacheline as destroyed after rcu grace periodjsg2020-07-091-2/+10
| | | | | | From Chris Wilson 18ad3ad0b9b35370182ae4a7dbd89a77168df19e in linux 5.7.y/5.7.8 8e87e0139aff59c5961347ab1ef06814f092c439 in mainline linux
* use intr_barrier(9) for synchronize_irq() and synchronize_hardirq()jsg2020-07-022-2/+6
|
* disable logical ring contexts on cherryview/braswelljsg2020-07-011-0/+8
| | | | | | | | avoids gpu hangs seen when starting Xorg seen with 4.19 and 5.7 drm 'intel_engine_reset *NOTICE* Resetting rcs0 for stopped heartbeat on rcs0' reported by multiple people on bugs@ workaround tested by Martin Ziemer and myself
* make pci_device_id var const to avoid discarding const warningjsg2020-06-291-1/+1
|
* set fb_set_par and have register_framebuffer() do initial modesetjsg2020-06-282-6/+6
| | | | ok stsp@ kettenis@
* drm/i915/tgl: Make Wa_14010229206 permanentjsg2020-06-261-6/+6
| | | | | | From Swathi Dhanavanthri c0646870cb4b9b900356fbff191ae4f8640f4e7c in linux 5.7.y/5.7.6 63d0f3ea8ebb67160eca281320d255c72b0cb51a in mainline linux
* drm/i915/gt: Move gen4 GT workarounds from init_clock_gating to workaroundsjsg2020-06-262-20/+22
| | | | | | From Chris Wilson ab48267c35b46376010706cddf0b4ca6eb14e12e in linux 5.7.y/5.7.6 27582a9c917940bc71c0df0b8e022cbde8d735d2 in mainline linux
* drm/i915/gt: Move vlv GT workarounds from init_clock_gating to workaroundsjsg2020-06-262-61/+59
| | | | | | From Chris Wilson 22b2d9aae9cd38e425ef8166e5b348e9be50b4b4 in linux 5.7.y/5.7.6 695a2b11649e99bbf15d278042247042c42b8728 in mainline linux
* drm/i915/gt: Move ilk GT workarounds from init_clock_gating to workaroundsjsg2020-06-262-10/+14
| | | | | | From Chris Wilson f04e0b5884098b7805ddf40fbcd641c249f2fa88 in linux 5.7.y/5.7.6 eacf21040aa97fd1b3c6bb201bfd43820e1c49be in mainline linux
* drm/i915/gt: Move snb GT workarounds from init_clock_gating to workaroundsjsg2020-06-262-33/+41
| | | | | | From Chris Wilson 86b34963b7b3970b68428f191cef66fa10cbc51f in linux 5.7.y/5.7.6 fd2599bda5a989c3332f4956fd7760ec32bd51ee in mainline linux
* drm/i915/gt: Move ivb GT workarounds from init_clock_gating to workaroundsjsg2020-06-263-49/+63
| | | | | | From Chris Wilson f6c298aaf65ab6701654746a930362b147d042aa in linux 5.7.y/5.7.6 7237b190add0794bd95979018a23eda698f2705d in mainline linux
* drm/i915/gt: Move hsw GT workarounds from init_clock_gating to workaroundsjsg2020-06-262-37/+50
| | | | | | From Chris Wilson 24fa6c758204c83904881e78658f5cff7980938c in linux 5.7.y/5.7.6 ef50fa9bd17d13d0611e39e13b37bbd3e1ea50bf in mainline linux
* drm/i915/gt: Incrementally check for rewindingjsg2020-06-264-4/+43
| | | | | | From Chris Wilson 79eb9f19dbd2418c25e67f70d3b2fdc98a60dbea in linux 5.7.y/5.7.6 8ab3a3812aa90e488813e719308ffd807b865624 in mainline linux
* drm/i915/tc: fix the reset of ln0jsg2020-06-261-1/+1
| | | | | | From Khaled Almahallawy 479c06981236d3fea7ac4cf6a4f61fe896acacc1 in linux 5.7.y/5.7.6 a43555ac908c604f45ed98628805aec9355b9737 in mainline linux
* drm/i915/icl+: Fix hotplug interrupt disabling after storm detectionjsg2020-06-261-0/+1
| | | | | | From Imre Deak 2e61678ba2383c0d10a7c862721150a37ffe4eee in linux 5.7.y/5.7.6 a3005c2edf7e8c3478880db1ca84028a2b6819bb in mainline linux
* drm/i915: Whitelist context-local timestamp in the gen9 cmdparserjsg2020-06-261-0/+4
| | | | | | From Chris Wilson f11a45d13e11a238868afa6dbe1790ae816ef8af in linux 5.7.y/5.7.6 273500ae71711c040d258a7b3f4b6f44c368fff2 in mainline linux
* drm/i915/gem: Avoid iterating an empty listjsg2020-06-261-6/+9
| | | | | | From Chris Wilson 42765cb3887c2eea8a65f665a58f42b4ee6333c1 in linux 5.7.y/5.7.6 757a9395f33c51c4e6eff2c7c0fbd50226a58224 in mainline linux
* drm/i915: Fix AUX power domain toggling across TypeC mode resetsjsg2020-06-261-2/+3
| | | | | | From Imre Deak fa48b63218d09c080dfcdbc04efd282ba5849d98 in linux 5.7.y/5.7.6 d96536f0fe699729a0974eb5b65eb0d87cc747e1 in mainline linux
* Some connectors attach late when the drm driver is registers. Forkettenis2020-06-221-17/+37
| | | | | | | | | | | | that reason we have to delay attaching Backlight properties to those connectors until after drm driver registration. However the drm midlayer code now warns about attaching new properties to connectors after driver registration. So add some workarounds to suppress these warning messages. Figured out by jcs@ ok jsg@, jcs@
* gup: document and work around "COW can break either way" issuejsg2020-06-221-0/+8
| | | | | | From Linus Torvalds 8e45fdafdecc8436c5b6e1620c30726056e6b29c in linux 5.7.y/5.7.3 17839856fd588f4ab6b789f482ed3ffd7c403e1f in mainline linux
* make zeroing fb mem conditional matching linux pathjsg2020-06-201-1/+2
| | | | ok kettenis@
* rename our kunmap() to kunmap_va()jsg2020-06-144-5/+5
| | | | | | | In linux kunmap() has a page struct * argument our kunmap() has a void * argument which results in uncoverted uses building but doing the wrong thing. Renaming will catch any codepaths that need to be changed at compile time.
* convert kunmap() arguments with pointer to page structjsg2020-06-142-3/+4
| | | | | | | Our kunmap() has a void * argument with the address to unmap which results in unconverted uses compiling but doing the wrong thing. ok kettenis@
* fix i915_gem_swizzle_page()jsg2020-06-141-1/+1
| | | | | our version of kunmap() takes a va not a page like linux problem reported by semarie@ on I945GM