RE: [PATCH 5/8] drm/amdgpu: According hardware design revert vce and uvd doorbell assignment

2017-07-25 Thread Min, Frank
Hi Alex, In sriov currently we only use only one encoding ring for uvd and vce. the logic here is to leave the unused doorbell location(for vce it is AMDGPU_DOORBELL64_VCE_RING2_3 * 2 + 1 and for uvd it is AMDGPU_DOORBELL64_UVD_RING2_3 * 2 + 1) for all the unused ring index. How about to

RE: [PATCH 8/8] drm/amdgpu/sdma4: Enable sdma poll mem addr on vega10 for SRIOV

2017-07-25 Thread Yu, Xiangliang
Got it, I'll change it later. Thanks! > From: Frank Min > > While doing flr on VFs, there is possibility to lost the doorbell > writing for sdma, so enable poll mem for sdma, then sdma fw would > check the pollmem holding wptr. > > Signed-off-by: Frank Min

Re: [PATCH 15/81] drm/amd/display: Re-enable Vsync Interrupts for Gradual Refresh Ramp

2017-07-25 Thread Michel Dänzer
On 25/07/17 10:53 PM, sunpeng...@amd.com wrote: > From: Amy Zhang > > - Make sure Vsync interrupts are disabled in static screen case > and enabled when not to save power What exactly does this mean? FWIW, the interrupt whose handler calls drm_handle_vblank() must be

Re: [PATCH 25/81] drm/amd/display: Remove unblanaced drm_vblank_put.

2017-07-25 Thread Michel Dänzer
On 25/07/17 10:53 PM, sunpeng...@amd.com wrote: > From: Andrey Grodzovsky > > Since drm_vblank_get moved from this function to just > before do_flip no need to release vblank here in case of error. > > Change-Id: Iedc900618da2a0c940f49fe63299c6ae3eec260d >

Changes for enabling ATS support from PTE

2017-07-25 Thread Yong Zhao
Hi there, Attached are two patches made to amdgpu in order to support ATS on Raven. Please review them. Regards, Yong >From 0657ddb14a16d1b809c419b51e805287fb6a9989 Mon Sep 17 00:00:00 2001 From: Yong Zhao Date: Thu, 20 Jul 2017 18:44:10 -0400 Subject: [PATCH 1/2]

[PATCH] drm/amd/powerplay: rv: Use designated initializers

2017-07-25 Thread Kees Cook
As done for vega10 in commit 3ddd396f6b57 ("drm/amd/powerplay: Use designated initializers") mark other tableFunction entries with designated initializers. The randstruct plugin requires designated initializers for structures that are entirely function pointers. Cc: Rex Zhu Cc:

[PATCH umr 2/4] Add ability to specify VMID in hex

2017-07-25 Thread Tom St Denis
Signed-off-by: Tom St Denis Acked-by: Alex Deucher --- doc/umr.1 | 5 +++-- src/app/main.c | 11 +++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/umr.1 b/doc/umr.1 index 9384c2430bda..0a991f9923a4 100644 ---

[PATCH umr 1/4] Remove 'risky' option --print command. (v2)

2017-07-25 Thread Tom St Denis
Signed-off-by: Tom St Denis Acked-by: Alex Deucher (v2) Remove --print from man page --- demo/update/read_sensor.sh | 2 +- doc/umr.1 | 9 - src/app/main.c | 8 +--- src/app/scan.c | 1 -

[PATCH umr 3/4] Various cleanups found by static analysis. (v2)

2017-07-25 Thread Tom St Denis
Signed-off-by: Tom St Denis Acked-by: Alex Deucher (v2): Updated enumerate to not stop on other AMD PCI devices --- src/app/enum.c | 4 +--- src/lib/create_asic_helper.c | 5 + src/lib/discover.c | 9 +++--

umr: Various cleanups and better VM decoding

2017-07-25 Thread Tom St Denis
This series is a revamp of the series I sent out earlier in the week. To recap: Patch #1 removes the risky option and --print command. Patch #2 allows you to specify VMIDs in hex as well as decimal Patch #3 is a couple of simple cleanups found by review and static checking. Patch #4

