[PATCH] drm/amd: remove meaningless descending into amd/amdkfd/

2019-08-26 Thread Masahiro Yamada
Since commit 04d5e2765802 ("drm/amdgpu: Merge amdkfd into amdgpu"), drivers/gpu/drm/amd/amdkfd/Makefile does not contain any syntax that is understood by the build system. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/

[PATCH 1/4] drm/amdgpu: Extends amdgpu vm definitions (v2)

2019-08-26 Thread Kuehling, Felix
From: Oak Zeng Add RW mtype introduced for arcturus. v2: * Don't add probe-invalidation bit from UAPI * Don't add unused AMDGPU_MTYPE_ definitions Signed-off-by: Oak Zeng Signed-off-by: Felix Kuehling --- include/uapi/drm/amdgpu_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc

[PATCH 3/4] drm/amdgpu: Determing PTE flags separately for each mapping (v2)

2019-08-26 Thread Kuehling, Felix
The same BO can be mapped with different PTE flags by different GPUs. Therefore determine the PTE flags separately for each mapping instead of storing them in the KFD buffer object. Add a helper function to determine the PTE flags to be extended with ASIC and memory-type-specific logic in subseque

[PATCH 2/4] drm/amdgpu: Support new arcturus mtype

2019-08-26 Thread Kuehling, Felix
From: Oak Zeng Arcturus repurposed mtype WC to RW. Modify gmc functions to support the new mtype Change-Id: Idc338e5386a57020f45262025e2664ab4ba9f291 Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +++ drivers/gpu/drm/amd/include/vega10_enum.h | 1 + 2 files changed,

[PATCH 4/4] drm/amdgpu: Use optimal mtypes and PTE bits for Arcturus

2019-08-26 Thread Kuehling, Felix
For compute VRAM allocations on Arturus use the new RW mtype for non-coherent local memory, CC mtype for coherent local memory and PTE_SNOOPED bit for invalidating non-dirty cache lines on remote XGMI mappings. Signed-off-by: Felix Kuehling --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 20

Re: [PATCH 3/4] drm/amdgpu: Support snooped PTE flag

2019-08-26 Thread Kuehling, Felix
On 2019-08-26 2:12 p.m., Koenig, Christian wrote: > > We should probably just revert back the to doing most of the mapping in > amdgpu_vm_bo_split_mapping(). > > Here we already have a whole bunch of ASIC specific handling anyway: > >>     if (!(mapping->flags & AMDGPU_PTE_READABLE)) >>  

Re: [PATCH RESEND 05/14] drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory

2019-08-26 Thread Heiko Stuebner
Am Montag, 26. August 2019, 21:25:47 CEST schrieb Andrzej Pietrasiewicz: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz > Acked-by: Sam Ravnborg > Reviewed-by: Emil Velikov Acked-by: Heiko Stuebner

[PATCH RESEND 13/14] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_tfp410

[PATCH RESEND 12/14] drm: zte: Provide ddc symlink in vga connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/zte/zx_vga.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm

[PATCH RESEND 14/14] drm/i915: Provide ddc symlink in hdmi connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/i915/display/intel_hdmi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/displ

[PATCH RESEND 11/14] drm: zte: Provide ddc symlink in hdmi connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/zte/zx_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_hdmi.c b/drivers/gpu/d

[PATCH RESEND 10/14] drm/vc4: Provide ddc symlink in connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/vc4/vc4_hdmi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/driv

[PATCH RESEND 09/14] drm/tegra: Provide ddc symlink in output connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/tegra/hdmi.c | 7 --- drivers/gpu/drm/tegra/sor.c | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dr

[PATCH RESEND 07/14] drm/msm/hdmi: Provide ddc symlink in hdmi connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_con

[PATCH RESEND 08/14] drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b

[PATCH RESEND 06/14] drm: rockchip: Provide ddc symlink in inno_hdmi sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/rockchip/inno_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c

[PATCH RESEND 05/14] drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rk3066_hdm

[PATCH RESEND 02/14] drm/radeon: Provide ddc symlink in connector sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/radeon/radeon_connectors.c | 143 +++-- 1 file changed, 107 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/r

[PATCH RESEND 04/14] drm/exynos: Provide ddc symlink in connector's sysfs

2019-08-26 Thread Andrzej Pietrasiewicz
Switch to using the ddc provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/exynos/exynos_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi

