> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Min, Frank
> Sent: Tuesday, July 25, 2017 10:17 PM
> To: Alex Deucher; Yu, Xiangliang
> Cc: amd-gfx list
> Subject: RE: [PATCH 5/8] drm/amdgpu: According hardware design revert vce
> and uvd d
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 change
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
> Signed-off-by: Xiangliang.Yu
> --
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 enabled from when the
drm_
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
> Signed-off-by: Andrey Grodzovsky
> Rev
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] drm/amdgpu: Add support fo
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: Hawking Zhang
Cc:
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
--- a/doc/umr.1
+++ b/doc/umr.1
@@ -89,8 +89,9 @@ will
This patch involves two things I was working on at once so the
patches are a bit intertwined. It adds
1. The ability to halt SQ waves when reading waves on CIK and later
ASICs.
2. The ability to enable verbose decoding when reading vram
3. The ability to decode virtual addresses in the mmhub
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 includes
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 -
src/app/set_bit.c | 1 -
src/app/set_reg
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 +++--
src/lib/mmio.c | 8
4 files chang
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.
>
> Signed-off-by: Frank Min
> Signed-off-by: Xiangl
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 Min
> Signed-off-by: Xiangliang.Yu
Acked-b
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
> ---
> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 3 ++-
> 1 file changed, 2 insertions(+), 1
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
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 18 +-
> drivers/gpu/drm
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
Acked-by: Alex Deucher
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_v
On Tue, Jul 25, 2017 at 5:17 AM, Xiangliang.Yu wrote:
> From: Frank Min
>
> Interrupt enable is contained in vce init table and this register could
> not be accessed in secure ASICs, so just remove it.
>
> Signed-off-by: Frank Min
> Signed-off-by: Xiangliang.Yu
Acked-by: 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
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++-
> drivers/gpu/drm/amd/amdgpu/uv
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 initialize.
>
> Signed-off-by: Frank Min
>
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
This is actually already fixed in code slated to go upstream in the next
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 [mailto:amd-gfx-boun...@lists.freedeskt
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 from MPO
to grph only
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: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 2 ++
1 file ch
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 Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/d
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
---
drivers/gpu/drm/amd/display/dc/dc.h| 1 -
.../drm/amd/display/modules/freesync/freesync.c
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
Reviewed-by: Eric Yang
Acked-by: Harry
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
Signed-off-by: Andrey Grodzovsky
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
Signed-off-by: Leo (Sunpeng) Li
From: Dmytro Laktyushkin
Change-Id: I6b2040078c2d94ec0604457a1376a386347b9ec0
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
.../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 49 ++
1 file changed, 12 insertions(+), 37 del
From: Charlene Liu
Change-Id: If1f43f6c7f8ed8485fcc1bda83933dedb4d76ef1
Signed-off-by: Charlene Liu
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/amd/
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
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/core/dc.c |
From: Dmytro Laktyushkin
Change-Id: Ieb0a201e5a902dff53a019ed61a886115eb2248c
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 2 +-
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c | 2 +-
2 file
From: Harry Wentland
Change-Id: Ida1fba58e640e14f81a626309e8906f9d526ee75
Signed-off-by: Harry Wentland
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
.../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 18 --
drivers/gpu/drm/amd/display/dc/core/dc.c | 71 +++-
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
---
.../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 35 +++---
1
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 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/dri
From: "Leo (Sunpeng) Li"
Flattening dc transfer functions in the following manner:
transfer_func > core_transfer_func > dc_transfer_func
References to deleted structs are updated as needed.
Change-Id: I7cafcd7231f67a75c6217b765a23ebffe03f3cea
Signed-off-by: Leo (Sunpeng) Li
Reviewed-by: Tony C
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 +++
.../gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 18 ++--
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 +
drivers/gpu/drm/amd/display/dc/dc.h| 2 +-
drive
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| 56 ++
1 file changed, 36 insertions(+), 20 deletions(-)
diff --git
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: Tony Cheng
Acked-by: Harry Wentland
---
.../drm/amd/
From: Dmytro Laktyushkin
Change-Id: Ic6149eb2cb5bbfc33e8dc9e24c808bb7716a6715
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Charlene Liu
Acked-by: Harry Wentland
---
.../amd/display/dc/dcn10/dcn10_timing_generator.c | 159 +
.../amd/display/dc/dcn10/dcn10_timing_generato
From: Charlene Liu
Change-Id: I783aa77e73568c676978226f30dbecac4fe16c1f
Signed-off-by: Charlene Liu
Reviewed-by: Anthony Koo
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/d
From: Harry Wentland
Change-Id: If474c444f6dc902b632ce068b6fac2428bac52b2
Signed-off-by: Harry Wentland
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
.../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 34 +++---
drivers/gpu/drm/amd/display/dc/core/dc.c | 118 ++
From: Dmytro Laktyushkin
Change-Id: I75f76b72d998e0ee77ce22f8746be29681e60c72
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 8 +++-
.../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 51 +-
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
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 --
drivers/gpu/drm/
From: Dmytro Laktyushkin
Change-Id: I168eae802586fda2bdd0af7ab8fdc3921937a5d1
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dri
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
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
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 +-
drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h | 1 +
2 files changed
From: Eric Yang
Move number of memory channel calculation out of dcn_bw_update_from_pplib
Fill in fabric_and_dram_bandwidth for single channel case.
Change-Id: I7a485126250489b01b9b7885fd9aba00e5e886c4
Signed-off-by: Eric Yang
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu
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
Reviewed-by: Tony Cheng
Acked-by: Harry
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
Reviewed-by: Tony Cheng
Ac
From: Dmytro Laktyushkin
Change-Id: I31e928133414e632872bc9f78fb5b8ec6e9ea479
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 177 ++-
.../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 530 +
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, adds a new DC log type, LOG
From: Dmytro Laktyushkin
Change-Id: Ide48a560f8f76d650380e09c36518963c652
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
.../gpu/drm/amd/display/dc/dcn10/dcn10_transform.c | 10 ++---
.../gpu/drm/amd/display/dc/dcn10/dcn10_transform.h | 43 +
From: Dmytro Laktyushkin
Also update relevant registers.
Change-Id: I188076866f25dcf652af25e5bac2f07e908fddde
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Charlene Liu
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c | 189 ++---
drivers/gpu/d
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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/
From: Andrey Grodzovsky
Fixes memory leak.
Change-Id: I32f68c72d11695f49bb8328a11e89922818fb9fe
Signed-off-by: Andrey Grodzovsky
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4
1 file changed, 4 insertions(+)
diff --git a/driv
From: Dmytro Laktyushkin
Also updated relevant registers.
Change-Id: I787f75d546b833919612fc5494c93dd281dbfcd9
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
.../gpu/drm/amd/display/dc/dcn10/dcn10_mem_input.c | 96 ++
.../gp
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
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 ++
drivers/gpu/drm/amd/display/
From: Dmytro Laktyushkin
Change-Id: I116b51dce6e496ea5bec51131307890f64985755
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dc_helper.c | 6 +++---
drivers/gpu/drm/amd/display/dc/dm_services.h| 2 +-
drivers/gpu/
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
Reviewed-by: Dmytro Laktyushkin
Acked-by: Ha
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 Wentland
Reviewed-by: J
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
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/core
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
Signed-off-by: Anthony Koo
From: Dmytro Laktyushkin
Change-Id: Ieafde1bbc30f5d4dd06136b9940d8c85d8d669f6
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drive
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 Grodzovsky
Reviewed-by: Tony Cheng
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
configurations that
From: Dmytro Laktyushkin
Change-Id: Ic61bc0018ddc6fa04c065d1520ed7912d9044fd8
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c | 99 +++-
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.h
From: Charlene Liu
Change-Id: I007042fc257012639bab29c5df6c7c347239dd3d
Signed-off-by: Charlene Liu
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu
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
Reviewed-by: Eric Yang
Acked-by: Harry Wentlan
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 changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/
From: Harry Wentland
Change-Id: I33cb540471368b4013261b658770e6207870f262
Signed-off-by: Harry Wentland
Reviewed-by: Andrey Grodzovsky
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/g
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: I54d1759c8024eb150e35ee29d29f396b69668d1d
Signed-of
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: I649ae641f5367507f4a
From: Harry Wentland
Change-Id: Ia39ff138e644e6cbe0acaef755a8c77bb5c5919c
Signed-off-by: Harry Wentland
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
.../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 64 +++---
.../drm/amd/display/amdgpu_dm/amdgpu_dm_types.h| 5
From: Vitaly Prosyak
Change-Id: Ifac9634dfbca459afe63fc1e2396ac060c32f7c4
Signed-off-by: Vitaly Prosyak
Reviewed-by: Charlene Liu
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 10 +-
drivers/gpu/drm/amd/display/dc/core/dc.c |3 +-
drivers/gp
From: Dmytro Laktyushkin
Update relevant registers
Change-Id: Ic52d3a87ac72420b9919e0ba81d936e5137a120c
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c | 19 ++---
drivers/gpu/drm/amd/display/dc
From: Charlene Liu
Change-Id: I8933d7bafe3b3cc18bc5aa41cedd89879d59de5a
Signed-off-by: Charlene Liu
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 10 ++
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 37
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
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 10 +++---
drivers/gpu/drm/amd/display/dc
From: Vitaly Prosyak
Change-Id: I286753b972379133fa2da57b53a39001c9cf5aa5
Signed-off-by: Vitaly Prosyak
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c | 36 -
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h | 36 -
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 Gradual Refresh Ramp
Andr
From: Harry Wentland
Change-Id: I702516607ad0682339d41bba627e7f1674d4b050
Signed-off-by: Harry Wentland
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 18 ++
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h|
From: Dmytro Laktyushkin
Change-Id: Iff671ee2c27f85732763cb1293f24949883d67e3
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/d
From: Andrey Grodzovsky
Restoring conditional call to in_transfer_func since no reason
to call it unconditionally.
Change-Id: I1b83df8e06f0e7bdb2688282310361993458a0a7
Signed-off-by: Andrey Grodzovsky
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/core/dc
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: I848bda7aa11d7731684e90e0d9e88191e8db8fb2
Signed-off-
From: Dmytro Laktyushkin
Change-Id: Iea5cddde246293d3b22b66eb7d3956b167767b3d
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Jordan Lazare
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c| 8 ++---
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.h| 41 --
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
Acked-by: Harry Wentland
---
.../drm/amd/display/dc/dce110/dce110_com
From: Andrey Grodzovsky
Follow DC fix.
Change-Id: I6ceb43a7703fca170bb147106ec78b74f73cadb3
Signed-off-by: Andrey Grodzovsky
Reviewed-by: Dmytro Laktyushkin
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 15 ---
1 file changed, 15 deletions(-)
d
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 | 26 +
drivers/gpu/drm/amd/display/dc/dc.h| 3 +
.../drm/amd/di
From: Corbin McElhanney
Change-Id: I2cca4d886b0993fc0512312c35c42d08c3ad34be
Signed-off-by: Corbin McElhanney
Reviewed-by: Logatharshan Thothiralingam
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dm_services_types.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/driv
From: Yongqiang Sun
Change-Id: Id3b33d30fac6badc1d5b8bb0dbebfb620e7e06cd
Signed-off-by: Yongqiang Sun
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
.../amd/display/dc/dce110/dce110_timing_generator.c | 21 +
.../amd/display/dc/dce120/dce120_timing_generator.c | 19 +
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: Anthony Koo
Acked-by: Harry Wentland
From: Dmytro Laktyushkin
Change-Id: I201b96af4efc95077d3cc54c6fbe810b337cf4a1
Signed-off-by: Dmytro Laktyushkin
Reviewed-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
di
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
Reviewed-by: Roman Li
Acke
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: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu
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
Reviewed-by: Roman Li
Acked-by: Harry Wentland
-
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 changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/a
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 a/drivers/gpu/drm/amd/display/dc
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: Vitaly Prosyak
Acked-by: Harry Wentland
---
dri
1 - 100 of 122 matches
Mail list logo