Re: [PATCH 4/5] dpm/amd/pm: Sienna: Remove 0 MHz as a current clock frequency (v3)

2021-10-18 Thread Luben Tuikov
On 2021-10-19 00:38, Lazar, Lijo wrote: > > On 10/19/2021 9:45 AM, Luben Tuikov wrote: >> On 2021-10-18 23:38, Lazar, Lijo wrote: >>> On 10/19/2021 5:19 AM, Luben Tuikov wrote: A current value of a clock frequency of 0, means that the IP block is in some kind of low power state.

Re: [PATCH 4/5] dpm/amd/pm: Sienna: Remove 0 MHz as a current clock frequency (v3)

2021-10-18 Thread Lazar, Lijo
On 10/19/2021 9:45 AM, Luben Tuikov wrote: On 2021-10-18 23:38, Lazar, Lijo wrote: On 10/19/2021 5:19 AM, Luben Tuikov wrote: A current value of a clock frequency of 0, means that the IP block is in some kind of low power state. Ignore it and don't report it here. Here we only report the

Re: [PATCH 0/5] 0 MHz is not a valid current frequency

2021-10-18 Thread Luben Tuikov
Kent, What is the command which fails? I can try to duplicate it here. So far, things I've tried, I cannot make rocm-smi fail. Command arguments? Regards, Luben On 2021-10-18 21:06, Russell, Kent wrote:

Re: [PATCH 4/5] dpm/amd/pm: Sienna: Remove 0 MHz as a current clock frequency (v3)

2021-10-18 Thread Luben Tuikov
On 2021-10-18 23:38, Lazar, Lijo wrote: On 10/19/2021 5:19 AM, Luben Tuikov wrote: A current value of a clock frequency of 0, means that the IP block is in some kind of low power state. Ignore it and don't report it here. Here we only report the possible

RE: [PATCH] drm/amdgpu: support B0 external revision id for yellow carp

2021-10-18 Thread Huang, Ray
[AMD Official Use Only] > -Original Message- > From: Liu, Aaron > Sent: Tuesday, October 19, 2021 11:23 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Huang, Ray > ; Liu, Aaron > Subject: [PATCH] drm/amdgpu: support B0 external revision id for yellow > carp > > B0

Re: [PATCH 4/5] dpm/amd/pm: Sienna: Remove 0 MHz as a current clock frequency (v3)

2021-10-18 Thread Lazar, Lijo
On 10/19/2021 5:19 AM, Luben Tuikov wrote: A current value of a clock frequency of 0, means that the IP block is in some kind of low power state. Ignore it and don't report it here. Here we only report the possible operating (non-zero) frequencies of the block requested. So, if the current

[PATCH] drm/amdgpu: support B0 external revision id for yellow carp

2021-10-18 Thread Aaron Liu
B0 internal rev_id is 0x01, B1 internal rev_id is 0x02. The external rev_id for B0 and B1 is 0x20. The original expression is not suitable for B1. Signed-off-by: Aaron Liu --- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

2021-10-18 Thread Quan, Evan
[AMD Official Use Only] > -Original Message- > From: Lazar, Lijo > Sent: Monday, October 18, 2021 6:47 PM > To: Quan, Evan ; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; b...@alien8.de > Subject: Re: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to > UVD suspend

RE: [PATCH 0/5] 0 MHz is not a valid current frequency

2021-10-18 Thread Russell, Kent
[AMD Official Use Only] The * is required for the rocm-smi's functionality for showing what the current clocks are. We had a bug before where the * was removed, then the SMI died fantastically. Work could be done to try to handle that type of situation, but the SMI has a "show current clocks"

RE: [PATCH 0/5] 0 MHz is not a valid current frequency

2021-10-18 Thread Russell, Kent
[AMD Official Use Only] +Harish, rocm-smi falls under his purview now. Kent From: Tuikov, Luben Sent: Monday, October 18, 2021 4:30 PM To: Deucher, Alexander ; Quan, Evan ; Lazar, Lijo ; amd-gfx@lists.freedesktop.org; Russell, Kent Subject: Re: [PATCH 0/5] 0 MHz is not a valid current

