RE: [PATCH] drm/amdgpu: convert sienna_cichlid_get_default_config_table_settings() to IP version

2022-05-24 Thread Chen, Guchun
Reviewed-by: Guchun Chen Regards, Guchun -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Wednesday, May 25, 2022 10:09 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH] drm/amdgpu: convert sienna_cichlid_get_default_config_table_settings()

RE: [PATCH] drm/amdgpu: simplify amdgpu_device_asic_has_dc_support()

2022-05-24 Thread Chen, Guchun
Reviewed-by: Guchun Chen Regards, Guchun -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Wednesday, May 25, 2022 10:09 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH] drm/amdgpu: simplify amdgpu_device_asic_has_dc_support() Drop extra

RE: [PATCH] drm/amdgpu: add beige goby PCI ID

2022-05-24 Thread Chen, Guchun
Reviewed-by: Guchun Chen Regards, Guchun -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Wednesday, May 25, 2022 11:26 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH] drm/amdgpu: add beige goby PCI ID Add a beige goby PCI ID.

RE: [PATCH Review v2 2/2] drm/amdgpu: print umc correctable error address

2022-05-24 Thread Zhou1, Tao
> -Original Message- > From: Stanley.Yang > Sent: Tuesday, May 24, 2022 10:31 PM > To: amd-gfx@lists.freedesktop.org; Zhang, Hawking > ; Zhou1, Tao ; Quan, Evan > ; Lazar, Lijo > Cc: Yang, Stanley > Subject: [PATCH Review v2 2/2] drm/amdgpu: print umc correctable error > address > >

[PATCH] drm/amdgpu: add beige goby PCI ID

2022-05-24 Thread Alex Deucher
Add a beige goby PCI ID. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 0bc6b2369e65..02731e28f18d 100644 ---

答复: [PATCH Review v2 2/2] drm/amdgpu: print umc correctable error address

2022-05-24 Thread Yang, Stanley
[AMD Official Use Only - General] [AMD Official Use Only - General] 发件人: Lazar, Lijo 日期: 星期三, 2022年5月25日 上午12:03 收件人: Yang, Stanley , amd-gfx@lists.freedesktop.org , Zhang, Hawking , Zhou1, Tao , Quan, Evan 主题: Re: [PATCH Review v2 2/2] drm/amdgpu: print umc correctable error address On

[PATCH] drm/amdgpu: simplify amdgpu_device_asic_has_dc_support()

2022-05-24 Thread Alex Deucher
Drop extra cases in the default case. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index

[PATCH] drm/amdgpu: convert sienna_cichlid_get_default_config_table_settings() to IP version

2022-05-24 Thread Alex Deucher
Use IP version rather than asic type. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c

[PATCH] drm/amdgpu: simplify amdgpu_ucode_get_load_type()

2022-05-24 Thread Alex Deucher
This is the same as the default case, so drop the extra logic. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 20 1 file changed, 20 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

[PATCH] drm/amdgpu: convert nbio_v2_3_clear_doorbell_interrupt() to IP version

2022-05-24 Thread Alex Deucher
Check IP version rather than asic type. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c b/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c index 6cd1fb2eb913..34c610b9157d

[PATCH] drm/amdgpu: simplify the logic in amdgpu_device_parse_gpu_info_fw()

2022-05-24 Thread Alex Deucher
Drop all of the extra cases in the default case. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 29 -- 1 file changed, 29 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index

[PATCH] drm/amdgpu: fix up comment in amdgpu_device_asic_has_dc_support()

2022-05-24 Thread Alex Deucher
LVDS support was implemented in DC a while ago. Just DAC support is left to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

[PATCH] drm/amdgpu: convert sienna_cichlid_populate_umd_state_clk() to use IP version

2022-05-24 Thread Alex Deucher
Rather than asic type. Signed-off-by: Alex Deucher --- .../gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c| 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c

Re: [PATCH] drm/amdgpu/discovery: make amdgpu_discovery_get_mall_info static