[PATCH RESEND 01/14] drm/bridge: ti-tfp410: Update drm_connector_init_with_ddc() error message

2019-08-26 Thread Andrzej Pietrasiewicz
From: Geert Uytterhoeven The code was changed to call drm_connector_init_with_ddc() instead of drm_connector_init(), but the corresponding error message was not updated. Fixes: cfb444552926989f ("drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory") Signed-off-by: Geert Uytt

[PATCH RESEND 03/14] drm/amdgpu: Provide ddc symlink in dm connector's sysfs directory

2019-08-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/disp

[PATCH RESEND 00/14] Next round of associating ddc adapters with connectors

2019-08-26 Thread Andrzej Pietrasiewicz
I'm resending the patches which have somehow got lost: one patch from Geert and 13 patches from me. Geert's patch updates the error message to reflect the actually called function's name. Most of patches from me have their Acked-by and Reviewed-by tags and deal with providing a ddc symlink in con

Re: vddgfx reported as N/A

2019-08-26 Thread Alex Deucher
On Mon, Aug 26, 2019 at 9:11 AM Jean Delvare wrote: > > Hi all, > > I am investigating why "sensors" reports amdgpu's vddgfx as N/A on my > Radeon R5 240. Digging through the code I found that > si_dpm_read_sensor() is being called with idx = AMDGPU_PP_SENSOR_VDDGFX > which is *not* implemented by

Re: [PATCH] drm/amdgpu: fix a warning in smu11 i2c code

2019-08-26 Thread Grodzovsky, Andrey
Hmm, my compiler didn't sent a warning about this... Thanks. Reviewed-by: Andrey Grodzovsky Andrey On 8/26/19 2:54 PM, Alex Deucher wrote: > make sure reg is initialized in smu_v11_0_i2c_set_clock_gating. > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 2

[PATCH] drm/amdgpu: fix a warning in smu11 i2c code

2019-08-26 Thread Alex Deucher
make sure reg is initialized in smu_v11_0_i2c_set_clock_gating. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c b/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c

Re: [PATCH 1/2] mm/hmm: hmm_range_fault() NULL pointer bug

2019-08-26 Thread Jason Gunthorpe
On Mon, Aug 26, 2019 at 11:02:12AM -0700, Ralph Campbell wrote: > > On 8/24/19 3:37 PM, Christoph Hellwig wrote: > > On Fri, Aug 23, 2019 at 03:17:52PM -0700, Ralph Campbell wrote: > > > Although hmm_range_fault() calls find_vma() to make sure that a vma exists > > > before calling walk_page_range

Re: [PATCH v8 1/6] drm/dp_mst: Add PBN calculation for DSC modes

2019-08-26 Thread Harry Wentland
On 2019-08-26 2:05 p.m., David Francis wrote: > With DSC, bpp can be fractional in multiples of 1/16. > > Change drm_dp_calc_pbn_mode to reflect this, adding a new > parameter bool dsc. When this parameter is true, treat the > bpp parameter as having units not of bits per pixel, but > 1/16 of a bi

Re: [PATCH 1/2] mm/hmm: hmm_range_fault() NULL pointer bug

2019-08-26 Thread Ralph Campbell
On 8/26/19 11:09 AM, Jason Gunthorpe wrote: On Mon, Aug 26, 2019 at 11:02:12AM -0700, Ralph Campbell wrote: On 8/24/19 3:37 PM, Christoph Hellwig wrote: On Fri, Aug 23, 2019 at 03:17:52PM -0700, Ralph Campbell wrote: Although hmm_range_fault() calls find_vma() to make sure that a vma exists

Re: [PATCH 3/4] drm/amdgpu: Support snooped PTE flag

2019-08-26 Thread Koenig, Christian
Am 26.08.19 um 20:03 schrieb Kuehling, Felix: > On 2019-08-26 1:16 p.m., wrote: >> Am 26.08.19 um 17:45 schrieb Kuehling, Felix: >>> On 2019-08-24 2:59 p.m., Christian König wrote: Am 24.08.19 um 18:24 schrieb Kuehling, Felix: > On 2019-08-24 7:13, Christian König wrote: >> Am 23.08.19

[PATCH v8 1/6] drm/dp_mst: Add PBN calculation for DSC modes

