RE: [PATCH 3/6] drm: add support of syncobj timeline point wait v2

2018-10-07 Thread Zhou, David(ChunMing)
>> Another general comment (no good place to put it) is that I think we want >> two kinds of waits: Wait for time point to be completed and wait for time >> point to become available. The first is the usual CPU wait for completion >> while the second is for use by userspace drivers to wait unt

RE: [PATCH 5/6] drm/amdgpu: add timeline support in amdgpu CS

2018-10-07 Thread Zhou, David(ChunMing)
> -Original Message- > From: Nicolai Hähnle > Sent: Wednesday, September 26, 2018 4:44 PM > To: Zhou, David(ChunMing) ; dri- > de...@lists.freedesktop.org > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 5/6] drm/amdgpu: add timeline support in amdgpu CS > > > static int amdg

RE: [PATCH 5/6] drm/amdgpu: add timeline support in amdgpu CS

2018-10-07 Thread Zhou, David(ChunMing)
> -Original Message- > From: Nicolai Hähnle > Sent: Wednesday, September 26, 2018 5:06 PM > To: Zhou, David(ChunMing) ; dri- > de...@lists.freedesktop.org > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 5/6] drm/amdgpu: add timeline support in amdgpu CS > > Hey Chunming, > >

答复: VegaM DP dpms issue

2018-10-07 Thread Qu, Jim
Hi, Please give more details about the issue, such as OS, kernel version, amdgpu driver version, dmesg log, Xorg log. Some suggestions: 1. Make sure that hybrid GFX has enabled on your system. 2. The important issue, make sure Which GPU is mDP phy connected. If it is from iGPU, that mean the

[PATCH 04/10] drm/amd/display: dc/bios: add support for DCE6

2018-10-07 Thread Mauro Rossi
DCE6 targets are added replicating existing DCE8 implementation. --- drivers/gpu/drm/amd/display/dc/bios/Makefile | 9 + .../display/dc/bios/command_table_helper.c| 8 + .../display/dc/bios/command_table_helper.h| 3 + .../display/dc/bios/command_table_helper2.c | 8 + .../displ

[PATCH 07/10] drm/amd/display: dc/irq: add support for DCE6

2018-10-07 Thread Mauro Rossi
DCE6 targets are added replicating existing DCE8 implementation. NOTE: due to missing CRTC_VERTICAL_INTERRUPT0_CONTROL registers/masks, dce/dce_8_0_{d,sh_mask}.h headers were used instead of dce/dce_6_0_{d,sh_mask}.h but only as exception in dce/irq_service_dce60.c IMPORTANT: Coding of dce/irq_se

[PATCH 05/10] drm/amd/display: dc/gpio: add support for DCE6

2018-10-07 Thread Mauro Rossi
DCE6 targets are added replicating existing DCE8 implementation. --- drivers/gpu/drm/amd/display/dc/gpio/Makefile | 12 + .../display/dc/gpio/dce60/hw_factory_dce60.c | 174 .../display/dc/gpio/dce60/hw_factory_dce60.h | 32 ++ .../dc/gpio/dce60/hw_translate_dce60.c| 411

[PATCH 02/10] drm/amd/display: dc/dce: add DCE6 support

2018-10-07 Thread Mauro Rossi
DCE6 targets are added replicating existing DCE8 implementation. NOTE: dce_8_0_{d,sh_mask}.h headers used instead of dce_6_0_{d,sh_mask}.h only to build dce60_resource.c due to missing *_DCE60 macros/registers/masks IMPORTANT: Coding of dce60_resource.c requires review to understand if dce_6_0_{d

[PATCH 09/10] drm/amdgpu: enable DC support for SI parts

2018-10-07 Thread Mauro Rossi
This commit enables DC support and Display Manager IP block conditionally to CONFIG_DRM_AMD_DC_SI kernel configuration --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +++ drivers/gpu/drm/amd/amdgpu/si.c| 14 ++ 2 files changed, 21 insertions(+) diff --git a/driver

[PATCH 03/10] drm/amd/display: dc/core: add DCE6 support

2018-10-07 Thread Mauro Rossi
DCE6 targets are added as branching of existing DCE8 implementation. --- .../gpu/drm/amd/display/dc/core/dc_resource.c | 29 +++ 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c ind

[PATCH 01/10] drm/amd/display: add asics info for SI parts

2018-10-07 Thread Mauro Rossi
Asics info retrieved from si_id.h in https://github.com/GPUOpen-Tools/CodeXL Tree path: ./CodeXL/Components/ShaderAnalyzer/AMDTBackEnd/Include/Common/asic_reg/si_id.h --- .../gpu/drm/amd/display/include/dal_asic_id.h | 40 +++ .../gpu/drm/amd/display/include/dal_types.h | 3 ++

[PATCH 06/10] drm/amd/display: dc/i2caux: add support for DCE6

2018-10-07 Thread Mauro Rossi
DCE6 targets are added replicating existing DCE8 implementation. --- .../gpu/drm/amd/display/dc/i2caux/Makefile| 12 + .../dc/i2caux/dce60/i2c_hw_engine_dce60.c | 875 ++ .../dc/i2caux/dce60/i2c_hw_engine_dce60.h | 54 ++ .../dc/i2caux/dce60/i2c_sw_engine_dce60.c

[PATCH 10/10] drm/amd/display: enable SI support in the Kconfig

2018-10-07 Thread Mauro Rossi
CONFIG_DRM_AMD_DC_SI configuration option is added, default setting is disabled --- drivers/gpu/drm/amd/display/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/amd/display/Kconfig b/drivers/gpu/drm/amd/display/Kconfig index ed654a76c76a..c79afe89e6e2 100644 ---

[RFC] drm/amd/display: add SI support to AMD DC

2018-10-07 Thread Mauro Rossi
[PATCH 01/10] drm/amd/display: add asics info for SI parts [PATCH 02/10] drm/amd/display: dc/dce: add DCE6 support [PATCH 03/10] drm/amd/display: dc/core: add DCE6 support [PATCH 04/10] drm/amd/display: dc/bios: add support for DCE6 [PATCH 05/10] drm/amd/display: dc/gpio: add support for DCE6 [PATC

[PATCH 08/10] drm/amd/display: amdgpu_dm: add SI support

2018-10-07 Thread Mauro Rossi
This commit adds Display Manager early initialization for SI parts conditionally to CONFIG_DRM_AMD_DC_SI kernel configuration --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 26 +++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c