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
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 |
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
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
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
---
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 the ca
buffer
with 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
buffer
with 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
buffer 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
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
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 |
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
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
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
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
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
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
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
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
19 matches
Mail list logo