[PATCH 05/13] drm/amd/display: DMCU Compile and Load

2017-01-31 Thread Harry Wentland
From: Anthony Koo <anthony@amd.com> Change-Id: I8534864ab5d33b43d29c130e7dcfe381e8e0a52f Signed-off-by: Anthony Koo <anthony@amd.com> Reviewed-by: Aric Cyr <aric@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/c

[PATCH 04/13] drm/amd/display: Change power gating off sequence to fix hang

2017-01-31 Thread Harry Wentland
yongqiang@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/driver

[PATCH 07/13] drm/amd/display: Make new pixel clock more obvious

2017-01-31 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I9fc95de2518a0b54300961ec039a693657df8602 Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- dri

[PATCH 02/13] drm/amd/display: Expose hw sequencer gamma function

2017-01-31 Thread Harry Wentland
From: Yongqiang Sun <yongqiang@amd.com> Change-Id: I82bc709bb81faad5becdfe238de2d36b3183ea7c Signed-off-by: Yongqiang Sun <yongqiang@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/d

[PATCH 08/13] drm/amd/display: Support ABM without PPlib

2017-01-31 Thread Harry Wentland
From: Anthony Koo Fix problem with loading IRAM Change-Id: I255dfd27195714e718c8976817de96dd878f2e1a Signed-off-by: Anthony Koo --- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h | 7 +- .../gpu/drm/amd/display/dc/dce/dce_link_encoder.h | 26

[PATCH 06/13] drm/amd/display: Move backlight from encoder to ABM

2017-01-31 Thread Harry Wentland
From: Anthony Koo <anthony@amd.com> Change-Id: Ib35cfb683cb78a3d111400864f12acba60c25579 Signed-off-by: Anthony Koo <anthony@amd.com> Reviewed-by: Aric Cyr <aric@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/c

[PATCH 09/13] drm/amd/display: Changes for enable dcc mode.

2017-01-31 Thread Harry Wentland
From: Yongqiang Sun <yongqiang@amd.com> Change-Id: I7b027fbf1680c359f724347844258296ff688cda Signed-off-by: Yongqiang Sun <yongqiang@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/d

[PATCH 12/13] drm/amd/display: surface validation on dce100

2017-01-31 Thread Harry Wentland
From: Leon Elazar <leon.ela...@amd.com> Change-Id: Ifbb174d965a5059b835c1de6b7f21a5c7c68408e Signed-off-by: Leon Elazar <leon.ela...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/

[PATCH 03/13] drm/amd/display: DP compliance automation test fixes

2017-01-31 Thread Harry Wentland
ed-off-by: Leon Elazar <leon.ela...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 19 +-- drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 4 +

[PATCH 01/13] drm/amd/display: Fix compile warnings

2017-01-31 Thread Harry Wentland
From: Anthony Koo <anthony@amd.com> 1. Fix init of integer 2. Fix mixed declarations Change-Id: Ib6777dc7c59fd6edaf3cc310c4ad1b66874aecad Signed-off-by: Anthony Koo <anthony@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <h

[PATCH 00/13] DC Patches Jan 31, 2017

2017-01-31 Thread Harry Wentland
* warning fixes * DMCU loader * some cleanup * some fixes Anthony Koo (5): drm/amd/display: Fix compile warnings drm/amd/display: DMCU Compile and Load drm/amd/display: Move backlight from encoder to ABM drm/amd/display: Support ABM without PPlib drm/amd/display: Debug option to force

[PATCH 11/13] drm/amd/display: add dcfclk reporting to pplib

2017-01-31 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I378d9305bb94d2e0a89da804e63d8a1fa7aee51d Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Reviewed-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.

[PATCH 13/13] drm/amd/display: remove CV-specific timing standard

2017-01-31 Thread Harry Wentland
From: Charlene Liu <charlene@amd.com> Change-Id: I6a9cb83cf5963e8b64e1ecf01a25921511a91972 Signed-off-by: Charlene Liu <charlene@amd.com> Reviewed-by: Jordan Lazare <jordan.laz...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland

[PATCH 10/13] drm/amd/display: Debug option to force enable ABM

2017-01-31 Thread Harry Wentland
From: Anthony Koo <anthony@amd.com> Change-Id: I3c17972edb18ebb39621ca5593fdd40050252afc Signed-off-by: Anthony Koo <anthony@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/displ

