[PATCH] drm/amdgpu: Fix a potential sdma invalid access

2021-04-01 Thread Qu Huang
Before dma_resv_lock(bo->base.resv, NULL) in amdgpu_bo_release_notify(), the bo->base.resv lock may be held by ttm_mem_evict_first(), and the VRAM mem will be evicted, mem region was replaced by Gtt mem region. amdgpu_bo_release_notify() will then hold the bo->base.resv lock, and SDMA will get an

Boot error on Gfx 9 with latest amd-staging-drm-next

2021-04-01 Thread Bhardwaj, Rajneesh
Hi Everyone, On latest amd-staging-drm-next, the below patch is causing errors at boot time and should be reverted. Error on boot on Vega 10. [ +0.007084] loop1: detected capacity change from 327992 to 0 [ +0.244709] amdgpu :63:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring

Re: [PATCH 19/34] drm/amdkfd: HMM migrate vram to ram

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210401-122712

[pull] amdgpu, radeon, ttm, sched drm-next-5.13

2021-04-01 Thread Alex Deucher
Hi Dave, Daniel, New stuff for 5.13. There are two small patches for ttm and scheduler that were dependencies for amdgpu changes. The following changes since commit 2cbcb78c9ee5520c8d836c7ff57d1b60ebe8e9b7: Merge tag 'amd-drm-next-5.13-2021-03-23' of

Re: [PATCH] amd: display: modules: Remove repeated struct declaration

2021-04-01 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Apr 1, 2021 at 11:26 AM Wan Jiabing wrote: > > struct mod_hdcp is declared twice. One is declared at 33rd line. > The blew one is not needed. Remove the duplicate. > > Signed-off-by: Wan Jiabing > --- > drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h | 2 -- >

Re: [PATCH] drm/ttm: add __user annotation in radeon_ttm_vram_read

2021-04-01 Thread Alex Deucher
Current code already contains the fix. Alex On Thu, Apr 1, 2021 at 9:09 AM Christian König wrote: > > Am 24.10.20 um 02:47 schrieb Rasmus Villemoes: > > Keep sparse happy by preserving the __user annotation when casting. > > > > Reported-by: kernel test robot > > Signed-off-by: Rasmus

Re: [PATCH] amd/amdgpu: code refactoring to clean code style a bit

