[PATCH] drm/amd: Fix spelling typo in comment

2022-04-27 Thread oushixiong
Signed-off-by: oushixiong --- drivers/gpu/drm/amd/include/atomfirmware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h index 7bd763361d6e..b7a1e2116e7e 100644 --- a/drivers/gpu/drm/amd

[PATCH] drm/amd: Fix spelling typo in comment

2022-04-27 Thread oushixiong
Signed-off-by: oushixiong --- drivers/gpu/drm/amd/include/atomfirmware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h index 7bd763361d6e..b7a1e2116e7e 100644 --- a/drivers/gpu/drm/amd

[PATCH] drm/ast: radeon amdgpu for ast add prime

2022-08-10 Thread oushixiong
This patch adds ast specific codes for DRM prime feature. Add the prime function to solve the xorg conflict problem when AST and AMD are in place at the same time, so that both can be displayed. Signed-off-by: oushixiong --- drivers/gpu/drm/ast/ast_drv.c| 22 drivers/gpu

[PATCH] drm/ast: radeon amdgpu for ast add prime

2022-08-10 Thread oushixiong
This patch adds ast specific codes for DRM prime feature. Add the prime function to solve the xorg conflict problem when AST and AMD are in place at the same time, so that both can be displayed. Signed-off-by: oushixiong --- drivers/gpu/drm/ast/ast_drv.c| 22 drivers/gpu

[PATCH] drm/ast: radeon amdgpu for ast add prime

2022-08-10 Thread oushixiong
This patch adds ast specific codes for DRM prime feature. Add the prime function to solve the xorg conflict problem when AST and AMD are in place at the same time, so that both can be displayed. Signed-off-by: oushixiong --- drivers/gpu/drm/ast/ast_drv.c| 22 drivers/gpu

[PATCH] drm/ast: add dmabuf/prime buffer sharing support

2022-08-10 Thread oushixiong
This patch adds ast specific codes for DRM prime feature. Add the prime function to solve the xorg conflict problem when AST and AMD are in place at the same time, so that both can be displayed. Signed-off-by: oushixiong --- drivers/gpu/drm/ast/ast_drv.c | 22 +++ drivers/gpu/drm/ast

[PATCH] drm/ast: add dmabuf/prime buffer sharing support

2022-08-15 Thread oushixiong
This patch adds ast specific codes for DRM prime feature. Add the prime function to solve the xorg conflict problem when AST and AMD are in place at the same time, so that both can be displayed. Signed-off-by: oushixiong Reported-by: kernel test robot --- drivers/gpu/drm/ast/ast_drv.c | 22

[PATCH v2] drm/ast: add dmabuf/prime buffer sharing support

2022-08-18 Thread oushixiong
This patch adds ast specific codes for DRM prime feature, this is to allow for offloading of rending in one direction and outputs in other. v1->v2: - Fix the comment. Signed-off-by: oushixiong --- drivers/gpu/drm/ast/ast_drv.c | 22 ++ drivers/gpu/drm/ast/ast_mode.c |

[PATCH] drm/ast: add dmabuf/prime buffer sharing support

2022-08-25 Thread oushixiong
vunmap(). Signed-off-by: oushixiong --- drivers/gpu/drm/ast/ast_drv.c | 27 +++ drivers/gpu/drm/ast/ast_mode.c | 134 - drivers/gpu/drm/drm_gem.c | 2 + include/drm/drm_gem.h | 3 + 4 files changed, 165 insertions(+), 1 deletion(-) diff --git a/d

[PTACH v3] drm/ast: add dmabuf/prime buffer sharing support

2022-08-28 Thread oushixiong
r with the CPU. and do not to pin the buffer. Signed-off-by: oushixiong --- drivers/gpu/drm/ast/ast_drv.c | 27 +++ drivers/gpu/drm/ast/ast_mode.c | 125 - 2 files changed, 151 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drive

[PATCH v3] drm/ast: add dmabuf/prime buffer sharing support

2022-08-29 Thread oushixiong
th the CPU. and do not to pin the buffer. Signed-off-by: oushixiong Reported-by: kernel test robot --- drivers/gpu/drm/ast/ast_drv.c | 27 +++ drivers/gpu/drm/ast/ast_mode.c | 125 - 2 files changed, 151 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/d

[PATCH v3] drm/ast: add dmabuf/prime buffer sharing support

2022-09-01 Thread oushixiong
th the CPU. and do not to pin the buffer. Signed-off-by: oushixiong Acked-by: Christian König --- drivers/gpu/drm/ast/ast_drv.c | 27 +++ drivers/gpu/drm/ast/ast_mode.c | 125 - 2 files changed, 151 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/d

Re: [PATCH v3] drm/ast: add dmabuf/prime buffer sharing support

2022-09-07 Thread oushixiong
ry to AST VRAM. Best regards oushixiong On 2022/9/7 下午5:40, Thomas Zimmermann wrote: Hi , Am 07.09.22 um 10:10 schrieb Christian König: Hi Thomas, I was wondering pretty much the same thing, but then thought that this might be the first step to direct scanout from DMA-bufs. If this isn't

[PATCH] drm/ast: add dmabuf/prime buffer sharing support

2022-07-18 Thread oushixiong
This patch adds ast specific codes for DRM Prime feature. User application can get file descriptor from gem handle and also gem handle from file descriptor.this is to allow for offloading of rendering in one direction and outputs in the other. Signed-off-by: oushixiong --- drivers/gpu/drm/ast