[PATCH 6/7] drm/amd/display: fix crash with modesetting driver

2017-02-06 Thread Harry Wentland
They might call commit with ACTION_NOTHING without a mode. We shouldn't crash but simply skip updating stream scaling settings since scaling obviously didn't change without a provided mode. Change-Id: Id787a2f3dd73eef3512cb35f48c8cd5842d22032 Signed-off-by: Harry Wentland <harry.wentl...@amd.

[PATCH 1/7] drm/amd/display: Clear test pattern when enabling stream

2017-02-06 Thread Harry Wentland
From: Hersen Wu <hersenxs...@amd.com> Change-Id: I5f5392ff482213ae99bf254384f68ef29063d70f Signed-off-by: Hersen Wu <hersenxs...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/cor

[PATCH 2/7] drm/amd/display: Fix YCbCr pixel format shows green issue

2017-02-06 Thread Harry Wentland
From: Charlene Liu <charlene@amd.com> Change-Id: Ife9d9a6f177e8eb8ec2526d3ef419226fd3833c8 Signed-off-by: Charlene Liu <charlene@amd.com> Reviewed-by: Charlene Liu <charlene@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu

[PATCH 7/7] drm/amd/display: Fix MST physical ports always disconnected

2017-02-06 Thread Harry Wentland
From: Krzysztof Nowicki Remove a false assumption that a cached EDID will be present whenever the connector is in a connected state as this will only be true for logical MST ports. For physical ports the EDID will never be cached, which will cause them to always

[PATCH 3/7] drm/amd/display: HDMI YCbCr422 12bpc pixel format issue

2017-02-06 Thread Harry Wentland
From: Charlene Liu <charlene@amd.com> Change-Id: I7c7ff93d61b4bc29194ee0e4252be956721e7e9e Signed-off-by: Charlene Liu <charlene@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/d

[PATCH 5/7] drm/amd/display: Fixed color temperature corruption.

2017-02-06 Thread Harry Wentland
From: Yongqiang Sun <yongqiang@amd.com> Change-Id: I360090f0b9c9200a8ebc0ca3d75e370b80a8f6cc Signed-off-by: Yongqiang Sun <yongqiang@amd.com> Reviewed-by: Jordan Lazare <jordan.laz...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/d

[PATCH 4/7] drm/amd/display: Adding 10 bpcc video P010 format

2017-02-06 Thread Harry Wentland
From: Vitaly Prosyak <vitaly.pros...@amd.com> Change-Id: Ibd6c485431d8f789ebfea699d780ac318ced66e8 Signed-off-by: Vitaly Prosyak <vitaly.pros...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/

[PATCH 0/7] DC Patches Feb 6, 2017

2017-02-06 Thread Harry Wentland
* Fix for some MST issues with hubs and HP docks * Fix for crash with modesetting driver * bunch of pixel format work in base DC Charlene Liu (2): drm/amd/display: Fix YCbCr pixel format shows green issue drm/amd/display: HDMI YCbCr422 12bpc pixel format issue Harry Wentland (1): drm/amd

Re: [PATCH] drm/amd/display: Fix MST physical ports always disconnected

2017-02-06 Thread Harry Wentland
We finally were able to give this patch a spin. It looks good, although we still have a ton of MST problems. Reviewed-by: Harry Wentland <harry.wentl...@amd.com> You can find it on https://cgit.freedesktop.org/~hwentland/linux/log/?h=amd-staging-dc-4.9 Harry On 2017-01-27 12:58 PM, Krz

Re: [PATCH 1/2] drm/amd/display: fix array lenth error.

2017-02-06 Thread Harry Wentland
On 2017-02-06 12:08 AM, Rex Zhu wrote: > Change-Id: I09011c5e6d5493db7e3d9a7ff7ab8c871a8db862 > Signed-off-by: Rex Zhu > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[PATCH 11/25] drm/amd/display: remove hw_info_frame

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> - construct using encoder_info_frame directly Change-Id: I95a2cdb6cdeaccea8c87c9c3ff6be9673ba65afe Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/

[PATCH 22/25] drm/amd/display: Add interrupt entries for VBLANK isr.

