Re: [PATCH next] drm/panel: jdi-lpm102a188a: Fix error code in jdi_panel_prepare()

2025-08-25 Thread Brigham Campbell
On Sun Aug 24, 2025 at 11:50 PM MDT, Dan Carpenter wrote: > On Sun, Aug 24, 2025 at 12:54:41PM -0600, Brigham Campbell wrote: >> Good catch, Dan! Thank you for the patch. I'll try to be mindful of this >> kind of logic error in the future. Please let me know if you have

Re: [PATCH next] drm/panel: jdi-lpm102a188a: Fix error code in jdi_panel_prepare()

2025-08-24 Thread Brigham Campbell
d of logic error in the future. Please let me know if you have other suggestions. Reviewed-by: Brigham Campbell Regards, Brigham

Re: [PATCH] accel/rocket: Fix usages of kfree() and sizeof()

2025-08-13 Thread Brigham Campbell
On Wed Aug 13, 2025 at 11:56 AM MDT, Markus Elfring wrote: >> Replace usages of kfree() with kvfree() for pointers which were >> allocated using kvmalloc(), as required by the kernel memory management >> API. > > How do you think about to add any tags (like “Fixes” and “Cc”) accordingly? > https://

[PATCH] accel/rocket: Fix usages of kfree() and sizeof()

2025-08-13 Thread Brigham Campbell
0250813-rocket-free-fix-3ca6a759a290 Thanks! Brigham Campbell

Re: [PATCH] drm: Add directive to format code in comment

2025-08-05 Thread Brigham Campbell
On Tue Aug 5, 2025 at 5:53 AM MDT, Giant Sand Fans wrote: > On Tue, 5 Aug 2025 at 12:49, Dmitry Baryshkov > wrote: >> Fixes tag? >Sorry, what do you mean? Dmitry is looking for a tag in the body of your patch (much like your "Signed-off-by" tag) which describes the commit which introduced the

Re: [PATCH 0/2] accel/rocket: Fix build errors and sparse warning

2025-08-03 Thread Brigham Campbell
On Sun Aug 3, 2025 at 9:33 AM MDT, Tomeu Vizoso wrote: > thanks for the fixes. Will pick them up. Hope you don't mind if I > change the subject of the first patch to something a bit more > specific, such as: > > accel/rocket: Adapt to changes in drm/sched API No, I don't mind at all. Go ahead and

[PATCH 1/2] accel/rocket: Fix Rockchip NPU compilation

2025-08-02 Thread Brigham Campbell
e drm client_id in drm_sched_fence") Signed-off-by: Brigham Campbell --- drivers/accel/rocket/rocket_job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/accel/rocket/rocket_job.c b/drivers/accel/rocket/rocket_job.c index e731da15ebffca12e740

[PATCH 2/2] accel/rocket: Fix undeclared const rocket_pm_ops

2025-08-02 Thread Brigham Campbell
Fix sparse warning regarding an undeclared const rocket_pm_ops, which is used in rocket_drv.c. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202508030021.uwdr4p08-...@intel.com/ Signed-off-by: Brigham Campbell --- drivers/accel/rocket/rocket_drv.h | 2 ++ 1 file

[PATCH 0/2] accel/rocket: Fix build errors and sparse warning

2025-08-02 Thread Brigham Campbell
: Brigham Campbell --- Brigham Campbell (2): accel/rocket: Fix Rockchip NPU compilation accel/rocket: Fix undeclared const rocket_pm_ops drivers/accel/rocket/rocket_drv.h | 2 ++ drivers/accel/rocket/rocket_job.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) --- base-commit

[PATCH v4 3/3] drm/panel: novatek-nt35560: Clean up driver

2025-07-30 Thread Brigham Campbell
ned that this driver supports the Novatek NT35560 panel controller. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 198 ++ 1 file changed, 60 insertions(+), 138 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-

[PATCH v4 2/3] drm: Add MIPI read_multi func and two write macros

2025-07-30 Thread Brigham Campbell
display controllers. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 37 ++ include/drm/drm_mipi_dsi.h | 35 2 files changed, 72 insertions(+) diff --git a/drivers/gpu/drm

[PATCH v4 1/3] drm/panel: novatek-nt35560: Fix invalid return value