2022-05-24 Thread Luben Tuikov
This is already static, in our local branch, from this commit: commit 6852e61a0917a2 Author: Evan Quan Date: Thu May 19 17:28:12 2022 +0800 drm/amdgpu: suppress some compile warnings Suppress two compile warnings about "no previous prototype". Reported-by: kernel test

[PATCH v3 07/13] lib: test_hmm add ioctl to get zone device type

2022-05-24 Thread Alex Sierra
new ioctl cmd added to query zone device type. This will be used once the test_hmm adds zone device coherent type. Signed-off-by: Alex Sierra Acked-by: Felix Kuehling Reviewed-by: Alistair Poppple Signed-off-by: Christoph Hellwig --- lib/test_hmm.c | 23 +--

[PATCH v3 13/13] tools: add selftests to hmm for COW in device memory

2022-05-24 Thread Alex Sierra
The objective is to test device migration mechanism in pages marked as COW, for private and coherent device type. In case of writing to COW private page(s), a page fault will migrate pages back to system memory first. Then, these pages will be duplicated. In case of COW device coherent type, pages

[PATCH v3 05/13] mm/gup: migrate device coherent pages when pinning instead of failing

2022-05-24 Thread Alex Sierra
From: Alistair Popple Currently any attempts to pin a device coherent page will fail. This is because device coherent pages need to be managed by a device driver, and pinning them would prevent a driver from migrating them off the device. However this is no reason to fail pinning of these

[PATCH v3 12/13] tools: add hmm gup tests for device coherent type

2022-05-24 Thread Alex Sierra
The intention is to test hmm device coherent type under different get user pages paths. Also, test gup with FOLL_LONGTERM flag set in device coherent pages. These pages should get migrated back to system memory. Signed-off-by: Alex Sierra Reviewed-by: Alistair Popple ---

[PATCH v3 08/13] lib: test_hmm add module param for zone device type

2022-05-24 Thread Alex Sierra
In order to configure device coherent in test_hmm, two module parameters should be passed, which correspond to the SP start address of each device (2) spm_addr_dev0 & spm_addr_dev1. If no parameters are passed, private device type is configured. Signed-off-by: Alex Sierra Acked-by: Felix

[PATCH v3 09/13] lib: add support for device coherent type in test_hmm

2022-05-24 Thread Alex Sierra
Device Coherent type uses device memory that is coherently accesible by the CPU. This could be shown as SP (special purpose) memory range at the BIOS-e820 memory enumeration. If no SP memory is supported in system, this could be faked by setting CONFIG_EFI_FAKE_MEMMAP. Currently, test_hmm only

[PATCH v3 03/13] mm: add device coherent vma selection for memory migration

2022-05-24 Thread Alex Sierra
This case is used to migrate pages from device memory, back to system memory. Device coherent type memory is cache coherent from device and CPU point of view. Signed-off-by: Alex Sierra Acked-by: Felix Kuehling Reviewed-by: Alistair Poppple Signed-off-by: Christoph Hellwig ---

[PATCH v3 11/13] tools: update test_hmm script to support SP config

2022-05-24 Thread Alex Sierra
Add two more parameters to set spm_addr_dev0 & spm_addr_dev1 addresses. These two parameters configure the start SP addresses for each device in test_hmm driver. Consequently, this configures zone device type as coherent. Signed-off-by: Alex Sierra Acked-by: Felix Kuehling Reviewed-by: Alistair

[PATCH v3 10/13] tools: update hmm-test to support device coherent type

2022-05-24 Thread Alex Sierra
Test cases such as migrate_fault and migrate_multiple, were modified to explicit migrate from device to sys memory without the need of page faults, when using device coherent type. Snapshot test case updated to read memory device type first and based on that, get the proper returned results

[PATCH v3 06/13] drm/amdkfd: add SPM support for SVM

2022-05-24 Thread Alex Sierra
When CPU is connected throug XGMI, it has coherent access to VRAM resource. In this case that resource is taken from a table in the device gmc aperture base. This resource is used along with the device type, which could be DEVICE_PRIVATE or DEVICE_COHERENT to create the device page map region.