Re: [PATCH 8/8] drm/amdgpu/sdma4: Enable sdma poll mem addr on vega10 for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:18 AM, Xiangliang.Yu wrote: > From: Frank Min > > While doing flr on VFs, there is possibility to lost the doorbell > writing for sdma, so enable poll mem for sdma, then sdma fw would > check the pollmem holding wptr. > >

Re: [PATCH 7/8] drm/amdgpu/uvd7: optimize uvd initialization sequence for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:17 AM, Xiangliang.Yu wrote: > From: Frank Min > > 1.Since in sriov there is no need of decoding, so skip the related code; > 2.Vcpu boot up and umc enable need to take at the end of the init sequence; > > Signed-off-by: Frank

Re: [PATCH 6/8] drm/amdgpu/vce4: optimize vce 4.0 init table sequence for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:17 AM, Xiangliang.Yu wrote: > From: Frank Min > > Optimize init table sequence for sriov. > > Signed-off-by: Frank Min > Signed-off-by: Xiangliang.Yu Acked-by: Alex Deucher

Re: [PATCH 5/8] drm/amdgpu: According hardware design revert vce and uvd doorbell assignment

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:17 AM, Xiangliang.Yu wrote: > From: Frank Min > > Now uvd doorbell is from 0xf8-0xfb and vce doorbell is from 0xfc-0xff > > Signed-off-by: Frank Min > Signed-off-by: Xiangliang.Yu >

Re: [PATCH 4/8] drm/amdgpu: Skip uvd and vce ring test for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:17 AM, Xiangliang.Yu wrote: > From: Frank Min > > Since rptr would not be accessed on later secure asics in sriov, remove > the ring test. > > Signed-off-by: Frank Min > Signed-off-by: Xiangliang.Yu

Re: [PATCH 2/8] drm/amdgpu: Enable uvd and vce gpu re-init for SRIOV gpu reset

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:16 AM, Xiangliang.Yu wrote: > From: Frank Min > > Add uvd and vce re-init after gpu reset. > > Signed-off-by: Frank Min > Signed-off-by: Xiangliang.Yu Acked-by: Alex Deucher

Re: [PATCH 1/8] drm/amdgpu: Clear vce ring wptr for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:16 AM, Xiangliang.Yu wrote: > From: Frank Min > > MMSCH FW need to get the wptr from 0 after it get the mailbox request > from driver, since every time kick the mailbox, mmsch thinks that it > is the first time engine start to

Re: [PATCH] drm/amdgpu: fix spelling mistake: "suuport"-> "support"

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 4:40 AM, Christian König wrote: > Am 25.07.2017 um 00:45 schrieb Colin King: >> >> From: Colin Ian King >> >> Trivial fix to spelling mistake in WARN_ONCE message >> >> Signed-off-by: Colin Ian King

Re: [PATCH 6/6] drm/amdgpu: change gartsize default to 256MB

2017-07-25 Thread Andy Furniss
Bit late, but this causes a startup fail for me with r9 285 , nothing logged, just a blank screen when the driver loads. Heads of both amd-staging-4.11 and drm-next-4.14-wip both failing. Deucher, Alexander wrote: -Original Message- From: amd-gfx

[PATCH 80/81] drm/amd/display: powergate fe of reused pipes to reset ttu

2017-07-25 Thread sunpeng.li
From: Eric Yang When we exit MPO, disconnected pipes cannot be immediately powergated because registers are double buffered, and actual disconnection does not happen until VUPDATE. So it is differred for many flips. However in the case of exiting full screen, the transition

[PATCH 73/81] drm/amd/display: Fix S3 gamma corruption.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky On S3 resume gamma is corrupted since no gamma programming took place. Change-Id: I99029b281241a688635317c05aa8dc0c3cee8bdc Signed-off-by: Andrey Grodzovsky Reviewed-by: Tony Cheng Acked-by:

[PATCH 68/81] drm/amd/display: Preserve refcount for S3 case.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Curent_context is zerroed out for suspend, keep the refcount. Minor code move in dc_commit_context_no_check Change-Id: I45b7fa4b0a7df54f1621f6306ef9e31c9ebe25eb Signed-off-by: Andrey Grodzovsky Reviewed-by: Tony