[PATCH 2/5] drm/amd/pm: Rename cur_value to curr_value

2021-10-18 Thread Luben Tuikov
Rename "cur_value", which stands for "cursor value" to "curr_value", which stands for "current value". Cc: Alex Deucher Signed-off-by: Luben Tuikov --- drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 12 ++-- .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 15 --- 2

[PATCH 4/5] dpm/amd/pm: Sienna: Remove 0 MHz as a current clock frequency (v3)

2021-10-18 Thread Luben Tuikov
A current value of a clock frequency of 0, means that the IP block is in some kind of low power state. Ignore it and don't report it here. Here we only report the possible operating (non-zero) frequencies of the block requested. So, if the current clock value is 0, then print the DPM frequencies,

[PATCH 5/5] dpm/amd/pm: Navi10: Remove 0 MHz as a current clock frequency (v3)

2021-10-18 Thread Luben Tuikov
A current value of a clock frequency of 0, means that the IP block is in some kind of low power state. Ignore it and don't report it here. Here we only report the possible operating (non-zero) frequencies of the block requested. So, if the current clock value is 0, then print the DPM frequencies,

[PATCH 3/5] drm/amd/pm: Rename freq_values --> freq_value

2021-10-18 Thread Luben Tuikov
By usage: read freq_values[x] to freq_value[x]. Cc: Alex Deucher Signed-off-by: Luben Tuikov --- .../gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c| 16 .../amd/pm/swsmu/smu11/sienna_cichlid_ppt.c| 18 +- 2 files changed, 17 insertions(+), 17 deletions(-)

[PATCH 0/5] Remove 0 MHz as a valid current frequency (v4)

2021-10-18 Thread Luben Tuikov
Some ASICs support low-power functionality for the whole ASIC or just an IP block. When in such low-power mode, some sysfs interfaces would report a frequency of 0, e.g., $cat /sys/class/drm/card0/device/pp_dpm_sclk 0: 500Mhz 1: 0Mhz * 2: 2200Mhz $_ An operating frequency of 0 MHz doesn't make

[PATCH 1/5] drm/amd/pm: Rename a couple of functions (v3)

2021-10-18 Thread Luben Tuikov
Rename sienna_cichlid_is_support_fine_grained_dpm() to sienna_cichlid_supports_fine_grained_dpm(). Rename navi10_is_support_fine_grained_dpm() to navi10_supports_fine_grained_dpm(). v2: Fix function name in commit message to reflect the change being done: add a missing 's'. v3: Start the subject

Re: [PATCH 27/27] Revert "drm/amd/display: Add helper for blanking all dp displays"

2021-10-18 Thread Paul Menzel
Dear Augustin, Am 15.10.21 um 20:43 schrieb Agustin Gutierrez: This reverts commit 50ac5b14c74c5706796cb6378f25a2121dba5b2d. This patch introduced a couple of dmesg warnings, Please give one example warning for people searching through the git history. this is not a valid approach

Re: [PATCH 26/27] Revert "drm/amd/display: Fix error in dmesg at boot"

2021-10-18 Thread Paul Menzel
Dear Augustin, Am 15.10.21 um 20:43 schrieb Agustin Gutierrez: This reverts commit 4e605d4b6a510f751b22df4d13829aefb8a0ccec. Why? (Do revert commits need a Signed-off-by line?) Kind regards, Paul --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 ++-- 1 file changed, 2

Re: [PATCH] amd/display: remove ChromeOS workaround

2021-10-18 Thread Paul Menzel
Dear Simon, Am 19.10.21 um 01:06 schrieb Simon Ser: On Tuesday, October 19th, 2021 at 01:03, Paul Menzel wrote: Excuse my ignorance. Reading the commit message, there was a Linux kernel change, that broke Chrome OS userspace, right? If so, and we do not know if there is other userspace using