[PATCH v3 02/13] mm: handling Non-LRU pages returned by vm_normal_pages

2022-05-24 Thread Alex Sierra
With DEVICE_COHERENT, we'll soon have vm_normal_pages() return device-managed anonymous pages that are not LRU pages. Although they behave like normal pages for purposes of mapping in CPU page, and for COW. They do not support LRU lists, NUMA migration or THP. We also introduced a FOLL_LRU flag

[PATCH v3 04/13] mm: remove the vma check in migrate_vma_setup()

2022-05-24 Thread Alex Sierra
From: Alistair Popple migrate_vma_setup() checks that a valid vma is passed so that the page tables can be walked to find the pfns associated with a given address range. However in some cases the pfns are already known, such as when migrating device coherent pages during pin_user_pages() meaning

[PATCH v3 01/13] mm: add zone device coherent type memory support

2022-05-24 Thread Alex Sierra
Device memory that is cache coherent from device and CPU point of view. This is used on platforms that have an advanced system bus (like CAPI or CXL). Any page of a process can be migrated to such memory. However, no one should be allowed to pin such memory so that it can always be evicted.

[PATCH v3 00/13] Add MEMORY_DEVICE_COHERENT for coherent device memory mapping

2022-05-24 Thread Alex Sierra
This is our MEMORY_DEVICE_COHERENT patch series rebased and updated for current 5.18.0 Changes since the last version: - Fixed problems with migration during long-term pinning in get_user_pages - Open coded vm_normal_lru_pages as suggested in previous code review - Update hmm_gup_test with more

Re: [PATCH v2 11/13] mm: handling Non-LRU pages returned by vm_normal_pages

2022-05-24 Thread Sierra Guiza, Alejandro (Alex)
On 5/23/2022 7:02 AM, Alistair Popple wrote: Technically I think this patch should be earlier in the series. As I understand it patch 1 allows DEVICE_COHERENT pages to be inserted in the page tables and therefore makes it possible for page table walkers to see non-LRU pages. Patch will

[PATCH] drm: Don't block HDR_OUTPUT_METADATA on unknown EOTF

2022-05-24 Thread Harry Wentland
The supported EOTFs are defined in eotf_supported in drm_edid but userspace has no way of knowing what is and isn't supported when creating an HDR_OUTPUT_METADATA and will only know something is wrong when the atomic commit fails. Since it is expected that userspace reads the EDID to understand

[PATCH 6/8] Prepare for new interfaces

2022-05-24 Thread Jasdeep Dhillon
From: Martin Leung why: lut pipeline will be hooked up differently in some asics need to add new interfaces how: add them Reviewed-by: Krunoslav Kovac Acked-by: Jasdeep Dhillon Signed-off-by: Martin Leung --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +

[PATCH 8/8] drm/amd/display: 3.2.187

2022-05-24 Thread Jasdeep Dhillon
From: Aric Cyr This version brings along following fixes: * Changes to DP LT fallback behavior to more closely match the DP standard * Added new interfaces for lut pipeline * Restore ref_dtblck value when clk struct is cleared in init_clocks * Fixes DMUB outbox trace in S4 * Fixes lingering DIO

[PATCH 7/8] drm/amd/display: Fix possible infinite loop in DP LT fallback

2022-05-24 Thread Jasdeep Dhillon
From: Ilya [Why] It's possible for some fallback scenarios to result in infinite looping during link training. [How] This change modifies DP LT fallback behavior to more closely match the DP standard. Keep track of the link rate during the EQ_FAIL fallback, and use it as the maximum link rate

[PATCH 5/8] drm/amd/display: Don't clear ref_dtbclk value

2022-05-24 Thread Jasdeep Dhillon
From: Alvin [Description] ref_dtbclk value is assigned in clk_mgr_construct, but the clks struct is cleared in init_clocks. Make sure to restore the value or we will get 0 value for ref_dtbclk in DCN31. Reviewed-by: Chris Park Acked-by: Jasdeep Dhillon Signed-off-by: Alvin Lee ---