2017-01-23 Thread Harry Wentland
From: Andrey Grodzovsky <andrey.grodzov...@amd.com> Change-Id: Ia59c22ea5a78d5eecca6c62c7f50e651f29ef5f7 Signed-off-by: Andrey Grodzovsky <andrey.grodzov...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> --- .../a

[PATCH 02/25] drm/amd/display: Output Transfer Function Regamma Refactor

2017-01-23 Thread Harry Wentland
From: Amy Zhang <amy.zh...@amd.com> - Create translation function to translate logical format to hw format - Refactor to use transfer function in dc instead of input gamma Change-Id: If7ea756ea206c3776ab328f3b351ce546ae080a0 Signed-off-by: Amy Zhang <amy.zh...@amd.com> Acked-by: Ha

[PATCH 09/25] drm/amd/display: remove un-used defines and dead code

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> Change-Id: Ib32be9d265062d862557568b19160d7a866bb454 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com> --- .../gpu/drm/amd/display/dc/basics/signal_types.c | 35 --- .../gpu/drm/a

[PATCH 19/25] drm/amd/display: rename BGRA8888 to ABGR8888

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> DC actually support ABGR instead of BGRA (R/B swap rather than endian swap) , rename to avoid confusion Change-Id: Ib0e30df605268b2d4567dd21e3e6a9db48471f92 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland

[PATCH 20/25] drm/amd/display: Fix missing conditions in hw sequencer.

2017-01-23 Thread Harry Wentland
From: Zeyu Fan <zeyu@amd.com> Change-Id: I621c2356319229c5e455d2fd6ccbedc4a74077ae Signed-off-by: Zeyu Fan <zeyu@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> --- drivers/gpu/drm/amd/display/dc/dce/dc

[PATCH 08/25] drm/amd/display: assert if mask is 0 in set_reg_field_value_ex

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> - mask = 0 means something is wrong in caller and no register field will be updated Change-Id: Ib30c28ca30f574c703cd3b6acc42e5a401a9aff0 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com>

[PATCH 03/25] drm/amd/display: Disable Modules at Runtime

2017-01-23 Thread Harry Wentland
From: Anthony Koo <anthony@amd.com> Add NULL check in modules Change-Id: I3e668c93b16795c539ac790638694c2b4c4dab28 Signed-off-by: Anthony Koo <anthony@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> --- ...

[PATCH 24/25] drm/amd/display: Clean index in irq init loop

2017-01-23 Thread Harry Wentland
From: Andrey Grodzovsky <andrey.grodzov...@amd.com> Change-Id: Iaf1b717863c59810657e66835468628acf3aee4c Signed-off-by: Andrey Grodzovsky <andrey.grodzov...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Re

[PATCH 04/25] drm/amd/display: Fixing some fallout from dc_target removal

2017-01-23 Thread Harry Wentland
From: Leon Elazar <leon.ela...@amd.com> Also avoid allocating memory dce110_set_output_transfer_func if not needed Change-Id: Ica29ab36d1bb47451550e2f6ee0cdf8617c44a48 Signed-off-by: Leon Elazar <leon.ela...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Revie

[PATCH 21/25] drm/amd/display: Add missing MI masks

2017-01-23 Thread Harry Wentland
From: Leon Elazar <leon.ela...@amd.com> This will fix the memory Input programing with MST tiled display. This Fix should fix connectivity problems with MST tiled Display Change-Id: I2cf36a325a44edd4198e30f9fc801208399e1a83 Signed-off-by: Leon Elazar <leon.ela...@amd.com> Ack

[PATCH 15/25] drm/amd/display: Set default degamma to sRGB instead of bypass

2017-01-23 Thread Harry Wentland
From: Amy Zhang <amy.zh...@amd.com> Change-Id: I572a114be92e8d1e92780793ffdc0644c805c36e Signed-off-by: Amy Zhang <amy.zh...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Aric Cyr <aric@amd.com> --- drivers/gpu/drm/amd/display/dc/dce110/d

[PATCH 17/25] drm/amd/display: refactor clk_resync to avoid assertion

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> - not all DCE has PHYPLLA_PIXCLK_DOUBLE_RATE_ENABLE bit defined. Change-Id: I4bf25deb134637c713ac5ee1eac786bafdc9eb4a Signed-off-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Yongqi