2019-08-26 Thread David Francis
With DSC, bpp can be fractional in multiples of 1/16. Change drm_dp_calc_pbn_mode to reflect this, adding a new parameter bool dsc. When this parameter is true, treat the bpp parameter as having units not of bits per pixel, but 1/16 of a bit per pixel v2: Don't add separate function for this Cc:

Re: [PATCH 3/4] drm/amdgpu: Support snooped PTE flag

2019-08-26 Thread Kuehling, Felix
On 2019-08-26 1:16 p.m., wrote: > Am 26.08.19 um 17:45 schrieb Kuehling, Felix: >> On 2019-08-24 2:59 p.m., Christian König wrote: >>> Am 24.08.19 um 18:24 schrieb Kuehling, Felix: On 2019-08-24 7:13, Christian König wrote: > Am 23.08.19 um 23:33 schrieb Kuehling, Felix: >> From: Oak Z

Re: [PATCH 1/2] mm/hmm: hmm_range_fault() NULL pointer bug

2019-08-26 Thread Ralph Campbell
On 8/24/19 3:37 PM, Christoph Hellwig wrote: On Fri, Aug 23, 2019 at 03:17:52PM -0700, Ralph Campbell wrote: Although hmm_range_fault() calls find_vma() to make sure that a vma exists before calling walk_page_range(), hmm_vma_walk_hole() can still be called with walk->vma == NULL if the start a

Re: [PATCH 3/4] drm/amdgpu: Support snooped PTE flag

2019-08-26 Thread Koenig, Christian
Am 26.08.19 um 17:45 schrieb Kuehling, Felix: > On 2019-08-24 2:59 p.m., Christian König wrote: >> Am 24.08.19 um 18:24 schrieb Kuehling, Felix: >>> On 2019-08-24 7:13, Christian König wrote: Am 23.08.19 um 23:33 schrieb Kuehling, Felix: > From: Oak Zeng > > Set snooped PTE flag a

Re: [PATCH 3/4] drm/amdgpu: Support snooped PTE flag

2019-08-26 Thread Kuehling, Felix
On 2019-08-24 2:59 p.m., Christian König wrote: > Am 24.08.19 um 18:24 schrieb Kuehling, Felix: >> On 2019-08-24 7:13, Christian König wrote: >>> Am 23.08.19 um 23:33 schrieb Kuehling, Felix: From: Oak Zeng Set snooped PTE flag according to mapping flag. Write request to a page

Re: [PATCH V2] drm: Add LTTPR defines for DP 1.4a

2019-08-26 Thread Harry Wentland
+Cc Manasi, FYI On 2019-08-26 11:29 a.m., Siqueira, Rodrigo wrote: > DP 1.4a specification defines Link Training Tunable PHY Repeater (LTTPR) > which is required to add support for systems with Thunderbolt or other > repeater devices. > > Changes since V1: > - Adjusts registers names to be aligne

[PATCH V2] drm: Add LTTPR defines for DP 1.4a

2019-08-26 Thread Siqueira, Rodrigo
DP 1.4a specification defines Link Training Tunable PHY Repeater (LTTPR) which is required to add support for systems with Thunderbolt or other repeater devices. Changes since V1: - Adjusts registers names to be aligned with spec and the rest of the file - Update spec comment from 1.4 to 1.4a C

Re: [PATCH -next] drm/amdgpu/display: fix build error without CONFIG_DRM_AMD_DC_DSC_SUPPORT

2019-08-26 Thread Alex Deucher
On Mon, Aug 26, 2019 at 9:22 AM Harry Wentland wrote: > > > > On 2019-08-26 4:57 a.m., YueHaibing wrote: > > If CONFIG_DRM_AMD_DC_DSC_SUPPORT is not set, build fails: > > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c: In function > > dcn20_hw_sequencer_construct: > > drivers/gp

[PATCH v7 1/6] drm/dp_mst: Add PBN calculation for DSC modes

2019-08-26 Thread David Francis
With DSC, bpp can be fractional in multiples of 1/16. Change drm_dp_calc_pbn_mode to reflect this, adding a new parameter bool dsc. When this parameter is true, treat the bpp parameter as having units not of bits per pixel, but 1/16 of a bit per pixel v2: Don't add separate function for this Cc:

Re: [PATCH] drm/amd/powerplay: Fix an off by one in navi10_get_smu_msg_index()