[PATCH 4/8] drm/amd/display: Fix DMUB outbox trace in S4 (#4465)

2022-05-24 Thread Jasdeep Dhillon
From: Cruise Hung [Why] DMUB Outbox0 read/write pointer not sync after resumed from S4. And that caused old traces were sent to outbox. [How] Disable DMUB Outbox0 interrupt and clear DMUB Outbox0 read/write pointer when resumes from S4. And then enable Outbox0 interrupt before starts DMCUB.

[PATCH 2/8] drm/amd/display: Pass the new context into disable OTG WA

2022-05-24 Thread Jasdeep Dhillon
From: Nicholas Kazlauskas [Why] When enabling an HPO stream for the first time after having previously enabled a DIO stream there may be lingering DIO FIFO errors even though the DIO is no longer enabled. These can cause display clock change to hang if we don't apply the OTG disable workaround

[PATCH 3/8] drm/amd/display: Wait DMCUB to idle state before reset.

2022-05-24 Thread Jasdeep Dhillon
From: hengzhou [WHY] Very low rate to cause memory access issue while resetting DMCUB after the halt command was sent to it. The process of stopping fw of DMCUB may be timeout, that means it is not in idle state, such as the window frames may still be kept in cache, so reset by force will cause

[PATCH 1/8] drm/amd/display: revert Blank eDP on disable/enable drv

2022-05-24 Thread Jasdeep Dhillon
From: Martin Leung why and how: This reverts commit 8e848b1b4ee585cbe25808b4458a74e739586034. Was causing a black screen with certain blocks Reviewed-by: George Shen Acked-by: Jasdeep Dhillon Signed-off-by: Martin Leung --- .../display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 8 +++-

[PATCH 0/8] May 24, 2022

2022-05-24 Thread Jasdeep Dhillon
This DC patchset brings improvements in multiple areas. In summary, we highlight: * Changes to DP LT fallback behavior to more closely match the DP standard * Added new interfaces for lut pipeline * Restore ref_dtblck value when clk struct is cleared in init_clocks * Fixes DMUB outbox trace in

[PATCH 0/8] May 24, 2022

2022-05-24 Thread Jasdeep Dhillon
This DC patchset brings improvements in multiple areas. In summary, we highlight: *Changes to DP LT fallback behavior to more closely match the DP standard *Added new interfaces for lut pipeline *Restore ref_dtblck value when clk struct is cleared in init_clocks *Fixes DMUB outbox trace in S4

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Sharma, Shashank
(snip) #ifdef CONFIG_DEV_COREDUMP     tmp_adev->reset_context_vram_lost = vram_lost; tmp_adev->reset_context_task_info.pid = 0;     if (reset_context->job && reset_context->job->vm) tmp_adev->reset_context_task_info =

Re: [PATCH Review v2 2/2] drm/amdgpu: print umc correctable error address

2022-05-24 Thread Lazar, Lijo
On 5/24/2022 8:00 PM, Stanley.Yang wrote: Changed from V1: remove unnecessary same row physical address calculation Signed-off-by: Stanley.Yang --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 ++ drivers/gpu/drm/amd/amdgpu/umc_v6_7.c | 52 ++-

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Somalapuram, Amaranath
On 5/24/2022 8:34 PM, Sharma, Shashank wrote: On 5/24/2022 3:18 PM, Somalapuram, Amaranath wrote: On 5/24/2022 6:20 PM, Sharma, Shashank wrote: On 5/24/2022 2:10 PM, Somalapuram, Amaranath wrote: On 5/24/2022 3:23 PM, Sharma, Shashank wrote: On 5/24/2022 8:42 AM, Somalapuram,

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Sharma, Shashank
On 5/24/2022 3:18 PM, Somalapuram, Amaranath wrote: On 5/24/2022 6:20 PM, Sharma, Shashank wrote: On 5/24/2022 2:10 PM, Somalapuram, Amaranath wrote: On 5/24/2022 3:23 PM, Sharma, Shashank wrote: On 5/24/2022 8:42 AM, Somalapuram, Amaranath wrote: On 5/20/2022 7:52 PM, Sharma,

[PATCH Review v2 2/2] drm/amdgpu: print umc correctable error address

2022-05-24 Thread Stanley . Yang
Changed from V1: remove unnecessary same row physical address calculation Signed-off-by: Stanley.Yang --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 ++ drivers/gpu/drm/amd/amdgpu/umc_v6_7.c | 52 ++- .../drm/amd/pm/swsmu/smu13/aldebaran_ppt.c| 1 +

[PATCH Review v2 1/2] drm/amdgpu/pm: support mca_ceumc_addr in ecctable

2022-05-24 Thread Stanley . Yang
SMU add a new variable mca_ceumc_addr to record umc correctable error address in EccInfo table, driver side add EccInfo_V2_t to support this feature Changed from V1: remove ecc_table_v2 and unnecessary table id, define union struct include EccInfo_t and EccInfo_V2_t.

Re: [PATCH] drm/amd/pm: Return auto perf level, if unsupported

2022-05-24 Thread Lazar, Lijo
On 5/24/2022 6:49 PM, Alex Deucher wrote: On Tue, May 24, 2022 at 8:36 AM Lijo Lazar wrote: When powerplay is not enabled, return AUTO as default level. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH] drm/amd/pm: Return auto perf level, if unsupported

