)
* move get_scanout_buffer() to plane helper functions
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
b/drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
index
helper functions (Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/tiny/simpledrm.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c
index 7ce1c4617675..f498665be8c4 100644
--- a/drivers
with drm_panic_set_buffer()
(Thomas Zimmermann)
v9:
* Revert to using get_scanout_buffer() (Sima)
* move get_scanout_buffer() to plane helper functions (Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 7 ++-
drivers/gpu/drm/mgag200/mgag200_mode.c | 18
-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_fb_dma_helper.c | 47 +
include/drm/drm_fb_dma_helper.h | 4 +++
2 files changed, 51 insertions(+)
diff --git a/drivers/gpu/drm/drm_fb_dma_helper.c
b/drivers/gpu/drm/drm_fb_dma_helper.c
index 3b535ad1b07c..010327069ad4 100644
format helper to drm_panic
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_panic.c | 272 ++--
1 file changed, 262 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/drm_panic.c b/drivers/gpu/drm/drm_panic.c
index faa64961c0f2..2c3b2fffe659 100644
in drm_panic (Thomas Zimmermann).
* Simplify the text drawing functions.
* Use kmsg_dumper instead of panic_notifier (Sima).
Signed-off-by: Jocelyn Falempe
---
Documentation/gpu/drm-kms.rst| 12 +
drivers/gpu/drm/Kconfig | 23 ++
drivers/gpu/drm/Makefile
ote that the locking is very much not correct there, hence this
separate rfc.
v2:
- fix authorship, this was all my typing
- some typo oopsies
- link to the drm panic work by Jocelyn for context
v10:
- Use spinlock_irqsave/restore (John Ogness)
Signed-off-by: Daniel Vetter
Cc: Jocelyn Falempe
Cc: And
drm/panic: Add drm panic locking
Jocelyn Falempe (8):
drm/panic: Add a drm panic handler
drm/panic: Add support for color format conversion
drm/panic: Add debugfs entry to test without triggering panic.
drm/fb_dma: Add generic get_scanout_buffer() for drm_panic
drm/simpledrm: Add drm
On 13/03/2024 18:57, Zack Rusin wrote:
On Tue, Mar 12, 2024 at 5:36 AM Jocelyn Falempe wrote:
[...]
Thanks! That looks great. I can push it through drm-misc-fixes.
Thanks,
I think I only forget the "drm/" in the commit title, but yes you can
push it with this small
Hi,
Thanks, it looks good to me.
Reviewed-by: Jocelyn Falempe
--
Jocelyn
On 12/03/2024 16:45, Thomas Zimmermann wrote:
Implement fbdev emulation with fbdev-shmem. Avoids the overhead of
fbdev-generic's additional shadow buffering. No functional changes.
Signed-off-by: Thomas Zimmermann
Hi,
Thanks, it looks good to me.
Reviewed-by: Jocelyn Falempe
--
Jocelyn
On 12/03/2024 16:45, Thomas Zimmermann wrote:
Implement fbdev emulation with fbdev-shmem. Avoids the overhead of
fbdev-generic's additional shadow buffering. No functional changes.
Signed-off-by: Thomas Zimmermann
On 12/03/2024 17:44, Sui Jingfeng wrote:
Hi,
I'm get attracted by your patch, so I want to comment.
Please correct or ignore me if I say something wrong.
On 2024/3/7 17:14, Jocelyn Falempe wrote:
This was initialy done for imx6, but should work on most drivers
using drm_fb_dma_helper.
v8
On 12/03/2024 16:16, Sui Jingfeng wrote:
Hi,
On 2024/3/7 17:14, Jocelyn Falempe wrote:
This introduces a new drm panic handler, which displays a message when
a panic occurs.
So when fbcon is disabled, you can still see a kernel panic.
This is one of the missing feature, when disabling VT
On 12/03/2024 14:18, Sui Jingfeng wrote:
Hi,
[...]
While applying you patch, there is new blank line at EOF reported, see
below.
This is not an issue, but I want to report this to you.
Hi,
Thanks, I will remove it for the next version.
--
Jocelyn
git am
On 12/03/2024 13:56, Sui Jingfeng wrote:
Hi,
Interesting patch! I know this patch already merged.
While study this patch, I have a few questions.
On 2024/2/8 17:51, Jocelyn Falempe wrote:
We found a regression in v5.10 on real-time server, using the
rt-kernel and the mgag200 driver. It's
7fe30
R10: R11: 0246 R12: 7f4c41573000
R13: 0003 R14: 7f4c41572010 R15: 0003
ORIG_RAX: CS: 0033 SS: 002b
Signed-off-by: Jocelyn Falempe
Fixes: af4a25bbe5e7 ("drm/vmwgfx: Add debugfs entries for various ttm
On 07/03/2024 11:27, John Ogness wrote:
On 2024-03-07, Jocelyn Falempe wrote:
diff --git a/drivers/gpu/drm/drm_atomic_helper.c
b/drivers/gpu/drm/drm_atomic_helper.c
index 39ef0a6addeb..c0bb91312fb2 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
On 05/03/2024 18:50, Guilherme G. Piccoli wrote:
On 05/03/2024 13:52, Jocelyn Falempe wrote:
[...]
Or maybe have two lists of panic notifiers, the safe and the destructive
list. So in case of fake panic, we can only call the safe notifiers.
I tried something like that:
https
Hi,
On 07/03/2024 16:41, Thomas Zimmermann wrote:
Am 07.03.24 um 15:08 schrieb Thomas Zimmermann:
Hi
Am 07.03.24 um 10:14 schrieb Jocelyn Falempe:
This is needed for drm_panic, to draw the font, and fill
the background color, in multiple color format.
As you know, I'm not happy about
)
* move get_scanout_buffer() to plane helper functions
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/ast/ast_mode.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c
index a718646a66b8..49f2d8bd3377 100644
with drm_panic_set_buffer()
(Thomas Zimmermann)
v9:
* Revert to using get_scanout_buffer() (Sima)
* move get_scanout_buffer() to plane helper functions (Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 7 ++-
drivers/gpu/drm/mgag200/mgag200_mode.c | 18
)
* move get_scanout_buffer() to plane helper functions
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
b/drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c
index
helper functions (Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/tiny/simpledrm.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c
index 7ce1c4617675..f498665be8c4 100644
--- a/drivers
to using get_scanout_buffer() (Sima)
* Move get_scanout_buffer() and panic_flush() to the plane helper
functions (Thomas Zimmermann)
* Register all planes with get_scanout_buffer() to the panic notifier
* Use drm_panic_lock() to protect against race (Sima)
Signed-off-by: Jocelyn Falempe
-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_fb_dma_helper.c | 47 +
include/drm/drm_fb_dma_helper.h | 4 +++
2 files changed, 51 insertions(+)
diff --git a/drivers/gpu/drm/drm_fb_dma_helper.c
b/drivers/gpu/drm/drm_fb_dma_helper.c
index 3b535ad1b07c..010327069ad4 100644
ane in the device's debugfs
directory. This allows to test for each plane of each GPU
independently.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/Kconfig | 9 +
drivers/gpu/drm/drm_panic.c | 38 +
2 files changed, 47 insertions(+)
diff --
by the kernel test bot
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_format_helper.c | 432 ++--
include/drm/drm_format_helper.h | 9 +
2 files changed, 360 insertions(+), 81 deletions(-)
diff --git a/drivers/gpu/drm/drm_format_helper.c
b/drivers/gpu/drm
ote that the locking is very much not correct there, hence this
separate rfc.
v2:
- fix authorship, this was all my typing
- some typo oopsies
- link to the drm panic work by Jocelyn for context
Signed-off-by: Daniel Vetter
Cc: Jocelyn Falempe
Cc: Andrew Morton
Cc: "Peter Zijlstra (Intel)&quo
ectory. This allows to test for each plane of each GPU
independently.
Daniel Vetter (1):
drm/panic: Add drm panic locking
Jocelyn Falempe (8):
drm/format-helper: Add drm_fb_blit_from_r1 and drm_fb_fill
drm/panic: Add a drm panic handler
drm/panic: Add debugfs entry to test without triggering
On 05/03/2024 17:23, Michael Kelley wrote:
From: Guilherme G. Piccoli Sent: Monday, March 4, 2024
1:43 PM
On 04/03/2024 18:12, John Ogness wrote:
[...]
The second question is how to simulate a panic context in a
non-destructive way, so we can test the panic notifiers in CI, without
On 04/03/2024 22:12, John Ogness wrote:
[Added printk maintainer and kdb folks]
Hi Jocelyn,
On 2024-03-01, Jocelyn Falempe wrote:
While writing a panic handler for drm devices [1], I needed a way to
test it without crashing the machine.
So from debugfs, I called
atomic_notifier_call_chain
nic work by Jocelyn for context
Signed-off-by: Daniel Vetter
Cc: Jocelyn Falempe
Cc: Andrew Morton
Cc: "Peter Zijlstra (Intel)"
Cc: Lukas Wunner
Cc: Petr Mladek
Cc: Steven Rostedt
Cc: John Ogness
Cc: Sergey Senozhatsky
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Thomas Zimmerma
Hi,
While writing a panic handler for drm devices [1], I needed a way to
test it without crashing the machine.
So from debugfs, I called
atomic_notifier_call_chain(_notifier_list, ...), but it has the
side effect of calling all other panic notifiers registered.
So Sima suggested to move
On 29/02/2024 12:17, Daniel Vetter wrote:
On Tue, Feb 27, 2024 at 11:04:16AM +0100, Jocelyn Falempe wrote:
Add support for the drm_panic module, which displays a user-friendly
message to the screen when a kernel panic occurs.
v8:
* Replace get_scanout_buffer() with drm_panic_set_buffer
On 29/02/2024 12:21, Daniel Vetter wrote:
On Tue, Feb 27, 2024 at 11:04:14AM +0100, Jocelyn Falempe wrote:
Add a debugfs file, so you can test drm_panic without freezing
your machine. This is unsafe, and should be enabled only for
developer or tester.
to display the drm_panic screen, just
This was initialy done for imx6, but should work on most drivers
using drm_fb_dma_helper.
v8:
* Replace get_scanout_buffer() logic with drm_panic_set_buffer()
(Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_fb_dma_helper.c | 37
Add a debugfs file, so you can test drm_panic without freezing
your machine. This is unsafe, and should be enabled only for
developer or tester.
to display the drm_panic screen, just run:
echo 1 > /sys/kernel/debug/drm_panic/trigger
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/Kcon
Add support for the drm_panic module, which displays a message to
the screen when a kernel panic occurs.
v7
* Use drm_for_each_primary_visible_plane()
v8:
* Replace get_scanout_buffer() logic with drm_panic_set_buffer()
(Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu
Add support for the drm_panic module, which displays a user-friendly
message to the screen when a kernel panic occurs.
v8:
* Replace get_scanout_buffer() with drm_panic_set_buffer()
(Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/tiny/simpledrm.c | 17
Add support for the drm_panic module, which displays a user-friendly
message to the screen when a kernel panic occurs.
v7:
* use drm_panic_gem_get_scanout_buffer() helper
v8:
* Replace get_scanout_buffer() logic with drm_panic_set_buffer()
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm
with drm_panic_set_buffer()
(Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/mgag200/mgag200_g200.c| 2 ++
drivers/gpu/drm/mgag200/mgag200_g200eh.c | 2 ++
drivers/gpu/drm/mgag200/mgag200_g200eh3.c | 2 ++
drivers/gpu/drm/mgag200/mgag200_g200er.c | 2 ++
drivers/gpu/drm/mgag200
-by: Jocelyn Falempe
---
Documentation/gpu/drm-kms.rst| 12 +
drivers/gpu/drm/Kconfig | 23 ++
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/drm_panic.c | 400 +++
drivers/gpu/drm/drm_plane.c | 3 +
include
by the kernel test bot
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_format_helper.c | 432 ++--
include/drm/drm_format_helper.h | 9 +
2 files changed, 360 insertions(+), 81 deletions(-)
diff --git a/drivers/gpu/drm/drm_format_helper.c
b/drivers/gpu/drm
eplace get_scanout_buffer() with set_scanout_buffer() to simplify
the locking. (Thomas Zimmermann)
* Add a debugfs entry, to trigger the drm_panic without a real panic (Sima)
* Fix the drm_panic Documentation, and include it in drm-kms.rst
Best regards,
Jocelyn Falempe (8):
drm/format-helpe
On 08/02/2024 12:49, Thomas Zimmermann wrote:
Am 08.02.24 um 10:51 schrieb Jocelyn Falempe:
We found a regression in v5.10 on real-time server, using the
rt-kernel and the mgag200 driver. It's some really specialized
workload, with <10us latency expectation on isolated core.
After the v5
r low-latency workload,
so the new kconfig DRM_MGAG200_IOBURST_WORKAROUND depends on
PREEMPT_RT and X86.
For more context, the whole thread can be found here [1]
Signed-off-by: Jocelyn Falempe
Link:
https://lore.kernel.org/dri-devel/20231019135655.313759-1-jfale...@redhat.com/
# 1
---
drive
On 07/02/2024 10:47, Thomas Zimmermann wrote:
Hi
Am 06.02.24 um 23:21 schrieb Jocelyn Falempe:
We found a regression in v5.10 on real-time server, using the
rt-kernel and the mgag200 driver. It's some really specialized
workload, with <10us latency expectation on isolated core.
Af
r low-latency workload,
so the new kconfig DRM_MGAG200_LATENCY_WORKAROUND depends on
PREEMPT_RT and X86.
For more context, the whole thread can be found here:
https://lore.kernel.org/dri-devel/20231019135655.313759-1-jfale...@redhat.com/
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/m
On 06/02/2024 14:33, Daniel Vetter wrote:
On Mon, Dec 11, 2023 at 10:31:28AM +0100, Jocelyn Falempe wrote:
On 06/11/2023 11:46, Jocelyn Falempe wrote:
On 23/10/2023 10:30, Jocelyn Falempe wrote:
On 20/10/2023 14:06, Thomas Zimmermann wrote:
(cc'ing lkml for feedback)
Hi Jocelyn
Am
Hi Thomas,
Thanks for taking the time to write this series.
I find the drm_pixmap is a nice improvement, and simplifies a bit the code.
Regarding the font blit, I'm not convinced by this approach.
I don't see the benefit of using the same function between fonts and
framebuffer copy, as it's
Thomas
Am 19.01.24 um 11:58 schrieb Thomas Zimmermann:
Hi
Am 17.01.24 um 17:40 schrieb Jocelyn Falempe:
On 17/01/2024 16:06, Thomas Zimmermann wrote:
Hi
Am 04.01.24 um 17:00 schrieb Jocelyn Falempe:
This is needed for drm_panic, to draw the font, and fill
the background color, in multiple color
y McAllister
Cc: Ian Forbes
Signed-off-by: Zack Rusin
Fixes: a950b989ea29 ("drm/vmwgfx: Do not drop the reference to the handle too
soon")
Cc: # v6.2+
Reviewed-by: Martin Krastev
Link:
https://patchwork.freedesktop.org/patch/msgid/20230928041355.737635-1-z...@kde.org
Signed-off-by
e too
soon")
Cc: # v6.4+
Reviewed-by: Maaz Mombasawala
Link:
https://patchwork.freedesktop.org/patch/msgid/20230818041301.407636-1-z...@kde.org
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 6 ++
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 8
drive
Hi,
I've backported this two commits:
f9e96bf19054 drm/vmwgfx: Fix possible invalid drm gem put calls
91398b413d03 drm/vmwgfx: Keep a gem reference to user bos in surfaces
They both fixes a950b989ea29 ("drm/vmwgfx: Do not drop the reference
to the handle too soon")
which has been backported to
On 12/01/2024 14:50, Daniel Vetter wrote:
On Thu, Jan 04, 2024 at 05:00:46PM +0100, Jocelyn Falempe wrote:
+/**
+ * drm_panic_init() - Initialize drm-panic subsystem
+ *
+ * register the panic notifier
+ */
+void drm_panic_init(void)
+{
+ atomic_notifier_chain_register(_notifier_list
On 17/01/2024 16:49, Thomas Zimmermann wrote:
Hi
Am 04.01.24 um 17:00 schrieb Jocelyn Falempe:
[...]
+ /**
+ * @get_scanout_buffer:
+ *
+ * Get the current scanout buffer, to display a panic message
with drm_panic.
+ * The driver should do the minimum changes to provide
On 17/01/2024 16:26, Jani Nikula wrote:
On Thu, 04 Jan 2024, Jocelyn Falempe wrote:
This is needed for drm_panic, to draw the font, and fill
the background color, in multiple color format.
v5:
* Change the drawing API, use drm_fb_blit_from_r1() to draw the font.
* Also add drm_fb_fill
On 17/01/2024 16:06, Thomas Zimmermann wrote:
Hi
Am 04.01.24 um 17:00 schrieb Jocelyn Falempe:
This is needed for drm_panic, to draw the font, and fill
the background color, in multiple color format.
TBH, I don't like this patch at all. It looks like you're reimplementing
existing
On 12/01/2024 14:41, Daniel Vetter wrote:
On Thu, Jan 04, 2024 at 05:00:49PM +0100, Jocelyn Falempe wrote:
This was initialy done for imx6, but should work on most drivers
using drm_fb_dma_helper.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_fb_dma_helper.c | 55
On 12/01/2024 14:31, Daniel Vetter wrote:
On Thu, Jan 04, 2024 at 05:00:46PM +0100, Jocelyn Falempe wrote:
This module displays a user friendly message when a kernel panic
occurs. It currently doesn't contain any debug information,
but that can be added later.
v2
* Use get_scanout_buffer
On 12/01/2024 15:00, Daniel Vetter wrote:
On Thu, Jan 04, 2024 at 05:00:44PM +0100, Jocelyn Falempe wrote:
This introduces a new drm panic handler, which displays a message when a panic
occurs.
So when fbcon is disabled, you can still see a kernel panic.
This is one of the missing feature
On 08/01/2024 11:20, Maxime Ripard wrote:
Hi,
On Thu, Jan 04, 2024 at 05:00:49PM +0100, Jocelyn Falempe wrote:
This was initialy done for imx6, but should work on most drivers
using drm_fb_dma_helper.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_fb_dma_helper.c | 55
e)
total: 1 errors, 0 warnings, 21 lines checked
I think this requirement cannot work when you use list_for_each kind of
macros.
Do you have any suggestion ?
Best regards,
--
Jocelyn
On 04/01/2024 17:00, Jocelyn Falempe wrote:
To support drm_panic, most drivers need to find the current
a lot for taking some time to look at the latency issue.
This looks good to me.
Reviewed-by: Jocelyn Falempe
--
Jocelyn
Add support for the drm_panic module, which displays a user-friendly
message to the screen when a kernel panic occurs.
v7:
* use drm_panic_gem_get_scanout_buffer() helper
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 2 ++
1 file changed, 2 insertions(+)
diff
Add support for the drm_panic module, which displays a message to
the screen when a kernel panic occurs.
v7
* Use drm_for_each_primary_visible_plane()
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/ast/ast_drv.c | 26 --
1 file changed, 24 insertions(+), 2
To support drm_panic, most drivers need to find the current primary
visible plane with a framebuffer attached.
Signed-off-by: Jocelyn Falempe
---
include/drm/drm_plane.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index
Add support for the drm_panic module, which displays a message to
the screen when a kernel panic occurs.
v5:
* Also check that the plane is visible and primary. (Thomas Zimmermann)
v7:
* use drm_for_each_primary_visible_plane()
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/mgag200
Add support for the drm_panic module, which displays a user-friendly
message to the screen when a kernel panic occurs.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/tiny/simpledrm.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpu/drm/tiny/simpledrm.c b
by the kernel test bot
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_format_helper.c | 432 ++--
include/drm/drm_format_helper.h | 9 +
2 files changed, 360 insertions(+), 81 deletions(-)
diff --git a/drivers/gpu/drm/drm_format_helper.c
b/drivers/gpu/drm
So driver knows early if drm_panic will be able to display something
on the current scanout buffer.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_panic.c | 13 +
include/drm/drm_panic.h | 4
2 files changed, 17 insertions(+)
diff --git a/drivers/gpu/drm
This was initialy done for imx6, but should work on most drivers
using drm_fb_dma_helper.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_fb_dma_helper.c | 55 +
include/drm/drm_fb_dma_helper.h | 4 +++
2 files changed, 59 insertions(+)
diff --git
*private field, so drivers can pass private data to
draw_pixel_xy() and flush().
v6
* Fix sparse warning for panic_msg and logo.
v7
* Add select DRM_KMS_HELPER for the color conversion functions.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/Kconfig | 23 +++
drivers/gpu/drm/Makefile
ric implementation for drivers that uses drm_fb_dma. (Maxime
Ripard)
* Add back the IMX/IPUV3 support, and use the generic implementation. (Maxime
Ripard)
Best regards,
Jocelyn Falempe (9):
drm/format-helper: Add drm_fb_blit_from_r1 and drm_fb_fill
drm/panic: Add a drm panic handler
drm/pl
a new fourcc needs to be added to support this format.
small typo here, R:G:B 6:5:6 => that's 17 bits
other than that, it looks good to me, feel free to add:
Reviewed-by: Jocelyn Falempe
Signed-off-by: Javier Martinez Canillas
---
(no changes since v1)
drivers/gpu/drm/solomon/ssd130x-i2
I just merged it to drm-misc-fixes:
https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-fixes=11f9eb899ecc8c02b769cf8d2532ba12786a7af7
Thanks,
--
Jocelyn
On 18/12/2023 12:31, Thomas Zimmermann wrote:
Hi
Am 14.12.23 um 17:38 schrieb Jocelyn Falempe:
When mgag200 switched from simple KMS to regular atomic helpers,
the initialization of the gamma settings was lost.
This leads to a black screen, if the bios/uefi doesn't use the same
pixel color
lized.") for most G200, but G200ER, G200EV, G200SE use
their own version of crtc_helper_atomic_enable() and need to be fixed
too.
Fixes: 1baf9127c482 ("drm/mgag200: Replace simple-KMS with regular atomic
helpers")
Cc: #v6.1+
Reported-by: Roger Sewell
Suggested-by: Roger Sewell
Si
On 14/12/2023 14:48, Maxime Ripard wrote:
Hi,
On Fri, Nov 03, 2023 at 03:53:30PM +0100, Jocelyn Falempe wrote:
Proof of concept to add drm_panic support on an arm based GPU.
I've tested it with X11/llvmpipe, because I wasn't able to have
3d rendering with etnaviv on my imx6 board.
Signed
On 06/11/2023 11:46, Jocelyn Falempe wrote:
On 23/10/2023 10:30, Jocelyn Falempe wrote:
On 20/10/2023 14:06, Thomas Zimmermann wrote:
(cc'ing lkml for feedback)
Hi Jocelyn
Am 19.10.23 um 15:55 schrieb Jocelyn Falempe:
We found a regression in v5.10 on real-time server, using the
rt-kernel
Add support for the drm_panic module, which displays a user-friendly
message to the screen when a kernel panic occurs.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/tiny/simpledrm.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpu/drm/tiny/simpledrm.c b
Add support for the drm_panic module, which displays a message to
the screen when a kernel panic occurs.
v5:
* Also check that the plane is visible and primary. (Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/mgag200/mgag200_drv.c | 25 +
1 file
Add support for the drm_panic module, which displays a message to
the screen when a kernel panic occurs.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/ast/ast_drv.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/ast
*private field, so drivers can pass private data to
draw_pixel_xy() and flush().
v6
* Fix sparse warning for panic_msg and logo
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/Kconfig | 22 +++
drivers/gpu/drm/Makefile| 1 +
drivers/gpu/drm/drm_drv.c | 8 +
drivers/gpu/drm
by the kernel test bot
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/drm_format_helper.c | 431 ++--
include/drm/drm_format_helper.h | 9 +
2 files changed, 359 insertions(+), 81 deletions(-)
diff --git a/drivers/gpu/drm/drm_format_helper.c
b/drivers/gpu/drm
ard.
But it shows that it can still work on ARM with DMA buffer in this case.
Best regards,
Jocelyn Falempe (5):
drm/format-helper: Add drm_fb_blit_from_r1 and drm_fb_fill
drm/panic: Add a drm panic handler
drm/simpledrm: Add drm_panic support
drm/mgag200: Add drm_panic support
drm/ast:
connector has
a display attached. This way compositors will only see one connected
connector at a time; either the physical one or the BMC.
Thanks for the patch.
I can't test it because I don't have physical access to a machine with
aspeed GPU, but it looks good to me.
Reviewed-by: Jocelyn Falempe
On 13/11/2023 17:37, Sasha Levin wrote:
On Mon, Nov 13, 2023 at 10:49:01AM +0100, Thomas Zimmermann wrote:
(cc: gregkh)
Hi Jocelyn
Am 13.11.23 um 10:36 schrieb Jocelyn Falempe:
On 13/11/2023 09:34, Keno Fischer wrote:
Greetings,
When connected to a remote machine via the BMC KVM
,
and will allow further refactoring later.
For the whole series:
Reviewed-by: Jocelyn Falempe
--
Jocelyn
On 13/11/2023 09:50, Thomas Zimmermann wrote:
Return the ast chip and config in the detection function's parameters
instead of storing them directly in the ast device instance.
Signed-off-by: Thomas Zimmermann
---
drivers/gpu/drm/ast/ast_main.c | 104 ++---
1
On 13/11/2023 09:34, Keno Fischer wrote:
Greetings,
When connected to a remote machine via the BMC KVM functionality,
I am experiencing screen freezes on boot when using 6.5 stable,
but not master.
The BMC on the machine in question is an ASpeed AST2600.
A quick bisect shows the problematic
in this crash.
Can you test with the attached patch ? I want to see if the detect
callback is called, and also make sure the delayed_work struct is
properly initialized.
Thanks,
Kim
Best regards,
--
Jocelyn
From 0a9f2d81af1087ab3648206dfce160639385a6b6 Mon Sep 17 00:00:00 2001
From: Jocelyn Fal
On 23/10/2023 10:30, Jocelyn Falempe wrote:
On 20/10/2023 14:06, Thomas Zimmermann wrote:
(cc'ing lkml for feedback)
Hi Jocelyn
Am 19.10.23 um 15:55 schrieb Jocelyn Falempe:
We found a regression in v5.10 on real-time server, using the
rt-kernel and the mgag200 driver. It's some really
On 30/10/2023 10:50, Philipp Stanner wrote:
Currently, tha ast-driver just maps the PCI-dev's regions with
pcim_iomap(). It does not actually reserve the regions exclusively
with, e.g., pci_request_regions().
Replace the calls to pcim_iomap() with ones to pcim_iomap_regions() to
reserve and map
Add support for the drm_panic module, which displays a message to
the screen when a kernel panic occurs.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/ast/ast_drv.c | 4 ++--
drivers/gpu/drm/ast/ast_drv.h | 3 +++
drivers/gpu/drm/ast/ast_mode.c | 26 ++
3 files
Proof of concept to add drm_panic support on an arm based GPU.
I've tested it with X11/llvmpipe, because I wasn't able to have
3d rendering with etnaviv on my imx6 board.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 30
1 file changed
Add support for the drm_panic module, which displays a message to
the screen when a kernel panic occurs.
v5:
* Also check that the plane is visible and primary. (Thomas Zimmermann)
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/mgag200/mgag200_drv.c | 25 +
1 file
This is needed for drm_panic, to draw the font, and fill
the background color, in multiple color format.
v5:
* Change the drawing API, use drm_fb_blit_from_r1() to draw the font.
* Also add drm_fb_fill() to fill area with background color.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm
*private field, so drivers can pass private data to
draw_pixel_xy() and flush().
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/Kconfig | 22 +++
drivers/gpu/drm/Makefile| 1 +
drivers/gpu/drm/drm_drv.c | 8 +
drivers/gpu/drm/drm_panic.c | 368
Add support for the drm_panic module, which displays a user-friendly
message to the screen when a kernel panic occurs.
Signed-off-by: Jocelyn Falempe
---
drivers/gpu/drm/tiny/simpledrm.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpu/drm/tiny/simpledrm.c b
101 - 200 of 413 matches
Mail list logo