summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
AgeCommit message (Collapse)Author
2020-05-15drm/amdgpu: Change VCE booting with firmware loaded by PSPJonathan Gray
From James Zhu aa5873dca46385454d36c3dca31d66d7b64574be in mainline linux prevents hang on boot with vega10_sos.bin firmware from linux-firmware 20200421 https://bugs.freedesktop.org/show_bug.cgi?id=110733
2020-05-15drm/amdgpu:change VEGA booting with firmware loaded by PSPJonathan Gray
From Feifei Xu bfcea5204287b0a09dac71fa56a5d066d94d9bb1 in mainline linux prevents hang on boot with vega10_sos.bin firmware from linux-firmware 20200421 https://bugs.freedesktop.org/show_bug.cgi?id=110733
2020-05-11drm/atomic: Take the atomic toys away from XJonathan Gray
From Daniel Vetter 7c9af5cd6a7df58f47eac607cc5ab770d808ba82 in linux 4.19.y/4.19.122 26b1d3b527e7bf3e24b814d617866ac5199ce68d in mainline linux
2020-05-11drm/amdgpu: Fix oops when pp_funcs is unset in ACPI eventJonathan Gray
From Aaron Ma 74edc32fda52b684a9af99dd65aa7745a170a18d in linux 4.19.y/4.19.122 5932d260a8d85a103bd6c504fbb85ff58b156bf9 in mainline linux
2020-05-11drm/amdgpu: Correctly initialize thermal controller for GPUs with Powerplay ↵Jonathan Gray
table v0 (e.g Hawaii) From Sandeep Raghuraman 65d5ea5f20f76ecedcc470df45fe0d92146f8e8e in linux 4.19.y/4.19.122 bbc25dadc7ed19f9d6b2e30980f0eb4c741bb8bf in mainline linux
2020-05-11drm/edid: Fix off-by-one in DispID DTD pixel clockJonathan Gray
From Ville Syrjala 85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121 6292b8efe32e6be408af364132f09572aed14382 in mainline linux
2020-04-30Fix return value of dma_fence_wait(). Seems to fix occasionalMark Kettenis
synchroniation problems when playing youtube videos in chrome. ok jsg@
2020-04-30drm/amd/display: Not doing optimize bandwidth if flip pending.Jonathan Gray
From Yongqiang Sun de32c6ad7a4fcb986e0e4f39d7497948b734b8c7 in linux 4.19.y/4.19.119 9941b8129030c9202aaf39114477a0e58c0d6ffc in mainline linux
2020-04-23drm/amdkfd: kfree the wrong pointerJonathan Gray
From Jack Zhang 044a884072b4313554d910b792f46c3e1f0099a5 in linux 4.19.y/4.19.118 3148a6a0ef3cf93570f30a477292768f7eb5d3c3 in mainline linux
2020-04-22drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabledJonathan Gray
From Sergei Lopatin 9959d615b715972002ed1ec9961486ded26e2ef4 in linux 4.19.y/4.19.117 8c7f0a44b4b4ef16df8f44fbaee6d1f5d1593c83 in mainline linux
2020-04-18drm/dp_mst: Fix clearing payload state on topology disableJonathan Gray
From Lyude Paul a0522bbd37d80507d118d3616e46bccde2c395a9 in linux 4.19.y/4.19.116 8732fe46b20c951493bfc4dba0ad08efdf41de81 in mainline linux
2020-04-18Revert "drm/dp_mst: Remove VCPI while disabling topology mgr"Jonathan Gray
From Sasha Levin 9a61fe235c0a653457c741d6140c6a8f8d8bfb48 in linux 4.19.y/4.19.116 a86675968e2300fb567994459da3dbc4cd1b322a in mainline linux
2020-04-17Fix an incorrect test for root in drm linux compatiblity code.Sebastian Benoit
Patch from and commited on behalf of Jonathan Gray (jsg@) ok kettenis@
2020-04-15drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()Jonathan Gray
From Hans Verkuil 329ef07f7fb83d4de62c239e376a6a0e04ff4b3c in linux 4.19.y/4.19.115 a4c30a4861c54af78c4eb8b7855524c1a96d9f80 in mainline linux
2020-04-15drm/amdgpu: fix typo for vcn1 idle checkJonathan Gray
From James Zhu 7b9d4492808eb3c3ba43f6391b138101a7e9e42e in linux 4.19.y/4.19.115 acfc62dc68770aa665cc606891f6df7d6d1e52c0 in mainline linux
2020-04-15drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017Jonathan Gray
From Mario Kleiner a9049fd69bc4fdcc48ec3a638f1f470938354984 in linux 4.19.y/4.19.115 dec9de2ada523b344eb2428abfedf9d6cd0a0029 in mainline linux
2020-04-14Fix loop condition in sparc64-specific radeondrm_setcolor()Jeremie Courreges-Anglas
Spotted with clang -Wno-error=uninitialized. ok jsg@
2020-04-12Turn those spinlock and seqlock inline functions to macrosJeremie Courreges-Anglas
They're macros on Linux because they save state in their flags parameter. Turning them to static inline functions creates a lot of -Wuninitialized warnings, so just use macros which set their flags argument. ok kettenis@
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
for example, with locking assertions. OK mpi@, anton@
2020-04-03Revert "drm/dp_mst: Skip validating ports during destruction, just ref"Jonathan Gray
From Lyude Paul 013b14652972949c5e8446b1e8ca9868780f5c7a in linux 4.19.y/4.19.114 9765635b30756eb74e05e260ac812659c296cd28 in mainline linux
2020-03-26drm/amd/amdgpu: Fix GPR read from debugfs (v2)Jonathan Gray
From Tom St Denis 053a9862f0202cdcda9c56778dd98396a7cb3513 in linux 4.19.y/4.19.113 5bbc6604a62814511c32f2e39bc9ffb2c1b92cbe in mainline linux
2020-03-26drm/amd/display: fix dcc swath size calculations on dcn1Jonathan Gray
From Josip Pavic 345acf45a0cef1effd58d42ed8e767a6219ae4b6 in linux 4.19.y/4.19.113 a0275dfc82c9034eefbeffd556cca6dd239d7925 in mainline linux
2020-03-26drm/amd/display: Clear link settings on MST disable connectorJonathan Gray
From Bhawanpreet Lakha f258014432a705707d78ccbcc24ff0df815eb983 in linux 4.19.y/4.19.113 5ac7fd2f597b88ee81f4748ee50cab06192a8dc3 in mainline linux
2020-03-26print platform name and gen in early inteldrm attachJonathan Gray
ok kettenis@ ok matthieu@ on an earlier diff
2020-03-21drm/amd/display: remove duplicated assignment to grph_obj_typeJonathan Gray
From Colin Ian King bef7177cefad180b9776ed49290d42bfb873da1e in linux 4.19.y/4.19.111 d785476c608c621b345dd9396e8b21e90375cb0e in mainline linux
2020-03-16Replace video "framework" with a more generic port/endpoint "framework".Mark Kettenis
This also adds panel support to rkanxdp(4). Code to hook up simplepanel(4) is still missing and will come later. ok patrick@
2020-03-15kthread_park() and kthread_stop() don't need PCATCH the linux API doesClaudio Jeker
not interrupt either and not checking the return value of tsleep_nsec() could actually result in a infinite loop if a signal is pending. Remove PCATCH also from kthread_parkme() for the same reason but this function is only called for kthreads and those have no signals anyway. OK kettenis@
2020-03-14drm/i915: Don't try to use the hardware frame counter with i965gm TV outputJonathan Gray
From Ville Syrjala 32db0b6501d97b09e92e70caefc74fa35aa9a8d6 in mainline linux Jon Whalen reported on misc@ that a 965gm with svideo on a Dell Inspiron 1525 had excesively long timeouts. On the order of 30 seconds when booting and 60 seconds when starting xenocara with errors showing up in dmesg. While the other commit referenced in https://bugs.freedesktop.org/show_bug.cgi?id=93782 appeared in the 4.19 lts branch this one while being marked for stable in the linux commit never did.
2020-03-06Release mutex before calling sleep_setup_signal() since this may stopMark Kettenis
the process. ok bluhm@, jsg@
2020-03-06amdgpu/gmc_v9: save/restore sdpif regs during S3Jonathan Gray
From Shirish S c47655fba16fa9a6af1c3eef997cf26bf2c92645 in linux 4.19.y/4.19.108 a3ed353cf8015ba84a0407a5dc3ffee038166ab0 in mainline linux
2020-03-05The local_clock_us() function needs microsecond resolution so implement itMark Kettenis
using microuptime(9). Avoids a hard hang when starting X on Intel Cherry Trail Atom processors. ok jsg@
2020-03-04Properly implement the page fault handler for CMA GEM buffers and actuallyMark Kettenis
make drm(4) attach to rkdrm(4). This makes KMS work on the RK3399 SoC. ok patrick@
2020-03-03Clean up attachment of PCI drm(4) devices and make the PCI aspects optional.Mark Kettenis
ok jsg@
2020-02-29drm/amdgpu/soc15: fix xclk for ravenJonathan Gray
From Alex Deucher 8300ed5a21752ae1ef245119201536916e3fa086 in linux 4.19.y/4.19.107 c657b936ea98630ef5ba4f130ab1ad5c534d0165 in mainline linux
2020-02-27drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)Jonathan Gray
From Alex Deucher b75aaa6449b33c21b9b00c743fa90a012acf09da in linux 4.19.y/4.19.106 c37243579d6c881c575dcfb54cf31c9ded88f946 in mainline linux
2020-02-27drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltageJonathan Gray
From Alex Deucher 283a7289413b661981a73b28ceb39f458fed8e84 in linux 4.19.y/4.19.106 1064ad4aeef94f51ca230ac639a9e996fb7867a0 in mainline linux
2020-02-27drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latencyJonathan Gray
From Alex Deucher 70e1e529159b93cfc9aa866e9412fac1a945f26f in linux 4.19.y/4.19.106 4d0a72b66065dd7e274bad6aa450196d42fd8f84 in mainline linux
2020-02-27radeon: insert 10ms sleep in dce5_crtc_load_lutJonathan Gray
From Daniel Vetter f1b8859e8db0c47184ad383720a086ee7f892a59 in linux 4.19.y/4.19.106 ec3d65082d7dabad6fa8f66a8ef166f2d522d6b2 in mainline linux
2020-02-27drm/amd/display: fixup DML dependenciesJonathan Gray
From Jun Lei 3f2a2c738bbb3a456bc2225ec77175095877a441 in linux 4.19.y/4.19.106 34ad0230062c39cdcba564d16d122c0fb467a7d6 in mainline linux
2020-02-27drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREGJonathan Gray
From Nathan Chancellor a882dcd9fd487eca8f019dd9814cacb7fb82b2c4 in linux 4.19.y/4.19.106 a63141e31764f8daf3f29e8e2d450dcf9199d1c8 in mainline linux
2020-02-27drm/amdgpu: remove 4 set but not used variable in ↵Jonathan Gray
amdgpu_atombios_get_connector_info_from_object_table From yu kuai b367528f6d23b696048adc3593bc267d431663bf in linux 4.19.y/4.19.106 bae028e3e521e8cb8caf2cc16a455ce4c55f2332 in mainline linux
2020-02-27drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zeroJonathan Gray
From Harry Wentland ff19c8c6eab246a5011ce5d8f97ce826352f5fe6 in linux 4.19.y/4.19.106 3eb6d7aca53d81ce888624f09cd44dc0302161e8 in mainline linux
2020-02-21Add a DRM GEM CMA helper from NetBSD. Plenty of parts are stillPatrick Wildt
under ifdef for us, so for now we don't support SG tables or the GEM CMA ops, but at least it lets us create a simple framebuffer. ok kettenis@
2020-02-20drm/amd: Add DM DMCU supportMark Kettenis
From David Francis a94d5569b23209306220fabb2a8d42d0f966d318 in mainline linux
2020-02-20Implement request_firmware_direct().Mark Kettenis
2020-02-20drm/amd: Add PSP DMCU supportMark Kettenis
From David Francis 6b7eab2ce60d2363b0e4bfea6667439b926bcf54 in mainline linux
2020-02-20drm/amd: Add ucode DMCU supportMark Kettenis
From David Francis 01fcfc83fe07ae42af707c3217f533fb350d4c19 in mainline linux
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
adding more filter properties without cluttering the struct. OK mpi@, anton@
2020-02-20In signal_pending_state() only test for pending signal whenJonathan Gray
TASK_INTERRUPTIBLE (PCATCH) is set in the state argument. Spotted by and original diff from claudio@. ok claudio@
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.Martin Pieuchot
Do not include <sys/kthread.h> where it is not needed and stop including <sys/proc.h> in it. ok visa@, anton@