2022-05-24 Thread Alex Deucher
On Tue, May 24, 2022 at 8:36 AM Lijo Lazar wrote: > > When powerplay is not enabled, return AUTO as default level. > > Signed-off-by: Lijo Lazar > --- > drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/amd/pm/amdgpu_dpm.c >

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Somalapuram, Amaranath
On 5/24/2022 6:20 PM, Sharma, Shashank wrote: On 5/24/2022 2:10 PM, Somalapuram, Amaranath wrote: On 5/24/2022 3:23 PM, Sharma, Shashank wrote: On 5/24/2022 8:42 AM, Somalapuram, Amaranath wrote: On 5/20/2022 7:52 PM, Sharma, Shashank wrote: On 5/20/2022 3:49 PM, Somalapuram

[PATCH v1 00/13] drm/edid: expand on struct drm_edid usage

2022-05-24 Thread Jani Nikula
Hey all, I'm adding a bunch of people to the cover letter, sorry for the noise. I've been putting a lot of effort lately into cleaning up our EDID parsing. It's been long overdue. Here, we finally leverage all that prep work to implement the HDMI Forum HF-EEODB extension. In short, HF-EEODB lets

[PATCH] drm/amdgpu/discovery: make amdgpu_discovery_get_mall_info static

2022-05-24 Thread Jiapeng Chong
This symbol is not used outside of amdgpu_discovery.c, so marks it static. Fixes the following w1 warning: drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:1364:5: warning: no previous prototype for ‘amdgpu_discovery_get_mall_info’ [-Wmissing-prototypes]. Reported-by: Abaci Robot Signed-off-by:

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Sharma, Shashank
On 5/24/2022 2:10 PM, Somalapuram, Amaranath wrote: On 5/24/2022 3:23 PM, Sharma, Shashank wrote: On 5/24/2022 8:42 AM, Somalapuram, Amaranath wrote: On 5/20/2022 7:52 PM, Sharma, Shashank wrote: On 5/20/2022 3:49 PM, Somalapuram Amaranath wrote: Added device coredump information: -

[PATCH] drm/amd/pm: Return auto perf level, if unsupported

2022-05-24 Thread Lijo Lazar
When powerplay is not enabled, return AUTO as default level. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/amdgpu_dpm.c b/drivers/gpu/drm/amd/pm/amdgpu_dpm.c index 5472f9936feb..d1bf073adf54

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Somalapuram, Amaranath
On 5/24/2022 3:23 PM, Sharma, Shashank wrote: On 5/24/2022 8:42 AM, Somalapuram, Amaranath wrote: On 5/20/2022 7:52 PM, Sharma, Shashank wrote: On 5/20/2022 3:49 PM, Somalapuram Amaranath wrote: Added device coredump information: - Kernel version - Module - Time - VRAM status - Guilty