[PATCH 79/81] drm/amd/display: Add regkey for DRR control for internal panel

2017-07-25 Thread sunpeng.li
From: Anthony Koo Also need to change default to off Change-Id: I34f40f2a921e9b0717e5c1007e4176265a2ecda4 Signed-off-by: Anthony Koo Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 78/81] drm/amd/display: revert order change of HUBP and MPC disable

2017-07-25 Thread sunpeng.li
From: Tony Cheng - root cause was we disable opp clk in MPC disconnect - hubp_blank is not double buffered, so we can't blank until MPC disconnect or we have risk of underflow Change-Id: Ic767e4cfbdec5d68c118c3ed818c10543c771967 Signed-off-by: Tony Cheng

[PATCH 53/81] drm/amd/display: Attach surface to dm_plane_state.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Attach surface to state. Remove Create surface from commit. Propogate any surface creation and initialization error back to atomic_check caller. clean outdated code in check and commit. Change-Id: I42d1dc91e152e44dafb9a2ee321af9277a0dd44d

[PATCH 81/81] drm/amd/display: Do not release state objects on atomic check fail

2017-07-25 Thread sunpeng.li
From: "Leo (Sunpeng) Li" In any drm ioctl call, drm_atomic_state_clear() is called at the end to destroy the states; even if atomic check fails. Therefore, releasing states on atomic check failure is incorrect. Change-Id: I26f9b1f244b171b71fd34e46df7ecf69c46c271d

[PATCH 45/81] drm/amd/display: minor dcn10_hwseq clean up/refactor

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: I6b2040078c2d94ec0604457a1376a386347b9ec0 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 75/81] drm/amd/display: fix DVI connected to HDMI connector max tmds clock

2017-07-25 Thread sunpeng.li
From: Charlene Liu Change-Id: If1f43f6c7f8ed8485fcc1bda83933dedb4d76ef1 Signed-off-by: Charlene Liu Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 57/81] drm/amd/display: Skip DC validation for flips and cursor.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Nothing to validate in DC in this case. Skip it. Change-Id: I2e736e7c9d995a1bd702181912fd62f1e2ab4113 Signed-off-by: Andrey Grodzovsky Reviewed-by: Roman Li Acked-by: Harry Wentland

[PATCH 66/81] drm/amd/display: fix mpo exit hang

2017-07-25 Thread sunpeng.li
From: Eric Yang Change-Id: I163fb3501061e58c98c8ca8cbf38a086d8e3a6d6 Signed-off-by: Eric Yang Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 17

[PATCH 41/81] drm/amd/display: Refactor dc_commit_streams

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Change it to sue dc_commit_context. dc_commit_context is used directly from Linux DM. Change-Id: I1bd98f7579afe1c3859b78bf04612f81c982b200 Signed-off-by: Andrey Grodzovsky Reviewed-by: Tony Cheng

[PATCH 44/81] drm/amd/display: get dal1.1 to run

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: Ieb0a201e5a902dff53a019ed61a886115eb2248c Signed-off-by: Dmytro Laktyushkin Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 32/81] drm/amd/display: Use validate_context from atomic_check in commit

2017-07-25 Thread sunpeng.li
From: Harry Wentland Change-Id: Ida1fba58e640e14f81a626309e8906f9d526ee75 Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 62/81] drm/amd/display: avoid disabling opp clk before hubp is blanked.

2017-07-25 Thread sunpeng.li
From: Tony Cheng Change-Id: I6293b0c82073ca74fc9ace7426df291149215f90 Signed-off-by: Tony Cheng Reviewed-by: Eric Yang Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 7

[PATCH 74/81] drm/amd/display: link training fallback actions

2017-07-25 Thread sunpeng.li
From: Ding Wang Change-Id: Ic9a00fdffa1809d00a725a067ce9d97ae0df0586 Signed-off-by: Ding Wang Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 239

[PATCH 09/81] drm/amd/display: add hyst frames for fixed refresh