2021-04-01 Thread Alex Deucher
This code has been dropped. Alex On Wed, Mar 31, 2021 at 9:36 AM Bernard Zhao wrote: > > Fix checkpatch.pl warning: > Too many leading tabs - consider code refactoring > WARNING: Too many leading tabs - consider code refactoring > + for (j = 0; j <

Re: [PATCH] drm/amd: cleanup coding style a bit

2021-04-01 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Mar 31, 2021 at 9:36 AM Bernard Zhao wrote: > > Fix patch check warning: > WARNING: suspect code indent for conditional statements (8, 17) > + if (obj && obj->use < 0) { > +DRM_ERROR("RAS ERROR: Unbalance obj(%s) use\n", > obj->head.name); >

Re: [PATCH] drm/amd: use kmalloc_array over kmalloc with multiply

2021-04-01 Thread Alex Deucher
Applied. Thanks! On Wed, Mar 31, 2021 at 9:36 AM Bernard Zhao wrote: > > Fix patch check warning: > WARNING: Prefer kmalloc_array over kmalloc with multiply > + buf = kmalloc(MAX_KFIFO_SIZE * sizeof(*buf), GFP_KERNEL); > > Signed-off-by: Bernard Zhao > --- >

Re: [PATCH] drm/amdgpu/display: fix warning on 32 bit in dmub

2021-04-01 Thread Harry Wentland
On 2021-04-01 10:22 a.m., Alex Deucher wrote: Use uintptr_t rather than uint64_t. Signed-off-by: Alex Deucher Cc: Dave Airlie Cc: Harry Wentland Reviewed-by: Harry Wentland Harry --- drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 4/4] Revert "drm/amdgpu: workaround the TMR MC address issue (v2)"

2021-04-01 Thread Oak Zeng
This reverts commit 34a33d4683cba7ba63c894132efb1998c0217631. 34a33d4683cba7ba63c894132efb1998c0217631 was a driver workaround when PSP firmware was not ready. Now the PSP fw is ready so we revert this driver workaround. Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 9

Re: [PATCH 14/34] drm/amdkfd: register HMM device private zone

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210401-122712

[PATCH 2/4] drm/amdgpu: Calling address translation functions to simplify codes

2021-04-01 Thread Oak Zeng
Use amdgpu_gmc_vram_pa and amdgpu_gmc_vram_cpu_pa to simplify codes. No logic change. Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 4 +--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 3 +-- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 3 +--

[PATCH 1/4] drm/amdgpu: Introduce functions for vram physical addr calculation

2021-04-01 Thread Oak Zeng
Add one function to calculate BO's GPU physical address. And another function to calculate BO's CPU physical address. v2: Use functions vs macros (Christian) Use more proper function names (Christian) Signed-off-by: Oak Zeng Suggested-by: Lijo Lazar ---

[PATCH 4/4] Revert "drm/amdgpu: workaround the TMR MC address issue (v2)"

2021-04-01 Thread Oak Zeng
This reverts commit 34a33d4683cba7ba63c894132efb1998c0217631. Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 9 - drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 10 -- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 21 ++---

[PATCH 3/4] drm/amdgpu: Introduce new SETUP_TMR interface

2021-04-01 Thread Oak Zeng
This new interface passes both virtual and physical address to PSP. It is backword compatible with old interface. v2: use a function to simply tmr physical address calc (Lijo) Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 12 +---

Re: [PATCH] drm/amdgpu/display: guard ttu_regs with CONFIG_DRM_AMD_DC_DCN

2021-04-01 Thread Harry Wentland
On 2021-03-30 10:28 p.m., Alex Deucher wrote: Missing check for CONFIG_DRM_AMD_DC_DCN. Fixes: 752106f5c5cd ("drm/amd/display: Set max TTU on DPG enable") Signed-off-by: Alex Deucher Cc: Wesley Chalmers Cc: Stephen Rothwell Reviewed-by: Harry Wentland Harry ---

RE: [PATCH] drm/amdkfd: Avoid null pointer in SMI event

2021-04-01 Thread Joshi, Mukul
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Mukul Joshi Regards, Mukul -Original Message- From: Lin, Amber Sent: Tuesday, March 30, 2021 5:03 PM To: amd-gfx@lists.freedesktop.org Cc: Joshi, Mukul ; Lin, Amber Subject: [PATCH] drm/amdkfd: Avoid null pointer in

Re: [amdgpu] Compute kernels still run when the host process exit?

2021-04-01 Thread Alex Deucher
On Thu, Apr 1, 2021 at 10:08 AM Smith John wrote: > > Hi, when I killed an OpenCL host process, the kernels it launched were not > terminated, and still run. > > My OpenCL runtime is AMDGPU-PRO 20.20. OS Ubuntu 18.04.5 with Linux Kernel > 5.4.53 > > I was wondering if it was a bug or the

Re: [PATCH] drm/amdgpu/display: guard ttu_regs with CONFIG_DRM_AMD_DC_DCN

2021-04-01 Thread Alex Deucher
Ping? On Tue, Mar 30, 2021 at 10:28 PM Alex Deucher wrote: > > Missing check for CONFIG_DRM_AMD_DC_DCN. > > Fixes: 752106f5c5cd ("drm/amd/display: Set max TTU on DPG enable") > Signed-off-by: Alex Deucher > Cc: Wesley Chalmers > Cc: Stephen Rothwell > --- >

RE: [PATCH 00/21] DC Patches April 5, 2021

2021-04-01 Thread Wheeler, Daniel
[AMD Public Use] Hi all, This week this patchset was tested on a HP Envy 360, with Ryzen 5 4500U, on the following display types (via usb-c to dp/dvi/hdmi/vga): 4k 60z, 1440p 144hz, 1680*1050 60hz, internal eDP 1080p 60hz Tested on a Sapphire Pulse RX5700XT on the following display types (via

[PATCH 21/21] drm/amd/display: 3.2.130

2021-04-01 Thread Qingqing Zhuo
From: Aric Cyr DC version 3.2.130 brings improvements in multiple areas. In summary, we highlight: - Firmware release 0.0.59 - Fixes on display experiences for 4k TVs, register mask missing, etc. - Enhancements on MST, code cleaning and debug messages. Signed-off-by: Aric Cyr Reviewed-by:

[PATCH 20/21] drm/amd/display: [FW Promotion] Release 0.0.59

2021-04-01 Thread Qingqing Zhuo
From: Anthony Koo [How] add params to send FEC status to firmware Signed-off-by: Anthony Koo Reviewed-by: Anthony Koo Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[PATCH 19/21] drm/amd/display: Cleanup DML DSC input bpc validation

2021-04-01 Thread Qingqing Zhuo
From: Nicholas Kazlauskas [Why & How] Pipe input DSC bpc has a type mismatch with maximum DSC input bpc - align the maximum with the pipe input type, unsigned integer. When checking the type we shoudl also check for an implicit value of 0 and align with what the spreadsheet does - default to

[PATCH 15/21] drm/amd/display: Directly retrain link from debugfs

2021-04-01 Thread Qingqing Zhuo
From: Mikita Lipski [why/how] Skip logic that sets preffered link settings and just retrain with new link_settings from Debugfs Signed-off-by: Mikita Lipski Reviewed-by: Mikita Lipski Acked-by: Harry Wentland Acked-by: Qingqing Zhuo ---

[PATCH 14/21] drm/amd/display: Add missing mask for DCN3

2021-04-01 Thread Qingqing Zhuo
[Why] DCN3 is not reusing DCN1 mask_sh_list, causing SURFACE_FLIP_INT_MASK missing in the mapping. [How] Add the corresponding entry to DCN3 list. Signed-off-by: Qingqing Zhuo Reviewed-by: Nicholas Kazlauskas Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.h | 1 +

[PATCH 11/21] drm/amd/display: Add function and debugfs to dump DCC_EN bit

2021-04-01 Thread Qingqing Zhuo
From: Victor Lu [why] Currently to view the DCC_EN bit the entire DTN log must be dumped. A compact method to view the DCC_EN bit is desirable. [how] Introduce new debugfs interface that only dumps the DCC_EN bit. Example usage: cat /sys/kernel/debug/dri/0/amdgpu_dm_dcc_en Signed-off-by:

[PATCH 17/21] drm/amd/display: Determine synchronization edge based on master's vsync

2021-04-01 Thread Qingqing Zhuo
From: Mikita Lipski [Why] The driver always wants to synchronize streams to the first edge of master's vsync pulse. In order to determine that we can read timing flags that are used to program vsync. Master stream's vsync polarity - Multi Display Stream Synchronization edge: Negative

[PATCH 18/21] drm/amd/display: Fixed corruption on 4K tvs

2021-04-01 Thread Qingqing Zhuo
From: Harry VanZyllDeJong [WHY] When on the desktop freesync is not enabled, doing a frame stretch causes the TV to display undesired output. [HOW] By changing the logic so that when ever fresync is supported the TV is notified we are in fressync instead on a non fresync state. Signed-off-by:

[PATCH 16/21] drm/amd/display: Add MST capability to trigger_hotplug interface

2021-04-01 Thread Qingqing Zhuo
From: Mikita Lipski [Why] Need to be able to trigger software hotplug for MST connectors [How] For unplug the driver calls to disable topologies manager that connector is attached to. For plugging in it does the whole rediscovery of all connectors in drm device and enbles their topologies if

[PATCH 12/21] drm/amd/display: Set initial value to a divider

2021-04-01 Thread Qingqing Zhuo
From: Mikita Lipski [why/how] Due to compiler optimization the values would be passed to the division function uninitialized causing a div by zero. Initialize the numerator and denominator to 0 and 1 to prevent division by zero. Signed-off-by: Mikita Lipski Reviewed-by: Mikita Lipski

[PATCH 13/21] drm/amd/display: Tweak the kernel doc for crc_rd_wrk

2021-04-01 Thread Qingqing Zhuo
From: Wayne Lin [Why] Commit 04f6f5baec25ce76b8b6e1af63c54b6042c16716 ("drm/amd/display: Add kernel doc to crc_rd_wrk field") adds kernel doc for crc_rd_wrk field in amdgpu_dm.h but it's incorrectly formatted. Make htmldocs warns: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:398: warning:

[PATCH 10/21] drm/amd/display: Add dc_debug flag to disable min fclk

2021-04-01 Thread Qingqing Zhuo
From: Harry Wentland [Why] Add debug flag for an option to disable min fclk. Signed-off-by: Harry Wentland Reviewed-by: Harry Wentland Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dc.h

[PATCH 07/21] drm/amd/display: Add debugfs entry for LTTPR register status

2021-04-01 Thread Qingqing Zhuo
From: Aurabindo Pillai [Why] Functionality of LTTPR is reporter through the DPCD register [How] Expose a interface in debugfs to read the current status of LTTPR as reported from the device's DPCD register Signed-off-by: Aurabindo Pillai Reviewed-by: Rodrigo Siqueira Acked-by: Qingqing Zhuo

[PATCH 09/21] drm/amd/display: Add debug prints for SMU messages

2021-04-01 Thread Qingqing Zhuo
From: Harry Wentland [Why] Add debug prints for SMU messages with regard to versions, clocks, and more. Signed-off-by: Harry Wentland Reviewed-by: Harry Wentland Reviewed-by: Robin Singh Acked-by: Qingqing Zhuo --- .../display/dc/clk_mgr/dcn301/dcn301_smu.c| 29 --- 1

[PATCH 08/21] drm/amd/display: Added dc_edp_id_count to dc_context

2021-04-01 Thread Qingqing Zhuo
From: Jake Wang [Why] We need to keep track of the number of eDP links to properly enumerate edp panel control instance. [How] Added dc_edp_id_count to dc_context to keep track of number of eDP links. Signed-off-by: Jake Wang Reviewed-by: Nicholas Kazlauskas Acked-by: Qingqing Zhuo ---

[PATCH 06/21] drm/amd/display: Move vupdate keepout programming from DCN20 to DCN10

2021-04-01 Thread Qingqing Zhuo
From: Leo Li [Why] The OTG_VUPDATE_KEEPOUT register and fields is available on DCN10, and named the same in DCN20. [How] Move register definition and programming function to dcn10 optc. There is no functional change. Signed-off-by: Leo Li Reviewed-by: Harry Wentland Acked-by: Qingqing

[PATCH 05/21] drm/amd/display: add NULL check to avoid kernel crash in DC.

2021-04-01 Thread Qingqing Zhuo
From: Robin Singh [why] There is case when the userspace like IGT test updates the custom timings, i.e. the number of active lines CRTC property value, and without committing the change, followed by resetting the display, creating FB and plane to the pipe and committing. The NULL pointer of

[PATCH 04/21] drm/amd/display: use MST downstream AUX to dump DPRX CRCs

2021-04-01 Thread Qingqing Zhuo
From: "David (Dingchen) Zhang" [why] In MST setup, we'd use MST downstream AUX to dump the DPRX CRCs from sink device. [how] Assign the mst_port->aux to read DPCD registers. Signed-off-by: David (Dingchen) Zhang Reviewed-by: Harry Wentland Acked-by: Qingqing Zhuo ---

[PATCH 01/21] drm/amd/display: Fix 32 bit compilation of dmub_srv.c

2021-04-01 Thread Qingqing Zhuo
From: Anson Jacob [Why/How] Fix cast from pointer to integer of different size error from dmub/src/dmub_srv.c Signed-off-by: Anson Jacob Reviewed-by: Rodrigo Siqueira Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 03/21] drm/amd/display: Add delay in dmub_srv_send_gpint_command

2021-04-01 Thread Qingqing Zhuo
From: Wyatt Wood [Why] Today a parameter is passed to dmub_srv_send_gpint_command which specifies the max amount of time to wait for the command to be acked. This parameter instead specifies the number of times to check if the command was acked. We wish to add a lower bound to the timeout, which

[PATCH 02/21] drm/amd/display: Retry getting PSR state if command times out

2021-04-01 Thread Qingqing Zhuo
From: Wyatt Wood [Why] GPINT command to get PSR state from FW times out. [How] Add retry to get valid PSR state. Signed-off-by: Wyatt Wood Reviewed-by: Anthony Koo Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dc/dc_types.h | 3 +-

[PATCH 00/21] DC Patches April 5, 2021

2021-04-01 Thread Qingqing Zhuo
This DC patchset brings improvements in multiple areas. In summary, we highlight: * Firmware release 0.0.59 * Fixes on display experiences for 4k TVs, register mask missing, etc. * Enhancements on MST, code cleaning and debug messages. --- Anson Jacob (1): drm/amd/display: Fix 32 bit

[PATCH] amd: display: modules: Remove repeated struct declaration

2021-04-01 Thread Wan Jiabing
struct mod_hdcp is declared twice. One is declared at 33rd line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: Interlaced resolutions hang the desktop

2021-04-01 Thread Alberto Salvia Novella
There's no "xorg.conf" on my system. On Wed, 31 Mar 2021 at 20:01, Alex Deucher wrote: > Does disabling pageflipping via the xorg.conf help? > > Alex > > On Wed, Mar 31, 2021 at 1:40 PM Christian König > wrote: > > > > Yeah, agree that must be some kind of bug in the upper layer of the >

Re: [PATCH 10/34] drm/amdkfd: svm range eviction and restore

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210401-122712

[PATCH] drm/amdgpu/display: fix warning on 32 bit in dmub

2021-04-01 Thread Alex Deucher
Use uintptr_t rather than uint64_t. Signed-off-by: Alex Deucher Cc: Dave Airlie Cc: Harry Wentland --- drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c

[amdgpu] Compute kernels still run when the host process exit?

2021-04-01 Thread Smith John
Hi, when I killed an OpenCL host process, the kernels it launched were not terminated, and still run. My OpenCL runtime is AMDGPU-PRO 20.20. OS Ubuntu 18.04.5 with Linux Kernel 5.4.53 I was wondering if it was a bug or the driver did not implement this "watchdog" mechanism.

Re: [Intel-gfx] [PATCH v2 00/20] drm: Use new DRM printk funcs (like drm_dbg_*()) in DP helpers

2021-04-01 Thread Jani Nikula
On Fri, 26 Mar 2021, Lyude Paul wrote: > Since it's been asked quite a few times on some of the various DP > related patch series I've submitted to use the new DRM printk helpers, > and it technically wasn't really trivial to do this before due to the > lack of a consistent way to find a

Re: [PATCH v2 05/20] drm/dp: Add backpointer to drm_device in drm_dp_aux

2021-04-01 Thread Jani Nikula
On Fri, 26 Mar 2021, Lyude Paul wrote: > * The @dev field should be set to a pointer to the device that implements > the > - * AUX channel. > + * AUX channel. As well, the @drm_dev field should be set to the _device > + * that will be using this AUX channel as early as possible. For many >

Re: [PATCH 09/34] drm/amdkfd: map svm range to GPUs

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210401-122712

Re: [PATCH] drm/ttm: add __user annotation in radeon_ttm_vram_read

2021-04-01 Thread Christian König
Am 24.10.20 um 02:47 schrieb Rasmus Villemoes: Keep sparse happy by preserving the __user annotation when casting. Reported-by: kernel test robot Signed-off-by: Rasmus Villemoes Reviewed-by: Christian König Going over old patches and stumbled over that once. Alex did you missed to pick

Re: [PATCH] drm/amd/display: Try YCbCr420 color when YCbCr444 fails

2021-04-01 Thread Werner Sembach
Am 29.03.21 um 17:28 schrieb Alex Deucher: > Applied. Thanks! > > Alex Nice to hear that ^^ One quick question: Here do I find the amd-gfx dev branch? Kind regards, Werner Sembach > > On Fri, Mar 26, 2021 at 10:59 AM Harry Wentland > wrote: >> >> >> On 2021-03-24 4:23 p.m., Alex Deucher

RE: [PATCH Review 1/1] drm/amdgpu: support sdma error injection

2021-04-01 Thread Li, Dennis
[AMD Official Use Only - Internal Distribution Only] Reivewed-by: Dennis Li -Original Message- From: Stanley.Yang Sent: Thursday, April 1, 2021 7:14 PM To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Clements, John ; Li, Dennis ; Yang, Stanley Subject: [PATCH Review 1/1]

Re: [PATCH 07/34] drm/amdkfd: deregister svm range

2021-04-01 Thread kernel test robot
] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210401