[PATCH 14/25] drm/amd/display: remove calculate_adjustments in conversion.h

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> - these are moved to color module Change-Id: I2131991772553893b91ba9b927d20306e846141b Signed-off-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Aric Cyr <aric@amd.com> --- dri

[PATCH 16/25] drm/amd/display: HDR Enablement For Applications

2017-01-23 Thread Harry Wentland
From: Amy Zhang <amy.zh...@amd.com> - Made sure dest color space is updated in stream and info frame - Optimized segment distribution algorithm for regamma mapping Change-Id: Ia9bb4e56719e23a9827080194d89f715ee5fde29 Signed-off-by: Amy Zhang <amy.zh...@amd.com> Acked-by: Ha

[PATCH 06/25] drm/amd/display: Use pflip prepare and submit parts (v2)

2017-01-23 Thread Harry Wentland
nge-Id: Ie04af6f0c56ee822ddb9f24fb77f367b4e31c620 Signed-off-by: Andrey Grodzovsky <andrey.grodzov...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Andrey Grodzovsky <andrey.grodzov...@amd.com> --- .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 96 ++

[PATCH 07/25] drm/amd/display: mode change without breaking unaffected streams

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> - include clock constraint logic in validate - in dc_commit_streams, include surfaces of unaffected streams Change-Id: I43488ffa9002bd00740a4edb39c362b0257bdb11 Signed-off-by: Yongqiang Sun <yongqiang@amd.com> Acked-by: Harry Wentland

[PATCH 13/25] drm/amd/display: remove dead code

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> Change-Id: I8d7266d9542132b2a4406eb7591a75769998e984 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 76 -- .../gpu/

[PATCH 01/25] drm/amd/display: Null check clock source.

2017-01-23 Thread Harry Wentland
From: Yongqiang Sun <yongqiang@amd.com> Change-Id: Ifcec8c22d0df9434a470e2abc1bc77f503d9c0f7 Signed-off-by: Yongqiang Sun <yongqiang@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> --- drivers/gpu

[PATCH 23/25] drm/amd/display: Register on VLBLANK ISR.

2017-01-23 Thread Harry Wentland
From: Andrey Grodzovsky <andrey.grodzov...@amd.com> Switch from VUPDATE to VBLANK. Change-Id: I8652e01091efe91c3c7ad71004d170af412da9f5 Signed-off-by: Andrey Grodzovsky <andrey.grodzov...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng &

[PATCH 05/25] drm/amd/display: No audio output heard from DP panel

2017-01-23 Thread Harry Wentland
From: Hersen Wu <hersenxs...@amd.com> Change-Id: I36ffd7bb121067d85d43ab90c9abf62981d50ed7 Signed-off-by: Hersen Wu <hersenxs...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Eagle Yeh <eagle@amd.com> --- drivers/gpu/drm/amd/display/dc/dce

[PATCH 18/25] drm/amd/display: Remove meta_pitch

2017-01-23 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I2e7e1531259f1d58c2d4dc02817f0ad6e8104f19 Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> --- dri

[PATCH 25/25] drm/amd/display: add missing dcc update on flip call

2017-01-23 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I4eb19bf87e3cee5fb51f572fc866f2e641021884 Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> --- dri

[PATCH 12/25] drm/amd/display: remove SIGNAL_TYPE_WIRELESS

2017-01-23 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> Change-Id: I67199dfb44db442aee25ebc73dea50e5c935bb84 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/basics/log_helpers.c | 1 - drivers/gpu/drm/amd

[PATCH 00/25] DC Patches Jan 23, 2017

2017-01-23 Thread Harry Wentland
* Use VBLANK instead of VUPDATE for VBLANK notification * Cleanup pflip code a bit more * Bunch of bug fixes all over the place * Removing some more dead code Amy Zhang (3): drm/amd/display: Output Transfer Function Regamma Refactor drm/amd/display: Set default degamma to sRGB instead of

Re: [v3 PATCH 3/3] drm/amd/display: Switch to using atomic_helper for flip.

2017-01-30 Thread Harry Wentland
On 2017-01-28 09:26 PM, Andrey Grodzovsky wrote: > Swicth to use atomic helper. > Start using actual user's given target_vblank value for flip > instead of current value. > > v3: > Update for movig pflip flags to crtc_state > > Change-Id: I25dae6d8c29de5d022a42aa99a18a32674b56cda >

