aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/core/dc.c
AgeCommit message (Expand)AuthorFilesLines
10 daysMerge tag 'drm-next-2024-05-15' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds1-349/+667
2024-04-30drm/amd/display: Disable seamless boot on 128b/132b encodingSung Joon Kim1-0/+3
2024-04-26drm/amd/display: Fix uninitialized variables in DCAlex Hung1-2/+2
2024-04-16drm/amd/display: Fix PSR command version passedMikita Lipski1-0/+1
2024-04-16drm/amd/display: limit the code change to ips enabled asicCharlene Liu1-1/+6
2024-04-09drm/amd/display: Add driver support for future FAMS versionsDillon Varone1-1/+4
2024-04-09drm/amd/display: Add missing parameter desc in dc_commit_streamsSrinivasan Shanmugam1-2/+1
2024-04-09drm/amd/display: move build test pattern params as part of pipe resource upda...Wenjing Liu1-9/+15
2024-04-09drm/amd/display: Add handling for DC power modeJoshua Aberback1-17/+20
2024-04-09drm/amd/display: handle invalid connector indicesJoshua Aberback1-1/+2
2024-03-27drm/amd/display: fix a dereference of a NULL pointerWenjing Liu1-2/+4
2024-03-27drm/amd/display: Remove plane and stream pointers from dc scratchAlvin Lee1-51/+29
2024-03-27drm/amd/display: build scaling params when a new plane is appendedWenjing Liu1-1/+4
2024-03-27drm/amd/display: fix a dereference of a NULL pointerWenjing Liu1-2/+4
2024-03-27drm/amd/display: Added missing null checksSohaib Nadeem1-0/+3
2024-03-22drm/amd/display: fix a bug to dereference already freed old current state memoryWenjing Liu1-8/+13
2024-03-20drm/amd/display: Address kdoc for commit_minimal_transition_state_in_dc_update()Srinivasan Shanmugam1-1/+3
2024-03-20drm/amd/display: skip forcing odm in minimal transitionWenjing Liu1-32/+65
2024-03-20drm/amd/display: Backup and restore only on full updatesAlvin Lee1-4/+6
2024-03-20drm/amd/display: Implement update_planes_and_stream_v3 sequenceWenjing Liu1-232/+469
2024-03-20drm/amd/display: Support long vblank featureRobin Chen1-0/+33
2024-03-20drm/amd/display: Add debug prints for IPS testingNicholas Kazlauskas1-3/+7
2024-03-20drm/amd/display: Revert Add left edge pixel + ODM pipe splitGabe Teeger1-4/+0
2024-03-20drm/amd/display: Add left edge pixel for YCbCr422/420 + ODM pipe splitGeorge Shen1-0/+4
2024-03-20drm/amd/display: Implement wait_for_odm_update_pending_completeWenjing Liu1-1/+55
2024-03-20drm/amd/display: Fix idle check for shared firmware stateNicholas Kazlauskas1-9/+3
2024-03-20drm/amd/display: Allow dirty rects to be sent to dmub when abm is activeJosip Pavic1-0/+3
2024-02-22drm/amd/display: Generalize new minimal transition pathAlvin Lee1-90/+56
2024-02-14Revert "drm/amd/display: Add left edge pixel for YCbCr422/420 + ODM pipe split"George Shen1-4/+0
2024-02-14drm/amd/display: treat plane clip size change as MED update typeWenjing Liu1-1/+6
2024-02-07drm/amd/display: Update phantom pipe enable / disable sequenceAlvin Lee1-1/+3
2024-02-07Revert "drm/amd/display: For FPO and SubVP/DRR configs program vmin/max sel"Alvin Lee1-36/+9
2024-02-07drm/amd/display: Adjust set_p_state calls to fix loggingEthan Bitnun1-11/+11
2024-02-07drm/amd/display: Add left edge pixel for YCbCr422/420 + ODM pipe splitGeorge Shen1-0/+4
2024-02-07drm/amd/display: Add more checks for exiting idle in DCNicholas Kazlauskas1-0/+42
2024-01-29drm/amd/display: For FPO and SubVP/DRR configs program vmin/max selAlvin Lee1-0/+31
2024-01-29drm/amd/display: Unify optimize_required flags and VRR adjustmentsAric Cyr1-9/+5
2024-01-22drm/amd/display: Revert "Rework DC Z10 restore"Charlene Liu1-10/+1
2024-01-15drm/amd/display: Rework DC Z10 restoreNicholas Kazlauskas1-1/+10
2024-01-15drm/amd/display: Add logging resource checksCharlene Liu1-1/+3
2024-01-09drm/amd/display: revert "Optimize VRR updates to only necessary ones"Martin Leung1-5/+9
2024-01-03drm/amd/display: Add some functions for Panel ReplayTom Chung1-0/+34
2024-01-03drm/amd/display: Add null pointer guards where neededJosip Pavic1-0/+5
2024-01-03drm/amd/display: Add more mechanisms for testsRelja Vojvodic1-15/+22
2023-12-19drm/amd/display: Create dc_state after resource initializationDillon Varone1-9/+9
2023-12-19drm/amd/display: Refactor phantom resource allocationDillon Varone1-68/+23
2023-12-19drm/amd/display: Refactor dc_state interfaceDillon Varone1-132/+39
2023-12-19drm/amd/display: Wake DMCUB before sending a commandNicholas Kazlauskas1-6/+6
2023-12-19drm/amd/display: Add case for dcn35 to support usb4 dmub hpd eventWayne Lin1-8/+18
2023-12-19drm/amd/display: Unify optimize_required flags and VRR adjustmentsAric Cyr1-9/+5
2023-12-06drm/amd/display: Update code comment to be more accurateRodrigo Siqueira1-1/+2
2023-12-06drm/amd/display: Add dml2 copy functionsDillon Varone1-11/+4
2023-11-29drm/amd/display: Fix tiled display misalignmentMeenakshikumar Somasundaram1-0/+4
2023-11-17drm/amd/display: Negate IPS allow and commit bitsDuncan Ma1-2/+2
2023-11-17drm/amd/display: Add null checks for 8K60 lightupMuhammad Ahmed1-1/+1
2023-11-07drm/amd/display: save and restore mall state when applying minimal transitionWenjing Liu1-0/+20
2023-11-07drm/amd/display: Enable more IPS optionsSung Joon Kim1-2/+2
2023-11-07drm/amd/display: Fix missing blendTF programmingIlya Bakoulin1-0/+3
2023-11-03drm/amd/display: Enable fast update on blendTF changeIlya Bakoulin1-1/+0
2023-10-26drm/amd/display: add null check for invalid oppsSamson Tam1-1/+2
2023-10-26drm/amd/display: Add a check for idle power optimizationSung Joon Kim1-0/+23
2023-10-19drm/amd/display: Add missing lines of code in dc.cStylon Wang1-2/+3
2023-10-13drm/amd/display: make dc_set_power_state() return type `void` againMario Limonciello1-4/+2
2023-10-13drm/amd/display: Destroy DC context while keeping DML and DML2Mario Limonciello1-37/+0
2023-10-09drm/amd/display: Refactor DPG test pattern logic for ODM casesGeorge Shen1-0/+8
2023-10-09drm/amd/display: Don't set dpms_off for seamless bootDaniel Miess1-0/+3
2023-10-09drm/amd/display: Revert "drm/amd/display: Add a check for idle power optimiza...Sung Joon Kim1-19/+1
2023-10-09drm/amd/display: Update cursor limits based on SW cursor fallback limitsAlvin Lee1-4/+4
2023-10-09drm/amd/display: Update stream maskDuncan Ma1-0/+7
2023-10-09drm/amd/display: Revert "drm/amd/display: remove duplicated edp relink to fas...Aric Cyr1-0/+59
2023-10-09drm/amd/display: Introduce DML2Qingqing Zhuo1-0/+39
2023-10-04drm/amd/display: Add a check for idle power optimizationSung Joon Kim1-1/+19
2023-10-04drm/amd/display: use full update for clip size increase of large plane sourceWenjing Liu1-2/+10
2023-10-04drm/amd/display: remove duplicated edp relink to fastbootChiawen Huang1-59/+0
2023-10-04drm/amd/display: enable dsc_clk even if dsc_pg disabledMuhammad Ahmed1-4/+4
2023-10-03drm/amd/display: Address 'srf_updates' not described in 'could_mpcc_tree_chan...Srinivasan Shanmugam1-0/+1
2023-09-26drm/amd/display: Change dc_set_power_state() to bool instead of intMario Limonciello1-4/+4
2023-09-26drm/amd: Propagate failures in dc_set_power_state()Mario Limonciello1-3/+5
2023-09-26drm/amd/display: Update OPP counter from new interfaceHong-lu Cheng1-1/+1
2023-09-26drm/amd/display: switch DC over to the new DRM logging macrosHamza Mahfooz1-0/+12
2023-09-26drm/amd/display: block MPO if it prevents pstate supportDmytro Laktyushkin1-0/+17
2023-09-26drm/amd/display: remove guaranteed viewports limitation for odmWenjing Liu1-34/+0
2023-09-26drm/amd/display: add new windowed mpo odm minimal transition sequenceWenjing Liu1-56/+196
2023-09-26drm/amd/display: determine fast update only before commit minimal transition ...Wenjing Liu1-2/+4
2023-09-11drm/amd/display: minior logging improvementsWenjing Liu1-0/+7
2023-09-11drm/amd/display: do not skip ODM minimal transition based on new stateWenjing Liu1-3/+3
2023-09-11drm/amd/display: add seamless pipe topology transition checkWenjing Liu1-0/+8
2023-09-11drm/amd/display: only allow ODM power optimization if surface is within guara...Wenjing Liu1-0/+36
2023-09-11drm/amd/display: Blank phantom OTG before enablingAlvin Lee1-48/+2
2023-08-30drm/amd/display: Add DCN35 CLK_MGRQingqing Zhuo1-0/+2
2023-08-30drm/amd/display: Fix up kdoc format for 'dc_set_edp_power'Srinivasan Shanmugam1-2/+5
2023-08-30drm/amd/display: always switch off ODM before committing more streamsWenjing Liu1-5/+5
2023-08-30drm/amd/display: Remove wait while lockedGabe Teeger1-17/+41
2023-08-30drm/amd/display: Refactor edp power controlIan Chen1-0/+21
2023-08-15drm/amd/display: implement pipe type definition and adding accessorsWenjing Liu1-29/+12
2023-08-15drm/amd/display: Add Replay supported/enabled checksBhawanpreet Lakha1-0/+6
2023-08-07drm/amd/display: do not treat clip_rect size change as a scaling changeWenjing Liu1-3/+1
2023-08-07drm/amd/display: always acquire MPO pipe for every blending treeWenjing Liu1-94/+0
2023-08-07drm/amd/display: Set Stream Update Flags in commit_state_no_checkAustin Zheng1-0/+13
2023-08-07drm/amd/display: Implement interface for notify cursor support changeAlvin Lee1-0/+14
2023-07-18drm/amd/display: Add missing triggers for full updatesAlvin Lee1-8/+16
2023-07-18drm/amd/display: ABM pause toggleReza Amini1-0/+53
2023-07-18drm/amd/display: Initialize necessary uninitialized variablesMeera Patel1-5/+5
2023-07-18drm/amd/display: Update scaler recout data for visual confirmLeo Ma1-1/+2
2023-07-18drm/amd/display: Add missing staticRodrigo Siqueira1-2/+4
2023-06-30drm/amd/display: Take full update path if number of planes changedAlvin Lee1-5/+14
2023-06-30drm/amd/display: For new fast update path, loop through each surfaceAlvin Lee1-34/+52
2023-06-30drm/amd/display: Limit new fast update path to addr and gamma / colorAlvin Lee1-2/+92
2023-06-23drm/amd/display: Enable dc mode clock switching for DCN32xAlvin Lee1-4/+6
2023-06-23drm/amd/display: disable seamless boot if force_odm_combine is enabledLeo Chen1-0/+3
2023-06-23drm/amd/display: Clear update flags at end of flipAlvin Lee1-0/+7
2023-06-15drm/amd/display: Convert to kdoc formats in dc/core/dc.cSrinivasan Shanmugam1-19/+15
2023-06-15Revert "drm/amd/display: fix dpms_off issue when disabling bios mode"Alex Deucher1-1/+1
2023-06-09drm/amd/display: Fix unused variable ‘should_lock_all_pipes’Srinivasan Shanmugam1-1/+0
2023-06-09drm/amd/display: Refactor fast update to use new HWSS build sequenceAlvin Lee1-30/+244
2023-06-09drm/amd/display: add ODM case when looking for first split pipeSamson Tam1-1/+35
2023-06-09drm/amd/display: Clean FPGA code in dcQingqing Zhuo1-21/+19
2023-06-09drm/amd/display: Fix DMUB debugging print issueCruise Hung1-0/+12
2023-06-09drm/amd/display: Remove unnecessary variableRodrigo Siqueira1-3/+1
2023-06-09drm/amd/display: Add visual confirm color support for MCLK switchLeo (Hanghong) Ma1-5/+42
2023-06-09drm/amd/display: Check Vactive for VRR active for FPO + VactiveAlvin Lee1-1/+4
2023-06-09drm/amd/display: Workaround wrong HDR colorimetry with some receiversIlya Bakoulin1-0/+7
2023-04-24drm/amd/display: update extended blank for dcn314 onwardsGabe Teeger1-21/+0
2023-04-21drm/amd/display: Explicitly specify update type per plane info changeNicholas Kazlauskas1-3/+0
2023-04-21drm/amd/display: fix dpms_off issue when disabling bios modeZhongwei1-1/+1
2023-04-18drm/amd/display: add mechanism to skip DCN initEric Yang1-3/+0
2023-04-18drm/amd/display: Add FAMS validation before trying to use itRodrigo Siqueira1-0/+6
2023-04-18drm/amd/display: refactor dmub commands into single functionJosip Pavic1-17/+6
2023-03-31drm/amd/display: fix double memory allocationMartin Leung1-2/+3
2023-03-22drm/amd/display: align commit_planes_for_stream to latest dc codeHersen Wu1-23/+3
2023-03-22drm/amd/display: initialize link_srv in virtual envMartin Leung1-0/+1
2023-03-14drm/amd/display: convert link.h functions to function pointer styleWenjing Liu1-13/+20
2023-03-07drm/amd/display: Drop dc_commit_state in favor of dc_commit_streamsRodrigo Siqueira1-47/+0
2023-03-07drm/amd/display: Ensure vmin and vmax adjust for DCERodrigo Siqueira1-2/+3
2023-03-07drm/amd/display: Pass tg and hubp inst instead of pipe index for SubVPAlvin Lee1-11/+19
2023-03-07drm/amd/display: Rename DCN config to FPHarry Wentland1-1/+1
2023-03-07drm/amd/display: move dc_link functions in accessories folder to dc_link_exportsWenjing Liu1-0/+2
2023-03-07drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCPHarry Wentland1-4/+0
2023-03-07drm/amd/display: Simplify same effect if/else blocksDeepak R Varma1-8/+3
2023-02-28drm/amd/display: fix clock sequence logic for DCN32Aurabindo Pillai1-6/+12
2023-02-28drm/amd/display: Do not update DRR while BW optimizations pendingAric Cyr1-19/+29
2023-02-28drm/amd/display: Only wait for blank completion if OTG activeAric Cyr1-1/+3
2023-02-28drm/amd/display: enable DPG when disabling plane for phantom pipeSamson Tam1-1/+46
2023-02-28drm/amd/display: merge dc_link.h into dc.h and dc_types.hWenjing Liu1-154/+2
2023-02-15Revert "drm/amd/display: enable DPG when disabling plane for phantom pipe"Qingqing Zhuo1-46/+1
2023-02-14drm/amd/display: enable DPG when disabling plane for phantom pipeSamson Tam1-1/+46
2023-02-08drm/amd/display: break down dc_link.cWenjing Liu1-11/+11
2023-02-08drm/amd/display: Do not commit pipe when updating DRRWesley Chalmers1-0/+15
2023-01-24drm/amd/display: merge dc_link_dp into dc_linkWenjing Liu1-1/+0
2023-01-24drm/amd/display: Enable AdaptiveSync in DC interfaceSung Joon Kim1-0/+4
2023-01-24drm/amd/display: move eDP panel control logic to link_edp_panel_controlWenjing Liu1-1/+1
2023-01-13drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddcWenjing Liu1-3/+2
2023-01-13drm: amd: display: Fix memory leakageKonstantin Meskhidze1-0/+1
2023-01-03drm/amd/display: fix dc/core/dc.c kernel-docRandy Dunlap1-15/+25
2023-01-03drm/amd/display: Adding braces to prepare for future changes to behavior of i...Leo Chen1-1/+2
2023-01-03drm/amd/display: Turn on phantom OTG before disabling phantom pipeAlvin Lee1-34/+24
2022-12-15drm/amd/display: Implement multiple secure displayAlan Liu1-2/+3
2022-12-06drm/amd/display: Ensure commit_streams returns the DC return codeAlvin Lee1-1/+1
2022-12-06drm/amd/display: prevent seamless boot on displays that don't have the prefer...Dmytro Laktyushkin1-0/+3
2022-11-29drm/amd/display: Retain phantom pipes when min transition into subvp (#7358)Alvin Lee1-1/+20
2022-11-29drm/amd/display: Don't overwrite subvp pipe info in fast updatesAlvin Lee1-1/+1
2022-11-23Revert "drm/amd/display: fix dpms_off issue when disabling bios mode"Alex Deucher1-1/+1
2022-11-23drm/amd/display: Retain phantom plane/stream if validation failsAlvin Lee1-0/+13
2022-11-23drm/amd/display: Add margin on DRR vblank start for subvpAlvin Lee1-1/+17
2022-11-15drm/amd/display: Fix Subvp phantom pipe transitionAlvin Lee1-16/+38
2022-11-15drm/amd/display: Use min transition for all SubVP plane add/removeAlvin Lee1-9/+22
2022-11-15drm/amd/display: Update SubVP Visual ConfirmDavid Galiffi1-1/+18
2022-11-15drm/amd/display: fix dpms_off issue when disabling bios modeZhongwei Zhang1-1/+1
2022-11-09drm/amd/display: Disable phantom OTG after enable for plane disableAlvin Lee1-1/+13
2022-11-09drm/amd/display: Use min transition for SubVP into MPOAlvin Lee1-23/+20
2022-10-27drm/amd/display: Rework comments on dc fileRodrigo Siqueira1-99/+62
2022-10-27drm/amd/display: Add kernel doc for commit sequenceRodrigo Siqueira1-10/+53
2022-10-27drm/amd/display: skip commit minimal transition statezhikzhai1-0/+22
2022-10-27drm/amd/display: Remove optimization for VRR updatesAlvin Lee1-3/+0
2022-10-27drm/amd/display: Drop struct crc_region and reuse struct rectAlan Liu1-10/+10
2022-10-27drm/amd/display: Implement secure display on DCN21Alan Liu1-61/+54
2022-10-24drm/amd/display: Use update plane and stream routine for DCN32xRodrigo Siqueira1-0/+12
2022-10-24drm/amd/display: Avoid ABM when ODM combine is enabled for eDPRodrigo Siqueira1-1/+11
2022-10-24drm/amd/display: Update OTG instance in the commit streamRodrigo Siqueira1-0/+6
2022-10-24drm/amd/display: Add function for validate and update new streamRodrigo Siqueira1-10/+6
2022-10-24drm/amd/display: Handle virtual hardware detectRodrigo Siqueira1-0/+3
2022-10-24drm/amd/display: Include surface of unaffected streamsRodrigo Siqueira1-1/+11
2022-10-24drm/amd/display: Copy DC context in the commit streamsRodrigo Siqueira1-8/+33
2022-10-24drm/amd/display: Enable new commit sequence only for DCN32xRodrigo Siqueira1-0/+46
2022-10-24drm/amd/display: Rework context change checkRodrigo Siqueira1-7/+7
2022-10-24drm/amd/display: Check if link state is validRodrigo Siqueira1-0/+2
2022-10-11drm/amd/display: fix indentation in dc.cAlex Deucher1-3/+3
2022-10-10drm/amd/display: Display does not light up after S4 resumeMeenakshikumar Somasundaram1-0/+31
2022-10-10Revert "drm/amd/display: skip commit minimal transition state"Dillon Varone1-20/+0
2022-10-06drm/amd/display: Fix SubVP control flow in the MPO contextRodrigo Siqueira1-2/+14
2022-10-06drm/amd/display: skip commit minimal transition stateZhikai Zhai1-0/+20
2022-10-06drm/amd/display: For SubVP pipe split case use min transition into MPOAlvin Lee1-0/+36
2022-10-06drm/amd/display: Program SubVP in dc_commit_state_no_checkDillon Varone1-0/+19
2022-10-06drm/amd/display: Only commit SubVP state after pipe programmingAlvin Lee1-0/+3
2022-09-29drm/amd/display: Fix various dynamic ODM transitions on DCN32Dillon Varone1-25/+80
2022-09-29drm/amd/display: skip phantom pipes when checking for pending flipAurabindo Pillai1-1/+1
2022-09-29drm/amd/display: Disable MALL when TMZ surfaceAlvin Lee1-2/+6
2022-09-29drm/amd/display: Change EDID fallback conditionIlya Bakoulin1-1/+1
2022-09-29drm/amd/display: Remove interface for periodic interrupt 1Aric Cyr1-12/+4
2022-09-19drm/amd/display: rework recent update PHY state commitWenjing Liu1-16/+3