[PATCH Review 1/1] drm/amdgpu: support sdma error injection

2021-04-01 Thread Stanley . Yang
Signed-off-by: Stanley.Yang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index 0e16683876aa..d9d292c79cfa 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++

Re: [PATCH 03/34] drm/amdkfd: register svm range

2021-04-01 Thread kernel test robot
] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210401

RE: [PATCH] drm/amdgpu: Toggle msix after FLR for sriov

2021-04-01 Thread Liu, Monk
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Monk Liu Thanks -- Monk Liu | Cloud-GPU Core team -- -Original Message- From: Deng, Emily Sent: Thursday, April 1, 2021 2:04 PM To: Liu,

Re: [PATCH] drm/amdgpu: Toggle msix after FLR for sriov

2021-04-01 Thread Nirmoy
Acked-by: Nirmoy Das On 3/30/21 11:42 AM, Emily Deng wrote: From: "Emily.Deng" For vf assigned to guest VM, after FLR, the msix table will be reset. As the flr is done on host driver. The qemu and vfio driver don't know this, and the msix is still enable from qemu and vfio driver side. So if

Re: Interlaced resolutions hang the desktop

2021-04-01 Thread Alberto Salvia Novella
Restarting the *display manager* service works and, more importantly, makes the bug no longer reproducible. Restarting the *window manager* doesn't work. *Changing* display manager makes the bug still reproducible. Maybe this is due to xorg-server, isn't it? On Wed, 31 Mar 2021 at 16:55,