2025-07-30 Thread Brigham Campbell
: 8152c2bfd780 ("drm/panel: Add driver for Sony ACX424AKP panel") Reviewed-by: Douglas Anderson Reviewed-by: Neil Armstrong Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH v4 0/3] drm/panel: novatek-nt35560: Fix bug and clean up

2025-07-30 Thread Brigham Campbell
I write macros for sending non-static MIPI messages. - Minor formatting improvements. Brigham Campbell (3): drm/panel: novatek-nt35560: Fix invalid return value drm: Add MIPI read_multi func and two write macros drm/panel: novatek-nt35560: Clean up driver drivers/gpu/drm/drm_mipi_dsi

Re: [PATCH v3 2/3] drm: Add MIPI read_multi func and two write macros

2025-07-30 Thread Brigham Campbell
On Wed Jul 30, 2025 at 9:56 AM MDT, Doug Anderson wrote: >> +/** >> + * mipi_dsi_dcs_write_var_seq_multi - transmit a DCS command with non-static >> + * payload > > I should have been explicit, but the above "non-static" should also be > "non-constant". ;-) > > I could probably fix that when applyi

[PATCH v3 3/3] drm/panel: novatek-nt35560: Clean up driver

2025-07-29 Thread Brigham Campbell
ned that this driver supports the Novatek NT35560 panel controller. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 198 ++ 1 file changed, 60 insertions(+), 138 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-

[PATCH v3 2/3] drm: Add MIPI read_multi func and two write macros

2025-07-29 Thread Brigham Campbell
controllers. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- Doug, you had suggested a slightly different shortlog for this patch. I adjusted your suggestion to fit within the canonical recommended shortlog length of 50 characters. I understand that the 50 character limit

[PATCH v3 1/3] drm/panel: novatek-nt35560: Fix invalid return value

2025-07-29 Thread Brigham Campbell
: 8152c2bfd780 ("drm/panel: Add driver for Sony ACX424AKP panel") Reviewed-by: Douglas Anderson Reviewed-by: Neil Armstrong Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH v3 0/3] drm/panel: novatek-nt35560: Fix bug and clean up

2025-07-29 Thread Brigham Campbell
ct Fixes tag. The bug was introduced by an earlier commit. - Minor formatting improvements. Changes to v2: - Separate bug fix into its own commit for backporting. - Add var_seq_multi() variants of MIPI write macros for sending non-static MIPI messages. - Minor formatting improvements. Brigham

Re: [PATCH v2 2/3] drm: Add MIPI support function and macros

2025-07-29 Thread Brigham Campbell
On Tue Jul 29, 2025 at 3:34 PM MDT, Doug Anderson wrote: >> +/** >> + * mipi_dsi_generic_write_var_seq_multi - transmit non-static data using a >> + * generic write packet > > nit: "non-constant", not "non-static" > > From the caller's point of view the difference is that the data is > compile-time

Re: [PATCH v2 1/3] drm/panel: novatek-nt35560: Fix invalid return value

2025-07-29 Thread Brigham Campbell
On Tue Jul 29, 2025 at 3:33 PM MDT, Doug Anderson wrote: >> >> Fixes: 7835ed6a9e86 ("drm/panel-sony-acx424akp: Modernize backlight >> handling") > > I think your Fixes tag is wrong, actually. I think it needs to be: > > Fixes: 8152c2bfd780 ("drm/panel: Add driver for Sony ACX424AKP panel") Oh, go

Re: [PATCH v2 0/3] drm/panel: novatek-nt35560: Fix bug and clean up

2025-07-29 Thread Brigham Campbell
Oops! My apologies for forgetting to add the following changelog to the cover letter. Changes to v2: - Separate bug fix into its own commit for backporting - Add var_seq_multi() variants of MIPI write macros for sending non-static MIPI messages. - Minor formatting improvements.

[PATCH v2 3/3] drm/panel: novatek-nt35560: Clean up driver

2025-07-28 Thread Brigham Campbell
ned that this driver supports the Novatek NT35560 panel controller. Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 198 ++ 1 file changed, 60 insertions(+), 138 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35560.c b/drivers

[PATCH v2 2/3] drm: Add MIPI support function and macros

2025-07-28 Thread Brigham Campbell
controllers. Signed-off-by: Brigham Campbell --- I looked into using __builtin_constant_p() to extend mipi_dsi_{generic,dcs}_write_seq_multi() to accept both static and non-static sequences of bytes and store them accordingly, it looked promising at first, but I found no such solution ultimately

[PATCH v2 1/3] drm/panel: novatek-nt35560: Fix invalid return value

2025-07-28 Thread Brigham Campbell
: 7835ed6a9e86 ("drm/panel-sony-acx424akp: Modernize backlight handling") Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35560.c b/drivers/gpu/drm/p

[PATCH v2 0/3] drm/panel: novatek-nt35560: Fix bug and clean up

2025-07-28 Thread Brigham Campbell
pi_dsi.h to allow drivers to more conveniently construct MIPI payloads at runtime. Clean up novatek-nt35560 driver to use "multi" variants of MIPI functions which promote cleaner code. Brigham Campbell (3): drm/panel: novatek-nt35560: Fix invalid return value drm: Add MIPI supp

Re: [PATCH 2/2] drm/panel: novatek-nt35560: Fix bug and clean up

2025-07-27 Thread Brigham Campbell
On Fri Jul 25, 2025 at 3:17 PM MDT, Doug Anderson wrote: > Hi, > > On Thu, Jul 24, 2025 at 1:23 PM Brigham Campbell > wrote: >> >> Fix bug in nt35560_set_brightness() which causes the function to >> erroneously report an error. mipi_dsi_dcs_write() returns eith

Re: [PATCH 1/2] drm: Create mipi_dsi_dcs_read_multi()

2025-07-27 Thread Brigham Campbell
On Fri Jul 25, 2025 at 3:16 PM MDT, Doug Anderson wrote: >> + dev_err(dev, "transferring dcs message %xh failed: %d\n", >> cmd, > > Format code "%xh" is probably not exactly what you want. If the error > code is 0x10 it will print 10h, which is not very standard. You > probably copie

[PATCH 2/2] drm/panel: novatek-nt35560: Fix bug and clean up

2025-07-24 Thread Brigham Campbell
driver to use the "multi" variants of MIPI functions which facilitate improved error handling and cleaner driver code. Fixes: 7835ed6a9e86 ("drm/panel-sony-acx424akp: Modernize backlight handling") Signed-off-by: Brigham Campbell --- The usage of the u8 arr

[PATCH 1/2] drm: Create mipi_dsi_dcs_read_multi()

2025-07-24 Thread Brigham Campbell
Create mipi_dsi_dcs_read_multi(), which accepts a mipi_dsi_multi_context struct for improved error handling and cleaner panel driver code. Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 37 ++ include/drm/drm_mipi_dsi.h | 2 ++ 2 files

[PATCH 0/2] drm/panel: novatek-nt35560: Fix bug and clean up

2025-07-24 Thread Brigham Campbell
"failed to disable display backlight". - Clean up novatek-nt35560 driver to use "multi" variants of MIPI functions which promote cleaner code. If there's a reason that mipi_dsi_dcs_read_multi doesn't exist, I'm happy to drop it. Brigham Campbell (2): drm: Cre

Re: [PATCH v6 1/4] drm: Create mipi_dsi_dual* macros

2025-07-23 Thread Brigham Campbell
On Tue Jul 22, 2025 at 10:20 AM MDT, Doug Anderson wrote: > On Mon, Jul 21, 2025 at 6:53 PM Brigham Campbell > wrote: > add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-8754 (-8754) > Function old new delta > elish_csot_init_sequence.d

[PATCH v6 4/4] drm: docs: Update task from drm TODO list

2025-07-21 Thread Brigham Campbell
Update TODO item from drm documentation to contain more applicable information regarding the removal of deprecated MIPI DSI functions and no longer reference functions which have already been removed from the kernel. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell

[PATCH v6 3/4] drm: Remove unused MIPI write seq and chatty functions

2025-07-21 Thread Brigham Campbell
Remove the deprecated mipi_dsi_generic_write_seq() and mipi_dsi_generic_write_chatty() functions now that they are no longer used. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 34 +++--- include/drm

[PATCH v6 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver

2025-07-21 Thread Brigham Campbell
eprecated MIPI functions. Use the new mipi_dsi_dual macro to reduce code duplication. Reviewed-by: Douglas Anderson Reviewed-by: Diogo Ivo Tested-by: Diogo Ivo Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 196 ++ 1 file changed, 59 inserti

[PATCH v6 1/4] drm: Create mipi_dsi_dual* macros

2025-07-21 Thread Brigham Campbell
definition from panel-novatek-nt36523.c to avoid the duplicate definition. Make novatek driver pass mipi_dsi_context struct as a pointer. Reviewed-by: Dmitry Baryshkov Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c| 48 ++ drivers/gpu/drm/panel/panel-novatek-nt36523

[PATCH v6 0/4] drm: Fix bug in panel driver, update MIPI support macros

2025-07-21 Thread Brigham Campbell
hanges to v2: - Remove all usages of deprecated MIPI functions from jdi-lpm102a188a driver instead of just mipi_dsi_generic_write_seq(). - Update TODO item in drm documentation instead of removing it entirely. Brigham Campbell (4): drm: Create mipi_dsi_dual* macros drm/panel: jdi-lpm102a1

Re: [PATCH v5 1/4] drm: Create mipi_dsi_dual* macros

2025-07-21 Thread Brigham Campbell
On Mon Jul 21, 2025 at 10:30 AM MDT, Doug Anderson wrote: >> +void mpi_dsi_dual_generic_write_multi(struct mipi_dsi_device *dsi1, > > BUG: above should be "mipi", not "mpi" > >> + struct mipi_dsi_device *dsi2, >> + struct mipi_

Re: [PATCH v4 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver

2025-07-20 Thread Brigham Campbell
On Sat Jul 19, 2025 at 11:10 AM MDT, Diogo Ivo wrote: >> nit: can just be this: >> >> struct mipi_dsi_multi_context dsi_ctx = {}; > > I am not an expert here but I was under the impression that this is only > valid with C23 while the kernel is written in C11. Is there something I > am missing? > >

[PATCH v5 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver

2025-07-19 Thread Brigham Campbell
eprecated MIPI functions. Use the new mipi_dsi_dual macro to reduce code duplication. Reviewed-by: Douglas Anderson Reviewed-by: Diogo Ivo Tested-by: Diogo Ivo Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 196 ++ 1 file changed, 59 inserti

[PATCH v5 4/4] drm: docs: Update task from drm TODO list

2025-07-19 Thread Brigham Campbell
Update TODO item from drm documentation to contain more applicable information regarding the removal of deprecated MIPI DSI functions and no longer reference functions which have already been removed from the kernel. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell

[PATCH v5 3/4] drm: Remove unused MIPI write seq and chatty functions

2025-07-19 Thread Brigham Campbell
Remove the deprecated mipi_dsi_generic_write_seq() and mipi_dsi_generic_write_chatty() functions now that they are no longer used. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 34 +++--- include/drm

[PATCH v5 0/4] drm: Fix bug in panel driver, update MIPI support macros

2025-07-19 Thread Brigham Campbell
rom jdi-lpm102a188a driver instead of just mipi_dsi_generic_write_seq(). - Update TODO item in drm documentation instead of removing it entirely. Brigham Campbell (4): drm: Create mipi_dsi_dual* macros drm/panel: jdi-lpm102a188a: Fix bug and clean up driver drm: Remove unused MIPI write seq and chatt

[PATCH v5 1/4] drm: Create mipi_dsi_dual* macros

2025-07-19 Thread Brigham Campbell
Create mipi_dsi_dual, mipi_dsi_dual_dcs_write_seq_multi, and mipi_dsi_dual_generic_write_seq_multi macros for panels which are driven by two parallel serial interfaces. This allows for the reduction of code duplication in drivers for these panels. Signed-off-by: Brigham Campbell

Re: [PATCH v4 1/4] drm: Create mipi_dsi_dual macro

2025-07-18 Thread Brigham Campbell
On Fri Jul 18, 2025 at 10:10 AM MDT, Doug Anderson wrote: >> +#define mipi_dsi_dual(_func, _dsi1, _dsi2, _ctx, ...) \ >> + _mipi_dsi_dual(_func, _dsi1, _dsi2, _ctx, ##__VA_ARGS__) >> + >> +#define _mipi_dsi_dual(_func, _dsi1, _dsi2, _ctx, ...) \ >> + do {

Re: [PATCH v3 0/4] drm: Fix bug in panel driver, update MIPI support macros

2025-07-17 Thread Brigham Campbell
Woops. When I copied over the subject from the previous cover letter, I accidentally overwrote v4 with v3. I'll issue a v5 if that's a problem. My bad, Brigham

[PATCH v4 4/4] drm: docs: Update task from drm TODO list

2025-07-17 Thread Brigham Campbell
Update TODO item from drm documentation to contain more applicable information regarding the removal of deprecated MIPI DSI functions and no longer reference functions which have already been removed from the kernel. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell

[PATCH v4 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver

2025-07-17 Thread Brigham Campbell
eprecated MIPI functions. Use the new mipi_dsi_dual macro to reduce code duplication. Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 197 ++ 1 file changed, 60 insertions(+), 137 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-jdi-lpm102a1

[PATCH v4 3/4] drm: Remove unused MIPI write seq and chatty functions

2025-07-17 Thread Brigham Campbell
Remove the deprecated mipi_dsi_generic_write_seq() and mipi_dsi_generic_write_chatty() functions now that they are no longer used. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 34 +++--- include/drm

[PATCH v4 1/4] drm: Create mipi_dsi_dual macro

2025-07-17 Thread Brigham Campbell
Create mipi_dsi_dual macro for panels which are driven by two parallel serial interfaces. This allows for the reduction of code duplication in drivers for these panels. Signed-off-by: Brigham Campbell --- include/drm/drm_mipi_dsi.h | 24 1 file changed, 24 insertions

[PATCH v3 0/4] drm: Fix bug in panel driver, update MIPI support macros

2025-07-17 Thread Brigham Campbell
generic_write_seq(). - Update TODO item in drm documentation instead of removing it entirely. Brigham Campbell (4): drm: Create mipi_dsi_dual macro drm/panel: jdi-lpm102a188a: Fix bug and clean up driver drm: Remove unused MIPI write seq and chatty functions drm: docs: Update task fro

[PATCH v3 4/4] drm: docs: Update task from drm TODO list

2025-07-16 Thread Brigham Campbell
Update TODO item from drm documentation to contain more applicable information regarding the removal of deprecated MIPI DSI functions and no longer reference functions which have already been removed from the kernel. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell

[PATCH v3 3/4] drm: Remove unused MIPI write seq and chatty functions

2025-07-16 Thread Brigham Campbell
Remove the deprecated mipi_dsi_generic_write_seq() and mipi_dsi_generic_write_chatty() functions now that they are no longer used. Reviewed-by: Douglas Anderson Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 34 +++--- include/drm

[PATCH v3 0/4] drm: Fix bug in panel driver, update MIPI support macros

2025-07-16 Thread Brigham Campbell
emove all usages of deprecated MIPI functions from jdi-lpm102a188a driver instead of just mipi_dsi_generic_write_seq(). - Update TODO item in drm documentation instead of removing it entirely. Brigham Campbell (4): drm: Create mipi_dsi_dual macro drm/panel: jdi-lpm102a188a: Fix bug and c

[PATCH v3 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver

2025-07-16 Thread Brigham Campbell
eprecated MIPI functions. Use the new mipi_dsi_dual macro to reduce code duplication. Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 187 ++ 1 file changed, 55 insertions(+), 132 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-jdi-lpm102a1

[PATCH v3 1/4] drm: Create mipi_dsi_dual macro

2025-07-16 Thread Brigham Campbell
Create mipi_dsi_dual macro for panels which are driven by two parallel serial interfaces. This allows for the reduction of code duplication in drivers for these panels. Signed-off-by: Brigham Campbell --- In case it's not obvious, the indirection between mipi_dsi_dual and _mipi_dsi_du

Re: [PATCH v2 1/3] drm/panel: jdi-lpm102a188a: Update deprecated MIPI function calls

2025-07-15 Thread Brigham Campbell
On Mon Jul 14, 2025 at 3:46 PM MDT, Doug Anderson wrote: > Hi, > > On Tue, Jul 8, 2025 at 12:39 AM Brigham Campbell > wrote: >> >> Update jdi-lpm102a188a panel driver to use the "multi" variant of MIPI >> functions in order to facilitate improved

[PATCH RESEND] drm: docs: Fix typo in introduction.rst

2025-07-10 Thread Brigham Campbell
Fix typo in Documentation/gpu/introduction.rst Link: https://lore.kernel.org/all/20250620180258.132160-1...@brighamcampbell.com/ Signed-off-by: Brigham Campbell --- This patch has received no response as of June 20th. If it's unacceptable for whatever reason, please let me know and I&#x

[PATCH v2 3/3] drm: docs: Update task from drm TODO list

2025-07-08 Thread Brigham Campbell
Update TODO item from drm documentation to contain more applicable information regarding the removal of deprecated MIPI DSI functions and no longer reference functions which have already been removed from the kernel. Signed-off-by: Brigham Campbell --- Documentation/gpu/todo.rst | 22

[PATCH v2 2/3] drm: Remove unused MIPI write seq and chatty functions

2025-07-08 Thread Brigham Campbell
Remove the deprecated mipi_dsi_generic_write_seq() and mipi_dsi_generic_write_chatty() functions now that they are no longer used. Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 34 +++--- include/drm/drm_mipi_dsi.h | 23

[PATCH v2 1/3] drm/panel: jdi-lpm102a188a: Update deprecated MIPI function calls

2025-07-08 Thread Brigham Campbell
y, the struct wasn't designed to cater to the needs of panels with multiple MIPI DSI interfaces. This panel is an oddity which requires swapping the dsi pointer between MIPI function calls in order to preserve the exact behavior implemented using the non-multi variant of the macro. Signed

[PATCH v2 0/3] drm: docs: Remove deprecated MIPI DSI macro

2025-07-08 Thread Brigham Campbell
. Brigham Campbell (3): drm/panel: jdi-lpm102a188a: Update deprecated MIPI function calls Remove unused MIPI write seq and chatty functions drm: docs: Update task from drm TODO list Documentation/gpu/todo.rst| 26 +-- drivers/gpu/drm/drm_mipi_dsi.c| 34

[PATCH 2/3] drm: Remove unused MIPI write seq and chatty functions

2025-07-07 Thread Brigham Campbell
Remove the deprecated mipi_dsi_generic_write_seq() macro and mipi_dsi_generic_write_chatty() function now that they are no longer used. Signed-off-by: Brigham Campbell --- drivers/gpu/drm/drm_mipi_dsi.c | 34 +++--- include/drm/drm_mipi_dsi.h | 23

[PATCH 1/3] drm: panel: Replace usage of deprecated MIPI macro

2025-07-07 Thread Brigham Campbell
This panel is an oddity which requires swapping the dsi pointer between calls to mipi_dsi_generic_write_seq_multi() in order to preserve the exact behavior implemented using the non-multi variant of the macro. Signed-off-by: Brigham Campbell --- drivers/gpu/drm/panel/panel-jdi-lpm102a1

[PATCH 3/3] drm: docs: Remove completed task from drm TODO list

2025-07-07 Thread Brigham Campbell
Remove TODO item from drm documentation to transition away from using mipi_dsi_*_write_seq() macros now that the work is complete. Signed-off-by: Brigham Campbell --- Documentation/gpu/todo.rst | 18 -- 1 file changed, 18 deletions(-) diff --git a/Documentation/gpu/todo.rst b

[PATCH 0/3] drm: docs: Remove deprecated MIPI DSI macro

2025-07-07 Thread Brigham Campbell
arate MIPI DSI interfaces at once requires special treatment. Any behavioral modification to the jdi lpm102a188a panel driver by this series is unintentional. Brigham Campbell (3): Replace usage of deprecated MIPI function Remove unused MIPI write seq and chatty functions Remove completed tas

[PATCH] gpu: drm: Replace scnprintf() with sysfs_emit_at()

2025-06-24 Thread Brigham Campbell
Replace scnprintf() with sysfs_emit_at() in drivers/gpu/drm/drm_sysfs.c. Per kernel documentation, show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: Brigham Campbell --- I tested this patch with a device that outputs

[PATCH] Fix typo in drm docs

2025-06-21 Thread Brigham Campbell
Fix typo in Documentation/gpu/introduction.rst Signed-off-by: Brigham Campbell --- Documentation/gpu/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gpu/introduction.rst b/Documentation/gpu/introduction.rst index 3cd0c8860b94..39b4c943fa00