2017-07-25 Thread sunpeng.li
From: Anthony Koo Change-Id: I084385a7647f8b602b0fa09022a21b41f72b94a4 Signed-off-by: Anthony Koo Reviewed-by: Anthony Koo Acked-by: Harry Wentland --- .../drm/amd/display/modules/freesync/freesync.c|

[PATCH 52/81] drm/amd/display: Clean dm_plane_state hooks.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky New surface is created in check only, in duplicate we just reference exsisting surface and in destroy we release it. Change-Id: I8a04cb7bdca9924a95929c19ad2bbbe3d80e6bd5 Signed-off-by: Andrey Grodzovsky Reviewed-by:

[PATCH 20/81] drm/amd/display: Rename DCN TG specific function prefixes to tg

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: Ic6149eb2cb5bbfc33e8dc9e24c808bb7716a6715 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Charlene Liu Acked-by: Harry Wentland ---

[PATCH 16/81] drm/amd/display: Enabling VSR on 4K display causes black screen

2017-07-25 Thread sunpeng.li
From: Charlene Liu Change-Id: I783aa77e73568c676978226f30dbecac4fe16c1f Signed-off-by: Charlene Liu Reviewed-by: Anthony Koo Acked-by: Harry Wentland ---

[PATCH 30/81] drm/amd/display: Commit validation set from state

2017-07-25 Thread sunpeng.li
From: Harry Wentland Change-Id: If474c444f6dc902b632ce068b6fac2428bac52b2 Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 71/81] drm/amd/display: hwseq init sequence update

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: I75f76b72d998e0ee77ce22f8746be29681e60c72 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 65/81] drm/amd/display: ensure OTG is locked before proceeding

2017-07-25 Thread sunpeng.li
From: Tony Cheng also remove tg lock at init_hw as not all OTG is running Change-Id: Ia95a2b8a603f3e6d8ddbb83c9be07d36d719270a Signed-off-by: Tony Cheng Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 13/81] drm/amd/display: Change max OPP

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: I168eae802586fda2bdd0af7ab8fdc3921937a5d1 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 33/81] drm/amd/display: Update atomic state hooks.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Reimplement atomic_state_alloc and atomic_state_clear to release validate_ctx. Change-Id: I57be6be9d570a90ab355731eed4defe53f3f3fcb Signed-off-by: Andrey Grodzovsky Reviewed-by: Tony Cheng

[PATCH 38/81] drm/amd/display: block modes that require read bw greater than 30%

2017-07-25 Thread sunpeng.li
From: Eric Yang Change-Id: I31d3086ac15522c9ed66e23be3d0cf6d7edf342d Signed-off-by: Eric Yang Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 18

[PATCH 61/81] drm/amd/display: dc_validate_ctx refocunt fixes.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky In dc_resource_validate_ctx_copy_construct don't override dst context refcount. Remove extra retain to new ctx in dc_update_surfaces_and_stream Change-Id: Ia665b3deb3c6cbe034cb31644b9a8b971d8d Signed-off-by: Andrey Grodzovsky

[PATCH 58/81] drm/amd/display: Release dm_state->context when state is cleared.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Handling a use case of TEST_ONLY request from DRM where commit is not goiing to be called. We need to release the allocated dc_validate_context in this case. Change-Id: I98d88703f6575a290758fa37a6b58602b5e10bb2 Signed-off-by: Andrey Grodzovsky

[PATCH 11/81] drm/amd/display: Add extra mode and clock info to DTN logs

2017-07-25 Thread sunpeng.li
From: Corbin McElhanney Adds some additional information to logs in dc_commit_streams to better match Dal2. Also adds a new function, dc_raw_log, that has the same functionality as dc_conn_log, but does not attach display specific prefixes to the log output. Finally,

[PATCH 48/81] drm/amd/display: dal1.1 xfm prog update

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: Ide48a560f8f76d650380e09c36518963c652 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 22/81] drm/amd/display: Rename DCN opp specific function prefixes to oppn10

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Also update relevant registers. Change-Id: I188076866f25dcf652af25e5bac2f07e908fddde Signed-off-by: Dmytro Laktyushkin Reviewed-by: Charlene Liu Acked-by: Harry Wentland