RE: [PATCH] drm/amdgpu: Toggle msix after FLR for sriov

2021-04-01 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Hi Monk, Could you help to review this patch? Best wishes Emily Deng >-Original Message- >From: Deng, Emily >Sent: Wednesday, March 31, 2021 5:02 PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: RE: [PATCH]

RE: [PATCH 4/6] drm/amdgpu: Disable fetch discovery data from vram for navi12 sriov

2021-04-01 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Hi Monk, Could you help to review this patch? Best wishes Emily Deng >-Original Message- >From: Deng, Emily >Sent: Wednesday, March 31, 2021 5:01 PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: RE: [PATCH 4/6]

RE: [PATCH 2/6] drm/amdgpu: Correct the irq numbers for virtual ctrc

2021-04-01 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Hi Monk, Could you help to review this patch? Best wishes Emily Deng >-Original Message- >From: Deng, Emily >Sent: Wednesday, March 31, 2021 5:01 PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: RE: [PATCH 2/6]

RE: [PATCH 1/6] drm/amdgpu: Disable vcn decode ring for sriov navi12

2021-04-01 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Hi Monk, Could you help to review this patch? Best wishes Emily Deng >-Original Message- >From: Deng, Emily >Sent: Wednesday, March 31, 2021 5:01 PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Cc: Min, Frank >Subject:

RE: [PATCH 4/4] drm/amdgpu: indirect register access for nv12 sriov

2021-04-01 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Series Reviewed-by: Emily.Deng >-Original Message- >From: amd-gfx On Behalf Of Peng >Ju Zhou >Sent: Wednesday, March 31, 2021 1:20 PM >To: amd-gfx@lists.freedesktop.org >Cc: Zhao, Jiange >Subject: [PATCH 4/4] drm/amdgpu: indirect