2019-08-26 Thread Alex Deucher
On Mon, Aug 26, 2019 at 9:20 AM Dan Carpenter wrote: > > The navi10_message_map[] array has SMU_MSG_MAX_COUNT elements so the ">" > has to be changed to ">=" to prevent reading one element beyond the end > of the array. > > Signed-off-by: Dan Carpenter Applied. thanks! Alex > --- > drivers/g

Re: [PATCH] Revert "drm/amdgpu: free up the first paging queue v2"

2019-08-26 Thread Christian König
Am 26.08.19 um 16:45 schrieb Gang Ba: This reverts commit 4f8bc72fbf10f2dc8bca74d5da08b3a981b2e5cd. It turned out that a single reserved queue wouldn't be sufficient for page fault handling. Change-Id: I577ba236e0571d11400a51f9d95840234aef678a Signed-off-by: Gang Ba Reviewed-by: Christian Kö

[PATCH] Revert "drm/amdgpu: free up the first paging queue v2"

2019-08-26 Thread Gang Ba
This reverts commit 4f8bc72fbf10f2dc8bca74d5da08b3a981b2e5cd. It turned out that a single reserved queue wouldn't be sufficient for page fault handling. Change-Id: I577ba236e0571d11400a51f9d95840234aef678a Signed-off-by: Gang Ba --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 23 --

Re: [PATCH] drm/amd/display: Fix error message

2019-08-26 Thread Christian König
Am 26.08.19 um 16:19 schrieb Kazlauskas, Nicholas: On 8/26/19 10:16 AM, Andrey Grodzovsky wrote: Since reservation_object_wait_timeout_rcu is called with interruptable set to false it's wrong to say 'or interrupted' in the error message. Signed-off-by: Andrey Grodzovsky Reviewed-by: Nicholas

Re: [PATCH] drm/amd/display: Fix error message

2019-08-26 Thread Kazlauskas, Nicholas
On 8/26/19 10:16 AM, Andrey Grodzovsky wrote: > Since reservation_object_wait_timeout_rcu is called with > interruptable set to false it's wrong to say > 'or interrupted' in the error message. > > Signed-off-by: Andrey Grodzovsky Reviewed-by: Nicholas Kazlauskas > --- > drivers/gpu/drm/amd/d

[PATCH] drm/amd/display: Fix error message

2019-08-26 Thread Andrey Grodzovsky
Since reservation_object_wait_timeout_rcu is called with interruptable set to false it's wrong to say 'or interrupted' in the error message. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH v6 1/6] drm/dp_mst: Add PBN calculation for DSC modes

2019-08-26 Thread David Francis
With DSC, bpp can be fractional in multiples of 1/16. Change drm_dp_calc_pbn_mode to reflect this, adding a new parameter bool dsc. When this parameter is true, treat the bpp parameter as having units not of bits per pixel, but 1/16 of a bit per pixel v2: Don't add separate function for this Cc:

[PATCH v3 6/7] drm/amdgpu: utilize subconnector property for DP through atombios

2019-08-26 Thread Oleg Vasilev
Since DP-specific information is stored in driver's structures, every driver needs to implement subconnector property by itself. Reviewed-by: Emil Velikov Signed-off-by: Oleg Vasilev Cc: Alex Deucher Cc: Christian König Cc: David (ChunMing) Zhou Cc: amd-gfx@lists.freedesktop.org --- drivers/

[PATCH v3 7/7] drm/amdgpu: utilize subconnector property for DP through DisplayManager

2019-08-26 Thread Oleg Vasilev
Since DP-specific information is stored in driver's structures, every driver needs to implement subconnector property by itself. Display Core already has the subconnector information, we only need to expose it through DRM property. Signed-off-by: Oleg Vasilev Tested-by: Oleg Vasilev Cc: Alex Deu

Re: [PATCH -next] drm/amdgpu/display: fix build error without CONFIG_DRM_AMD_DC_DSC_SUPPORT

2019-08-26 Thread Harry Wentland
On 2019-08-26 4:57 a.m., YueHaibing wrote: > If CONFIG_DRM_AMD_DC_DSC_SUPPORT is not set, build fails: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c: In function > dcn20_hw_sequencer_construct: > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:2099:28: > error:

[PATCH] drm/amd/powerplay: Fix an off by one in navi10_get_smu_msg_index()