[PATCH 21/81] drm/amd/display: Rename DCN mem input specific function prefixes to min.

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Also updated relevant registers. Change-Id: I787f75d546b833919612fc5494c93dd281dbfcd9 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland

[PATCH 63/81] drm/amd/display: fix 4k@30 with 10bit deep color and avi for BT2020

2017-07-25 Thread sunpeng.li
From: Charlene Liu Change-Id: I064a87f09f1254f61bde94b0546855b98f4ab211 Signed-off-by: Charlene Liu Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/core/dc_resource.c |

[PATCH 69/81] drm/amd/display: Release cached atomic state in S3.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Fixes memory leak. Change-Id: I32f68c72d11695f49bb8328a11e89922818fb9fe Signed-off-by: Andrey Grodzovsky Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 29/81] drm/amd/display: Add correct retain/release

2017-07-25 Thread sunpeng.li
From: Harry Wentland Needed by objs in dm_atomic_state Change-Id: I78ccd1fba5022dd686b5df290534b86fa089e30a Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 70/81] drm/amd/display: add line number to reg_wait timeout print

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: I116b51dce6e496ea5bec51131307890f64985755 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 50/81] drm/amd/display: Fix context copy memory leak

2017-07-25 Thread sunpeng.li
From: Corbin McElhanney This change corrects an error introduced in 355f123f. Instead of using the copy constructor to assign the new context, we swap the pointer. Change-Id: Ic765e1ce78cd9f731486c1c44ad10c9c95f2c8ad Signed-off-by: Corbin McElhanney

[PATCH 64/81] drm/amd/display: Get freesync properties

2017-07-25 Thread sunpeng.li
From: Harry Wentland Eventually we should create proper atomic properties for freesync but currently freesync is broken and we still have the legacy properties. Simply return the legacy properties. Change-Id: Ie5b8fb77e9886ef9d56b321317f78098522d52f6 Signed-off-by: Harry

[PATCH 56/81] drm/amd/display: Introduce refcount for dc_validate_context

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Linux requires to be able to release allocated context in case it was never commited. Change-Id: I6b0faa72c995d77c0bb21ba8aabb9bdc3b0e2770 Signed-off-by: Andrey Grodzovsky Reviewed-by: Dmytro Laktyushkin

[PATCH 43/81] drm/amd/display: Fix MPO visual confirm

2017-07-25 Thread sunpeng.li
From: Anthony Koo 1. Need to blend non-active area to show visual confirm borders 2. Set number of Visual Confirm lines based on pipe instance 3. Set Different colors representing surface format of bottom most plan Change-Id: I800a99f80ed2829e3e18fd8b4cb60ff9b396fd30

[PATCH 46/81] drm/amd/display: dal1.1 opp prog update

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: Ieafde1bbc30f5d4dd06136b9940d8c85d8d669f6 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 34/81] drm/amd/display: Remove acrtc->stream

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Remove acrtc->stream and move it into dm_crtc_state. This allows to get rid of dm_atomic_state->dm_set. Also reuse streams created in atomic_check during commit. Change-Id: I8d9868695a3a530c55e7fa934f9d5ea3800dfb8b Signed-off-by: Andrey

[PATCH 39/81] drm/amd/display: Change how we disable pipe split

2017-07-25 Thread sunpeng.li
From: Eric Yang Before this change, pipe split was disabled by bumping up dpp clock bounding box for DPM level 0 and 1, this allows validation to pass without splitting at a lower DPM level. This change reverts this and instead lowers display clock at DPM level 0, this forces

[PATCH 47/81] drm/amd/display: dal1.1 ipp prog update

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: Ic61bc0018ddc6fa04c065d1520ed7912d9044fd8 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 55/81] drm/amd/display: change non_dpm0 state's default SR latency

2017-07-25 Thread sunpeng.li
From: Charlene Liu Change-Id: I007042fc257012639bab29c5df6c7c347239dd3d Signed-off-by: Charlene Liu Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 36/81] drm/amd/display: update DPM bounding box

