Re: [PATCH v4 11/21] misc: fastrpc: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare fastrpc to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko Acked-by: Christian König --- drivers/misc/fastrpc.c | 6 +++--- 1 file change

Re: [PATCH v4 10/21] RDMA/umem: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare InfiniBand drivers to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko Acked-by: Christian König --- drivers/infiniband/core/umem_dmabuf.c

Re: [PATCH v4 09/21] drm/etnaviv: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare Etnaviv driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko Interesting, where is the matching vmap()? Anyway, this patch is Acked-by: C

Re: [PATCH v4 08/21] drm/tegra: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare Tegra DRM driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko Acked-by: Christian König --- drivers/gpu/drm/tegra/gem.c | 17 +++

Re: [Linaro-mm-sig] [PATCH v4 07/21] drm/omapdrm: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare OMAP DRM driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko Acked-by: Christian König --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c

Re: [PATCH v4 06/21] drm/i915: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare i915 driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions and handling cases where importer now holds the reservation lock. Signed-off-by: Dmitry Osipenko Acked-by: Chris

Re: [PATCH v4 05/21] drm/armada: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare Armada driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko Acked-by: Christian König --- drivers/gpu/drm/armada/armada_gem.c | 8 +++

Re: [PATCH v4 04/21] drm/prime: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Christian König
Am 31.08.22 um 17:37 schrieb Dmitry Osipenko: Prepare DRM prime core to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko Reviewed-by: Christian König --- drivers/gpu/drm/drm_prime.c | 6 +++---

RE: [PATCH 1/2] drm/amdgpu: support RAS error inject for SRIOV

2022-08-31 Thread Chang, HaiJun
+ Andy and Jerry, Hi Tao & Stanley, As security concern, we cannot define such PF-VF mailbox message for ECC or RAS error injection. As Vignesh said, we might need to test script to communicate between host and guest. Thanks, HaiJun -Original Message- From: Yang, Stanley Sent: Thur

RE: [PATCH 1/2] drm/amdgpu: support RAS error inject for SRIOV

2022-08-31 Thread Yang, Stanley
[AMD Official Use Only - General] The series is fine for me, these patches also need to be reviewed by the virtualization group. Regards, Stanley > -Original Message- > From: Zhou1, Tao > Sent: Wednesday, August 31, 2022 4:39 PM > To: amd-gfx@lists.freedesktop.org; Zhang, Hawking > ; Ya

RE: [PATCH] drm/amdgpu: disable the debugger on gfx1036

2022-08-31 Thread Zhang, Jesse(Jie)
[Public] Disable the debugger on gfx1036. Signed-off-by: jie1zhan jesse.zh...@amd.com Reviewed-by: Jonathan Kim diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c index 5ab20f6dc291..89ebb3ee9ccc 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c +++

[PATCH] drm/amdgpu: disable the debugger on gfx1036

2022-08-31 Thread Zhang, Jesse(Jie)
[Public] Disable the debugger on gfx1036. Signed-off-by: jie1zhan jesse.zh...@amd.com Change-Id: If1d9608d508d1eb29e6c1de7ac7d1db93d1000b0 diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c index 5ab20f6dc291..89ebb3ee9ccc 100644 --- a/drivers/gp

[PATCH] drm/dp: Avoid Reading DPCD_REV Before Native Aux Read

2022-08-31 Thread Fangzhi Zuo
The attempt to read DPCD_REV before any native aux read breaks majority of DP2 compliance. The spec. requires DP_SINK_STATUS to be polled for the reset status DP_INTRA_HOP_AUX_REPLY_INDICATION during the clear training stage. Polling DP_SINK_STATUS each time gets DPCD_REV read first that makes no

Re: [PATCH] drm/amd/display: fix documentation for amdgpu_dm_update_freesync_caps()

2022-08-31 Thread Rodrigo Siqueira Jordao
On 2022-08-30 17:57, Alex Deucher wrote: Document missing parameter. Fixes: 8889a13f99e5 ("drm/amd/display: Add some extra kernel doc to amdgpu_dm") Reported-by: Stephen Rothwell Signed-off-by: Alex Deucher Cc: Rodrigo Siqueira Cc: Harry Wentland --- v2: fix aconnector too. drivers/gp