Re: [PATCH] amd/display: remove ChromeOS workaround

2021-10-18 Thread Simon Ser
On Tuesday, October 19th, 2021 at 01:03, Paul Menzel wrote: > Excuse my ignorance. Reading the commit message, there was a Linux > kernel change, that broke Chrome OS userspace, right? If so, and we do > not know if there is other userspace using the API incorrectly, > shouldn’t the patch

Re: [PATCH v1 2/2] mm: remove extra ZONE_DEVICE struct page refcount

2021-10-18 Thread Jason Gunthorpe
On Mon, Oct 18, 2021 at 12:37:30PM -0700, Dan Williams wrote: > > device-dax uses PUD, along with TTM, they are the only places. I'm not > > sure TTM is a real place though. > > I was setting device-dax aside because it can use Joao's changes to > get compound-page support. Ideally, but that

Re: [PATCH] amd/display: remove ChromeOS workaround

2021-10-18 Thread Paul Menzel
Dear Simon, Am 14.10.21 um 17:35 schrieb Simon Ser: This reverts commits ddab8bd788f5 ("drm/amd/display: Fix two cursor duplication when using overlay") and e7d9560aeae5 ("Revert "drm/amd/display: Fix overlay validation by considering cursors""). tl;dr ChromeOS uses the atomic interface for

Re: [PATCH 1/5] drm/amd/pm: Slight function rename

2021-10-18 Thread Luben Tuikov
Okay, no problem--I'll add a verb there and resend the patch set. Thanks for letting me know. Regards, Luben On 2021-10-18 18:52, Paul Menzel wrote: > Dear Luben, > > > Am 13.10.21 um 05:10 schrieb Luben Tuikov: > > […] > > A small nit regarding the subject. It’d be great if you made it a >

Re: [PATCH 16/27] drm/amd/display: increase Z9 latency to workaround underflow in Z9

2021-10-18 Thread Paul Menzel
Dear Nicholas, dear Eric, dear Augustin, Am 18.10.21 um 19:14 schrieb Kazlauskas, Nicholas: On 2021-10-15 7:53 p.m., Mike Lothian wrote: This patch seems to change z8 - not that I know what z8 or z9 are It's a little misleading but the patch and terminology is correct. Z9 is the usecase

Re: [PATCH 17/27] drm/amd/display: Increase watermark latencies for DCN3.1

2021-10-18 Thread Paul Menzel
Dear Nikola, dear Augustin, Am 15.10.21 um 20:43 schrieb Agustin Gutierrez: From: Nikola Cornij [why] The original latencies were causing underflow in some modes Which modes exactly? On what hardware? How can it be reproduced? [how] Replace with the up-to-date watermark values based on

Re: [PATCH 1/5] drm/amd/pm: Slight function rename

2021-10-18 Thread Paul Menzel
Dear Luben, Am 13.10.21 um 05:10 schrieb Luben Tuikov: […] A small nit regarding the subject. It’d be great if you made it a statement by adding a verb (in imperative mood). git standard messages are doing the same with *Merge …* and *Revert …*. Kind regards, Paul

Re: [PATCH 0/5] 0 MHz is not a valid current frequency

2021-10-18 Thread Luben Tuikov
I think Kent is already seen these patches as he did comment on 1/5 patch. The v3 version of the patch, posted last week, removes the asterisk to report the lowest frequency as the current frequency, when the current frequency is 0, i.e. when the block is in

Re: [PATCH 0/5] 0 MHz is not a valid current frequency

2021-10-18 Thread Deucher, Alexander
[Public] We the current behavior (0 for clock) already crashes the tool, so I don't think we can really make things worse. Alex From: Quan, Evan Sent: Thursday, October 14, 2021 10:25 PM To: Lazar, Lijo ; Tuikov, Luben ; amd-gfx@lists.freedesktop.org ;

