The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
v2: (Thanks to Liu Ying)
- Rebase on top of drm-misc-next
- Remove drm_of
On Mon, Mar 28, 2022 at 03:24:05PM +0200, Robert Foss wrote:
> On Fri, 18 Mar 2022 at 10:25, Liu Ying wrote:
> >
> > On Thu, 2022-03-17 at 18:58 +0100, José Expósito wrote:
> > > The function "drm_of_find_panel_or_bridge" has been deprecated in
>
Use the "drm_of_find_panel_or_bridge" function instead of a custom
version of it to reduce the boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/omapdrm/dss/output.c | 21 -
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/d
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/analogix/anx7625.c | 16 +---
1 file changed,
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/msm/dp/dp_parser.c | 10 +-
1 file changed, 1 insertion(+),
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/rcar-du/rcar_lvds.c | 16 +---
1 file changed, 5 inserti
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/chipone-icn6211.c | 7 +--
1 file changed, 1 insertion(+),
On Tue, Feb 22, 2022 at 09:07:49PM +, Stephen Boyd wrote:
> Quoting José Expósito (2022-02-20 23:33:39)
> > The function "drm_of_find_panel_or_bridge" has been deprecated in
> > favor of "devm_drm_of_get_bridge".
> >
> > Switch to the new functio
On Mon, Feb 21, 2022 at 02:15:01PM +0200, Laurent Pinchart wrote:
> On Mon, Feb 21, 2022 at 09:56:19AM +0100, Maxime Ripard wrote:
> > I guess lvds->panel can be removed from the rcar_lvds struct as well?
>
> It's used in rcar_lvds_get_lvds_mode() though, so this patch introduces
> a regression.
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/nwl-dsi.c | 15 ---
1 file changed, 4 insertions(+), 1
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/nxp-ptn3460.c | 7 +--
1 file changed, 1 insertion(+), 6 dele
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/parade-ps8622.c | 7 +--
1 file changed, 1 insertion(+),
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/parade-ps8640.c | 9 +
1 file changed, 1 insertion(+),
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/tc358762.c | 9 +
1 file changed, 1 insertion(+), 8 deleti
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/tc358775.c | 11 ++-
1 file changed, 2 insertions(+),
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/ti-sn65dsi83.c | 13 +++--
1 file changed, 3 inserti
The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".
Switch to the new function and reduce boilerplate.
Signed-off-by: José Expósito
---
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 8 +---
1 file changed, 1 insertion(+),
Hi everyone,
This series is a follow up to [1]. Some of the patches were merged
in "drm-misc-next", however a couple of them, included in this
series, are pending.
I rebased the pending patches on top of "drm-misc-next" and added the reviewed
by tags.
Thanks,
José
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
Reviewed-by: Simon Ser
---
drivers/gpu/drm/drm_simple_kms_helper.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/drm_simple_km
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
Reviewed-by: Simon Ser
---
drivers/gpu/drm/mxsfb/mxsfb_kms.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/mxsfb/mxsfb_kms.c
On Sun, Feb 20, 2022 at 10:36:35PM +0100, Sam Ravnborg wrote:
> Hi José,
>
> On Sun, Feb 20, 2022 at 08:52:12PM +0100, José Expósito wrote:
> > Use the "drm_of_find_panel_or_bridge" function instead of a custom
> > version of it to reduce the boilerplate.
> Tha
On Mon, Feb 28, 2022 at 11:24:36PM +, Kieran Bingham wrote:
> Hi José
>
> Quoting José Expósito (2022-02-28 18:39:54)
> > The function "drm_of_find_panel_or_bridge" has been deprecated in
> > favor of "devm_drm_of_get_bridge".
> >
> &
s")
Addresses-Coverity-ID: 1493860 ("Null pointer dereference")
Signed-off-by: José Expósito
---
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
The TTM acronym is defined for the first time in the documentation as
"Translation Table Maps". Afterwards, "Translation Table Manager" is
used as definition.
Fix the first definition to avoid confusion.
Signed-off-by: José Expósito
---
Documentation/gpu/drm-mm.rst | 2 +
If allocating the DMA buffer fails, mana_hwc_destroy_wq was called
without previously storing the pointer to the queue.
In order to avoid leaking the pointer to the queue, store it as soon as
it is allocated.
Addresses-Coverity-ID: 1484720 ("Resource leak")
Signed-off-by: Jos
Fixes: 09234b88ef55 ("drm/selftests/test-drm_dp_mst_helper: Move
'sideband_msg_req_encode_decode' onto the heap")
Addresses-Coverity-ID: 1475685 ("Resource leak")
Signed-off-by: José Expósito
---
drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c | 4 +++-
1 fi
Fixes: 76ecd9c9fb24 ("drm/imx: parallel-display: check return code from
of_get_drm_display_mode()")
Addresses-Coverity-ID: 1443943 ("Resource leak")
Signed-off-by: José Expósito
---
drivers/gpu/drm/imx/parallel-display.c | 4 +++-
1 file changed, 3 insertions(+), 1 delet
Hi all,
First of all, let me quickly introduce myself. I'm José Expósito and
I'm a hobbyist open source developer.
My contributions are usually in the kernel input/HID subsystems and
in its userspace library (libinput) as well as other projects.
I'm trying to learn more about the
Add a new module parameter to allow to set the number of overlay planes
to create. Set it to 1 by default in order to keep the "enable_overlay"
backwards compatible.
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_drv.c| 5 +
drivers/gpu/drm/vkms/vkms_drv.h| 1
Move the logic to create an overlay plane to its own function.
Refactor, no functional changes.
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_output.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/vkms/vkms_output.c
Signed-off-by: José Expósito
---
Documentation/gpu/vkms.rst | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst
index 941f0e7e5eef..9c873c3912cc 100644
--- a/Documentation/gpu/vkms.rst
+++ b/Documentation/gpu/vkms.rst
@@ -124,8 +124,6
/wayland/weston/-/merge_requests/599/diffs?commit_id=5aea1bc522f0874e6cc07f5120fbcf1736706536
Suggested-by: Chris Healy
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_plane.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vkms/vkms_plane.c
b
Move the logic to get the plane formats depending on the plane type to
its own function.
Refactor, no functional changes.
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_plane.c | 37 ---
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a
/wayland/weston/-/merge_requests/599/diffs?commit_id=5aea1bc522f0874e6cc07f5120fbcf1736706536
Suggested-by: Chris Healy
Signed-off-by: José Expósito
---
v2: Implement format_mod_supported (Simon Ser)
---
drivers/gpu/drm/vkms/vkms_plane.c | 34 ++-
1 file changed, 33
On Wed, Dec 15, 2021 at 05:23:10PM +, Simon Ser wrote:
> You'll need to set the format_mod_supported hook as well, otherwise the kernel
> will expose a bogus IN_FORMATS prop with one modifier and zero formats.
Hi Simon,
Thank you very much for reviewing this patch, I just started learning
abo
dd cyan_skillfish display support")
Signed-off-by: José Expósito
---
drivers/gpu/drm/amd/display/dc/dcn201/dcn201_hwseq.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_hwseq.c
b/drivers/gpu/drm/amd/display/dc/dcn201/dcn
d I didn't find more instances of
the issue.
Jose
José Expósito (3):
drm/plane: Mention format_mod_supported in IN_FORMATS docs
drm/msm/mdp4: Add format_mod_supported function
drm/sun4i: Add format_mod_supported function
drivers/gpu/drm/drm_plane.c| 7 +--
drivers/g
program [2].
Make clear in the IN_FORMATS documentation that implementing
"format_mod_supported" is mandatory.
[1]
https://gitlab.freedesktop.org/wayland/weston/-/blob/9.0/libweston/backend-drm/kms.c#L431
[2] https://github.com/JoseExposito/drm-sandbox/blob/main/in_formats.c
Signed-o
Implement the missing "drm_plane_funcs.format_mod_supported" function
to avoid exposing an invalid IN_FORMATS blob with modifiers but no
formats.
Signed-off-by: José Expósito
---
drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 7 +++
drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 7 ++
Implement the missing "drm_plane_funcs.format_mod_supported" function
to avoid exposing an invalid IN_FORMATS blob with modifiers but no
formats.
Signed-off-by: José Expósito
---
drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 8
1 file changed, 8 insertions(+)
diff --git a/d
e.kernel.org/dri-devel/20211216170532.GA16349@elementary/T/
José Expósito (6):
drm/plane: Make format_mod_supported truly optional
drm/plane: Fix typo in format_mod_supported documentation
drm/simple-kms: Drop format_mod_supported function
drm/i915/display: Drop format_mod_supported fun
ttps://github.com/JoseExposito/drm-sandbox/blob/main/in_formats.c
Signed-off-by: José Expósito
---
drivers/gpu/drm/drm_plane.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c
index 82afb854141b..c1186b7215e
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/mxsfb/mxsfb_kms.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/mxsfb/mxsfb_kms.c
b/drivers/gpu/drm/mxsfb/m
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/i915/display/intel_cursor.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c
b/d
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/drm_simple_kms_helper.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/drm_simple_kms_helper.c
b/drive
Fix minor typo: "valdiate" -> "validate".
Signed-off-by: José Expósito
---
include/drm/drm_plane.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index 0c1102dc4d88..06759badf99f 100644
--- a/includ
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/stm/ltdc.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/lt
Hi,
Now that "drm_plane_funcs.format_mod_supported" has been made truly
optional [1], this third version of the patch is basically identical
to the first version as no format/modifier filtering is required.
José Expósito
[1]
https://lore.kernel.org/dri-devel/20211222090552.25972-1-jo
/wayland/weston/-/merge_requests/599/diffs?commit_id=5aea1bc522f0874e6cc07f5120fbcf1736706536
Suggested-by: Chris Healy
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_plane.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vkms/vkms_plane.c
b
their order but always keep them between the primary and cursor
planes.
As documented, "vkms_crtc_state.active_planes" must be sorted by zpos.
This is achieved by inserting them in the array at their
normalized_zpos index.
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_cr
and
minimum overlay plane zpos.
Thanks in advance,
José Expósito
[1]
https://lore.kernel.org/dri-devel/20211213181131.17223-1-jose.exposit...@gmail.com/T/
José Expósito (1):
drm/vkms: add zpos plane property
drivers/gpu/drm/vkms/vkms_crtc.c | 3 +--
drivers/gpu/drm/vkms/vkms_drv.c | 1 +
anually.
I'll try to do some actual testing during Christmas and see
how it goes.
José Expósito
[1]
https://www.kernel.org/doc/html/latest/gpu/todo.html#drm-framebuffer-funcs-and-drm-mode-config-funcs-fb-create-cleanup
;t have a strong opinion on an exact/practical number. I took a
> quick look at other drivers and exposing 8 planes seems reasonable to
> me.
8 planes sound reasonable to me, I'll change it and send a revision
of [1] as well using the new constant.
Thanks again for taking the time to rev
Move the logic to create an overlay plane to its own function.
Refactor, no functional changes.
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_output.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/vkms/vkms_output.c
Remove the task from the TODO list.
Signed-off-by: José Expósito
---
Documentation/gpu/vkms.rst | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst
index 941f0e7e5eef..9c873c3912cc 100644
--- a/Documentation/gpu/vkms.rst
+++ b
04 | 00 | 00 | 04 | 00 | 00 |
Signed-off-by: José Expósito
---
v2:
- Set the number of overlay planes as a constant instead of as a
module parameter (Melissa Wen)
- Add a test results in the commit message (Melissa Wen)
---
drivers/gpu/drm/vkms/vkms_drv.h| 2 ++
drivers/gp
d blend the first active plane. I'll look into it,
feedback from someone that already investigated the issue is welcome :)
Thanks in advance,
José Expósito
[1]
https://lore.kernel.org/dri-devel/20211226104059.11265-1-jose.exposit...@gmail.com/T/
[2] https://www.kernel.org/doc/html/late
CRC.
This happens when the primary plane is disabled and the composer is not
able to find the "primary_composer" variable.
While the timeout bug needs to be fixed in a different series, the zpos
property works as expected.
Signed-off-by: José Expósito
---
v2:
- Use number of planes co
dd cyan_skillfish display support")
Signed-off-by: José Expósito
Reviewed-by: Harry Wentland
---
v2:
- Fix coverity report ID
- Add Reviewed-by tag (thanks to Harry Wentland)
---
drivers/gpu/drm/amd/display/dc/dcn201/dcn201_hwseq.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
di
uld be changed.
The second version implemented the required changes and drops the
"format_mod_supported" in the drivers that can use the default
implementation. [3]
This third version fixes a compiler warning and adds the reviewed
by tags.
Thanks,
José Expósito
[1]
ttps://github.com/JoseExposito/drm-sandbox/blob/main/in_formats.c
Signed-off-by: José Expósito
Reviewed-by: Simon Ser
---
v2:
- Remove unused "done:" label to fix compile warning
Reported-by: kernel test robot
- Add Reviewed-by (thanks to Simon Ser)
---
drivers/gpu/drm/drm_
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/drm_simple_kms_helper.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/drm_simple_kms_helper.c
b/drive
Fix minor typo: "valdiate" -> "validate".
Signed-off-by: José Expósito
Reviewed-by: Simon Ser
---
include/drm/drm_plane.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index 0c1102dc4d88..06759badf9
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/stm/ltdc.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/lt
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/i915/display/intel_cursor.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c
b/d
The "drm_plane_funcs.format_mod_supported" can be removed in favor of
the default implementation.
Signed-off-by: José Expósito
---
drivers/gpu/drm/mxsfb/mxsfb_kms.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/mxsfb/mxsfb_kms.c
b/drivers/gpu/drm/mxsfb/m
waiting on maintainers input?
Thanks,
José Expósito
The TTM acronym is defined for the first time in the documentation as
"Translation Table Maps". Afterwards, "Translation Table Manager" is
used as definition.
Fix the first definition to avoid confusion.
Signed-off-by: José Expósito
---
Documentation/gpu/drm-mm.rst | 2 +
Move the logic to create an overlay plane to its own function.
Refactor, no functional changes.
Signed-off-by: José Expósito
---
drivers/gpu/drm/vkms/vkms_output.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/vkms/vkms_output.c
04 | 00 | 00 | 04 | 00 | 00 |
Signed-off-by: José Expósito
---
v2:
- Set the number of overlay planes as a constant instead of as a
module parameter (Melissa Wen)
- Add a test results in the commit message (Melissa Wen)
---
drivers/gpu/drm/vkms/vkms_drv.h| 2 ++
drivers/gp
Remove the task from the TODO list.
Signed-off-by: José Expósito
---
Documentation/gpu/vkms.rst | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst
index 941f0e7e5eef..9c873c3912cc 100644
--- a/Documentation/gpu/vkms.rst
+++ b
Avoid leaking the display mode variable if of_get_drm_display_mode
fails.
Fixes: 76ecd9c9fb24 ("drm/imx: parallel-display: check return code from
of_get_drm_display_mode()")
Addresses-Coverity-ID: 1443943 ("Resource leak")
Signed-off-by: José Expósito
---
v2: Im
Avoid leaking the "out" variable if it is not possible to allocate
the "txmsg" variable.
Fixes: 09234b88ef55 ("drm/selftests/test-drm_dp_mst_helper: Move
'sideband_msg_req_encode_decode' onto the heap")
Addresses-Coverity-ID: 1475685 ("Resource
s, I'll have a look into the test as well.
Thanks again,
José Expósito
[1]
https://lore.kernel.org/all/20211226111219.27616-2-jose.exposit...@gmail.com/
upt
handling")
Addresses-Coverity-ID: 1493909 ("Null pointer dereference")
Signed-off-by: José Expósito
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
n dpu
driver")
Addresses-Coverity-ID: 1493866 ("Null pointer dereference")
Signed-off-by: José Expósito
---
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.c
b/dri
uggested, I applied all of them over the
weekend. I'll send v1 of the patch to the mailing list including them
so we have an up to date code to comment on.
Thanks a lot for all of your comments and help,
José Expósito
Hello everyone,
Recently Javier added a new task in the ToDo list [1] to create KUnit
tests for the functions present in "drm_format_helper".
This patch includes the changes suggested in the RFC version [2].
Best wishes,
José Expósito
[1] https://cgit.freedesktop.org/drm/drm-misc/
: Randomly picked
- Destination pitch
How to run the tests?
$ ./tools/testing/kunit/kunit.py run --kunitconfig=drivers/gpu/drm \
--kconfig_add CONFIG_VIRTIO_UML=y \
--kconfig_add CONFIG_UML_PCI_OVER_VIRTIO=y
Suggested-by: Javier Martinez Canillas
Signed-off-by: José Expósito
Hi!
Javier Martinez Canillas wrote:
> Hello José,
>
> On 6/6/22 11:55, José Expósito wrote:
> > Test the conversion from XRGB to RGB332.
> >
> > What is tested?
> >
> > - Different values for the X in XRGB to make sure it is ignored
> > -
/
[2]
https://lore.kernel.org/dri-devel/CAGS_qxqpiCim_sy1LDK7PLwVgWf-LKW+uNFTGM=t7ydk-dy...@mail.gmail.com/
Signed-off-by: José Expósito
---
Documentation/gpu/drm-internals.rst | 31 +
1 file changed, 31 insertions(+)
diff --git a/Documentation/gpu/drm-internals.rst
Hi Thomas,
Thanks a lot for your review.
On Tue, Jun 07, 2022 at 09:22:38AM +0200, Thomas Zimmermann wrote:
> Hi,
>
> ading Kunit tests for the conversion helpers is pretty cool. Thanks for
> doing that.
>
> Am 06.06.22 um 11:55 schrieb José Expósito:
> > Test the con
Hello everyone,
Here is the v2 of the series, including the documentation, previously
sent as a standalone patch [1], and changes suggested during review.
Thanks a lot,
José Expósito
RFC -> v1:
https://lore.kernel.org/dri-devel/20220530102017.471865-1-jose.exposit...@gmail.com/T/
-
Add a helper macro to initialize a rectangle from x, y, width and
height information.
Signed-off-by: José Expósito
---
include/drm/drm_rect.h | 12
1 file changed, 12 insertions(+)
diff --git a/include/drm/drm_rect.h b/include/drm/drm_rect.h
index 6f6e19bd4dac..945696323c69 100644
/
[2]
https://lore.kernel.org/dri-devel/CAGS_qxqpiCim_sy1LDK7PLwVgWf-LKW+uNFTGM=t7ydk-dy...@mail.gmail.com/
Reviewed-by: Maxime Ripard
Signed-off-by: José Expósito
---
Documentation/gpu/drm-internals.rst | 32 +
1 file changed, 32 insertions(+)
diff --git a
Martinez Canillas
Signed-off-by: José Expósito
---
drivers/gpu/drm/Kconfig | 16 ++
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/kunit/.kunitconfig| 3 +
drivers/gpu/drm/kunit/Makefile| 3 +
.../gpu/drm/kunit
Hello everyone,
Here is the v3 of the series, including the documentation, previously
sent as a standalone patch [1], and changes suggested during review.
Thanks a lot,
José Expósito
RFC -> v1:
https://lore.kernel.org/dri-devel/20220530102017.471865-1-jose.exposit...@gmail.com/T/
-
/
[2]
https://lore.kernel.org/dri-devel/CAGS_qxqpiCim_sy1LDK7PLwVgWf-LKW+uNFTGM=t7ydk-dy...@mail.gmail.com/
Reviewed-by: Maxime Ripard
Signed-off-by: José Expósito
---
Documentation/gpu/drm-internals.rst | 32 +
1 file changed, 32 insertions(+)
diff --git a
Add a helper macro to initialize a rectangle from x, y, width and
height information.
Signed-off-by: José Expósito
---
include/drm/drm_rect.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/drm/drm_rect.h b/include/drm/drm_rect.h
index 6f6e19bd4dac..e8d94fca2703
Martinez Canillas
Signed-off-by: José Expósito
---
drivers/gpu/drm/Kconfig | 16 ++
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/kunit/.kunitconfig| 3 +
drivers/gpu/drm/kunit/Makefile| 3 +
.../gpu/drm/kunit
On Mon, Jun 13, 2022 at 10:53:57AM +0300, Jani Nikula wrote:
> On Sun, 12 Jun 2022, José Expósito wrote:
> > Add a helper macro to initialize a rectangle from x, y, width and
> > height information.
> >
> > Signed-off-by: José Expósito
> > ---
> > include/
On Mon, Jun 13, 2022 at 12:37:05PM -0400, Nícolas F. R. A. Prado wrote:
> While parsing the DT, the anx7625 driver checks for the presence of a
> panel bridge on endpoint 1. If it is missing, pdata->panel_bridge stores
> the error pointer and the function returns successfully without first
> cleani
Hi Javier,
On Tue, Jun 14, 2022 at 02:58:29PM +0200, Javier Martinez Canillas wrote:
> Hello José,
>
> On 6/13/22 19:17, José Expósito wrote:
>
> [snip]
>
> > +KUnit (Kernel unit testing framework) provides a common framework for unit
> > tests
> > +within
Hi!
Javier Martinez Canillas wrote:
> Before merging this, could you please reach the folks working on [0] ?
> I think that would be good to have some consistency with regard to KUnit
> tests from the start to avoid future refactorings. For instance, you are
> adding the tests under a `kunit` sub-
not clear yet whether we want to have one or multiple Kconfig
symbols and select which test should be built. However, refactoring from
one approach to the other is quite simple, so I think we should be fine
choosing the simpler option now and refactoring if required.
Thanks a lot,
José Expósito
Add a helper macro to initialize a rectangle from x, y, width and
height information.
Reviewed-by: Jani Nikula
Acked-by: Thomas Zimmermann
Signed-off-by: José Expósito
---
include/drm/drm_rect.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/drm/drm_rect.h b
Martinez Canillas
Acked-by: Thomas Zimmermann
Signed-off-by: José Expósito
---
drivers/gpu/drm/Kconfig | 16 ++
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/tests/.kunitconfig| 3 +
drivers/gpu/drm/tests/Makefile| 3
/
[2]
https://lore.kernel.org/dri-devel/CAGS_qxqpiCim_sy1LDK7PLwVgWf-LKW+uNFTGM=t7ydk-dy...@mail.gmail.com/
Reviewed-by: Maxime Ripard
Reviewed-by: Javier Martinez Canillas
Acked-by: Thomas Zimmermann
Signed-off-by: José Expósito
---
Documentation/gpu/drm-internals.rst | 32
Hi David,
On Tue, Jun 21, 2022 at 05:38:33PM +0800, David Gow wrote:
> On Tue, Jun 21, 2022 at 12:06 AM José Expósito
> wrote:
> >
> > Test the conversion from XRGB to RGB332.
> >
> > What is tested?
> >
> > - Different values for th
Hi David,
On Tue, Jun 21, 2022 at 05:38:38PM +0800, David Gow wrote:
> On Tue, Jun 21, 2022 at 12:06 AM José Expósito
> wrote:
> >
> > Explain how to run the KUnit tests present in the DRM subsystem and
> > clarify why the UML-only options were not added to the configura
1 - 100 of 446 matches
Mail list logo