2019-08-26 Thread Dan Carpenter
The navi10_message_map[] array has SMU_MSG_MAX_COUNT elements so the ">" has to be changed to ">=" to prevent reading one element beyond the end of the array. Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [PATCH v18 15/15] selftests, arm64: add a selftest for passing tagged pointers to kernel

2019-08-26 Thread Amit Kachhap
Hi, On 8/23/19 11:19 PM, Cristian Marussi wrote: > > Hi > > On 23/08/2019 18:16, Andrey Konovalov wrote: >> On Fri, Aug 23, 2019 at 3:56 PM Cristian Marussi >> wrote: >>> >>> Hi Andrey >>> >>> On 24/06/2019 15:33, Andrey Konovalov wrote: This patch is a part of a series that extends kernel A

vddgfx reported as N/A

2019-08-26 Thread Jean Delvare
Hi all, I am investigating why "sensors" reports amdgpu's vddgfx as N/A on my Radeon R5 240. Digging through the code I found that si_dpm_read_sensor() is being called with idx = AMDGPU_PP_SENSOR_VDDGFX which is *not* implemented by this function. So it's never going to report any value. The situ

Re: [PATCH v7 1/9] drm_dp_cec: add connector info support.

2019-08-26 Thread Hans Verkuil
On 8/22/19 10:08 AM, Hans Verkuil wrote: > Alex, Ville/Rodrigo, Ben, > > Can you (hopefully) Ack this patch so that I can merge it? Ping! Regards, Hans > > Thank you! > > Hans > > On 8/14/19 12:44 PM, Dariusz Marcinkiewicz wrote: >> Pass the connector info to the CEC adapter.

Re: [PATCH v7 1/9] drm_dp_cec: add connector info support.

2019-08-26 Thread Ben Skeggs
On Fri, Aug 16, 2019 at 4:10 AM Lyude Paul wrote: > > Reviewed-by: Lyude Paul Reviewed-by: Ben Skeggs > > On Wed, 2019-08-14 at 12:44 +0200, Dariusz Marcinkiewicz wrote: > > Pass the connector info to the CEC adapter. This makes it possible > > to associate the CEC adapter with the correspondin

Re: gnome-shell stuck because of amdgpu driver [5.3 RC5]

2019-08-26 Thread Daniel Vetter
On Sun, Aug 25, 2019 at 10:13:05PM +0800, Hillf Danton wrote: > > On Sun, 25 Aug 2019 04:28:01 -0700 Mikhail Gavrilov wrote: > > Hi folks, > > I left unblocked gnome-shell at noon, and when I returned at the > > evening I discovered than monitor not sleeping and show open gnome > > activity. At fi

[PATCH -next] drm/amdgpu/display: fix build error without CONFIG_DRM_AMD_DC_DSC_SUPPORT

2019-08-26 Thread YueHaibing
If CONFIG_DRM_AMD_DC_DSC_SUPPORT is not set, build fails: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c: In function dcn20_hw_sequencer_construct: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:2099:28: error: dcn20_dsc_pg_control undeclared (first use in this functi

Re: gnome-shell stuck because of amdgpu driver [5.3 RC5]

2019-08-26 Thread Hillf Danton
On Sun, 25 Aug 2019 04:28:01 -0700 Mikhail Gavrilov wrote: > Hi folks, > I left unblocked gnome-shell at noon, and when I returned at the > evening I discovered than monitor not sleeping and show open gnome > activity. At first, I thought that some application did not let fall > asleep the system.

Re: [PATCH 2/2] mm/hmm: hmm_range_fault() infinite loop

2019-08-26 Thread Christoph Hellwig
On Fri, Aug 23, 2019 at 03:17:53PM -0700, Ralph Campbell wrote: > Normally, callers to handle_mm_fault() are supposed to check the > vma->vm_flags first. hmm_range_fault() checks for VM_READ but doesn't > check for VM_WRITE if the caller requests a page to be faulted in > with write permission (via

Re: [PATCH 1/2] mm/hmm: hmm_range_fault() NULL pointer bug

2019-08-26 Thread Christoph Hellwig
On Fri, Aug 23, 2019 at 03:17:52PM -0700, Ralph Campbell wrote: > Although hmm_range_fault() calls find_vma() to make sure that a vma exists > before calling walk_page_range(), hmm_vma_walk_hole() can still be called > with walk->vma == NULL if the start and end address are not contained > within t