Re: [PATCH v1 2/2] mm: remove extra ZONE_DEVICE struct page refcount

2021-10-18 Thread Dan Williams
On Mon, Oct 18, 2021 at 11:26 AM Jason Gunthorpe wrote: > > On Sun, Oct 17, 2021 at 11:35:35AM -0700, Dan Williams wrote: > > > > DAX is stuffing arrays of 4k pages into the PUD/PMDs. Aligning with > > > THP would make using normal refconting much simpler. I looked at > > > teaching the mm core

Re: [PATCH v1 2/2] mm: remove extra ZONE_DEVICE struct page refcount

2021-10-18 Thread Jason Gunthorpe
On Sun, Oct 17, 2021 at 11:35:35AM -0700, Dan Williams wrote: > > DAX is stuffing arrays of 4k pages into the PUD/PMDs. Aligning with > > THP would make using normal refconting much simpler. I looked at > > teaching the mm core to deal with page arrays - it is certainly > > doable, but it is

Re: [PATCH 16/27] drm/amd/display: increase Z9 latency to workaround underflow in Z9

2021-10-18 Thread Kazlauskas, Nicholas
On 2021-10-15 7:53 p.m., Mike Lothian wrote: This patch seems to change z8 - not that I know what z8 or z9 are It's a little misleading but the patch and terminology is correct. Z9 is the usecase for these watermarks even if the calculation is shared with Z8/Z9. Regards, Nicholas

RE: [PATCH 00/27] DC Patchset for October 15

2021-10-18 Thread Wheeler, Daniel
[Public] Hi all,   This week this patchset was tested on the following systems:   HP Envy 360, with Ryzen 5 4500U, with the following display types: eDP 1080p 60hz, 4k 60hz (via USB-C to DP/HDMI), 1440p 144hz (via USB-C to DP/HDMI), 1680*1050 60hz (via USB-C to DP and then DP to DVI/VGA)   AMD

Re: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

2021-10-18 Thread Christian König
Am 18.10.21 um 09:34 schrieb Evan Quan: It's confirmed that on some APUs the interaction with SMU(about DPM disablement) will power off the UVD. That will make the succeeding interactions with UVD on the suspend path impossible. And the system will hang due to that. To workaround the issue, we

Re: [PATCH 2/3] drm/amdgpu:move vram manager defines into a header file

2021-10-18 Thread Christian König
Am 13.10.21 um 15:38 schrieb Arunpravin: Move vram related defines and inline functions into a separate header file Signed-off-by: Arunpravin --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h | 72 1 file changed, 72 insertions(+) create mode 100644

Re: [PATCH 0/3] drm/amdgpu replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

2021-10-18 Thread Claudio Suarez
On Mon, Oct 18, 2021 at 09:37:13AM -0400, Harry Wentland wrote: > On 2021-10-17 07:34, Claudio Suarez wrote: > > > > From the TODO list Documentation/gpu/todo.rst > > --- > > Once EDID is parsed, the monitor HDMI support information is available > > through > >

Re: [PATCH] drm/amdgpu/discovery: parse hw_id_name for SDMA instance 2 and 3

2021-10-18 Thread Alex Deucher
On Mon, Oct 18, 2021 at 10:30 AM Guchun Chen wrote: > > Otherwise, hw_id_name string is NULL for SDMA 2 and 3 when dumping > ip version from VBIOS. > > Signed-off-by: Guchun Chen Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 ++ > 1 file changed, 2

[PATCH] drm/amdgpu/discovery: parse hw_id_name for SDMA instance 2 and 3

2021-10-18 Thread Guchun Chen
Otherwise, hw_id_name string is NULL for SDMA 2 and 3 when dumping ip version from VBIOS. Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