[pull] amdgpu drm-fixes-6.0

2022-08-31 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 6.0. Once again, mainly fixes for new IPs added in 6.0. The following changes since commit b90cb1053190353cc30f0fef0ef1f378ccc063c5: Linux 6.0-rc3 (2022-08-28 15:05:29 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git

Re: [linux-next:master] BUILD REGRESSION 7fd22855300e693668c3397771b3a2b3948f827a

2022-08-31 Thread Linus Walleij
laration-of-function-writesl > | |-- > drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesq > | `-- > drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesw Fixed in this patch: https://lore.kernel.org/linux-arch/20220818092059.1038

Re: [PATCH v2 3/5] Makefile.compiler: replace cc-ifversion with compiler-specific macros

2022-08-31 Thread Nathan Chancellor
On Wed, Aug 31, 2022 at 11:44:06AM -0700, Nick Desaulniers wrote: > cc-ifversion is GCC specific. Replace it with compiler specific > variants. Update the users of cc-ifversion to use these new macros. > Provide a helper for checking compiler versions for GCC and Clang > simultaneously, that will b

[linux-next:master] BUILD REGRESSION 7fd22855300e693668c3397771b3a2b3948f827a

2022-08-31 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 7fd22855300e693668c3397771b3a2b3948f827a Add linux-next specific files for 20220831 Error/Warning reports: https://lore.kernel.org/linux-mm/202209010004.bz0et3lm-...@intel.com https

RE: [PATCH] drm/amd/display: fix indentation in commit_planes_for_stream()

2022-08-31 Thread Deucher, Alexander
[AMD Official Use Only - General] > -Original Message- > From: Mahfooz, Hamza > Sent: Wednesday, August 31, 2022 1:58 PM > To: linux-ker...@vger.kernel.org > Cc: Mahfooz, Hamza ; Wentland, Harry > ; Li, Sun peng (Leo) ; > Siqueira, Rodrigo ; Deucher, Alexander > ; Koenig, Christian > ; Pa

[PATCH] drm/amd/display: fix indentation in commit_planes_for_stream()

2022-08-31 Thread Hamza Mahfooz
Address the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3508:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3508 | if (update_type != UPDATE_TYPE_FAST) | ^~ drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3510:17: note:

[PATCH v2 7/8] drm/amd/display: Introduce KUnit tests to dc_dmub_srv library

2022-08-31 Thread Maíra Canal
Add unit test to the SubVP feature in order to avoid possible regressions and assure the code robustness. Signed-off-by: Maíra Canal --- drivers/gpu/drm/amd/display/Kconfig | 13 + drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 4 + .../gpu/drm/amd/display/tests/.kunitconfig|

[PATCH v2 8/8] Documentation/gpu: Add Display Core Unit Test documentation

2022-08-31 Thread Maíra Canal
Explain how to run the KUnit tests present in the AMDGPU's Display Core and clarify which architectures and tools can be used to run the tests. Moreover, explains how to add new tests to the existing tests. Signed-off-by: Maíra Canal --- .../gpu/amdgpu/display/display-test.rst | 88 +++

[PATCH v2 6/8] drm/amd/display: Introduce KUnit tests for dcn20_fpu

2022-08-31 Thread Maíra Canal
From: Magali Lemes This commit adds unit tests to the functions dcn20_cap_soc_clocks and dcn21_update_bw_bounding_box from dcn20/dcn20_fpu. Signed-off-by: Magali Lemes Signed-off-by: Maíra Canal --- drivers/gpu/drm/amd/display/tests/Makefile| 3 +- .../tests/dc/dml/dcn20/dcn20_fpu_test.

[PATCH v2 5/8] drm/amd/display: Introduce KUnit to dcn20/display_mode_vba_20 library

2022-08-31 Thread Maíra Canal
The display_mode_vba_20 deals with hundreds of display parameters for the DCN20 and sometimes does it in odd ways. The addition of unit tests intends to assure the quality of the code delivered by HW engineers and, also make it possible to refactor the code decreasing concerns about adding bugs to

[PATCH v2 4/8] drm/amd/display: Introduce KUnit tests to the display_mode_vba library

2022-08-31 Thread Maíra Canal
The display_mode_vba library deals with hundreds of display parameters and sometimes does it in odd ways. The addition of unit tests intends to assure the quality of the code delivered by HW engineers and, also make it possible to refactor the code decreasing concerns about adding bugs to the codeb

[PATCH v2 3/8] drm/amd/display: Introduce KUnit tests to display_rq_dlg_calc_20

2022-08-31 Thread Maíra Canal
From: Isabella Basso This adds tests to the bit encoding format verification functions on the file. They're meant to be simpler so as to provide a proof of concept on testing DML code. Signed-off-by: Isabella Basso Signed-off-by: Maíra Canal --- drivers/gpu/drm/amd/display/Kconfig |

[PATCH v2 2/8] drm/amd/display: Introduce KUnit tests to the bw_fixed library

2022-08-31 Thread Maíra Canal
KUnit unifies the test structure and provides helper tools that simplify the development of tests. Basic use case allows running tests as regular processes, which makes easier to run unit tests on a development machine and to integrate the tests in a CI system. This commit introduces a unit test t

[PATCH v2 1/8] drm/amd/display: Introduce KUnit tests for fixed31_32 library

2022-08-31 Thread Maíra Canal
From: Tales Aparecida The fixed31_32 library performs a lot of the mathematical operations involving fixed-point arithmetic and the conversion of integers to fixed-point representation. This unit tests intend to assure the proper functioning of the basic mathematical operations of fixed-point ar

[PATCH v2 0/8] drm/amd/display: Introduce KUnit to Display Mode Library

2022-08-31 Thread Maíra Canal
Hello, This series is version 2 of the introduction of unit testing to the AMDPGU driver [1]. Our main goal is to bring unit testing to the AMD display driver; in particular, we'll focus on the Display Mode Library (DML) for DCN2.0, DMUB, and some of the DCE functions. This implementation intends

Re: [PATCH v2 4/6] drm: allow DRM_MODE_PAGE_FLIP_ASYNC for atomic commits

2022-08-31 Thread Ville Syrjälä
On Wed, Aug 31, 2022 at 02:56:12PM +, Simon Ser wrote: > On Wednesday, August 31st, 2022 at 09:50, Pekka Paalanen > wrote: > > > > diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h > > > index 86a292c3185a..cce1a1bea645 100644 > > > --- a/include/uapi/drm/drm_mode.h > >

[PATCH v4 14/21] media: tegra-vde: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare Tegra video decoder driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/media/platform/nvidia/tegra-vde/dmabuf-cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

[PATCH v4 05/21] drm/armada: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare Armada driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/armada/armada_gem.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu

[PATCH v4 16/21] dma-buf: Move dma_buf_attach() to dynamic locking specification

2022-08-31 Thread Dmitry Osipenko
Move dma-buf attachment API functions to the dynamic locking specification by taking the reservation lock around the mapping operations. The strict locking convention prevents deadlock situations for dma-buf importers and exporters. Signed-off-by: Dmitry Osipenko --- drivers/dma-buf/dma-buf.c |

[PATCH v4 20/21] media: videobuf2: Stop using internal dma-buf lock

2022-08-31 Thread Dmitry Osipenko
All drivers that use dma-bufs have been moved to the updated locking specification and now dma-buf reservation is guaranteed to be locked by importers during the mapping operations. There is no need to take the internal dma-buf lock anymore. Remove locking from the videobuf2 memory allocators. Ack

[PATCH v4 04/21] drm/prime: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare DRM prime core to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/drm_prime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_

[PATCH v4 00/21] Move all drivers to a common dma-buf locking convention

2022-08-31 Thread Dmitry Osipenko
Hello, This series moves all drivers to a dynamic dma-buf locking specification. >From now on all dma-buf importers are made responsible for holding dma-buf's reservation lock around all operations performed over dma-bufs in accordance to the locking specification. This allows us to utilize reserv

[PATCH v4 07/21] drm/omapdrm: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare OMAP DRM driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v4 19/21] dma-buf: Document dynamic locking convention

2022-08-31 Thread Dmitry Osipenko
Add documentation for the dynamic locking convention. The documentation tells dma-buf API users when they should take the reservation lock and when not. Signed-off-by: Dmitry Osipenko --- Documentation/driver-api/dma-buf.rst | 6 +++ drivers/dma-buf/dma-buf.c| 64 +++

[PATCH v4 18/21] dma-buf: Move dma_buf_mmap() to dynamic locking specification

2022-08-31 Thread Dmitry Osipenko
Move dma_buf_mmap() function to the dynamic locking specification by taking the reservation lock. Neither of the today's drivers take the reservation lock within the mmap() callback, hence it's safe to enforce the locking. Acked-by: Christian König Signed-off-by: Dmitry Osipenko --- drivers/dma

[PATCH v4 06/21] drm/i915: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare i915 driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions and handling cases where importer now holds the reservation lock. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 2 +- dr

[PATCH v4 12/21] xen/gntdev: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare gntdev driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/xen/gntdev-dmabuf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/xen/gntdev-

[PATCH v4 03/21] drm/gem: Take reservation lock for vmap/vunmap operations

2022-08-31 Thread Dmitry Osipenko
The new common dma-buf locking convention will require buffer importers to hold the reservation lock around mapping operations. Make DRM GEM core to take the lock around the vmapping operations and update DRM drivers to use the locked functions for the case where DRM core now holds the lock. This p

[PATCH v4 09/21] drm/etnaviv: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare Etnaviv driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gp

[PATCH v4 02/21] dma-buf: Add unlocked variant of attachment-mapping functions

2022-08-31 Thread Dmitry Osipenko
Add unlocked variant of dma_buf_map/unmap_attachment() that will be used by drivers that don't take the reservation lock explicitly. Acked-by: Christian König Signed-off-by: Dmitry Osipenko --- drivers/dma-buf/dma-buf.c | 53 +++ include/linux/dma-buf.h |

[PATCH v4 15/21] dma-buf: Move dma_buf_vmap() to dynamic locking specification

2022-08-31 Thread Dmitry Osipenko
Move dma_buf_vmap/vunmap_unlocked() functions to the dynamic locking specification by asserting that the reservation lock is held. Acked-by: Christian König Signed-off-by: Dmitry Osipenko --- drivers/dma-buf/dma-buf.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma-buf/dma-b

[PATCH v4 13/21] media: videobuf2: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare V4L2 memory allocators to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Acked-by: Tomasz Figa Signed-off-by: Dmitry Osipenko --- drivers/media/common/videobuf2/videobuf2-dma-contig.c | 11 ++- drivers/media/commo

[PATCH v4 10/21] RDMA/umem: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare InfiniBand drivers to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/infiniband/core/umem_dmabuf.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drive

[PATCH v4 01/21] dma-buf: Add unlocked variant of vmapping functions

2022-08-31 Thread Dmitry Osipenko
Add unlocked variant of dma_buf_vmap/vunmap() that will be utilized by drivers that don't take the reservation lock explicitly. Acked-by: Christian König Signed-off-by: Dmitry Osipenko --- drivers/dma-buf/dma-buf.c | 38 ++ include/linux/dma-buf.h | 2 ++

[PATCH v4 21/21] dma-buf: Remove obsoleted internal lock

2022-08-31 Thread Dmitry Osipenko
The internal dma-buf lock isn't needed anymore because the updated locking specification claims that dma-buf reservation must be locked by importers, and thus, the internal data is already protected by the reservation lock. Remove the obsoleted internal lock. Acked-by: Christian König Signed-off-

[PATCH v4 17/21] dma-buf: Move dma_buf_map_attachment() to dynamic locking specification

2022-08-31 Thread Dmitry Osipenko
Move dma-buf attachment mapping functions to the dynamic locking specification by asserting that the reservation lock is held. Signed-off-by: Dmitry Osipenko --- drivers/dma-buf/dma-buf.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/dma-buf/dma-buf.c b/d

[PATCH v4 08/21] drm/tegra: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare Tegra DRM driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/gem.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/driver

[PATCH v4 11/21] misc: fastrpc: Prepare to dynamic dma-buf locking specification

2022-08-31 Thread Dmitry Osipenko
Prepare fastrpc to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Signed-off-by: Dmitry Osipenko --- drivers/misc/fastrpc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/misc/fastrpc.c b/drivers

Re: [PATCH v2 4/6] drm: allow DRM_MODE_PAGE_FLIP_ASYNC for atomic commits

2022-08-31 Thread Simon Ser
On Wednesday, August 31st, 2022 at 09:50, Pekka Paalanen wrote: > > diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h > > index 86a292c3185a..cce1a1bea645 100644 > > --- a/include/uapi/drm/drm_mode.h > > +++ b/include/uapi/drm/drm_mode.h > > @@ -942,6 +942,10 @@ struct hdr_o

Re: [PATCH v3 1/9] dma-buf: Add _unlocked postfix to function names

2022-08-31 Thread Tomasz Figa
On Wed, Aug 24, 2022 at 01:22:40PM +0300, Dmitry Osipenko wrote: > Add _unlocked postfix to the dma-buf API function names in a preparation > to move all non-dynamic dma-buf users over to the dynamic locking > specification. This patch only renames API functions, preparing drivers > to the common l

[PATCH 2/2] drm/amdgpu: inform PF if VF receives RAS poison interrupt

2022-08-31 Thread Tao Zhou
PF will do page retirement and reset VF in SRIOV. Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 18 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 1 + drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c| 6 ++ drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h| 1 +

[PATCH 1/2] drm/amdgpu: support RAS error inject for SRIOV

2022-08-31 Thread Tao Zhou
In SRIOV, RAS error injection request will be sent to PF via mailbox, the injection input information should also be transferred to PF. Generally, the error injection is operated on PF side directly, but for RAS poison test, since workload is launched on VF side, VF has to tell PF about the inject

Re: [PATCH 01/19] drm/amdgpu: add CHIP_IP_DISCOVERY support for virtualization

2022-08-31 Thread Christian König
Am 30.08.22 um 20:39 schrieb Alex Deucher: From: Horace Chen For further chips we will use CHIP_IP_DISCOVERY, so add this support for virtualization Signed-off-by: Horace Chen Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher Acked-by: Christian König for the entire series. ---

Re: [PATCH v2 4/6] drm: allow DRM_MODE_PAGE_FLIP_ASYNC for atomic commits

2022-08-31 Thread Pekka Paalanen
On Tue, 30 Aug 2022 17:29:35 + Simon Ser wrote: > If the driver supports it, allow user-space to supply the > DRM_MODE_PAGE_FLIP_ASYNC flag to request an async page-flip. > Set drm_crtc_state.async_flip accordingly. > > Document that drivers will reject atomic commits if an async > flip isn'

Re: [PATCH] drm/amd/display: fix documentation for amdgpu_dm_update_freesync_caps()

2022-08-31 Thread Stephen Rothwell
Hi Alex, On Tue, 30 Aug 2022 17:57:52 -0400 Alex Deucher wrote: > > Document missing parameter. > > Fixes: 8889a13f99e5 ("drm/amd/display: Add some extra kernel doc to > amdgpu_dm") > Reported-by: Stephen Rothwell > Signed-off-by: Alex Deucher > Cc: Rodrigo Siqueira > Cc: Harry Wentland >

Re: [PATCH 2/2] drm/amd/display: fix documentation for amdgpu_dm_update_freesync_caps()

2022-08-31 Thread Stephen Rothwell
Hi Alex, On Tue, 30 Aug 2022 09:32:17 -0400 Alex Deucher wrote: > > Document missing parameter. > > Fixes: 8889a13f99e5 ("drm/amd/display: Add some extra kernel doc to > amdgpu_dm") > Reported-by: Stephen Rothwell > Signed-off-by: Alex Deucher > Cc: Rodrigo Siqueira > Cc: Harry Wentland >

RE: [PATCH] drm/amd/display: remove a duplicated declaration

2022-08-31 Thread Chen, Guchun
+Harry/Jay to comment if needed. Reviewed-by: Guchun Chen Regards, Guchun -Original Message- From: Song, Asher Sent: Wednesday, August 31, 2022 2:36 PM To: amd-gfx@lists.freedesktop.org Cc: Chen, Guchun ; Ma, Jun ; Cui, Flora ; Shi, Leslie ; Song, Asher Subject: [PATCH] drm/amd/dis