2017-07-25 Thread sunpeng.li
From: Tony Cheng value based on STA target aligned to FCLK for SS corners with 10% margin also - group all latency together - group all voltage state related together Change-Id: I16619d3d919e021c5ff233b842e62c34f20e27e3 Signed-off-by: Tony Cheng

[PATCH 59/81] drm/amd/display: Fix eDP power isn't off when lid close

2017-07-25 Thread sunpeng.li
From: John Wu Change-Id: I7acda62e64f358f3a19040cded97e1278b98e5a5 Signed-off-by: John Wu Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 4 +++- 1 file

[PATCH 03/81] drm/amd/display: Make mode_config_funcs const

2017-07-25 Thread sunpeng.li
From: Harry Wentland Change-Id: I33cb540471368b4013261b658770e6207870f262 Signed-off-by: Harry Wentland Reviewed-by: Andrey Grodzovsky Acked-by: Harry Wentland ---

[PATCH 07/81] drm/amd/display: fix dcn pipe reset sequence

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin This change fixes dcn10 front end reset sequence. Previously we would reset front end during flip which led to issues in certain MPO and 4k/5k scenarios. We would also never properly power gate our front end. Change-Id:

[PATCH 40/81] drm/amd/display: call pplib to update clocks

2017-07-25 Thread sunpeng.li
From: Eric Yang Allow pplib to update fclk and dcfclk for different voltage levels. PPlib's values for dispclk and phyclk is not correct, so we are not getting it from them. fclk is currently not used correctly, although does not effect the actual fclk we request. Change-Id:

[PATCH 28/81] drm/amd/display: Hook dm private state into atomic_check

2017-07-25 Thread sunpeng.li
From: Harry Wentland Change-Id: Ia39ff138e644e6cbe0acaef755a8c77bb5c5919c Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 18/81] drm/amd/display: Fix for hdmi frame pack stereo

2017-07-25 Thread sunpeng.li
From: Vitaly Prosyak Change-Id: Ifac9634dfbca459afe63fc1e2396ac060c32f7c4 Signed-off-by: Vitaly Prosyak Reviewed-by: Charlene Liu Acked-by: Harry Wentland ---

[PATCH 23/81] drm/amd/display: Enable ipp compilation

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Update relevant registers Change-Id: Ic52d3a87ac72420b9919e0ba81d936e5137a120c Signed-off-by: Dmytro Laktyushkin Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland

[PATCH 77/81] drm/amd/display: fix aviInfoFrame bar Info and add set_avMute

2017-07-25 Thread sunpeng.li
From: Charlene Liu Change-Id: I8933d7bafe3b3cc18bc5aa41cedd89879d59de5a Signed-off-by: Charlene Liu Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 60/81] drm/amd/display: change order of HUBP and MPC disable according to HW guide

2017-07-25 Thread sunpeng.li
From: Tony Cheng blank hubp first before disconnect MPC Change-Id: Ibd593dead3fda16e47a79b3c20403b6904aa3981 Signed-off-by: Tony Cheng Reviewed-by: Eric Yang Acked-by: Harry Wentland ---

[PATCH 72/81] drm/amd/display: Move view port registers and programming to memory input.

2017-07-25 Thread sunpeng.li
From: Vitaly Prosyak Change-Id: I286753b972379133fa2da57b53a39001c9cf5aa5 Signed-off-by: Vitaly Prosyak Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 00/81] DC Linux Patches Jul 25, 2017

2017-07-25 Thread sunpeng.li
From: "Leo (Sunpeng) Li" * Start of cleanup for midlayer abstractions * Laying down foundations for FBC * Future-proofing of DCN functions * Pipe splitting features for Raven * General bug fixes for Raven Amy Zhang (1): drm/amd/display: Re-enable Vsync Interrupts for

[PATCH 31/81] drm/amd/display: Add validate_context to atomic_state

2017-07-25 Thread sunpeng.li
From: Harry Wentland Change-Id: I702516607ad0682339d41bba627e7f1674d4b050 Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 24/81] drm/amd/display: Remove SMU_INTERRUPT_CONTROL

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: Iff671ee2c27f85732763cb1293f24949883d67e3 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 12/81] drm/amd/display: enable diags compilation

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: Iea5cddde246293d3b22b66eb7d3956b167767b3d Signed-off-by: Dmytro Laktyushkin Reviewed-by: Jordan Lazare Acked-by: Harry Wentland ---