RE: [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics

2021-10-18 Thread Li, Roman
[Public] > -Original Message- > From: Wentland, Harry > Sent: Monday, October 18, 2021 9:57 AM > To: Limonciello, Mario ; Li, Roman > ; amd-gfx@lists.freedesktop.org; Deucher, Alexander > ; Siqueira, Rodrigo > > Cc: sta...@vger.kernel.org > Subject: Re: [PATCH] drm/amd/display: Fully

Re: [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics

2021-10-18 Thread Harry Wentland
On 2021-10-18 09:41, Limonciello, Mario wrote: > On 10/15/2021 17:31, roman...@amd.com wrote: >> From: Roman Li >> >> [Why] >> On renoir usb-c port stops functioning on resume after f/w update. >> New dmub firmware caused regression due to conflict with dmcu. >> With new dmub f/w dmcu is

Re: [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics

2021-10-18 Thread Limonciello, Mario
On 10/15/2021 17:31, roman...@amd.com wrote: From: Roman Li [Why] On renoir usb-c port stops functioning on resume after f/w update. New dmub firmware caused regression due to conflict with dmcu. With new dmub f/w dmcu is superseded and should be disabled. [How] - Disable dmcu for all dcn21.

Re: [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics

2021-10-18 Thread Limonciello, Mario
On 10/18/2021 08:38, Harry Wentland wrote: On 2021-10-15 18:31, roman...@amd.com wrote: From: Roman Li [Why] On renoir usb-c port stops functioning on resume after f/w update. New dmub firmware caused regression due to conflict with dmcu. With new dmub f/w dmcu is superseded and should be

Re: [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics

2021-10-18 Thread Harry Wentland
On 2021-10-15 18:31, roman...@amd.com wrote: > From: Roman Li > > [Why] > On renoir usb-c port stops functioning on resume after f/w update. > New dmub firmware caused regression due to conflict with dmcu. > With new dmub f/w dmcu is superseded and should be disabled. > > [How] > - Disable dmcu

Re: [PATCH 0/3] drm/amdgpu replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

2021-10-18 Thread Harry Wentland
On 2021-10-17 07:34, Claudio Suarez wrote: > > From the TODO list Documentation/gpu/todo.rst > --- > Once EDID is parsed, the monitor HDMI support information is available through > drm_display_info.is_hdmi. Many drivers still call drm_detect_hdmi_monitor() to > retrieve the

Re: [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics

2021-10-18 Thread Alex Deucher
On Fri, Oct 15, 2021 at 6:33 PM wrote: > > From: Roman Li > > [Why] > On renoir usb-c port stops functioning on resume after f/w update. > New dmub firmware caused regression due to conflict with dmcu. > With new dmub f/w dmcu is superseded and should be disabled. > > [How] > - Disable dmcu for

Re: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

2021-10-18 Thread Borislav Petkov
On Mon, Oct 18, 2021 at 03:34:32PM +0800, Evan Quan wrote: > It's confirmed that on some APUs the interaction with SMU(about DPM > disablement) > will power off the UVD. That will make the succeeding interactions with UVD > on the > suspend path impossible. And the system will hang due to that.

RE: [PATCH 2/2] drm/amdgpu: output warning for unsupported ras error inject (v2)

2021-10-18 Thread Zhang, Hawking
[AMD Official Use Only] Series is Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: Zhou1, Tao Sent: Monday, October 18, 2021 18:50 To: amd-gfx@lists.freedesktop.org; Zhang, Hawking ; Clements, John ; Yang, Stanley Cc: Zhou1, Tao Subject: [PATCH 2/2] drm/amdgpu:

[PATCH 2/2] drm/amdgpu: output warning for unsupported ras error inject (v2)

2021-10-18 Thread Tao Zhou
Output a warning message if RAS TA returns UNSUPPORTED_ERROR_INJ status. v2: implement it in psp_ras_ta_check_status function. Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 drivers/gpu/drm/amd/amdgpu/ta_ras_if.h | 7 ++- 2 files changed, 10 insertions(+), 1

[PATCH 1/2] drm/amdgpu: centralize checking for RAS TA status

2021-10-18 Thread Tao Zhou
Create new function to check status returned by RAS TA. Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

Re: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

2021-10-18 Thread Lazar, Lijo
On 10/18/2021 3:21 PM, Quan, Evan wrote: [AMD Official Use Only] -Original Message- From: Lazar, Lijo Sent: Monday, October 18, 2021 3:58 PM To: Quan, Evan ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; b...@alien8.de Subject: Re: [PATCH] drm/amdgpu: fix the hang

RE: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

2021-10-18 Thread Quan, Evan
[AMD Official Use Only] > -Original Message- > From: Lazar, Lijo > Sent: Monday, October 18, 2021 3:58 PM > To: Quan, Evan ; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; b...@alien8.de > Subject: Re: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to > UVD suspend

Re: [PATCH] drm/amdgpu: fix Polaris12 uvd crash on driver unload

2021-10-18 Thread Lazar, Lijo
On 10/18/2021 2:38 PM, Quan, Evan wrote: [AMD Official Use Only] -Original Message- From: Lazar, Lijo Sent: Monday, October 18, 2021 4:05 PM To: Quan, Evan ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Grodzovsky, Andrey Subject: Re: [PATCH] drm/amdgpu: fix Polaris12

RE: [PATCH] drm/amdgpu: fix Polaris12 uvd crash on driver unload

2021-10-18 Thread Quan, Evan
[AMD Official Use Only] > -Original Message- > From: Lazar, Lijo > Sent: Monday, October 18, 2021 4:05 PM > To: Quan, Evan ; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Grodzovsky, > Andrey > Subject: Re: [PATCH] drm/amdgpu: fix Polaris12 uvd crash on driver unload > >

Re: [PATCH] drm/amdgpu: fix Polaris12 uvd crash on driver unload

2021-10-18 Thread Lazar, Lijo
On 10/18/2021 1:06 PM, Quan, Evan wrote: [AMD Official Use Only] Ping.. -Original Message- From: Quan, Evan Sent: Monday, October 11, 2021 4:28 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Grodzovsky, Andrey ; Quan, Evan Subject: [PATCH] drm/amdgpu: fix Polaris12

Re: [PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

2021-10-18 Thread Lazar, Lijo
On 10/18/2021 1:04 PM, Evan Quan wrote: It's confirmed that on some APUs the interaction with SMU(about DPM disablement) will power off the UVD. That will make the succeeding interactions with UVD on the suspend path impossible. And the system will hang due to that. To workaround the issue,

RE: [PATCH] drm/amdgpu: fix Polaris12 uvd crash on driver unload

2021-10-18 Thread Quan, Evan
[AMD Official Use Only] Ping.. > -Original Message- > From: Quan, Evan > Sent: Monday, October 11, 2021 4:28 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Grodzovsky, > Andrey ; Quan, Evan > > Subject: [PATCH] drm/amdgpu: fix Polaris12 uvd crash on driver unload >

[PATCH] drm/amdgpu: fix the hang observed on Carrizo due to UVD suspend failure

2021-10-18 Thread Evan Quan
It's confirmed that on some APUs the interaction with SMU(about DPM disablement) will power off the UVD. That will make the succeeding interactions with UVD on the suspend path impossible. And the system will hang due to that. To workaround the issue, we will skip the UVD(or VCE) power off during

Re: [PATCH v1 2/2] mm: remove extra ZONE_DEVICE struct page refcount

2021-10-18 Thread Jason Gunthorpe
On Thu, Oct 14, 2021 at 10:45:52PM -0500, Sierra Guiza, Alejandro (Alex) wrote: > > On 10/14/2021 3:57 PM, Ralph Campbell wrote: > > > > On 10/14/21 11:01 AM, Jason Gunthorpe wrote: > > > On Thu, Oct 14, 2021 at 10:35:27AM -0700, Ralph Campbell wrote: > > > > > > > I ran xfstests-dev using the