[PATCH 0/5] DC Patches Jan 25, 2017

2017-01-25 Thread Harry Wentland
/amd/display: fix timing trace debug print Harry Wentland (1): drm/amd/display: Make sure to update address without flip Tony Cheng (1): drm/amd/display: enable color gamma programming .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 6 +++--- drivers/gpu/drm/amd/display/dc/core/dc.c

[PATCH 1/5] drm/amd/display: enable color gamma programming

2017-01-25 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> Change-Id: I430d3d8dd5054e456215035875831f6aae827cb0 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Yongqiang Sun <yongqiang@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/

[PATCH 4/5] drm/amd/display: Make sure to update address without flip

2017-01-25 Thread Harry Wentland
Change-Id: Ic0abfbe1e635ccd58596f7c4e9105d2787c10f31 Signed-off-by: Harry Wentland <harry.wentl...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc.c | 4 +++- 1 file changed,

[PATCH 2/5] drm/amd/display: Fix Warnings

2017-01-25 Thread Harry Wentland
From: Amy Zhang <amy.zh...@amd.com> - Remove mixed declarations and unused variables Change-Id: I98a34d8e4f02231db56d33571590f6943ed5d58e Signed-off-by: Amy Zhang <amy.zh...@amd.com> Reviewed-by: Anthony Koo <anthony@amd.com> Acked-by: Harry Wentland <harry.wentl...@

[PATCH 5/5] drm/amd/display: Rename atomic_commit parameter.

2017-01-25 Thread Harry Wentland
zovsky <andrey.grodzov...@amd.com> Reviewed-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/g

[PATCH 3/5] drm/amd/display: fix timing trace debug print

2017-01-25 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I560277a2348cbae9306d454e17ebf93136568034 Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- dri

[PATCH 0/8] DC Patches Feb 22, 2017

2017-02-23 Thread Harry Wentland
to 10bpc drm/amd/display: fix incorrect programming for YCbCr422 and YCbCr420 Harry Wentland (1): drm/amd/display: Remove LINUX_VERSION_CODE check Ken Chalmers (1): drm/amd/display: fix dc_commit_surfaces_to_stream for dcc Zeyu Fan (2): drm/amd/display: Add query_ddc_data function drm

[PATCH 6/8] drm/amd/display: audio bug fix part 1: Add missing audio ACR

2017-02-23 Thread Harry Wentland
From: Charlene Liu <charlene@amd.com> Change-Id: I84757ac7a0caed9826a49678297cf27ab0b14415 Signed-off-by: Charlene Liu <charlene@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/di

[PATCH 7/8] drm/amd/display: fix 12bpc truncate to 10bpc

2017-02-23 Thread Harry Wentland
From: Charlene Liu <charlene@amd.com> Change-Id: I32427f4c3ea4aa410732aa4837098b5e109a1647 Signed-off-by: Charlene Liu <charlene@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/displ

[PATCH 3/8] drm/amd/display: Add bypass case for PQ transfer function

2017-02-23 Thread Harry Wentland
.@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- drivers/gpu/drm/amd/display/dc/dc.h | 2 ++ drivers/gpu/drm/amd/display/dc/dce110/d

[PATCH 2/8] drm/amd/display: fix dc_commit_surfaces_to_stream for dcc

2017-02-23 Thread Harry Wentland
From: Ken Chalmers <ken.chalm...@amd.com> Change-Id: Ifd8698dc7d616085988f37a2aea40cbe56f360ba Signed-off-by: Ken Chalmers <ken.chalm...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/displ

[PATCH 8/8] drm/amd/display: fix incorrect programming for YCbCr422 and YCbCr420

2017-02-23 Thread Harry Wentland
From: Charlene Liu <charlene@amd.com> Change-Id: Ifef3ea5e3cfe0dfa1fd1c5574dd0b2d1495a12de Signed-off-by: Charlene Liu <charlene@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gp

[PATCH 4/8] drm/amd/display: Add query_ddc_data function