[PATCH 06/81] drm/amd/display: remove unneeded FBC hw programming code

2017-07-25 Thread sunpeng.li
From: Bhawanpreet Lakha - Removed uneeded FBC code. - Initial placeholder for FBC implementation on stoney/carrizo Change-Id: I425164e76d7be44ab397323eac99fba57d1b3826 Signed-off-by: Bhawanpreet Lakha Reviewed-by: Roman Li

[PATCH 51/81] drm/amd/display: Leave all validate_ctx life cycle management to DC.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Follow DC fix. Change-Id: I6ceb43a7703fca170bb147106ec78b74f73cadb3 Signed-off-by: Andrey Grodzovsky Reviewed-by: Dmytro Laktyushkin Acked-by: Harry Wentland ---

[PATCH 14/81] drm/amd/display: Add DC interface for custom CSC matrix

2017-07-25 Thread sunpeng.li
From: Yue Hin Lau Change-Id: Idfbcebd90fe9953f7efadb388d246c59120baea8 Signed-off-by: Yue Hin Lau Reviewed-by: Vitaly Prosyak Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/core/dc.c

[PATCH 27/81] drm/amd/display: Create dm_atomic_state

2017-07-25 Thread sunpeng.li
From: Harry Wentland We really want to use the new private_atomic_state but can't right now as we have to maintain some backward compatibility to older kernels. For now let's follow Intel's approach and extend the drm_atomic_state. Change-Id:

[PATCH 15/81] drm/amd/display: Re-enable Vsync Interrupts for Gradual Refresh Ramp

2017-07-25 Thread sunpeng.li
From: Amy Zhang - Make sure Vsync interrupts are disabled in static screen case and enabled when not to save power - Create no_static_for_external_dp debug option Change-Id: I29c90dcd6ea43e15e52a4dacf1e5ce91d32ac9a1 Signed-off-by: Amy Zhang Reviewed-by:

[PATCH 05/81] drm/amd/display: Add clock info struct

2017-07-25 Thread sunpeng.li
From: Corbin McElhanney Change-Id: I2cca4d886b0993fc0512312c35c42d08c3ad34be Signed-off-by: Corbin McElhanney Reviewed-by: Logatharshan Thothiralingam Acked-by: Harry Wentland

[PATCH 26/81] drm/amd/display: set drr during program timing.

2017-07-25 Thread sunpeng.li
From: Yongqiang Sun Change-Id: Id3b33d30fac6badc1d5b8bb0dbebfb620e7e06cd Signed-off-by: Yongqiang Sun Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 49/81] drm/amd/display: dal1.1 hwseq prog update

2017-07-25 Thread sunpeng.li
From: Dmytro Laktyushkin Change-Id: I201b96af4efc95077d3cc54c6fbe810b337cf4a1 Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 10/81] drm/amd/display: Connect DC resource to FBC compressor

2017-07-25 Thread sunpeng.li
From: Bhawanpreet Lakha - Connected DC resource to FBC compressor, - Initial Implementation of FBC for Stoney/Carrizo - Code is currently guarded with "ENABLE_FBC" compile time flag Change-Id: Ie5977bb58febdca4cb25206846d7e81ae528029c Signed-off-by: Bhawanpreet Lakha

[PATCH 25/81] drm/amd/display: Remove unblanaced drm_vblank_put.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Since drm_vblank_get moved from this function to just before do_flip no need to release vblank here in case of error. Change-Id: Iedc900618da2a0c940f49fe63299c6ae3eec260d Signed-off-by: Andrey Grodzovsky Reviewed-by:

[PATCH 19/81] drm/amd/display: Set static screen register for stoney/carrizo

2017-07-25 Thread sunpeng.li
From: Bhawanpreet Lakha -Set CRTC_STATIC_SCREEN_EVENT for stoney/carrizo for FBC implementation -Code is currently guarded with "ENABLE_FBC" compile time flag Change-Id: Ia471b516b6b9fd399539be3b349c1970f19fa234 Signed-off-by: Bhawanpreet Lakha

