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
Reviewed-by: Christian König
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Tue, Jul 25, 2017 at 01:06:42PM +0800, Huang Rui wrote:
> On Tue, Jul 25, 2017 at 04:06:00AM +, Deucher, Alexander wrote:
> > > -Original Message-
> > > From: Alex Deucher [mailto:alexdeuc...@gmail.com]
> > > Sent: Monday, July 24, 2017 11:31 PM
> > > To: amd-gfx@lists.freedesktop.or
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
Signed-off-by: Xiangliang.Yu
---
drivers/gpu/drm/amd/amdgpu/uvd_v7_
Am 25.07.2017 um 05:30 schrieb Alex Deucher:
Needs to be done when the MC is set up.
v2: make consistent with other asics
Signed-off-by: Alex Deucher
On first glance it kind of looks a bit odd to have that in the GMC code,
but on second glance it actually makes sense.
Christian.
---
d
From: Frank Min
Add uvd and vce re-init after gpu reset.
Signed-off-by: Frank Min
Signed-off-by: Xiangliang.Yu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++-
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 3 +--
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 4 +---
3 files changed, 4 in
From: Frank Min
Optimize init table sequence for sriov.
Signed-off-by: Frank Min
Signed-off-by: Xiangliang.Yu
---
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/vce
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
---
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 58 +++
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
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 4 ++--
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 3 +++
2 files changed, 5 insertions(+),
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
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 3 +++
driver
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
---
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 10 ++
1 file changed, 6 insertions(+), 4 delet
Vega10 also support virtual display, remove the error message.
Signed-off-by: Xiangliang.Yu
---
drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
index 6487e40..5e6d6
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/amd/amdgpu/uvd_v7_0.c | 6 --
drivers/gpu/drm/amd/amdgpu/vce_v4_0
The term "legacy VGA" sounds like the whole render functionality which
actually isn't part of the GMC AFAIK.
But what Alex primary disables here is the old VGA BAR in the CPU
address space and that is part of the GMC (or at least related to it).
BTW: Patch are Acked-by: Christian König .
Chr
Am 25.07.2017 um 11:50 schrieb Xiangliang.Yu:
Vega10 also support virtual display, remove the error message.
Signed-off-by: Xiangliang.Yu
Reviewed-by: Christian König
---
drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/a
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).
>
>
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; amd-gfx@lists.freedesktop.org
抄送: Deucher, Alexander
主题: Re: [PATCH 1/4] drm/amdgpu/gmc6: dis
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
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v9
Not an expert on GMC but this seems to be the best place to disable VGA
render.
Series is Acked-by: Harry Wentland
Harry
On 2017-07-25 06:12 AM, Christian König wrote:
> The term "legacy VGA" sounds like the whole render functionality which
> actually isn't part of the GMC AFAIK.
>
> But what
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 suspend->resu
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 lot of work.
Change-I
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: Move drm_vblank_get() fr
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 Wentland
---
.../drm/amd/display/amdgpu_dm/amdgpu_dm_type
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
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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
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: 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
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: 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: 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: 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: "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: 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: 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: 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: 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: "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: 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: 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: 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: 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: 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
1 - 100 of 122 matches
Mail list logo