2017-02-23 Thread Harry Wentland
From: Zeyu Fan <zeyu@amd.com> Change-Id: I4743f6e829cb9d1c0086f44e505b620f2228d4d8 Signed-off-by: Zeyu Fan <zeyu@amd.com> Reviewed-by: Charlene Liu <charlene@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/d

[PATCH 6/8] drm/amd/display: Refactor atomic commit implementation.

2017-02-09 Thread Harry Wentland
From: Andrey Grodzovsky Modify amdgpu_dm_atomic_comit to implement atomic_comit_tail hook. Unify Buffer objects allocation and dealocation for surface updates and page flips. Simplify wait for fences and target_vbank logic for non blockiing commit. Remove hacky update

[PATCH 7/8] drm/amd/display: Refactor headless to use atomic commit.

2017-02-09 Thread Harry Wentland
From: Andrey Grodzovsky Headless mode set needs to be synchronized against outstanding nonblocking commits. This achieved by building atomic state and commiting it. Change-Id: Ie5e778afb33dd5c303a169216a7bb8c2d857037e Signed-off-by: Andrey Grodzovsky

[PATCH 1/8] drm/amdgpu: Expose mode_config functions for DM

2017-02-09 Thread Harry Wentland
Signed-off-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_display.h | 33 + 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 drivers/gpu/drm/amd/

[PATCH 3/8] drm/amd/display: Use atomic helpers for gamma

2017-02-09 Thread Harry Wentland
We were using set_properties and gamma in a weird way. This change aligns the properties with other drivers and allows us to remove a private gamma flag and reuse atomic helpers for most of this. Change-Id: Ic74b692ee6c6d3e4fd938c6226e65b54075ff983 Signed-off-by: Harry Wentland <harry.we

[PATCH 5/8] drm/amdgpu: Add a few members to support DAL atomic refactor.

2017-02-09 Thread Harry Wentland
From: Andrey Grodzovsky Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h

[PATCH 2/8] drm/amd/display: Use amdgpu mode funcs statically

2017-02-09 Thread Harry Wentland
No need to assign them dynamically. This is much more readable. Change-Id: I2d8a356e8d916800c4553c4e9b19ce42f7f1c391 Signed-off-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-)

[PATCH 8/8] Revert "drm/amdgpu: Refactor flip into prepare submit and submit. (v3)"

2017-02-09 Thread Harry Wentland
This reverts commit cb341a319f7e66f879d69af929c3dadfc1a8f31e. --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 136 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h| 15 --- 2 files changed, 28 insertions(+), 123 deletions(-) diff --git

[PATCH 4/8] drm/amd/display: Remove unused define from amdgpu_dm_types

2017-02-09 Thread Harry Wentland
Change-Id: Idfd0d0d6e537eddbc75378ba394b0f36bd89dd50 Signed-off-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h b/drive

[PATCH 8/8] Revert "drm/amdgpu: Refactor flip into prepare submit and submit. (v3)"

2017-02-10 Thread Harry Wentland
This reverts commit cb341a319f7e66f879d69af929c3dadfc1a8f31e. --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 136 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h| 15 --- 2 files changed, 28 insertions(+), 123 deletions(-) diff --git

[PATCH 1/8] drm/amdgpu: Expose mode_config functions for DM

2017-02-10 Thread Harry Wentland
Signed-off-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_display.h | 33 + 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 drivers/gpu/drm/amd/

[PATCH 3/8] drm/amd/display: Use atomic helpers for gamma

2017-02-10 Thread Harry Wentland
We were using set_properties and gamma in a weird way. This change aligns the properties with other drivers and allows us to remove a private gamma flag and reuse atomic helpers for most of this. Change-Id: Ic74b692ee6c6d3e4fd938c6226e65b54075ff983 Signed-off-by: Harry Wentland <harry.we

[PATCH 6/8] drm/amd/display: Refactor atomic commit implementation.

2017-02-10 Thread Harry Wentland
From: Andrey Grodzovsky Modify amdgpu_dm_atomic_comit to implement atomic_comit_tail hook. Unify Buffer objects allocation and dealocation for surface updates and page flips. Simplify wait for fences and target_vbank logic for non blockiing commit. Remove hacky update

[PATCH 2/8] drm/amd/display: Use amdgpu mode funcs statically