[PATCH] drm/atomic-helper: Call stall_checks() before allocate drm_crtc_commit

2023-10-25 Thread oushixiong
From: Shixiong Ou It is wrong to call stall_checks() after allocating memory for struct drm_crtc_commit as it will cause memory leaks if too many nonblock commit works return -EBUSY. So it needs to call stall_checks() before allocate drm_crtc_commit. Signed-off-by: Shixiong Ou --- drivers/gpu/

Re: [PATCH 5/7] drm/ast: Support ASTDP and VGA at the same time

2024-07-16 Thread oushixiong
Tested-by: Shixiong Ou 在 2024/7/15 17:39, Thomas Zimmermann 写道: AST2600 can host VGA and DisplayPort outputs. Support both on the same device. As userspace can often only support a single output per CRTC, connectors are prioritized against each other by the probe helpers. Reported-by: Shixiong

Re: [PATCH] drm/ast: add multiple connectors support

2024-07-29 Thread oushixiong
Just a VGA connector on the board. Best regards Shixiong 在 2024/7/29 20:29, Thomas Zimmermann 写道: Hi Am 11.07.24 um 11:01 schrieb oushixiong1...@163.com: From: Shixiong Ou [WHY] The AST2600 tx_chip_types will be detected as AST_TX_DP, but some BMC boards that use AST2600 use the VGA interfa

Re: [PATCH] drm/ast: add multiple connectors support

2024-07-29 Thread oushixiong
Yes, I have  tested these patches, and these patches fix the problem. Best regards Shixiong 在 2024/7/29 20:34, Thomas Zimmermann 写道: Hi Am 11.07.24 um 11:01 schrieb oushixiong1...@163.com: From: Shixiong Ou [WHY] The AST2600 tx_chip_types will be detected as AST_TX_DP, but some BMC boards t

[PATCH] drm/atomic-helper: Call stall_checks() before allocate drm_crtc_commit

2023-11-05 Thread oushixiong
From: Shixiong Ou Calling stall_checks() before allocating drm_crtc_commit not after that. Signed-off-by: Shixiong Ou --- drivers/gpu/drm/drm_atomic_helper.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_a

回复: [PATCH] drm/atomic-helper: Call stall_checks() before allocate drm_crtc_commit

2023-11-06 Thread oushixiong
Hi, I think it will cause memory leaks if too many nonblock commit works return -EBUSY. You can try to send large number of nonblock commits by drmModeAtomicCommit(). -邮件原件- 发件人: Maxime Ripard 发送时间: 2023年11月6日 18:33 收件人: oushixiong 抄送: Maarten Lankhorst ; Thomas Zimmermann ; David

[PATCH] drm/radeon: Delay Connector detecting when HPD singals is unstable

2024-05-09 Thread oushixiong
From: Shixiong Ou In some causes, HPD signals will jitter when plugging in or unplugging HDMI. Rescheduling the hotplug work for a second when EDID may still be readable but HDP is disconnected, and fixes this issue. Signed-off-by: Shixiong Ou --- drivers/gpu/drm/radeon/radeon_connectors.c |

[PATCH] drm/hisilicon: Fix a NULL pointer access when call hibmc_unload

2024-05-09 Thread oushixiong
From: Shixiong Ou If Calling hibmc_mm_init() failed in hibmc_load(), the hibmc_unload() will access a NULL pointer, as it don't call ww_mutex_init() to initialize mode_config.connection_mutex but try to lock it when calling drm_atomic_helper_shutdown(). [ 50.939211][ 0] Unable to handle kerne

Re: [PATCH 2/3] drm/prime: Support importing DMA-BUF without sg_table

2025-04-30 Thread oushixiong
在 2025/4/30 19:03, Christian König 写道: On 4/30/25 10:56,oushixiong1...@163.com wrote: From: Shixiong Ou [WHY] On some boards, the dma_mask of Aspeed devices is 0x_, this quite possibly causes the SWIOTLB to be triggered when importing dmabuf. However IO_TLB_SEGSIZE limits the maximum a

Re: [PATCH 1/3] drm/shmem-helper: Import dmabuf without mapping its sg_table

2025-05-05 Thread oushixiong
@amd.com After this patch SG tables where only created when necessary. Regards, Christian. On 5/5/25 16:22, oushixiong wrote: Hi Christian, My patch is based on linux-next, so this patch is not based on the latest code. Then, I'd like to ask which patch resolved the issue with sg-tables?

Re: [PATCH 1/3] drm/shmem-helper: Import dmabuf without mapping its sg_table

2025-05-05 Thread oushixiong
Hi Christian, My patch is based on linux-next, so this patch is not based on the latest code. Then, I'd like to ask which patch resolved the issue with sg-tables? Thanks and Regards, Shixiong. 在 2025/5/5 19:25, Christian König 写道: Hi Thomas & Shixiong, first of all the patch is still ba

Re: [PATCH drm-dp 04/10] drm/hisilicon/hibmc: fix the hibmc loaded failed bug

2025-05-30 Thread oushixiong
在 2025/5/30 17:54, 00 1970 写道: From: Baihan Li When hibmc loaded failed, the driver use hibmc_unload to free the resource, but the mutexes in mode.config are not init, which will access an NULL pointer. Fixes: b3df5e65cc03 ("drm/hibmc: Drop drm_vblank_cleanup") Reported-by:oushixiong1...@163.c