Re: [PATCH v1 1/2] drm/amdgpu: save the reset dump register value for devcoredump

2022-05-24 Thread Somalapuram, Amaranath
On 5/24/2022 3:25 PM, Sharma, Shashank wrote: On 5/24/2022 8:12 AM, Somalapuram, Amaranath wrote: On 5/20/2022 7:36 PM, Sharma, Shashank wrote: Hey Amar, On 5/20/2022 3:49 PM, Somalapuram Amaranath wrote: Allocate memory for register value and use the same values for devcoredump.

Re: [PATCH v1 1/2] drm/amdgpu: save the reset dump register value for devcoredump

2022-05-24 Thread Sharma, Shashank
On 5/24/2022 8:12 AM, Somalapuram, Amaranath wrote: On 5/20/2022 7:36 PM, Sharma, Shashank wrote: Hey Amar, On 5/20/2022 3:49 PM, Somalapuram Amaranath wrote: Allocate memory for register value and use the same values for devcoredump. Remove dump_stack reset register dumps.

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Sharma, Shashank
On 5/24/2022 8:42 AM, Somalapuram, Amaranath wrote: On 5/20/2022 7:52 PM, Sharma, Shashank wrote: On 5/20/2022 3:49 PM, Somalapuram Amaranath wrote: Added device coredump information: - Kernel version - Module - Time - VRAM status - Guilty process name and PID - GPU register dumps

[PATCH 2/3] drm/amd/pm: update SMU 13.0.0 driver_if header

2022-05-24 Thread Evan Quan
To fit the latest 78.39.0 PMFW. Signed-off-by: Evan Quan Reviewed-by: Hawking Zhang Change-Id: Ie8280606729fa8b80a0abf1bc94f16c4b06191d4 -- v1->v2: - coding style fixes(Hawking) --- .../drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 6 ++

[PATCH 3/3] drm/amd/pm: enable fclk ds feature for SMU 13.0.0

2022-05-24 Thread Evan Quan
The feature is ready with latest 78.39.0 PMFW. Signed-off-by: Evan Quan Reviewed-by: Hawking Zhang Change-Id: I99096e23ed7ebcd5aaada84b7f11ad9e3d3cd8b8 --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 1/3] drm/amd/pm: correct the way for retrieving current uclk frequency

2022-05-24 Thread Evan Quan
There is some problem with average frequency reading. Thus, we switch to the target frequency reading instead. Signed-off-by: Evan Quan Reviewed-by: Hawking Zhang Change-Id: I50fd370bbca68159cb1a4f69b05232f907af2bb9 --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 +- 1 file

Re: [PATCH 09/14] ACPI: video: Make backlight class device registration a separate step

2022-05-24 Thread Hans de Goede
Hi, On 5/24/22 01:25, Daniel Dadap wrote: > On 5/20/22 16:41, Daniel Dadap wrote: >> >> On 5/17/22 10:23, Hans de Goede wrote: >>> On x86/ACPI boards the acpi_video driver will usually initializing before >>> the kms driver (except i915). This causes /sys/class/backlight/acpi_video0 >>> to show

Re: [PATCH v1 2/2] drm/amdgpu: adding device coredump support

2022-05-24 Thread Somalapuram, Amaranath
On 5/20/2022 7:52 PM, Sharma, Shashank wrote: On 5/20/2022 3:49 PM, Somalapuram Amaranath wrote: Added device coredump information: - Kernel version - Module - Time - VRAM status - Guilty process name and PID - GPU register dumps Signed-off-by: Somalapuram Amaranath ---  

Re: [PATCH v1 1/2] drm/amdgpu: save the reset dump register value for devcoredump

2022-05-24 Thread Somalapuram, Amaranath
On 5/20/2022 7:36 PM, Sharma, Shashank wrote: Hey Amar, On 5/20/2022 3:49 PM, Somalapuram Amaranath wrote: Allocate memory for register value and use the same values for devcoredump. Remove dump_stack reset register dumps. Signed-off-by: Somalapuram Amaranath ---