2017-02-10 Thread Harry Wentland
No need to assign them dynamically. This is much more readable. Change-Id: I2d8a356e8d916800c4553c4e9b19ce42f7f1c391 Signed-off-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-)

[PATCH 0/8] Refactor DC atomic commit and gamma

2017-02-10 Thread Harry Wentland
a few members to support DAL atomic refactor. drm/amd/display: Refactor atomic commit implementation. drm/amd/display: Refactor headless to use atomic commit. Harry Wentland (5): drm/amdgpu: Expose mode_config functions for DM drm/amd/display: Use amdgpu mode funcs statically drm/amd/display

[PATCH 4/8] drm/amd/display: Remove unused define from amdgpu_dm_types

2017-02-10 Thread Harry Wentland
Change-Id: Idfd0d0d6e537eddbc75378ba394b0f36bd89dd50 Signed-off-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h b/drive

[PATCH 5/8] drm/amdgpu: Add a few members to support DAL atomic refactor.

2017-02-10 Thread Harry Wentland
From: Andrey Grodzovsky Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h

[PATCH 7/8] drm/amd/display: Refactor headless to use atomic commit.

2017-02-10 Thread Harry Wentland
From: Andrey Grodzovsky Headless mode set needs to be synchronized against outstanding nonblocking commits. This achieved by building atomic state and commiting it. Change-Id: Ie5e778afb33dd5c303a169216a7bb8c2d857037e Signed-off-by: Andrey Grodzovsky

[PATCH] drm/amd/display: Fix 64-bit division, yet again

2017-02-14 Thread Harry Wentland
Also make the code somewhat more readable. Signed-off-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/fr

Re: [PATCH 0/8] Refactor DC atomic commit and gamma

2017-02-14 Thread Harry Wentland
On 2017-02-14 04:30 PM, Daniel Vetter wrote: On Fri, Feb 10, 2017 at 11:26:22AM -0500, Harry Wentland wrote: Resending with CC to dri-devel as per Alex's suggestions. This might be of interest to a wider audience. These patches are first steps of addressing some of the problems in DC's atomic

[PATCH 02/10] drm/amd/display: use disp clock value in context rather than bw_results

2017-02-13 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I05aeb2db7f2d43ec586436b406bb3b78886ff41b Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Reviewed-by: Jordan Lazare <jordan.laz...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com>

[PATCH 04/10] drm/amd/display: Audio is not switching to DP when HDMI/DP hot plug/unplug

2017-02-13 Thread Harry Wentland
From: Hersen Wu <hersenxs...@amd.com> Change-Id: I0bc1946decf41316a0fb27df3269418e94621625 Signed-off-by: Hersen Wu <hersenxs...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- .../amd/display/dc/dce110/dce110

[PATCH 01/10] Revert "drm/amd/display: Changes for enable dcc mode."

2017-02-13 Thread Harry Wentland
I goofed this one up when pulling from the internal DC repo. This reverts commit a73e57356fb89b6aaec3434256efb5210200d77d. Change-Id: Ib0a30b69677b8365b5b1809e476962a488d5505d --- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h | 7 +- .../gpu/drm/amd/display/dc/dce/dce_link_encoder.h

[PATCH 10/10] drm/amd/display: color distortion after DPMS+ background color fix

2017-02-13 Thread Harry Wentland
From: Charlene Liu <charlene@amd.com> Change-Id: I1573c7aa95f857d126aadd2f61f152779795aff4 Signed-off-by: Charlene Liu <charlene@amd.com> Reviewed-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- driver

[PATCH 09/10] drm/amd/display: report cursor size base on the ASIC

2017-02-13 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> Change-Id: I257828f5e768e746b9ee0596e4b1dbd26fcbbf01 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Yongqiang Sun <yongqiang@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu

[PATCH 00/10] DC Patches Feb 13, 2017

2017-02-13 Thread Harry Wentland
A bunch of fixes today and one cleanup in regamma code. Charlene Liu (1): drm/amd/display: color distortion after DPMS+ background color fix Dmytro Laktyushkin (2): drm/amd/display: use disp clock value in context rather than bw_results drm/amd/display: fix psr status wait Harry

[PATCH 07/10] drm/amd/display: Set ignore_msa_timing flag for freesync modes

