summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/amd/display (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use DC_FP_START()/DC_FP_END() around dcn2.1 paths known to causejsg2020-11-301-0/+6
| | | | | | | | | | | SSE FP exception traps, update_bw_bounding_box() and dcn20_populate_dml_pipes_from_context(). The scope around the dcn20_fast_validate_bw() call is large to match DC_FP_START()/DC_FP_END() use in dcn20_resource.c and avoid the situation where a dcn2.0 path would have nested DC_FP_START() calls. ok kettenis@
* Revert "drm/amd/display: Improve DisplayPort monitor interop"jsg2020-08-263-23/+8
| | | | | From Alex Deucher 813b2c197929540e700dc3d42b2c8136795c5d4c in linux 5.7.y/5.7.18
* drm/amd/display: fix pow() crashing when given base 0jsg2020-08-261-0/+3
| | | | | | From Krunoslav Kovac b9d077f3781412f304968cf806f636ee91b4470e in linux 5.7.y/5.7.18 d2e59d0ff4c44d1f6f8ed884a5bea7d1bb7fd98c in mainline linux
* drm/amd/display: Fix DFPstate hang due to view port changedjsg2020-08-261-2/+2
| | | | | | From Paul Hsieh 3f88e2e7a7943ef07a384f653f01832600bb91dd in linux 5.7.y/5.7.18 8e80d482608a4e6a97c75272ef8b4bcfc5d0c490 in mainline linux
* drm/amd/display: Blank stream before destroying HDCP sessionjsg2020-08-261-2/+1
| | | | | | From Jaehyun Chung cdda25b43e0efb8df20a6f9956ff9091a1355328 in linux 5.7.y/5.7.18 79940e4d10df9c737a394630968471c632246ee0 in mainline linux
* drm/amd/display: Fix EDID parsing after resume from suspendjsg2020-08-261-0/+1
| | | | | | From Stylon Wang a4615f3893f39560dd3e71865e80bccd20330321 in linux 5.7.y/5.7.18 b24bdc37d03a0478189e20a50286092840f414fa in mainline linux
* drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internaljsg2020-08-261-1/+1
| | | | | | From Daniel Kolesa 9917538295f9319dc7c6cf63d25eef89f302d81e in linux 5.7.y/5.7.18 f41ed88cbd6f025f7a683a11a74f901555fba11c in mainline linux
* drm/amd/display: dchubbub p-state warning during surface planes switchjsg2020-08-221-2/+67
| | | | | | From hersen wu adc8db21719668a4bf25ef0bef72c575d0a81cf5 in linux 5.7.y/5.7.17 8b0379a85762b516c7b46aed7dbf2a4947c00564 in mainline linux
* drm/amd/display: Fix dmesg warning from setting abm leveljsg2020-08-221-0/+23
| | | | | | From Stylon Wang bab191af99bd97db80ba19aafeea8081949bbe53 in linux 5.7.y/5.7.17 c5892a10218214d729699ab61bad6fc109baf0ce in mainline linux
* drm/amdgpu/display: properly guard the calls to swSMU functionsjsg2020-08-221-2/+2
| | | | | | From Alex Deucher bb4960cc236b57708c44d11e272a9eeff66e90d9 in linux 5.7.y/5.7.16 4072327a2622af8688b88f5cd0a472136d3bf33d in mainline linux
* drm/amdgpu/display bail early in dm_pp_get_static_clocksjsg2020-08-221-0/+2
| | | | | | From Alex Deucher c2013b737bbde32f302575e6a1b74eb21cd419ca in linux 5.7.y/5.7.16 376814f5fcf1aadda501d1413d56e8af85d19a97 in mainline linux
* drm/amd/display: Improve DisplayPort monitor interopjsg2020-08-223-8/+23
| | | | | | From Aric Cyr aeb79d98b4b1e4007207936b7a8fb074a96c240f in linux 5.7.y/5.7.16 eec3303de3378cdfaa0bb86f43546dbbd88f94e2 in mainline linux
* drm/amd/display: Clear dm_state for fast updatesjsg2020-08-051-9/+27
| | | | | | From Mazin Rezk ee27c88788b88c9c1c75e3a9ce580c79c2dba009 in linux 5.7.y/5.7.13 fde9f39ac7f1ffd799a96ffa1e06b2051f0898f1 in mainline linux
* drm/amd/display: add dmcub check on RENOIRjsg2020-07-291-1/+1
| | | | | | From Aaron Ma ef176ba6acec80d11f1d8d7f998174b56e3c9620 in linux 5.7.y/5.7.11 3b2e973dff59d88bee1d814ddf8762a24fc02b60 in mainline linux
* drm/amd/display: Check DMCU Exists Before Loadingjsg2020-07-291-1/+6
| | | | | | From Jerry (Fangzhi) Zuo 984fafafde60f91b5bf8a31c3ba8ad7337496cc3 in linux 5.7.y/5.7.11 17bdb4a82fe5014c8aa5b2103c80c5729744a096 in mainline linux
* drm/amdgpu/display: create fake mst encoders ahead of time (v4)jsg2020-07-234-28/+48
| | | | | | From Alex Deucher 4c76a5a3db25f24accb12acf4a6f3707ee283761 in linux 5.7.y/5.7.10 3168470142e0a82b5732c04ed4c031a9322ae170 in mainline linux
* drm/amd/display: OLED panel backlight adjust not work with external display connectedjsg2020-07-231-0/+5
| | | | | | From hersen wu 702e13f8d26c6d18389c299347580783fef02bcd in linux 5.7.y/5.7.10 b448d30b0c303d5454ea572b772d1ffae96bc6e7 in mainline linux
* drm/amd/display: handle failed allocation during stream constructionjsg2020-07-231-3/+16
| | | | | | From Josip Pavic adfe5ec9ac3ff13e9dabe42216fb34a9e9c19738 in linux 5.7.y/5.7.10 be73e608ae2711dc8a1ab8b9549d9e348061b2ee in mainline linux
* drm/amd/display: Only revalidate bandwidth on medium and fast updatesjsg2020-07-091-4/+6
| | | | | | From Nicholas Kazlauskas fcb408a7282302bd8b8afc6ef8db42b4eece23ee in linux 5.7.y/5.7.8 6eb3cf2e06d22b2b08e6b0ab48cb9c05a8e1a107 in mainline linux
* drm/amd/display: Fix ineffective setting of max bpc propertyjsg2020-07-091-1/+2
| | | | | | From Stylon Wang b903524c8a60a3e9d5eede7fc87f1012332b929f in linux 5.7.y/5.7.8 fa7041d9d2fc7401cece43f305eb5b87b7017fc4 in mainline linux
* drm/amd/display: Fix incorrectly pruned modes with deep colorjsg2020-07-091-38/+64
| | | | | | From Stylon Wang 60c60af1adffdc4a34f4b13acc44a02ec33169b1 in linux 5.7.y/5.7.8 cbd14ae7ea934fd9d9f95103a0601a7fea243573 in mainline linux
* drm/amdgpu/display: Unlock mutex on errorjsg2020-07-021-2/+4
| | | | | | From John van der Kamp 6b5d1b40a668add6275072a71d0e17fb9e15de67 in linux 5.7.y/5.7.7 ee434a4f9f5ea15b0f84bddd8c012838cf9472c5 in mainline linux
* drm/amd/display: Enable output_bpc property on all outputsjsg2020-07-021-1/+3
| | | | | | From Stylon Wang 937007f09e254ee46a1cacc1d71be2381848f5a8 in linux 5.7.y/5.7.7 5ae9c378c3d88b40af72f8e8f961808e29f3e70b in mainline linux
* drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()jsg2020-07-021-1/+1
| | | | | | From Denis Efremov 7f5ee8efd85ec10914b324e4f2722dc4d22b12da in linux 5.7.y/5.7.7 43a562774fceba867e8eebba977d7d42f8a2eac7 in mainline linux
* Revert "drm/amd/display: disable dcn20 abm feature for bring up"jsg2020-06-261-7/+4
| | | | | | From Harry Wentland 6674508ba1a2ea6caca5de2bcb25bc00a050fd0a in linux 5.7.y/5.7.6 14ed1c908a7a623cc0cbf0203f8201d1b7d31d16 in mainline linux
* drm/amd/display: Use kvfree() to free coeff in build_regamma()jsg2020-06-261-1/+1
| | | | | | From Denis Efremov b89722d873c7544fe74f50b7a26e3f2ae50e32ae in linux 5.7.y/5.7.6 81921a828b94ce2816932c19a5ec74d302972833 in mainline linux
* drm/amdgpu/display: use blanked rather than plane state for sync groupsjsg2020-06-261-4/+20
| | | | | | From Alex Deucher fba8f9ef7e1405ee6f422beb874791e8a5eb489c in linux 5.7.y/5.7.6 b7f839d292948142eaab77cedd031aad0bfec872 in mainline linux
* drm/amd/display: Revalidate bandwidth before commiting DC updatesjsg2020-06-261-0/+6
| | | | | | From Nicholas Kazlauskas b5232e2ee8df85891514c73472cac09921e5d51d in linux 5.7.y/5.7.6 a24eaa5c51255b344d5a321f1eeb3205f2775498 in mainline linux
* drm/amd/display: Do not disable pipe split if mode is not supportedjsg2020-06-221-2/+7
| | | | | | From Sung Lee dbf0a8fce6a9c867c315a400176f9f0e3a963d1e in linux 5.7.y/5.7.5 1dfedb39d38f813357885e19badd1971c17f79a7 in mainline linux
* drm/amd/display: dmcu wait loop calculation is incorrect in RVjsg2020-06-221-3/+0
| | | | | | From Paul Hsieh 11bce5915166fd50a395716755db8c6a3d3f2eb0 in linux 5.7.y/5.7.5 7fc5c319efceaed1a23b7ef35c333553ce39fecf in mainline linux
* drm/amd/display: Correct updating logic of dcn21's pipe VM flagsjsg2020-06-221-5/+1
| | | | | | From Dale Zhao 21b7c6033823d3888a195a24271cbea34279dd62 in linux 5.7.y/5.7.5 2a28fe92220a116735ef45939b7edcfee83cc6b0 in mainline linux
* drm/amd/display: Revert to old formula in set_vtg_paramsjsg2020-06-221-2/+4
| | | | | | From Alvin Lee 719bdc4363637fa45b67c80259c6a72967cb4947 in linux 5.7.y/5.7.5 a1a0e61f3c43c610f0a3c109348c14ce930c1977 in mainline linux
* drm/amd/display: fix virtual signal dsc setupjsg2020-06-221-1/+1
| | | | | | From Dmytro Laktyushkin b5d74af308d373668ec2d8f0f0a490207fcc5eda in linux 5.7.y/5.7.5 d5bef51f084fccafa984b114ff74a01a64a0e2e3 in mainline linux
* drm/amd/display: Force watermark value propagationjsg2020-06-222-1/+6
| | | | | | From Joshua Aberback 3a16e9862faff68edb43c1ec3112d62f6a391037 in linux 5.7.y/5.7.5 868149c9a072cbdc22a73ce25a487f9fbfa171ef in mainline linux
* reduce the diff to linuxjsg2020-06-091-7/+0
|
* update drm to linux 5.7jsg2020-06-08418-21741/+103859
| | | | | | | | | | adds kernel support for amdgpu: vega20, raven2, renoir, navi10, navi14 inteldrm: icelake, tigerlake Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping, patrick@ for helping adapt rockchip drm and many developers for testing.
* drm/amd/display: Not doing optimize bandwidth if flip pending.jsg2020-04-301-0/+23
| | | | | | From Yongqiang Sun de32c6ad7a4fcb986e0e4f39d7497948b734b8c7 in linux 4.19.y/4.19.119 9941b8129030c9202aaf39114477a0e58c0d6ffc in mainline linux
* drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017jsg2020-04-151-0/+11
| | | | | | From Mario Kleiner a9049fd69bc4fdcc48ec3a638f1f470938354984 in linux 4.19.y/4.19.115 dec9de2ada523b344eb2428abfedf9d6cd0a0029 in mainline linux
* drm/amd/display: fix dcc swath size calculations on dcn1jsg2020-03-261-2/+2
| | | | | | From Josip Pavic 345acf45a0cef1effd58d42ed8e767a6219ae4b6 in linux 4.19.y/4.19.113 a0275dfc82c9034eefbeffd556cca6dd239d7925 in mainline linux
* drm/amd/display: Clear link settings on MST disable connectorjsg2020-03-261-0/+1
| | | | | | From Bhawanpreet Lakha f258014432a705707d78ccbcc24ff0df815eb983 in linux 4.19.y/4.19.113 5ac7fd2f597b88ee81f4748ee50cab06192a8dc3 in mainline linux
* drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)jsg2020-02-271-11/+23
| | | | | | From Alex Deucher b75aaa6449b33c21b9b00c743fa90a012acf09da in linux 4.19.y/4.19.106 c37243579d6c881c575dcfb54cf31c9ded88f946 in mainline linux
* drm/amd/display: fixup DML dependenciesjsg2020-02-273-2/+2
| | | | | | From Jun Lei 3f2a2c738bbb3a456bc2225ec77175095877a441 in linux 4.19.y/4.19.106 34ad0230062c39cdcba564d16d122c0fb467a7d6 in mainline linux
* drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zerojsg2020-02-271-2/+1
| | | | | | From Harry Wentland ff19c8c6eab246a5011ce5d8f97ce826352f5fe6 in linux 4.19.y/4.19.106 3eb6d7aca53d81ce888624f09cd44dc0302161e8 in mainline linux
* drm/amd: Add DM DMCU supportkettenis2020-02-202-1/+92
| | | | | From David Francis a94d5569b23209306220fabb2a8d42d0f966d318 in mainline linux
* drm/amd/dm/mst: Ignore payload update failuresjsg2020-02-121-9/+4
| | | | | | From Lyude Paul abc51506fcebee12183f98a30f0aa67b32ee8542 in linux 4.19.y/4.19.103 58fe03d6dec908a1bec07eea7e94907af5c07eec in mainline linux
* drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI donglejsg2020-01-101-1/+1
| | | | | | From David Galiffi 12fefecbcb4dfefd62995fd0e4cf8f30edd64926 in linux 4.19.y/4.19.94 a51d9f8fe756beac51ce26ef54195da00a260d13 in mainline linux
* drm/amd/display: Fix dongle_caps containing stale information.jsg2020-01-012-1/+2
| | | | | | From David Galiffi 59fc1675b5731b6cb57ad668ab2022add0433d5d in linux 4.19.y/4.19.92 dd998291dbe92106d8c4a7581c409b356928d711 in mainline linux
* drm/amd/display: Passive DP->HDMI dongle detection fixjsg2019-11-131-6/+18
| | | | | | From Michael Strauss 99d5f18cebbf3f01f269368923e9b9c3ac134700 in linux 4.19.y/4.19.84 bc2fde42e2418808dbfc04de1a6da91d7d31cf1a in mainline linux
* drm/amd/display: fix odm combine pipe resetjsg2019-11-091-4/+2
| | | | | | From Dmytro Laktyushkin a0d8a590d983d55fc48293ff573ae31a23b3c7d0 in linux 4.19.y/4.19.82 f25f06b67ba237b76092a6fc522b1a94e84bfa85 in mainline linux
* drm/amd/display: num of sw i2c/aux engines less than num of connectorsjsg2019-10-177-7/+52
| | | | | | | | | From Hersen Wu 0e8e4fbf8d8905071c045f2922de55adbe1a6abe in mainline linux Avoids a NULL deref of aux_engine in dc_link_aux_transfer() with 'ASRock A320M-HDV R4.0' and Raven Ridge reported by semarie@ on bugs@. ok semarie@