[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

[PATCH i-g-t] tests: Rename I915_MAX_PIPES to IGT_MAX_PIPES

2017-06-09 Thread sunpeng.li
From: "Leo (Sunpeng) Li" Name should not be driver-specific. Signed-off-by: Leo (Sunpeng) Li --- lib/igt_kms.c | 2 +- lib/igt_kms.h | 5 +++-- tests/kms_atomic_transition.c | 12 ++-- tests/kms_busy.c

[PATCH i-g-t v3] tests: Increase value of I915_MAX_PIPES to 6

2017-06-09 Thread sunpeng.li
From: "Leo (Sunpeng) Li" Increasing max pipe count to 6 to support AMD GPU's. Since some tests' behavior depends on this value, small changes are made to remove this dependency: * kms_ccs: Early abort if wanted_pipe is out-of-bounds. * kms_concurrent: Check if pipe is

[PATCH i-g-t v2] tests: Increase value of I915_MAX_PIPES to 6

2017-06-09 Thread sunpeng.li
From: "Leo (Sunpeng) Li" Increasing max pipe count to 6 to support AMD GPU's. Since some tests' behavior depends on this value, small changes are made to remove this dependency: * kms_ccs: Early abort if wanted_pipe is out-of-bounds. * kms_concurrent: Check if pipe is

[PATCH i-g-t] tests: Increase value of I915_MAX_PIPES to 6

2017-06-08 Thread sunpeng.li
From: "Leo (Sunpeng) Li" Increasing max pipe count to 6 to support AMD GPU's. Since some tests' behavior depends on this value, small changes are made to remove this dependency: * kms_ccs: Early abort if wanted_pipe is out-of-bounds. * kms_concurrent: Check if pipe is

<    3   4   5   6   7   8