[PATCH 08/81] drm/amd/display: Move dm_plane_state to DAL header.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky Change-Id: I3910605f43577f1dec99dbc50ea1ed82baf1db34 Signed-off-by: Andrey Grodzovsky Reviewed-by: Harry Wentland --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h | 5 + 1 file

[PATCH 17/81] drm/amd/display: Coding for backcompatible tiling support for Gfx7

2017-07-25 Thread sunpeng.li
From: Vikrant Mhaske after the diags build error correction. Change-Id: If851c70ecfad2ebc3dfaea6c0e772406d547d584 --- .../gpu/drm/amd/display/dc/dcn10/dcn10_mem_input.h | 1615 +--- 1 file changed, 1060 insertions(+), 555 deletions(-) diff --git

[PATCH 01/81] drm/amd/display: RV stereo support

2017-07-25 Thread sunpeng.li
From: Ken Chalmers Fix moving directly from frame packed to frame sequential mode: disable OTG_3D_STRUCTURE_EN if the stereo mode is not frame packed. Change-Id: I67d1a9b112f438b881104f4fe3ab1cdd41fedbdc Signed-off-by: Ken Chalmers Reviewed-by:

[PATCH 04/81] drm/amd/display: Create dm_crtc_state stubs.

2017-07-25 Thread sunpeng.li
From: Andrey Grodzovsky These stubs are initial only since we need to flatten DC objects (steran at least) to implement deep copy. Change-Id: I6e16cddf0b937b5f078443924dab286481db2f13 Signed-off-by: Andrey Grodzovsky Reviewed-by: Harry

[PATCH 02/81] drm/amd/display: Move drm_get_vblank from legacy code

2017-07-25 Thread sunpeng.li
From: "Leo (Sunpeng) Li" Previously, we assumed that allow_modeset=false => page flip. This assumption breaks when an atomic commit is submitted with allow_modeset set to false, since the legacy flip code is never called (the legacy code grabs the vblank reference). Fix:

[PATCH 76/81] drm/amd/display: properly turn off unused mpc before front end programming

2017-07-25 Thread sunpeng.li
From: Eric Yang MPCC_OPP_ID must be programmed to 0xf to properly turn off the mpcc. However the software state of the mpcc must keep track of the opp that the mpcc is attached to for reset to properly happen. This is kinda hacky right now, but a good solution may involve a

Re: iMac 10,1 with Ubuntu 16.04: black screen after suspend

2017-07-25 Thread Florian Echtler
On 25.07.2017 07:14, Mario Kleiner wrote: > On 07/24/2017 03:45 PM, Florian Echtler wrote: > > That's the same here with my patch applied. After a suspend -> resume, the > internal panel stays black, the patch doesn't help for that. Somethig i didn't > notice btw., apparently i never

Re: [PATCH 4/4] drm/amdgpu/gmc9: disable legacy vga features in gmc init

2017-07-25 Thread Harry Wentland
Not an expert on GMC but this seems to be the right place to do this in the sequence. For the series: Acked-by: Harry Wentland Harry On 2017-07-24 11:19 PM, Alex Deucher wrote: > Needs to be done when the MC is set up. > > Signed-off-by: Alex Deucher

答复: [PATCH 1/4] drm/amdgpu/gmc6: disable legacy vga features in gmc init (v2)

2017-07-25 Thread Qu, Jim
Hi Christian: Could you share your minds when you are on second glance? Thanks JimQu 发件人: amd-gfx 代表 Christian König 发送时间: 2017年7月25日 17:17 收件人: Alex Deucher;

Re: iMac 10,1 with Ubuntu 16.04: black screen after suspend

2017-07-25 Thread Lukas Wunner
On Tue, Jul 25, 2017 at 07:14:23AM +0200, Mario Kleiner wrote: > On 07/24/2017 03:45 PM, Florian Echtler wrote: > > thanks for the hint. I've applied this patch to the v4.12 tree I'm > > currently running, and it didn't seem to make any difference (i.e. > > display stays black after suspend). > >

  1   2   >