2017-02-13 Thread Harry Wentland
From: Sylvia Tsai <sylvia.t...@amd.com> - Set ignore_msa_timing_param to 1 only for modes that can support freesync Change-Id: I94122df078976933ba48326f3b32567bc1a9d628 Signed-off-by: Sylvia Tsai <sylvia.t...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-

[PATCH 03/10] drm/amd/display: fix psr status wait

2017-02-13 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I66ad31b2a32b4aec0497e9bdbf69442c1b9f447a Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Reviewed-by: Eagle Yeh <eagle@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- ..

[PATCH 08/10] drm/amd/display: Fix program pix clk logic to unblock deep color set.

2017-02-13 Thread Harry Wentland
From: Zeyu Fan <zeyu@amd.com> Change-Id: I27a24b526d7bdb8241ffe5ad1dfac58e56d71f22 Signed-off-by: Zeyu Fan <zeyu@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/dce

[PATCH 06/10] drm/amd/display: Enable regamma 25 segments and use double buffer.

2017-02-13 Thread Harry Wentland
From: Vitaly Prosyak <vitaly.pros...@amd.com> Moved custom floating point calculation to the shared place between dce's. Change-Id: I21b6ddaec514924c520219f04c70934e5e1b6715 Signed-off-by: Vitaly Prosyak <vitaly.pros...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com&g

Re: [PATCH] drm/amd/display: Fix 64-bit division, yet again

2017-02-15 Thread Harry Wentland
On 2017-02-15 06:44 AM, Emil Velikov wrote: On 14 February 2017 at 20:36, Harry Wentland <harry.wentl...@amd.com> wrote: Also make the code somewhat more readable. I'd suggest reaching to the team to integrate scripts/checkpatch.pl in the pre-commit hook. It will help you improve the

[PATCH 08/11] drm/amd/display: refactor dc_update_surfaces_for_stream

2017-01-24 Thread Harry Wentland
n <yongqiang@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc.c | 367 ++- 1 file changed, 212 insertions(+), 155 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/

[PATCH 06/11] drm/amd/display: prevent setting cursor position with no surface

2017-01-24 Thread Harry Wentland
From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Change-Id: I98ac559661295af4c2d4d151c4dd6029e27349c1 Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- dri

[PATCH 05/11] drm/amd/display: Change update surface condition, fix surface transition corruption.

2017-01-24 Thread Harry Wentland
From: Yongqiang Sun <yongqiang@amd.com> Change-Id: I637bab884686aa244d9d896dbc4facd10bafe66b Signed-off-by: Yongqiang Sun <yongqiang@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/d

[PATCH 11/11] drm/amd/display: Fixed 4K black issue by refactor update surface.

2017-01-24 Thread Harry Wentland
From: Yongqiang Sun <yongqiang@amd.com> Change-Id: Ibff4c15aeddf0a013a9c2edca9b82219818cfccb Signed-off-by: Yongqiang Sun <yongqiang@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com> --- drivers/gpu/drm/amd/d

[PATCH 07/11] drm/amd/display: improve debug-ability

2017-01-24 Thread Harry Wentland
From: Tony Cheng <tony.ch...@amd.com> - make failure status obvious Change-Id: If8106b3ac98433817b1fdd414c0776f983b616a9 Signed-off-by: Tony Cheng <tony.ch...@amd.com> Reviewed-by: Yongqiang Sun <yongqiang@amd.com> Acked-by: Harry Wentland <harry.wentl...@amd.com>

[PATCH 01/11] drm/amd/display: Don't reserve pipe for underlay on ASIC without underlay

2017-01-24 Thread Harry Wentland
Change-Id: I961ed1bf9cb255cddf05b24c9915c830df492f89 Signed-off-by: Harry Wentland <harry.wentl...@amd.com> Acked-by: Jordan Lazare <jordan.laz...@amd.com> Reviewed-by: Tony Cheng <tony.ch...@amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc.c| 2 +- drivers/g

[PATCH 02/11] drm/amd/display: Remove power gating debug flags

2017-01-24 Thread Harry Wentland
They're not used anywhere Change-Id: I607045a32ec1af4bb802a90b26301e328ef7f306 --- drivers/gpu/drm/amd/display/dc/dc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index e0143f9f0421..332ecf8b1157 100644 ---

  1   2   3   4   5   6   7   8   9   10   >