drm/dumb-buffers: Fix and improve buffer-size calculation
Subsystems (32)
Thomas Zimmermann
maintainerv6 cover drm/dumb-buffers: Fix and improve buffer-size calculation
Dumb-buffer pitch and size is specified by width, height, bits-per-pixel plus various hardware-specific alignments. The calculation of these values is inconsistent and duplicated among drivers. The results for formats with bpp < 8 are sometimes incorrect.
This series fixes this for most drivers. Default scanline pitch and buffer size are now calculated with the existing 4CC helpers. There is a new helper drm_mode_size_dumb() that calculates scanline pitch and buffer size according to driver requirements.
The series fixes the common GEM implementations for DMA, SHMEM and VRAM. It further changes most implementations of dumb_create to use the new helper. A small number of drivers has more complicated calculations and will be updated by a later patches.
v6:
- extend TODO item (Tomi)
- fix typos in documentation (Tomi)
v5:
- use check_mul_overflow() for overflow test (Tomi)
- imx: fix intermediate code (Tomi)
- rz-du: include dumb-buffers header
v4:
- improve UAPI documentation
- document bpp special cases
- use drm_warn_once()
- add TODO lists
- armada: fix pitch alignment
v3:
- document UAPI semantics
- fall back to bpp-based allocation for unknown color modes
- cleanups
v2:
- rewrite series
- convert many individual drivers besides the shared GEM helpers
Thomas Zimmermann (25):
drm/dumb-buffers: Sanitize output on errors drm/dumb-buffers: Provide helper to set pitch and size drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/gem-shmem: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/gem-vram: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/armada: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/exynos: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/gma500: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/hibmc: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/imx/ipuv3: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/loongson: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/mediatek: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/msm: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/nouveau: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/omapdrm: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/qxl: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/renesas/rcar-du: Compute dumb-buffer sizes with
drm_mode_size_dumb()
drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/rockchip: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/tegra: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/virtio: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/vmwgfx: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/xe: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/xen: Compute dumb-buffer sizes with drm_mode_size_dumb() drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
Documentation/gpu/todo.rst | 37 ++++ drivers/gpu/drm/armada/armada_gem.c | 16 +- drivers/gpu/drm/drm_dumb_buffers.c | 170 ++++++++++++++++-- drivers/gpu/drm/drm_gem_dma_helper.c | 7 +- drivers/gpu/drm/drm_gem_shmem_helper.c | 16 +- drivers/gpu/drm/drm_gem_vram_helper.c | 89 +++------ drivers/gpu/drm/exynos/exynos_drm_gem.c | 8 +- drivers/gpu/drm/gma500/gem.c | 21 +-- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 25 ++- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 29 ++- drivers/gpu/drm/loongson/lsdc_gem.c | 29 +-- drivers/gpu/drm/mediatek/mtk_gem.c | 13 +- drivers/gpu/drm/msm/msm_gem.c | 27 ++- drivers/gpu/drm/nouveau/nouveau_display.c | 7 +- drivers/gpu/drm/omapdrm/omap_gem.c | 15 +- drivers/gpu/drm/qxl/qxl_dumb.c | 17 +- drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c | 7 +- drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 8 +- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 12 +- drivers/gpu/drm/tegra/gem.c | 8 +- drivers/gpu/drm/virtio/virtgpu_gem.c | 11 +- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 21 +-- drivers/gpu/drm/xe/xe_bo.c | 8 +- drivers/gpu/drm/xen/xen_drm_front.c | 7 +- drivers/gpu/drm/xlnx/zynqmp_kms.c | 7 +- include/drm/drm_dumb_buffers.h | 14 ++ include/drm/drm_gem_vram_helper.h | 6 - include/uapi/drm/drm_mode.h | 50 +++++- 28 files changed, 457 insertions(+), 228 deletions(-) create mode 100644 include/drm/drm_dumb_buffers.h
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 1/25 drm/dumb-buffers: Sanitize output on errors
The ioctls MODE_CREATE_DUMB and MODE_MAP_DUMB return results into a memory buffer supplied by user space. On errors, it is possible that intermediate values are being returned. The exact semantics depends on the DRM driver's implementation of these ioctls. Although this is most-likely not a security problem in practice, avoid any uncertainty by clearing the memory to 0 on errors.
--- drivers/gpu/drm/drm_dumb_buffers.c | 40 ++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 11 deletions(-)
drivers/gpu/drm/drm_dumb_buffers.c +29 -11
@@ -99,7 +99,30 @@ int drm_mode_create_dumb(struct drm_device *dev,int drm_mode_create_dumb_ioctl (struct drm_device *dev,void *data,struct drm_file *file_priv) { -return drm_mode_create_dumb (dev, data, file_priv); +struct drm_mode_create_dumb *args = data; +int err; + + err =drm_mode_create_dumb (dev, args, file_priv); +if (err) { + args->handle =0 ; + args->pitch =0 ; + args->size =0 ; + } +return err; +} + +static int drm_mode_mmap_dumb (struct drm_device *dev,struct drm_mode_map_dumb *args, +struct drm_file *file_priv) +{ +if (!dev->driver->dumb_create) +return -ENOSYS ; + +if (dev->driver->dumb_map_offset) +return dev->driver->dumb_map_offset (file_priv, dev, args->handle, + &args->offset); +else +return drm_gem_dumb_map_offset (file_priv, dev, args->handle, + &args->offset); }/**
@@ -120,17 +143,12 @@ int drm_mode_mmap_dumb_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) { struct drm_mode_map_dumb *args = data; +int err; -if (!dev->driver->dumb_create) -return -ENOSYS ; - -if (dev->driver->dumb_map_offset) -return dev->driver->dumb_map_offset (file_priv, dev, - args->handle, - &args->offset); -else -return drm_gem_dumb_map_offset (file_priv, dev, args->handle, - &args->offset); + err =drm_mode_mmap_dumb (dev, args, file_priv); +if (err) + args->offset =0 ; +return err; } int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle,
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 2/25 drm/dumb-buffers: Provide helper to set pitch and size
In reply to Thomas ZimmermannAdd drm_modes_size_dumb(), a helper to calculate the dumb-buffer scanline pitch and allocation size. Implementations of struct drm_driver.dumb_create can call the new helper for their size computations.
There is currently quite a bit of code duplication among DRM's memory managers. Each calculates scanline pitch and buffer size from the given arguments, but the implementations are inconsistent in how they treat alignment and format support. Later patches will unify this code on top of drm_mode_size_dumb() as much as possible.
drm_mode_size_dumb() uses existing 4CC format helpers to interpret the given color mode. This makes the dumb-buffer interface behave similar the kernel's video= parameter. Current per-driver implementations again likely have subtle differences or bugs in how they support color modes.
The dumb-buffer UAPI is only specified for known color modes. These values describe linear, single-plane RGB color formats or legacy index formats. Other values should not be specified. But some user space still does. So for unknown color modes, there are a number of known exceptions for which drm_mode_size_dumb() calculates the pitch from the bpp value, as before. All other values work the same but print an error.
v6:
- document additional use cases for DUMB_CREATE2 in TODO list (Tomi)
- fix typos in documentation (Tomi)
v5:
- check for overflows with check_mul_overflow() (Tomi) v4:
- use %u conversion specifier (Geert)
- list DRM_FORMAT_Dn in UAPI docs (Geert)
- avoid dmesg spamming with drm_warn_once() (Sima)
- add more information about bpp special case (Sima)
- clarify parameters for hardware alignment
- add a TODO item for DUMB_CREATE2
v3:
- document the UAPI semantics
- compute scanline pitch from for unknown color modes (Andy, Tomi)
--- Documentation/gpu/todo.rst | 37 ++++++++ drivers/gpu/drm/drm_dumb_buffers.c | 130 +++++++++++++++++++++++++++++ include/drm/drm_dumb_buffers.h | 14 ++++ include/uapi/drm/drm_mode.h | 50 ++++++++++- 4 files changed, 230 insertions(+), 1 deletion(-) create mode 100644 include/drm/drm_dumb_buffers.h
Documentation/gpu/todo.rst +37 -0
@@ -648,6 +648,43 @@ Contact: Thomas Zimmermann <[email protected]>, Simona Vetter Level: Advanced +Implement a new DUMB_CREATE2 ioctl +---------------------------------- + +The current DUMB_CREATE ioctl is not well defined. Instead of a pixel and +framebuffer format, it only accepts a color mode of vague semantics. Assuming +a linear framebuffer, the color mode gives an idea of the supported pixel +format. But userspace effectively has to guess the correct values. It really +only works reliably with framebuffers in XRGB8888. Userspace has begun to +workaround these limitations by computing arbitrary format's buffer sizes and +calculating their sizes in terms of XRGB8888 pixels. + +One possible solution is a new ioctl DUMB_CREATE2. It should accept a DRM +format and a format modifier to resolve the color mode's ambiguity. As +framebuffers can be multi-planar, the new ioctl has to return the buffer size, +pitch and GEM handle for each individual color plane. + +In the first step, the new ioctl can be limited to the current features of +the existing DUMB_CREATE. Individual drivers can then be extended to support +multi-planar formats. Rockchip might require this and would be a good candidate. + +It might also be helpful to userspace to query information about the size of +a potential buffer, if allocated. Userspace would supply geometry and format; +the kernel would return minimal allocation sizes and scanline pitch. There is +interest to allocate that memory from another device and provide it to the +DRM driver (say via dma-buf). + +Another requested feature is the ability to allocate a buffer by size, without +format. Accelators use this for their buffer allocation and it could likely be +generalized. + +In addition to the kernel implementation, there must be user-space support +for the new ioctl. There's code in Mesa that might be able to use the new +call. + +Contact: Thomas Zimmermann <[email protected]> + +Level: Advanced Better Testing ==============
drivers/gpu/drm/drm_dumb_buffers.c +130 -0
142 lines not on this page · raw message
include/drm/drm_dumb_buffers.h new file +14 -0
@@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: MIT */ + +#ifndef __DRM_DUMB_BUFFERS_H__ +#define __DRM_DUMB_BUFFERS_H__ + +struct drm_device ; +struct drm_mode_create_dumb ; + +int drm_mode_size_dumb (struct drm_device *dev, +struct drm_mode_create_dumb *args, +unsigned long hw_pitch_align, +unsigned long hw_size_align); + +#endif
include/uapi/drm/drm_mode.h +49 -1
62 lines not on this page · raw message
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 3/25 drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.
Push the current calculation into the only direct caller imx. Imx's hardware requires the framebuffer width to be aligned to 8. The driver's current approach is actually incorrect, as it only guarantees this implicitly and requires bpp to be a multiple of 8 already. A later commit will fix this problem by aligning the scanline pitch such that an aligned width still fits into each scanline's memory.
A number of other drivers are build on top of gem-dma helpers and implement their own dumb-buffer allocation. These drivers invoke drm_gem_dma_dumb_create_internal(), which is not affected by this commit.
v5:
- avoid reset of arguments (Tomi)
--- drivers/gpu/drm/drm_gem_dma_helper.c | 7 +++++-- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-)
drivers/gpu/drm/drm_gem_dma_helper.c +5 -2
@@ -20,6 +20,7 @@#include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_vma_manager.h>
@@ -304,9 +305,11 @@ int drm_gem_dma_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) {struct drm_gem_dma_object *dma_obj; +int ret; - args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); - args->size = args->pitch * args->height; + ret =drm_mode_size_dumb (drm, args,SZ_8 ,0 ); +if (ret) +return ret; dma_obj =drm_gem_dma_create_with_handle (file_priv, drm, args->size, &args->handle);
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +3 -1
@@ -145,8 +145,10 @@ static int imx_drm_dumb_create(struct drm_file *file_priv,int ret; args->width =ALIGN (width,8 ); + args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); + args->size = args->pitch * args->height; - ret =drm_gem_dma_dumb_create (file_priv, drm, args); + ret =drm_gem_dma_dumb_create_internal (file_priv, drm, args);if (ret)return ret;
Signature · 1 line
2.50.1
Re: [PATCH v6 03/25] drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb()
Quoted 38 lines · Thomas Zimmermann
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.Push the current calculation into the only direct caller imx. Imx's hardware requires the framebuffer width to be aligned to 8. The driver's current approach is actually incorrect, as it only guarantees this implicitly and requires bpp to be a multiple of 8 already. A later commit will fix this problem by aligning the scanline pitch such that an aligned width still fits into each scanline's memory.
A number of other drivers are build on top of gem-dma helpers and implement their own dumb-buffer allocation. These drivers invoke
drm_gem_dma_dumb_create_internal(), which is not affected by this commit.v5:
- avoid reset of arguments (Tomi)Signed-off-by Thomas Zimmermann <[email protected]>Reviewed-by Tomi Valkeinen <[email protected]>--- drivers/gpu/drm/drm_gem_dma_helper.c | 7 +++++-- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-)drivers/gpu/drm/drm_gem_dma_helper.c +1
-0@@ -20,6 +20,7 @@#include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_vma_manager.h>
drivers/gpu/drm/drm_gem_dma_helper.c int drm_gem_dma_dumb_create(struct drm_file *file_priv, · line 312
Quoted 10 lines
drivers/gpu/drm/drm_gem_dma_helper.c +4
-2@@ -304,9 +305,11 @@ int drm_gem_dma_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) {struct drm_gem_dma_object *dma_obj; +int ret; - args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); - args->size = args->pitch * args->height; + ret =drm_mode_size_dumb (drm, args,SZ_8 ,0 ); +if (ret) +return ret;
Hi,
Was it intentional for this change to alter the pitch?
The alignment requirement has been updated—from 8-bit alignment to 64-bit alignment. Since the pitch is expressed in bytes, we should pass SZ_1 instead of SZ_8 for hw_patch_align.
For example, for an 850×480 framebuffer at 16 bpp, the pitch should be 1700 bytes. With the new alignment, the pitch becomes 1704 bytes.
Please let me know if you’d like me to submit a fix.
Regards,
Ludovic
Quoted 19 lines
drivers/gpu/drm/drm_gem_dma_helper.c +0
-0dma_obj =drm_gem_dma_create_with_handle (file_priv, drm, args->size, &args->handle);drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +3
-1@@ -145,8 +145,10 @@ static int imx_drm_dumb_create(struct drm_file *file_priv,int ret; args->width =ALIGN (width,8 ); + args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); + args->size = args->pitch * args->height; - ret =drm_gem_dma_dumb_create (file_priv, drm, args); + ret =drm_gem_dma_dumb_create_internal (file_priv, drm, args);if (ret)return ret;
Thomas Zimmermann
maintainerRe: [PATCH v6 03/25] drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb()
Hi
Am 25.11.25 um 15:39 schrieb [email protected]:
Quoted 3 lines · Thomas Zimmermann
Quoted 2 lines
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.
I missed a chance to explain it here. :/
Quoted 41 lines
Quoted 41 lines
Push the current calculation into the only direct caller imx. Imx's hardware requires the framebuffer width to be aligned to 8. The driver's current approach is actually incorrect, as it only guarantees this implicitly and requires bpp to be a multiple of 8 already. A later commit will fix this problem by aligning the scanline pitch such that an aligned width still fits into each scanline's memory.
A number of other drivers are build on top of gem-dma helpers and implement their own dumb-buffer allocation. These drivers invoke
drm_gem_dma_dumb_create_internal(), which is not affected by this commit.v5:
- avoid reset of arguments (Tomi)Signed-off-by Thomas Zimmermann <[email protected]>Reviewed-by Tomi Valkeinen <[email protected]>--- drivers/gpu/drm/drm_gem_dma_helper.c | 7 +++++-- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-)drivers/gpu/drm/drm_gem_dma_helper.c +2
-0@@ -20,6 +20,7 @@#include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_vma_manager.h> @@ -304,9 +305,11 @@ int drm_gem_dma_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) {struct drm_gem_dma_object *dma_obj; +int ret;
Quoted 8 lines
drivers/gpu/drm/drm_gem_dma_helper.c int drm_gem_dma_dumb_create(struct drm_file *file_priv, · line 312
Quoted 5 lines
drivers/gpu/drm/drm_gem_dma_helper.c +3
-2- args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); - args->size = args->pitch * args->height; + ret =drm_mode_size_dumb (drm, args,SZ_8 ,0 ); +if (ret) +return ret;Hi,
Was it intentional for this change to alter the pitch?
Most hardware does not need the pitch to be of a certain alignment. But these buffers are possibly shared with other hardware, which sometimes needs alignment to certain values. Using SZ_8 improves compatible with that hardware.
Quoted 7 lines
The alignment requirement has been updated—from 8-bit alignment to 64-bit alignment. Since the pitch is expressed in bytes, we should pass
SZ_1instead ofSZ_8forhw_patch_align.For example, for an 850×480 framebuffer at 16 bpp, the pitch should be 1700 bytes. With the new alignment, the pitch becomes 1704 bytes.
Many display modes have an 8-byte alignment in their width. 850 pixels is somewhat of an exception.
Quoted 2 lines
Please let me know if you’d like me to submit a fix.
Do you see a bug with your hardware? Unless this creates a real problem, I'd like to keep it as it is now.
Best regards
Thomas
Quoted 24 lines
Regards,
LudovicQuoted 19 lines
drivers/gpu/drm/drm_gem_dma_helper.c +0
-0dma_obj =drm_gem_dma_create_with_handle (file_priv, drm, args->size, &args->handle);drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +3
-1@@ -145,8 +145,10 @@ static int imx_drm_dumb_create(struct drm_file *file_priv,int ret; args->width =ALIGN (width,8 ); + args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); + args->size = args->pitch * args->height; - ret =drm_gem_dma_dumb_create (file_priv, drm, args); + ret =drm_gem_dma_dumb_create_internal (file_priv, drm, args);if (ret)return ret;
Signature · 6 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)
Re: [PATCH v6 03/25] drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb()
Quoted 11 lines · Thomas Zimmermann
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hi
Am 25.11.25 um 15:39 schrieb [email protected]:
Quoted 3 lines · Thomas Zimmermann
Quoted 2 lines
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.I missed a chance to explain it here. :/
I was wondering if it was 8-bits or 8-bytes.
Quoted 63 lines
Quoted 44 lines
Quoted 44 lines
Push the current calculation into the only direct caller imx. Imx's hardware requires the framebuffer width to be aligned to 8. The driver's current approach is actually incorrect, as it only guarantees this implicitly and requires bpp to be a multiple of 8 already. A later commit will fix this problem by aligning the scanline pitch such that an aligned width still fits into each scanline's memory.
A number of other drivers are build on top of gem-dma helpers and implement their own dumb-buffer allocation. These drivers invoke
drm_gem_dma_dumb_create_internal(), which is not affected by this commit.v5:
- avoid reset of arguments (Tomi)Signed-off-by Thomas Zimmermann <[email protected]>Reviewed-by Tomi Valkeinen <[email protected]>---
drivers/gpu/drm/drm_gem_dma_helper.c | 7 +++++--drivers/gpu/drm/imx/ipuv3/imx-drm-core.c| 4 +++-2 files changed, 8 insertions(+), 3 deletions(-)drivers/gpu/drm/ renamed from drivers/gpu/drm/drm_gem_dma_helper.c +0
-0
drm_gem_dma_helper.c
index4f0320df858f..ab1a70b1d6f1100644drivers/gpu/drm/drm_gem_dma_helper.c +2
-0@@ -20,6 +20,7 @@ #include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_vma_manager.h>@@ -304,9 +305,11 @@ int drm_gem_dma_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) { struct drm_gem_dma_object *dma_obj; + int ret;Quoted 8 lines
drivers/gpu/drm/drm_gem_dma_helper.c int drm_gem_dma_dumb_create(struct drm_file *file_priv, · line 312
Quoted 5 lines
drivers/gpu/drm/drm_gem_dma_helper.c +3
-2- args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); - args->size = args->pitch * args->height; + ret = drm_mode_size_dumb(drm, args, SZ_8, 0); + if (ret) + return ret;Hi,
Was it intentional for this change to alter the pitch?
Most hardware does not need the pitch to be of a certain alignment. But these buffers are possibly shared with other hardware, which sometimes needs alignment to certain values. Using
SZ_8improves compatible with that hardware.Quoted 5 lines
The alignment requirement has been updated—from 8-bit alignment to 64-bit alignment. Since the pitch is expressed in bytes, we should pass
SZ_1instead ofSZ_8forhw_patch_align.
Quoted 5 lines
Quoted 2 lines
For example, for an 850×480 framebuffer at 16 bpp, the pitch should be 1700 bytes. With the new alignment, the pitch becomes 1704 bytes.
Many display modes have an 8-byte alignment in their width. 850 pixels is somewhat of an exception.
Indeed, but overlay-type planes are often used to display windows that are not the same size as the screen, and therefore potentially not on 8-bytes aligned.
Quoted 6 lines
Quoted 3 lines
Please let me know if you’d like me to submit a fix.
Do you see a bug with your hardware? Unless this creates a real problem, I'd like to keep it as it is now.
Yes, that’s how I noticed this change. I have an application that requests a framebuffer larger than my screen, in this case 850x480 in RGB565 for an 800x480 display. So I have a pitch of 1700 bytes. Now it’s using a pitch of 1704, which shifts my lines.
Regards,
Ludovic
Quoted 42 lines
Best regards
ThomasQuoted 27 lines
Regards,
LudovicQuoted 22 lines
dma_obj= drm_gem_dma_create_with_handle(file_priv, drm, args-Quoted 1 line
size,
&args->handle);drivers/gpu/ renamed from drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +0
-0
drm/imx/ipuv3/imx-drm-core.c
indexec5fd9a01f1e..af4a30311e18100644drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +3
-1@@ -145,8 +145,10 @@ static int imx_drm_dumb_create(struct drm_file *file_priv, int ret; args->width = ALIGN(width, 8); + args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); + args->size = args->pitch * args->height; - ret = drm_gem_dma_dumb_create(file_priv, drm, args); + ret = drm_gem_dma_dumb_create_internal(file_priv, drm, args); if (ret) return ret;Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)
Thomas Zimmermann
maintainerRe: [PATCH v6 03/25] drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb()
Hi
Am 26.11.25 um 07:24 schrieb [email protected]:
Quoted 80 lines · Thomas Zimmermann
Quoted 10 lines
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hi
Am 25.11.25 um 15:39 schrieb [email protected]:
Quoted 3 lines · Thomas Zimmermann
Quoted 2 lines
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.I missed a chance to explain it here. :/
I was wondering if it was 8-bits or 8-bytes.
Quoted 55 lines
Quoted 42 lines
Quoted 42 lines
Push the current calculation into the only direct caller imx. Imx's hardware requires the framebuffer width to be aligned to 8. The driver's current approach is actually incorrect, as it only guarantees this implicitly and requires bpp to be a multiple of 8 already. A later commit will fix this problem by aligning the scanline pitch such that an aligned width still fits into each scanline's memory.
A number of other drivers are build on top of gem-dma helpers and implement their own dumb-buffer allocation. These drivers invoke
drm_gem_dma_dumb_create_internal(), which is not affected by this commit.v5:
- avoid reset of arguments (Tomi)Signed-off-by Thomas Zimmermann <[email protected]>Reviewed-by Tomi Valkeinen <[email protected]>--- drivers/gpu/drm/drm_gem_dma_helper.c | 7 +++++-- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-)drivers/gpu/drm/ renamed from drivers/gpu/drm/drm_gem_dma_helper.c +0
-0
drm_gem_dma_helper.c
index4f0320df858f..ab1a70b1d6f1100644drivers/gpu/drm/drm_gem_dma_helper.c +2
-0@@ -20,6 +20,7 @@ #include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_vma_manager.h>@@ -304,9 +305,11 @@ int drm_gem_dma_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) { struct drm_gem_dma_object *dma_obj; + int ret;Quoted 8 lines
drivers/gpu/drm/drm_gem_dma_helper.c int drm_gem_dma_dumb_create(struct drm_file *file_priv, · line 312
Quoted 5 lines
drivers/gpu/drm/drm_gem_dma_helper.c +3
-2- args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); - args->size = args->pitch * args->height; + ret = drm_mode_size_dumb(drm, args, SZ_8, 0); + if (ret) + return ret;Hi,
Was it intentional for this change to alter the pitch?
Most hardware does not need the pitch to be of a certain alignment. But these buffers are possibly shared with other hardware, which sometimes needs alignment to certain values. Using
SZ_8improves compatible with that hardware.Quoted 8 lines
Quoted 6 lines
The alignment requirement has been updated—from 8-bit alignment to 64-bit alignment. Since the pitch is expressed in bytes, we should pass
SZ_1instead ofSZ_8forhw_patch_align.For example, for an 850×480 framebuffer at 16 bpp, the pitch should be 1700 bytes. With the new alignment, the pitch becomes 1704 bytes.
Many display modes have an 8-byte alignment in their width. 850 pixels is somewhat of an exception.
Indeed, but overlay-type planes are often used to display windows that are not the same size as the screen, and therefore potentially not on 8-bytes aligned.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Please let me know if you’d like me to submit a fix.
Do you see a bug with your hardware? Unless this creates a real problem, I'd like to keep it as it is now.
Yes, that’s how I noticed this change. I have an application that requests a framebuffer larger than my screen, in this case 850x480 in RGB565 for an 800x480 display. So I have a pitch of 1700 bytes. Now it’s using a pitch of 1704, which shifts my lines.
Honestly, your application is broken. The ioctl returns the pitch value to user space and that's what the program should use. Some hardware has hard constraints on the pitch, so you will sooner or later run into the same problem again.
Anyway, feel free to submit a patch to call drm_mode_size_dumb() without SZ_8. The best value would be 0, so that the function picks a default by itself. Since you're at it, maybe also look at patches 4 and 5 of this series. They have similar code for other memory managers.
Best regards
Thomas
Quoted 43 lines
Regards,
LudovicQuoted 38 lines
Best regards
ThomasQuoted 25 lines
Regards,
LudovicQuoted 21 lines
drivers/gpu/drm/drm_gem_dma_helper.c +0
-0dma_obj = drm_gem_dma_create_with_handle(file_priv, drm, args- > size,
&args->handle);drivers/gpu/ renamed from drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +0
-0
drm/imx/ipuv3/imx-drm-core.c
indexec5fd9a01f1e..af4a30311e18100644drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +3
-1@@ -145,8 +145,10 @@ static int imx_drm_dumb_create(struct drm_file *file_priv, int ret; args->width = ALIGN(width, 8); + args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); + args->size = args->pitch * args->height; - ret = drm_gem_dma_dumb_create(file_priv, drm, args); + ret = drm_gem_dma_dumb_create_internal(file_priv, drm, args); if (ret) return ret;Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)
Signature · 6 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)
Re: [PATCH v6 03/25] drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb()
Quoted 94 lines · Thomas Zimmermann
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hi
Am 26.11.25 um 07:24 schrieb [email protected]:
Quoted 80 lines · Thomas Zimmermann
Quoted 10 lines
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hi
Am 25.11.25 um 15:39 schrieb [email protected]:
Quoted 3 lines · Thomas Zimmermann
Quoted 2 lines
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.I missed a chance to explain it here. :/
I was wondering if it was 8-bits or 8-bytes.
Quoted 55 lines
Quoted 42 lines
Quoted 42 lines
Push the current calculation into the only direct caller imx. Imx's hardware requires the framebuffer width to be aligned to 8. The driver's current approach is actually incorrect, as it only guarantees this implicitly and requires bpp to be a multiple of 8 already. A later commit will fix this problem by aligning the scanline pitch such that an aligned width still fits into each scanline's memory.
A number of other drivers are build on top of gem-dma helpers and implement their own dumb-buffer allocation. These drivers invoke
drm_gem_dma_dumb_create_internal(), which is not affected by this commit.v5:
- avoid reset of arguments (Tomi)Signed-off-by Thomas Zimmermann <[email protected]>Reviewed-by Tomi Valkeinen <[email protected]>---
drivers/gpu/drm/drm_gem_dma_helper.c | 7 +++++--drivers/gpu/drm/imx/ipuv3/imx-drm-core.c| 4 +++-2 files changed, 8 insertions(+), 3 deletions(-)drivers/gpu/drm/ renamed from drivers/gpu/drm/drm_gem_dma_helper.c +0
-0
drm_gem_dma_helper.c
index4f0320df858f..ab1a70b1d6f1100644drivers/gpu/drm/drm_gem_dma_helper.c +2
-0@@ -20,6 +20,7 @@ #include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_vma_manager.h>@@ -304,9 +305,11 @@ int drm_gem_dma_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) { struct drm_gem_dma_object *dma_obj; + int ret;Quoted 8 lines
drivers/gpu/drm/drm_gem_dma_helper.c int drm_gem_dma_dumb_create(struct drm_file *file_priv, · line 312
Quoted 5 lines
drivers/gpu/drm/drm_gem_dma_helper.c +3
-2- args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); - args->size = args->pitch * args->height; + ret = drm_mode_size_dumb(drm, args, SZ_8, 0); + if (ret) + return ret;Hi,
Was it intentional for this change to alter the pitch?
Most hardware does not need the pitch to be of a certain alignment. But these buffers are possibly shared with other hardware, which sometimes needs alignment to certain values. Using
SZ_8improves compatible with that hardware.Quoted 8 lines
Quoted 6 lines
The alignment requirement has been updated—from 8-bit alignment to 64-bit alignment. Since the pitch is expressed in bytes, we should pass
SZ_1instead ofSZ_8forhw_patch_align.For example, for an 850×480 framebuffer at 16 bpp, the pitch should be 1700 bytes. With the new alignment, the pitch becomes 1704 bytes.
Many display modes have an 8-byte alignment in their width. 850 pixels is somewhat of an exception.
Indeed, but overlay-type planes are often used to display windows that are not the same size as the screen, and therefore potentially not on 8-bytes aligned.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Please let me know if you’d like me to submit a fix.
Do you see a bug with your hardware? Unless this creates a real problem, I'd like to keep it as it is now.
Yes, that’s how I noticed this change. I have an application that requests a framebuffer larger than my screen, in this case 850x480 in RGB565 for an 800x480 display. So I have a pitch of 1700 bytes. Now it’s using a pitch of 1704, which shifts my lines.
Quoted 4 lines
Honestly, your application is broken. The ioctl returns the pitch value to user space and that's what the program should use. Some hardware has hard constraints on the pitch, so you will sooner or later run into the same problem again.
Yes, I’m currently trying to find where the pitch information is being lost, given that we do correctly retrieve the value provided by the kernel after the ioctl.
Quoted 5 lines
Anyway, feel free to submit a patch to call
drm_mode_size_dumb()withoutSZ_8. The best value would be 0, so that the function picks a default by itself. Since you're at it, maybe also look at patches 4 and 5 of this series. They have similar code for other memory managers.
I have no strong opinion about this 8-bytes alignment if it was intended. This could potentially break other applications that had been working until now, even if it does indeed reveal an issue on the application side. And it can result in larger buffers without it necessarily being needed.
I'll prepare patches and we'll see where that leads.
Regards,
Ludovic
Quoted 58 lines
Best regards
ThomasQuoted 43 lines
Regards,
LudovicQuoted 38 lines
Best regards
ThomasQuoted 25 lines
Regards,
LudovicQuoted 21 lines
dma_obj= drm_gem_dma_create_with_handle(file_priv, drm, args-Quoted 1 line
size,
&args->handle);drivers/gpu/ renamed from drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +0
-0
drm/imx/ipuv3/imx-drm-core.c
indexec5fd9a01f1e..af4a30311e18100644drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +3
-1@@ -145,8 +145,10 @@ static int imx_drm_dumb_create(struct drm_file *file_priv, int ret; args->width = ALIGN(width, 8); + args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); + args->size = args->pitch * args->height; - ret = drm_gem_dma_dumb_create(file_priv, drm, args); + ret = drm_gem_dma_dumb_create_internal(file_priv, drm, args); if (ret) return ret;Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)
Thomas Zimmermann
maintainerPATCH v6 4/25 drm/gem-shmem: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.
--- drivers/gpu/drm/drm_gem_shmem_helper.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-)
drivers/gpu/drm/drm_gem_shmem_helper.c +5 -11
@@ -18,6 +18,7 @@#include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_shmem_helper.h> #include <drm/drm_prime.h> #include <drm/drm_print.h>
@@ -518,18 +519,11 @@ EXPORT_SYMBOL_GPL(drm_gem_shmem_purge_locked);int drm_gem_shmem_dumb_create (struct drm_file *file,struct drm_device *dev,struct drm_mode_create_dumb *args) { -u32 min_pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); +int ret; -if (!args->pitch || !args->size) { - args->pitch = min_pitch; - args->size =PAGE_ALIGN (args->pitch * args->height); - }else { -/* ensure sane minimum values */ -if (args->pitch < min_pitch) - args->pitch = min_pitch; -if (args->size < args->pitch * args->height) - args->size =PAGE_ALIGN (args->pitch * args->height); - } + ret =drm_mode_size_dumb (dev, args,SZ_8 ,0 ); +if (ret) +return ret;return drm_gem_shmem_create_with_handle (file, dev, args->size, &args->handle); }
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 5/25 drm/gem-vram: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Inline code from drm_gem_vram_fill_create_dumb() without the existing size computation. Align the pitch to a multiple of 8.
Only hibmc and vboxvideo use gem-vram. Hibmc invokes the call to drm_gem_vram_fill_create_dumb() directly and is therefore not affected.
--- drivers/gpu/drm/drm_gem_vram_helper.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_gem_vram_helper.c +23 -1
@@ -7,6 +7,7 @@#include <drm/drm_debugfs.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_file.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h>
@@ -545,10 +546,31 @@ int drm_gem_vram_driver_dumb_create(struct drm_file *file,struct drm_device *dev, struct drm_mode_create_dumb *args) { + struct drm_gem_vram_object *gbo; +int ret; +if (WARN_ONCE (!dev->vram_mm,"VRAM MM not initialized" ))return -EINVAL ; -return drm_gem_vram_fill_create_dumb (file, dev,0 ,0 , args); + ret =drm_mode_size_dumb (dev, args,SZ_8 ,0 ); +if (ret) +return ret; + + gbo =drm_gem_vram_create (dev, args->size,0 ); +if (IS_ERR (gbo)) +return PTR_ERR (gbo); + + ret =drm_gem_handle_create (file, &gbo->bo.base, &args->handle); +if (ret) + goto err_drm_gem_object_put; + +drm_gem_object_put (&gbo->bo.base); + +return 0 ; + +err_drm_gem_object_put: +drm_gem_object_put (&gbo->bo.base); +return ret; }EXPORT_SYMBOL (drm_gem_vram_driver_dumb_create);
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 6/25 drm/armada: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 128.
v4:
- align pitch to 128 bytes (Russell)
--- drivers/gpu/drm/armada/armada_gem.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-)
drivers/gpu/drm/armada/armada_gem.c +7 -9
@@ -9,6 +9,7 @@#include <linux/shmem_fs.h> #include <drm/armada_drm.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_prime.h> #include "armada_drm.h"
@@ -244,14 +245,13 @@ int armada_gem_dumb_create(struct drm_file *file, struct drm_device *dev, struct drm_mode_create_dumb *args) {struct armada_gem_object *dobj; -u32 handle; -size_t size;int ret; - args->pitch =armada_pitch (args->width, args->bpp); - args->size = size = args->pitch * args->height; + ret =drm_mode_size_dumb (dev, args,SZ_128 ,0 ); +if (ret) +return ret; - dobj =armada_gem_alloc_private_object (dev, size); + dobj =armada_gem_alloc_private_object (dev, args->size);if (dobj ==NULL )return -ENOMEM ;
@@ -259,14 +259,12 @@ int armada_gem_dumb_create(struct drm_file *file, struct drm_device *dev,if (ret) goto err; - ret =drm_gem_handle_create (file, &dobj->obj, &handle); + ret =drm_gem_handle_create (file, &dobj->obj, &args->handle);if (ret) goto err; - args->handle = handle; -/* drop reference from allocate - handle holds it now */ -DRM_DEBUG_DRIVER ("obj %p size %zu handle %#x\n" , dobj, size, handle); +DRM_DEBUG_DRIVER ("obj %p size %llu handle %#x\n" , dobj, args->size, args->handle); err:drm_gem_object_put (&dobj->obj);return ret;
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 7/25 drm/exynos: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. No alignment required.
--- drivers/gpu/drm/exynos/exynos_drm_gem.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_gem.c +5 -3
@@ -10,6 +10,7 @@#include <linux/shmem_fs.h> #include <linux/module.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_prime.h> #include <drm/drm_vma_manager.h> #include <drm/exynos_drm.h>
@@ -329,15 +330,16 @@ int exynos_drm_gem_dumb_create(struct drm_file *file_priv,unsigned int flags;int ret; + ret =drm_mode_size_dumb (dev, args,0 ,0 ); +if (ret) +return ret; +/* * allocate memory to be used for framebuffer. * - this callback would be called by user application * with DRM_IOCTL_MODE_CREATE_DUMB command. */ - args->pitch = args->width * ((args->bpp +7 ) /8 ); - args->size = args->pitch * args->height; -if (is_drm_iommu_supported (dev)) flags =EXYNOS_BO_NONCONTIG |EXYNOS_BO_WC ;else
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 8/25 drm/gma500: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 64.
--- drivers/gpu/drm/gma500/gem.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-)
drivers/gpu/drm/gma500/gem.c +6 -15
@@ -16,6 +16,7 @@#include <asm/set_memory.h> #include <drm/drm.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_vma_manager.h> #include "gem.h"
@@ -199,35 +200,25 @@ psb_gem_create(struct drm_device *dev, u64 size, const char *name, bool stolen,int psb_gem_dumb_create (struct drm_file *file,struct drm_device *dev,struct drm_mode_create_dumb *args) { -size_t pitch, size;struct psb_gem_object *pobj;struct drm_gem_object *obj; -u32 handle;int ret; - pitch = args->width *DIV_ROUND_UP (args->bpp,8 ); - pitch =ALIGN (pitch,64 ); - - size = pitch * args->height; - size =roundup (size,PAGE_SIZE ); -if (!size) -return -EINVAL ; + ret =drm_mode_size_dumb (dev, args,SZ_64 ,0 ); +if (ret) +return ret; - pobj =psb_gem_create (dev, size,"gem" , false,PAGE_SIZE ); + pobj =psb_gem_create (dev, args->size,"gem" , false,PAGE_SIZE );if (IS_ERR (pobj))return PTR_ERR (pobj); obj = &pobj->base; - ret =drm_gem_handle_create (file, obj, &handle); + ret =drm_gem_handle_create (file, obj, &args->handle);if (ret) goto err_drm_gem_object_put;drm_gem_object_put (obj); - args->pitch = pitch; - args->size = size; - args->handle = handle; -return 0 ; err_drm_gem_object_put:
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 9/25 drm/hibmc: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 128.
The hibmc driver's new hibmc_dumb_create() is similar to the one in GEM VRAM helpers. The driver was the only caller of drm_gem_vram_fill_create_dumb(). Remove the now unused helper.
--- drivers/gpu/drm/drm_gem_vram_helper.c | 65 ------------------- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 25 ++++++- include/drm/drm_gem_vram_helper.h | 6 -- 3 files changed, 24 insertions(+), 72 deletions(-)
drivers/gpu/drm/drm_gem_vram_helper.c +0 -65
@@ -407,71 +407,6 @@ void drm_gem_vram_vunmap(struct drm_gem_vram_object *gbo, }EXPORT_SYMBOL (drm_gem_vram_vunmap); -/** -* drm_gem_vram_fill_create_dumb() - Helper for implementing -* &struct drm_driver.dumb_create -* -* @file: the DRM file -* @dev: the DRM device -* @pg_align: the buffer's alignment in multiples of the page size -* @pitch_align: the scanline's alignment in powers of 2 -* @args: the arguments as provided to -* &struct drm_driver.dumb_create -* -* This helper function fills &struct drm_mode_create_dumb, which is used -* by &struct drm_driver.dumb_create. Implementations of this interface -* should forwards their arguments to this helper, plus the driver-specific -* parameters. -* -* Returns: -* 0 on success, or -* a negative error code otherwise. -*/ -int drm_gem_vram_fill_create_dumb (struct drm_file *file, -struct drm_device *dev, -unsigned long pg_align, -unsigned long pitch_align, -struct drm_mode_create_dumb *args) -{ -size_t pitch, size; -struct drm_gem_vram_object *gbo; -int ret; -u32 handle; - - pitch = args->width *DIV_ROUND_UP (args->bpp,8 ); -if (pitch_align) { -if (WARN_ON_ONCE (!is_power_of_2 (pitch_align))) -return -EINVAL ; - pitch =ALIGN (pitch, pitch_align); - } - size = pitch * args->height; - - size =roundup (size,PAGE_SIZE ); -if (!size) -return -EINVAL ; - - gbo =drm_gem_vram_create (dev, size, pg_align); -if (IS_ERR (gbo)) -return PTR_ERR (gbo); - - ret =drm_gem_handle_create (file, &gbo->bo.base, &handle); -if (ret) - goto err_drm_gem_object_put; - -drm_gem_object_put (&gbo->bo.base); - - args->pitch = pitch; - args->size = size; - args->handle = handle; - -return 0 ; - -err_drm_gem_object_put: -drm_gem_object_put (&gbo->bo.base); -return ret; -} -EXPORT_SYMBOL (drm_gem_vram_fill_create_dumb); -/* * Helpers for struct ttm_device_funcs */
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +24 -1
@@ -18,10 +18,12 @@#include <drm/clients/drm_client_setup.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_fbdev_ttm.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_gem_vram_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_mode.h> #include <drm/drm_module.h> #include <drm/drm_vblank.h>
@@ -70,7 +72,28 @@ static irqreturn_t hibmc_dp_interrupt(int irq, void *arg)static int hibmc_dumb_create (struct drm_file *file,struct drm_device *dev,struct drm_mode_create_dumb *args) { -return drm_gem_vram_fill_create_dumb (file, dev,0 ,128 , args); +struct drm_gem_vram_object *gbo; +int ret; + + ret =drm_mode_size_dumb (dev, args,SZ_128 ,0 ); +if (ret) +return ret; + + gbo =drm_gem_vram_create (dev, args->size,0 ); +if (IS_ERR (gbo)) +return PTR_ERR (gbo); + + ret =drm_gem_handle_create (file, &gbo->bo.base, &args->handle); +if (ret) + goto err_drm_gem_object_put; + +drm_gem_object_put (&gbo->bo.base); + +return 0 ; + +err_drm_gem_object_put: +drm_gem_object_put (&gbo->bo.base); +return ret; }static const struct drm_driver hibmc_driver = {
include/drm/drm_gem_vram_helper.h +0 -6
@@ -98,12 +98,6 @@ int drm_gem_vram_vmap(struct drm_gem_vram_object *gbo, struct iosys_map *map);void drm_gem_vram_vunmap (struct drm_gem_vram_object *gbo,struct iosys_map *map); -int drm_gem_vram_fill_create_dumb (struct drm_file *file, -struct drm_device *dev, -unsigned long pg_align, -unsigned long pitch_align, -struct drm_mode_create_dumb *args); -/* * Helpers for struct drm_driver */
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 10/25 drm/imx/ipuv3: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. The hardware requires the framebuffer width to be a multiple of 8. The scanline pitch has to be large enough to support this. Therefore compute the byte size of 8 pixels in the given color mode and align the pitch accordingly.
v5:
- fix typo in commit description
--- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 31 ++++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-)
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +23 -8
@@ -17,7 +17,9 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_fbdev_dma.h> +#include <drm/drm_fourcc.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h>
@@ -141,19 +143,32 @@ static int imx_drm_dumb_create(struct drm_file *file_priv,struct drm_device *drm, struct drm_mode_create_dumb *args) { - u32 width = args->width; + u32 fourcc; +const struct drm_format_info *info; +u64 pitch_align;int ret; - args->width =ALIGN (width,8 ); - args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); - args->size = args->pitch * args->height; - - ret =drm_gem_dma_dumb_create_internal (file_priv, drm, args); +/* +* Hardware requires the framebuffer width to be aligned to +* multiples of 8. The mode-setting code handles this, but +* the buffer pitch has to be aligned as well. Set the pitch +* alignment accordingly, so that the each scanline fits into +* the allocated buffer. +*/ + fourcc =drm_driver_color_mode_format (drm, args->bpp); +if (fourcc ==DRM_FORMAT_INVALID ) +return -EINVAL ; + info =drm_format_info (fourcc); +if (!info) +return -EINVAL ; + pitch_align =drm_format_info_min_pitch (info,0 ,SZ_8 ); +if (!pitch_align || pitch_align >U32_MAX ) +return -EINVAL ; + ret =drm_mode_size_dumb (drm, args, pitch_align,0 );if (ret)return ret; - args->width = width; -return ret; +return drm_gem_dma_dumb_create (file_priv, drm, args); } static const struct drm_driver imx_drm_driver = {
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 11/25 drm/loongson: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.
--- drivers/gpu/drm/loongson/lsdc_gem.c | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-)
drivers/gpu/drm/loongson/lsdc_gem.c +8 -21
@@ -6,6 +6,7 @@#include <linux/dma-buf.h> #include <drm/drm_debugfs.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_file.h> #include <drm/drm_gem.h> #include <drm/drm_prime.h>
@@ -204,45 +205,31 @@ int lsdc_dumb_create(struct drm_file *file, struct drm_device *ddev,const struct lsdc_desc *descp = ldev->descp;u32 domain =LSDC_GEM_DOMAIN_VRAM ;struct drm_gem_object *gobj; -size_t size; -u32 pitch; -u32 handle;int ret; -if (!args->width || !args->height) -return -EINVAL ; - -if (args->bpp !=32 && args->bpp !=16 ) -return -EINVAL ; - - pitch = args->width * args->bpp /8 ; - pitch =ALIGN (pitch, descp->pitch_align); - size = pitch * args->height; - size =ALIGN (size,PAGE_SIZE ); + ret =drm_mode_size_dumb (ddev, args, descp->pitch_align,0 ); +if (ret) +return ret;/* Maximum single bo size allowed is the half vram size available */ -if (size > ldev->vram_size /2 ) { -drm_err (ddev,"Requesting(%zuMiB) failed\n" , size >>20 ); +if (args->size > ldev->vram_size /2 ) { +drm_err (ddev,"Requesting(%zuMiB) failed\n" , (size_t )(args->size >>PAGE_SHIFT ));return -ENOMEM ; } - gobj =lsdc_gem_object_create (ddev, domain, size, false,NULL ,NULL ); + gobj =lsdc_gem_object_create (ddev, domain, args->size, false,NULL ,NULL );if (IS_ERR (gobj)) {drm_err (ddev,"Failed to create gem object\n" );return PTR_ERR (gobj); } - ret =drm_gem_handle_create (file, gobj, &handle); + ret =drm_gem_handle_create (file, gobj, &args->handle);/* drop reference from allocate, handle holds it now */ drm_gem_object_put (gobj);if (ret)return ret; - args->pitch = pitch; - args->size = size; - args->handle = handle; -return 0 ; }
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 12/25 drm/mediatek: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.
--- drivers/gpu/drm/mediatek/mtk_gem.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-)
drivers/gpu/drm/mediatek/mtk_gem.c +4 -9
@@ -8,6 +8,7 @@#include <drm/drm.h> #include <drm/drm_device.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_prime.h>
@@ -124,15 +125,9 @@ int mtk_gem_dumb_create(struct drm_file *file_priv, struct drm_device *dev,struct mtk_gem_obj *mtk_gem;int ret; - args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); - -/* -* Multiply 2 variables of different types, -* for example: args->size = args->spacing * args->height; -* may cause coverity issue with unintentional overflow. -*/ - args->size = args->pitch; - args->size *= args->height; + ret =drm_mode_size_dumb (dev, args,SZ_8 ,0 ); +if (ret) +return ret; mtk_gem =mtk_gem_create (dev, args->size, false);if (IS_ERR (mtk_gem))
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 13/25 drm/msm: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Alignment is specified in bytes, but the hardware requires the scanline pitch to be a multiple of 32 pixels. Therefore compute the byte size of 32 pixels in the given color mode and align the pitch accordingly. This replaces the existing code in the driver's align_pitch() helper.
v3:
- clarify pitch alignment in commit message (Dmitry)
--- drivers/gpu/drm/msm/msm_gem.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-)
drivers/gpu/drm/msm/msm_gem.c +25 -2
@@ -10,8 +10,10 @@#include <linux/shmem_fs.h> #include <linux/dma-buf.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_prime.h> #include <drm/drm_file.h> +#include <drm/drm_fourcc.h> #include <trace/events/gpu_mem.h>
@@ -691,8 +693,29 @@ void msm_gem_unpin_iova(struct drm_gem_object *obj, struct drm_gpuvm *vm)int msm_gem_dumb_create (struct drm_file *file,struct drm_device *dev,struct drm_mode_create_dumb *args) { - args->pitch =align_pitch (args->width, args->bpp); - args->size =PAGE_ALIGN (args->pitch * args->height); +u32 fourcc; +const struct drm_format_info *info; +u64 pitch_align; +int ret; + +/* +* Adreno needs pitch aligned to 32 pixels. Compute the number +* of bytes for a block of 32 pixels at the given color format. +* Use the result as pitch alignment. +*/ + fourcc =drm_driver_color_mode_format (dev, args->bpp); +if (fourcc ==DRM_FORMAT_INVALID ) +return -EINVAL ; + info =drm_format_info (fourcc); +if (!info) +return -EINVAL ; + pitch_align =drm_format_info_min_pitch (info,0 ,SZ_32 ); +if (!pitch_align || pitch_align >U32_MAX ) +return -EINVAL ; + ret =drm_mode_size_dumb (dev, args, pitch_align,0 ); +if (ret) +return ret; +return msm_gem_new_handle (dev, file, args->size,MSM_BO_SCANOUT |MSM_BO_WC , &args->handle,"dumb" ); }
Signature · 1 line
2.50.1
Re: [PATCH v6 13/25] drm/msm: Compute dumb-buffer sizes with drm_mode_size_dumb()
Quoted 17 lines · Thomas Zimmermann
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Alignment is specified in bytes, but the hardware requires the scanline pitch to be a multiple of 32 pixels. Therefore compute the byte size of 32 pixels in the given color mode and align the pitch accordingly. This replaces the existing code in the driver'salign_pitch()helper.v3:
- clarify pitch alignment in commit message (Dmitry)Signed-off-by Thomas Zimmermann <[email protected]>Reviewed-by Dmitry Baryshkov <[email protected]>Cc Rob Clark <[email protected]>Cc Abhinav Kumar <[email protected]>Cc Dmitry Baryshkov <[email protected]>Cc Sean Paul <[email protected]>Cc Marijn Suijten <[email protected]>
Quoted 4 lines
--- drivers/gpu/drm/msm/msm_gem.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-)
This broke kms_getfb@getfb-reject-nv12 and kms_getfb@getfb2-accept-nv12 IGT tests. I'll submit a fix separately.
Signature · 2 lines
With best wishes Dmitry
Thomas Zimmermann
maintainerPATCH v6 14/25 drm/nouveau: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 256.
--- drivers/gpu/drm/nouveau/nouveau_display.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/gpu/drm/nouveau/nouveau_display.c +4 -3
@@ -30,6 +30,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_client_event.h> #include <drm/drm_crtc_helper.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_fourcc.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_probe_helper.h>
@@ -807,9 +808,9 @@ nouveau_display_dumb_create(struct drm_file *file_priv, struct drm_device *dev,uint32_t domain;int ret; - args->pitch =roundup (args->width * (args->bpp /8 ),256 ); - args->size = args->pitch * args->height; - args->size =roundup (args->size,PAGE_SIZE ); + ret =drm_mode_size_dumb (dev, args,SZ_256 ,0 ); +if (ret) +return ret;/* Use VRAM if there is any ; otherwise fallback to system memory */ if (nouveau_drm (dev)->client.device.info.ram_size !=0 )
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 15/25 drm/omapdrm: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.
--- drivers/gpu/drm/omapdrm/omap_gem.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
drivers/gpu/drm/omapdrm/omap_gem.c +7 -8
@@ -10,6 +10,7 @@#include <linux/spinlock.h> #include <linux/vmalloc.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_prime.h> #include <drm/drm_vma_manager.h>
@@ -580,15 +581,13 @@ static int omap_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_strucint omap_gem_dumb_create (struct drm_file *file,struct drm_device *dev,struct drm_mode_create_dumb *args) { -union omap_gem_size gsize; - - args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); - - args->size =PAGE_ALIGN (args->pitch * args->height); +union omap_gem_size gsize = { }; +int ret; - gsize = (union omap_gem_size ){ - .bytes = args->size, - }; + ret =drm_mode_size_dumb (dev, args,SZ_8 ,0 ); +if (ret) +return ret; + gsize.bytes = args->size;return omap_gem_new_handle (dev, file, gsize,OMAP_BO_SCANOUT |OMAP_BO_WC , &args->handle);
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 16/25 drm/qxl: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. No alignment required.
--- drivers/gpu/drm/qxl/qxl_dumb.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-)
drivers/gpu/drm/qxl/qxl_dumb.c +8 -9
@@ -23,6 +23,8 @@* Alon Levy */ +#include <drm/drm_dumb_buffers.h> +#include "qxl_drv.h" #include "qxl_object.h"
@@ -35,14 +37,13 @@ int qxl_mode_dumb_create(struct drm_file *file_priv,struct qxl_device *qdev =to_qxl (dev);struct qxl_bo *qobj;struct drm_gem_object *gobj; -uint32_t handle;int r;struct qxl_surface surf; -uint32_t pitch, format; +u32 format; - pitch = args->width * ((args->bpp +1 ) /8 ); - args->size = pitch * args->height; - args->size =ALIGN (args->size,PAGE_SIZE ); + r =drm_mode_size_dumb (dev, args,0 ,0 ); +if (r) +return r;switch (args->bpp) {case 16 :
@@ -57,20 +58,18 @@ int qxl_mode_dumb_create(struct drm_file *file_priv, surf.width = args->width; surf.height = args->height; - surf.stride = pitch; + surf.stride = args->pitch; surf.format = format; surf.data =0 ; r =qxl_gem_object_create_with_handle (qdev, file_priv,QXL_GEM_DOMAIN_CPU , args->size, &surf, &gobj, - &handle); + &args->handle);if (r)return r; qobj =gem_to_qxl_bo (gobj); qobj->is_dumb = true;drm_gem_object_put (gobj); - args->pitch = pitch; - args->handle = handle;return 0 ; }
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 17/25 drm/renesas/rcar-du: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.
--- drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c +5 -2
@@ -11,6 +11,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h>
@@ -407,8 +408,8 @@ int rcar_du_dumb_create(struct drm_file *file, struct drm_device *dev, struct drm_mode_create_dumb *args) {struct rcar_du_device *rcdu =to_rcar_du_device (dev); -unsigned int min_pitch =DIV_ROUND_UP (args->width * args->bpp,8 );unsigned int align; +int ret;/* * The R8A7779 DU requires a 16 pixels pitch alignment as documented,
@@ -419,7 +420,9 @@ int rcar_du_dumb_create(struct drm_file *file, struct drm_device *dev,else align =16 * args->bpp /8 ; - args->pitch =roundup (min_pitch, align); + ret =drm_mode_size_dumb (dev, args, align,0 ); +if (ret) +return ret;return drm_gem_dma_dumb_create_internal (file, dev, args); }
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 18/25 drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.
v5:
- include dumb-buffers header for drm_mode_size_dumb() (kernel test robot)
--- drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c +5 -3
@@ -11,6 +11,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h>
@@ -181,10 +182,11 @@ const struct rzg2l_du_format_info *rzg2l_du_format_info(u32 fourcc)int rzg2l_du_dumb_create (struct drm_file *file,struct drm_device *dev,struct drm_mode_create_dumb *args) { -unsigned int min_pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); -unsigned int align =16 * args->bpp /8 ; +int ret; - args->pitch =roundup (min_pitch, align); + ret =drm_mode_size_dumb (dev, args,16 * args->bpp /8 ,0 ); +if (ret) +return ret;return drm_gem_dma_dumb_create_internal (file, dev, args); }
Signature · 1 line
2.50.1
RE: [PATCH v6 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb()
Hi Thomas Zimmermann,
Thanks for the patch.
Quoted 5 lines
-----Original Message-----
From: Thomas Zimmermann <[email protected]>
Sent: 21 August 2025 09:17
Subject: [PATCH v6 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes withdrm_mode_size_dumb()
Quoted 8 lines
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.v5:
- include dumb-buffers header fordrm_mode_size_dumb()(kernel test robot)Signed-off-by Thomas Zimmermann <[email protected]>Cc Biju Das <[email protected]>
Cheers,
Biju
Thomas Zimmermann
maintainerRe: [PATCH v6 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb()
Hi
Am 21.08.25 um 13:28 schrieb Biju Das:
Quoted 12 lines
Hi Thomas Zimmermann,
Thanks for the patch.
Quoted 8 lines
-----Original Message-----
From: Thomas Zimmermann <[email protected]>
Sent: 21 August 2025 09:17
Subject: [PATCH v6 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes withdrm_mode_size_dumb()Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.
Quoted 6 lines
Quoted 5 lines
v5:
- include dumb-buffers header fordrm_mode_size_dumb()(kernel test robot)Signed-off-by Thomas Zimmermann <[email protected]>Cc Biju Das <[email protected]>Tested-by Biju Das <[email protected]>
Thanks for testing. Could you also review the patch, please?
Best regards
Thomas
Quoted 3 lines
Cheers,
Biju
Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)
Biju Das
maintainerRE: [PATCH v6 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb()
Hi Thomas,
Quoted 25 lines
-----Original Message-----
From: Thomas Zimmermann <[email protected]>
Sent: 21 August 2025 12:56
Subject: Re: [PATCH v6 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes withdrm_mode_size_dumb()Hi
Am 21.08.25 um 13:28 schrieb Biju Das:
Quoted 17 lines
Hi Thomas Zimmermann,
Thanks for the patch.
Quoted 13 lines
-----Original Message-----
From: Thomas Zimmermann <[email protected]>
Sent: 21 August 2025 09:17
Subject: [PATCH v6 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes withdrm_mode_size_dumb()Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.v5:
- include dumb-buffers header fordrm_mode_size_dumb()(kernel test robot)
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines
Signed-off-by Thomas Zimmermann <[email protected]>Cc Biju Das <[email protected]>Tested-by Biju Das <[email protected]>Thanks for testing. Could you also review the patch, please?
Sure, will do.
Cheers,
Biju
Thomas Zimmermann
maintainerPATCH v6 19/25 drm/rockchip: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 64.
--- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/rockchip/rockchip_drm_gem.c +6 -6
@@ -9,6 +9,7 @@#include <linux/vmalloc.h> #include <drm/drm.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_fb_helper.h> #include <drm/drm_gem.h> #include <drm/drm_gem_dma_helper.h>
@@ -403,13 +404,12 @@ int rockchip_gem_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) {struct rockchip_gem_object *rk_obj; -int min_pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); +int ret; -/* -* align to 64 bytes since Mali requires it. -*/ - args->pitch =ALIGN (min_pitch,64 ); - args->size = args->pitch * args->height; +/* 64-byte alignment required by Mali */ + ret =drm_mode_size_dumb (dev, args,SZ_64 ,0 ); +if (ret) +return ret; rk_obj =rockchip_gem_create_with_handle (file_priv, dev, args->size, &args->handle);
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 20/25 drm/tegra: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.
--- drivers/gpu/drm/tegra/gem.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/gpu/drm/tegra/gem.c +5 -3
@@ -16,6 +16,7 @@#include <linux/vmalloc.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_prime.h> #include "drm.h"
@@ -542,12 +543,13 @@ void tegra_bo_free_object(struct drm_gem_object *gem)int tegra_bo_dumb_create (struct drm_file *file,struct drm_device *drm,struct drm_mode_create_dumb *args) { -unsigned int min_pitch =DIV_ROUND_UP (args->width * args->bpp,8 );struct tegra_drm *tegra = drm->dev_private;struct tegra_bo *bo; +int ret; - args->pitch =round_up (min_pitch, tegra->pitch_align); - args->size = args->pitch * args->height; + ret =drm_mode_size_dumb (drm, args, tegra->pitch_align,0 ); +if (ret) +return ret; bo =tegra_bo_create_with_handle (file, drm, args->size,0 , &args->handle);
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 21/25 drm/virtio: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 4.
--- drivers/gpu/drm/virtio/virtgpu_gem.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
drivers/gpu/drm/virtio/virtgpu_gem.c +5 -6
@@ -23,6 +23,7 @@* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include <drm/drm_dumb_buffers.h> #include <drm/drm_file.h> #include <drm/drm_fourcc.h>
@@ -66,15 +67,14 @@ int virtio_gpu_mode_dumb_create(struct drm_file *file_priv,struct virtio_gpu_object_params params = {0 };struct virtio_gpu_device *vgdev = dev->dev_private;int ret; -uint32_t pitch; + + ret =drm_mode_size_dumb (dev, args,SZ_4 ,0 ); +if (ret) +return ret;if (args->bpp !=32 )return -EINVAL ; - pitch = args->width *4 ; - args->size = pitch * args->height; - args->size =ALIGN (args->size,PAGE_SIZE ); - params.format =virtio_gpu_translate_format (DRM_FORMAT_HOST_XRGB8888 ); params.width = args->width; params.height = args->height;
@@ -92,7 +92,6 @@ int virtio_gpu_mode_dumb_create(struct drm_file *file_priv,if (ret) goto fail; - args->pitch = pitch;return ret; fail:
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 22/25 drm/vmwgfx: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. No alignment required.
--- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c +4 -17
@@ -15,6 +15,7 @@#include "vmw_surface_cache.h" #include "device_include/svga3d_surfacedefs.h" +#include <drm/drm_dumb_buffers.h> #include <drm/ttm/ttm_placement.h> #define SVGA3D_FLAGS_64 (upper32, lower32) (((uint64_t)upper32 << 32) | lower32)
@@ -2267,23 +2268,9 @@ int vmw_dumb_create(struct drm_file *file_priv,* contents is going to be rendered guest side. */ if (!dev_priv->has_mob || !vmw_supports_3d (dev_priv)) { -int cpp =DIV_ROUND_UP (args->bpp,8 ); - -switch (cpp) { -case 1 :/* DRM_FORMAT_C8 */ -case 2 :/* DRM_FORMAT_RGB565 */ -case 4 :/* DRM_FORMAT_XRGB8888 */ -break ; -default : -/* -* Dumb buffers don't allow anything else. -* This is tested via IGT's dumb_buffers -*/ -return -EINVAL ; - } - - args->pitch = args->width * cpp; - args->size =ALIGN (args->pitch * args->height,PAGE_SIZE ); + ret =drm_mode_size_dumb (dev, args,0 ,0 ); +if (ret) +return ret; ret = vmw_gem_object_create_with_handle(dev_priv, file_priv, args->size, &args->handle,
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 23/25 drm/xe: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8. Align the buffer size according to hardware requirements.
Xe's internal calculation allowed for 64-bit wide buffer sizes, but the ioctl's internal checks always verified against 32-bit wide limits. Hance, it is safe to limit the driver code to 32-bit calculations as well.
v3:
- mention 32-bit calculation in commit description (Matthew)
--- drivers/gpu/drm/xe/xe_bo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_bo.c +4 -4
@@ -9,6 +9,7 @@#include <linux/nospec.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_ttm_helper.h> #include <drm/drm_managed.h> #include <drm/ttm/ttm_backup.h>
@@ -3130,14 +3131,13 @@ int xe_bo_dumb_create(struct drm_file *file_priv,struct xe_device *xe =to_xe_device (dev);struct xe_bo *bo;uint32_t handle; -int cpp =DIV_ROUND_UP (args->bpp,8 );int err;u32 page_size =max_t (u32,PAGE_SIZE , xe->info.vram_flags &XE_VRAM_FLAGS_NEED64K ?SZ_64K :SZ_4K ); - args->pitch =ALIGN (args->width * cpp,64 ); - args->size =ALIGN (mul_u32_u32 (args->pitch, args->height), - page_size); + err =drm_mode_size_dumb (dev, args,SZ_64 , page_size); +if (err) +return err; bo = xe_bo_create_user(xe, NULL, NULL, args->size, DRM_XE_GEM_CPU_CACHING_WC,
Signature · 1 line
2.50.1
Re: [PATCH v6 23/25] drm/xe: Compute dumb-buffer sizes with drm_mode_size_dumb()
Quoted 9 lines · Thomas Zimmermann
Call
drm_mode_size_dumb()to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8. Align the buffer size according to hardware requirements.Xe's internal calculation allowed for 64-bit wide buffer sizes, but the ioctl's internal checks always verified against 32-bit wide limits. Hance, it is safe to limit the driver code to 32-bit calculations as well.
Quoted 8 lines
v3:
- mention 32-bit calculation in commit description (Matthew)Signed-off-by Thomas Zimmermann <[email protected]>Reviewed-by Matthew Auld <[email protected]>Cc Lucas De Marchi <[email protected]>Cc "Thomas Hellström" <[email protected]>Cc Rodrigo Vivi <[email protected]>
to merge this via drm-misc.
thanks
Lucas De Marchi
Quoted 37 lines
---
drivers/gpu/drm/xe/xe_bo.c| 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/xe/xe_bo.c +4
-4@@ -9,6 +9,7 @@#include <linux/nospec.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_gem_ttm_helper.h> #include <drm/drm_managed.h> #include <drm/ttm/ttm_backup.h> @@ -3130,14 +3131,13 @@ int xe_bo_dumb_create(struct drm_file *file_priv,struct xe_device *xe =to_xe_device (dev);struct xe_bo *bo;uint32_t handle; -int cpp =DIV_ROUND_UP (args->bpp,8 );int err;u32 page_size =max_t (u32,PAGE_SIZE , xe->info.vram_flags &XE_VRAM_FLAGS_NEED64K ?SZ_64K :SZ_4K ); - args->pitch =ALIGN (args->width * cpp,64 ); - args->size =ALIGN (mul_u32_u32 (args->pitch, args->height), - page_size); + err =drm_mode_size_dumb (dev, args,SZ_64 , page_size); +if (err) +return err; bo = xe_bo_create_user(xe, NULL, NULL, args->size, DRM_XE_GEM_CPU_CACHING_WC,Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 24/25 drm/xen: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch to a multiple of 8.
--- drivers/gpu/drm/xen/xen_drm_front.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/gpu/drm/xen/xen_drm_front.c +5 -2
@@ -14,6 +14,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_ioctl.h> #include <drm/drm_probe_helper.h> #include <drm/drm_file.h>
@@ -414,8 +415,10 @@ static int xen_drm_drv_dumb_create(struct drm_file *filp,* object without pages etc. * For details also see drm_gem_handle_create */ - args->pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); - args->size = args->pitch * args->height; + + ret =drm_mode_size_dumb (dev, args,SZ_8 ,0 ); +if (ret) +return ret; obj =xen_drm_front_gem_create (dev, args->size);if (IS_ERR (obj)) {
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerPATCH v6 25/25 drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
In reply to Thomas ZimmermannCall drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.
--- drivers/gpu/drm/xlnx/zynqmp_kms.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/gpu/drm/xlnx/zynqmp_kms.c +5 -2
@@ -19,6 +19,7 @@#include <drm/drm_crtc.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> +#include <drm/drm_dumb_buffers.h> #include <drm/drm_encoder.h> #include <drm/drm_fbdev_dma.h> #include <drm/drm_fourcc.h>
@@ -363,10 +364,12 @@ static int zynqmp_dpsub_dumb_create(struct drm_file *file_priv, struct drm_mode_create_dumb *args) {struct zynqmp_dpsub *dpsub =to_zynqmp_dpsub (drm); -unsigned int pitch =DIV_ROUND_UP (args->width * args->bpp,8 ); +int ret;/* Enforce the alignment constraints of the DMA engine. */ - args->pitch =ALIGN (pitch, dpsub->dma_align); + ret =drm_mode_size_dumb (drm, args, dpsub->dma_align,0 ); +if (ret) +return ret;return drm_gem_dma_dumb_create_internal (file_priv, drm, args); }
Signature · 1 line
2.50.1
Patchwork
CI Reviewed-by Laurent Pinchart Reviewed-by Tomi Valkeinen Reviewed-by Tomi Valkeinen on the v6 series✗ CI.checkpatch: warning for drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
In reply to Thomas Zimmermann== Series Details ==
== Series Details ==
Series: drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
URL : https://patchwork.freedesktop.org/series/143335/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 553439844b6500767ce8aef522cfe9fbb7ece541
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e49bff806110ec37fce844d176e033df1f8ed2e8
Author: Thomas Zimmermann <[email protected]> Date: Thu Aug 21 10:17:32 2025 +0200
drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
Call drm_mode_size_dumb() to compute dumb-buffer scanline pitch and buffer size. Align the pitch according to hardware requirements.
+ /mt/dim checkpatch 1f3c2c82c864322cfa8f79c10c00cf361c926d2f drm-intel a17af0085909 drm/dumb-buffers: Sanitize output on errors -:41: WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else #41: FILE: drivers/gpu/drm/drm_dumb_buffers.c:118:
+ return -ENOSYS;
total: 0 errors, 1 warnings, 0 checks, 53 lines checked 68c79faf5397 drm/dumb-buffers: Provide helper to set pitch and size -:49: WARNING:BAD_SIGN_OFF: Duplicate signature
#49:
-:248: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #248:
new file mode 100644
total: 0 errors, 2 warnings, 0 checks, 261 lines checked0a4ff52c3886 drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb() f8ed8e216703 drm/gem-shmem: Compute dumb-buffer sizes with drm_mode_size_dumb() 50f18398832b drm/gem-vram: Compute dumb-buffer sizes with drm_mode_size_dumb() b0b9d7cc621e drm/armada: Compute dumb-buffer sizes with drm_mode_size_dumb() 4677ea0b9be7 drm/exynos: Compute dumb-buffer sizes with drm_mode_size_dumb() df263c3db021 drm/gma500: Compute dumb-buffer sizes with drm_mode_size_dumb() e15ecb670d36 drm/hibmc: Compute dumb-buffer sizes with drm_mode_size_dumb() 33f25663c335 drm/imx/ipuv3: Compute dumb-buffer sizes with drm_mode_size_dumb() ae09bc006286 drm/loongson: Compute dumb-buffer sizes with drm_mode_size_dumb() 612e6825e997 drm/mediatek: Compute dumb-buffer sizes with drm_mode_size_dumb() 8d0e1a6d0059 drm/msm: Compute dumb-buffer sizes with drm_mode_size_dumb() b63ec0a44e20 drm/nouveau: Compute dumb-buffer sizes with drm_mode_size_dumb() 17f9c4cca7ea drm/omapdrm: Compute dumb-buffer sizes with drm_mode_size_dumb() feaa801bc71d drm/qxl: Compute dumb-buffer sizes with drm_mode_size_dumb() 67049800945b drm/renesas/rcar-du: Compute dumb-buffer sizes with drm_mode_size_dumb() b2a6e6429070 drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb() 32433a8cd3e4 drm/rockchip: Compute dumb-buffer sizes with drm_mode_size_dumb() 6cc66347c569 drm/tegra: Compute dumb-buffer sizes with drm_mode_size_dumb() 76e0618e1a98 drm/virtio: Compute dumb-buffer sizes with drm_mode_size_dumb() 3be2e990f446 drm/vmwgfx: Compute dumb-buffer sizes with drm_mode_size_dumb() 4f908d470fd4 drm/xe: Compute dumb-buffer sizes with drm_mode_size_dumb() 39944f5cae95 drm/xen: Compute dumb-buffer sizes with drm_mode_size_dumb() e49bff806110 drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
Patchwork
CI✓ CI.KUnit: success for drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
In reply to Thomas Zimmermann== Series Details ==
== Series Details ==
Series: drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
URL : https://patchwork.freedesktop.org/series/143335/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [08:37:15] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [08:37:19] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=25 [08:37:54] Starting KUnit Kernel (1/1)... [08:37:54] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [08:37:54] ================== guc_buf (11 subtests) =================== [08:37:54] [PASSED] test_smallest [08:37:54] [PASSED] test_largest [08:37:54] [PASSED] test_granular [08:37:54] [PASSED] test_unique [08:37:54] [PASSED] test_overlap [08:37:54] [PASSED] test_reusable [08:37:54] [PASSED] test_too_big [08:37:54] [PASSED] test_flush [08:37:54] [PASSED] test_lookup [08:37:54] [PASSED] test_data [08:37:54] [PASSED] test_class [08:37:54] ===================== [PASSED] guc_buf ===================== [08:37:54] =================== guc_dbm (7 subtests) =================== [08:37:54] [PASSED] test_empty [08:37:54] [PASSED] test_default [08:37:54] ======================== test_size ======================== [08:37:54] [PASSED] 4 [08:37:54] [PASSED] 8 [08:37:54] [PASSED] 32 [08:37:54] [PASSED] 256 [08:37:54] ==================== [PASSED] test_size ==================== [08:37:54] ======================= test_reuse ======================== [08:37:54] [PASSED] 4 [08:37:54] [PASSED] 8 [08:37:54] [PASSED] 32 [08:37:54] [PASSED] 256 [08:37:54] =================== [PASSED] test_reuse ==================== [08:37:54] =================== test_range_overlap ==================== [08:37:54] [PASSED] 4 [08:37:54] [PASSED] 8 [08:37:54] [PASSED] 32 [08:37:54] [PASSED] 256 [08:37:54] =============== [PASSED] test_range_overlap ================ [08:37:54] =================== test_range_compact ==================== [08:37:54] [PASSED] 4 [08:37:54] [PASSED] 8 [08:37:54] [PASSED] 32 [08:37:54] [PASSED] 256 [08:37:54] =============== [PASSED] test_range_compact ================ [08:37:54] ==================== test_range_spare ===================== [08:37:54] [PASSED] 4 [08:37:54] [PASSED] 8 [08:37:54] [PASSED] 32 [08:37:54] [PASSED] 256 [08:37:54] ================ [PASSED] test_range_spare ================= [08:37:54] ===================== [PASSED] guc_dbm ===================== [08:37:54] =================== guc_idm (6 subtests) =================== [08:37:54] [PASSED] bad_init [08:37:54] [PASSED] no_init [08:37:54] [PASSED] init_fini [08:37:54] [PASSED] check_used [08:37:54] [PASSED] check_quota [08:37:54] [PASSED] check_all [08:37:54] ===================== [PASSED] guc_idm ===================== [08:37:54] ================== no_relay (3 subtests) =================== [08:37:54] [PASSED] xe_drops_guc2pf_if_not_ready [08:37:54] [PASSED] xe_drops_guc2vf_if_not_ready [08:37:54] [PASSED] xe_rejects_send_if_not_ready [08:37:54] ==================== [PASSED] no_relay ===================== [08:37:54] ================== pf_relay (14 subtests) ================== [08:37:54] [PASSED] pf_rejects_guc2pf_too_short [08:37:54] [PASSED] pf_rejects_guc2pf_too_long [08:37:54] [PASSED] pf_rejects_guc2pf_no_payload [08:37:54] [PASSED] pf_fails_no_payload [08:37:54] [PASSED] pf_fails_bad_origin [08:37:54] [PASSED] pf_fails_bad_type [08:37:54] [PASSED] pf_txn_reports_error [08:37:54] [PASSED] pf_txn_sends_pf2guc [08:37:54] [PASSED] pf_sends_pf2guc [08:37:54] [SKIPPED] pf_loopback_nop [08:37:54] [SKIPPED] pf_loopback_echo [08:37:54] [SKIPPED] pf_loopback_fail [08:37:54] [SKIPPED] pf_loopback_busy [08:37:54] [SKIPPED] pf_loopback_retry [08:37:54] ==================== [PASSED] pf_relay ===================== [08:37:54] ================== vf_relay (3 subtests) =================== [08:37:54] [PASSED] vf_rejects_guc2vf_too_short [08:37:54] [PASSED] vf_rejects_guc2vf_too_long [08:37:54] [PASSED] vf_rejects_guc2vf_no_payload [08:37:54] ==================== [PASSED] vf_relay ===================== [08:37:54] ===================== lmtt (1 subtest) ===================== [08:37:54] ======================== test_ops ========================= [08:37:54] [PASSED] 2-level [08:37:54] [PASSED] multi-level [08:37:54] ==================== [PASSED] test_ops ===================== [08:37:54] ====================== [PASSED] lmtt ======================= [08:37:54] ================= pf_service (11 subtests) ================= [08:37:54] [PASSED] pf_negotiate_any [08:37:54] [PASSED] pf_negotiate_base_match [08:37:54] [PASSED] pf_negotiate_base_newer [08:37:54] [PASSED] pf_negotiate_base_next [08:37:54] [SKIPPED] pf_negotiate_base_older [08:37:54] [PASSED] pf_negotiate_base_prev [08:37:54] [PASSED] pf_negotiate_latest_match [08:37:54] [PASSED] pf_negotiate_latest_newer [08:37:54] [PASSED] pf_negotiate_latest_next [08:37:54] [SKIPPED] pf_negotiate_latest_older [08:37:54] [SKIPPED] pf_negotiate_latest_prev [08:37:54] =================== [PASSED] pf_service ==================== [08:37:54] =================== xe_mocs (2 subtests) =================== [08:37:54] ================ xe_live_mocs_kernel_kunit ================ [08:37:54] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [08:37:54] ================ xe_live_mocs_reset_kunit ================= [08:37:54] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [08:37:54] ==================== [SKIPPED] xe_mocs ===================== [08:37:54] ================= xe_migrate (2 subtests) ================== [08:37:54] ================= xe_migrate_sanity_kunit ================= [08:37:54] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [08:37:54] ================== xe_validate_ccs_kunit ================== [08:37:54] ============= [SKIPPED] xe_validate_ccs_kunit ============== [08:37:54] =================== [SKIPPED] xe_migrate =================== [08:37:54] ================== xe_dma_buf (1 subtest) ================== [08:37:54] ==================== xe_dma_buf_kunit ===================== [08:37:54] ================ [SKIPPED] xe_dma_buf_kunit ================ [08:37:54] =================== [SKIPPED] xe_dma_buf =================== [08:37:54] ================= xe_bo_shrink (1 subtest) ================= [08:37:54] =================== xe_bo_shrink_kunit ==================== [08:37:54] =============== [SKIPPED] xe_bo_shrink_kunit =============== [08:37:54] ================== [SKIPPED] xe_bo_shrink ================== [08:37:54] ==================== xe_bo (2 subtests) ==================== [08:37:54] ================== xe_ccs_migrate_kunit =================== [08:37:54] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [08:37:54] ==================== xe_bo_evict_kunit ==================== [08:37:54] =============== [SKIPPED] xe_bo_evict_kunit ================ [08:37:54] ===================== [SKIPPED] xe_bo ====================== [08:37:54] ==================== args (11 subtests) ==================== [08:37:54] [PASSED] count_args_test [08:37:54] [PASSED] call_args_example [08:37:54] [PASSED] call_args_test [08:37:54] [PASSED] drop_first_arg_example [08:37:54] [PASSED] drop_first_arg_test [08:37:54] [PASSED] first_arg_example [08:37:54] [PASSED] first_arg_test [08:37:54] [PASSED] last_arg_example [08:37:55] [PASSED] last_arg_test [08:37:55] [PASSED] pick_arg_example [08:37:55] [PASSED] sep_comma_example [08:37:55] ====================== [PASSED] args ======================= [08:37:55] =================== xe_pci (3 subtests) ==================== [08:37:55] ==================== check_graphics_ip ==================== [08:37:55] [PASSED] 12.70 Xe_LPG [08:37:55] [PASSED] 12.71 Xe_LPG [08:37:55] [PASSED] 12.74 Xe_LPG+ [08:37:55] [PASSED] 20.01 Xe2_HPG [08:37:55] [PASSED] 20.02 Xe2_HPG [08:37:55] [PASSED] 20.04 Xe2_LPG [08:37:55] [PASSED] 30.00 Xe3_LPG [08:37:55] [PASSED] 30.01 Xe3_LPG [08:37:55] [PASSED] 30.03 Xe3_LPG [08:37:55] ================ [PASSED] check_graphics_ip ================ [08:37:55] ===================== check_media_ip ====================== [08:37:55] [PASSED] 13.00 Xe_LPM+ [08:37:55] [PASSED] 13.01 Xe2_HPM [08:37:55] [PASSED] 20.00 Xe2_LPM [08:37:55] [PASSED] 30.00 Xe3_LPM [08:37:55] [PASSED] 30.02 Xe3_LPM [08:37:55] ================= [PASSED] check_media_ip ================== [08:37:55] ================= check_platform_gt_count ================= [08:37:55] [PASSED] 0x9A60 (TIGERLAKE) [08:37:55] [PASSED] 0x9A68 (TIGERLAKE) [08:37:55] [PASSED] 0x9A70 (TIGERLAKE) [08:37:55] [PASSED] 0x9A40 (TIGERLAKE) [08:37:55] [PASSED] 0x9A49 (TIGERLAKE) [08:37:55] [PASSED] 0x9A59 (TIGERLAKE) [08:37:55] [PASSED] 0x9A78 (TIGERLAKE) [08:37:55] [PASSED] 0x9AC0 (TIGERLAKE) [08:37:55] [PASSED] 0x9AC9 (TIGERLAKE) [08:37:55] [PASSED] 0x9AD9 (TIGERLAKE) [08:37:55] [PASSED] 0x9AF8 (TIGERLAKE) [08:37:55] [PASSED] 0x4C80 (ROCKETLAKE) [08:37:55] [PASSED] 0x4C8A (ROCKETLAKE) [08:37:55] [PASSED] 0x4C8B (ROCKETLAKE) [08:37:55] [PASSED] 0x4C8C (ROCKETLAKE) [08:37:55] [PASSED] 0x4C90 (ROCKETLAKE) [08:37:55] [PASSED] 0x4C9A (ROCKETLAKE) [08:37:55] [PASSED] 0x4680 (ALDERLAKE_S) [08:37:55] [PASSED] 0x4682 (ALDERLAKE_S) [08:37:55] [PASSED] 0x4688 (ALDERLAKE_S) [08:37:55] [PASSED] 0x468A (ALDERLAKE_S) [08:37:55] [PASSED] 0x468B (ALDERLAKE_S) [08:37:55] [PASSED] 0x4690 (ALDERLAKE_S) [08:37:55] [PASSED] 0x4692 (ALDERLAKE_S) [08:37:55] [PASSED] 0x4693 (ALDERLAKE_S) [08:37:55] [PASSED] 0x46A0 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46A1 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46A2 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46A3 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46A6 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46A8 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46AA (ALDERLAKE_P) [08:37:55] [PASSED] 0x462A (ALDERLAKE_P) [08:37:55] [PASSED] 0x4626 (ALDERLAKE_P) [08:37:55] [PASSED] 0x4628 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46B0 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46B1 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46B2 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46B3 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46C0 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46C1 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46C2 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46C3 (ALDERLAKE_P) [08:37:55] [PASSED] 0x46D0 (ALDERLAKE_N) [08:37:55] [PASSED] 0x46D1 (ALDERLAKE_N) [08:37:55] [PASSED] 0x46D2 (ALDERLAKE_N) [08:37:55] [PASSED] 0x46D3 (ALDERLAKE_N) [08:37:55] [PASSED] 0x46D4 (ALDERLAKE_N) [08:37:55] [PASSED] 0xA721 (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7A1 (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7A9 (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7AC (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7AD (ALDERLAKE_P) [08:37:55] [PASSED] 0xA720 (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7A0 (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7A8 (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7AA (ALDERLAKE_P) [08:37:55] [PASSED] 0xA7AB (ALDERLAKE_P) [08:37:55] [PASSED] 0xA780 (ALDERLAKE_S) [08:37:55] [PASSED] 0xA781 (ALDERLAKE_S) [08:37:55] [PASSED] 0xA782 (ALDERLAKE_S) [08:37:55] [PASSED] 0xA783 (ALDERLAKE_S) [08:37:55] [PASSED] 0xA788 (ALDERLAKE_S) [08:37:55] [PASSED] 0xA789 (ALDERLAKE_S) [08:37:55] [PASSED] 0xA78A (ALDERLAKE_S) [08:37:55] [PASSED] 0xA78B (ALDERLAKE_S) [08:37:55] [PASSED] 0x4905 (DG1) [08:37:55] [PASSED] 0x4906 (DG1) [08:37:55] [PASSED] 0x4907 (DG1) [08:37:55] [PASSED] 0x4908 (DG1) [08:37:55] [PASSED] 0x4909 (DG1) [08:37:55] [PASSED] 0x56C0 (DG2) [08:37:55] [PASSED] 0x56C2 (DG2) [08:37:55] [PASSED] 0x56C1 (DG2) [08:37:55] [PASSED] 0x7D51 (METEORLAKE) [08:37:55] [PASSED] 0x7DD1 (METEORLAKE) [08:37:55] [PASSED] 0x7D41 (METEORLAKE) [08:37:55] [PASSED] 0x7D67 (METEORLAKE) [08:37:55] [PASSED] 0xB640 (METEORLAKE) [08:37:55] [PASSED] 0x56A0 (DG2) [08:37:55] [PASSED] 0x56A1 (DG2) [08:37:55] [PASSED] 0x56A2 (DG2) [08:37:55] [PASSED] 0x56BE (DG2) [08:37:55] [PASSED] 0x56BF (DG2) [08:37:55] [PASSED] 0x5690 (DG2) [08:37:55] [PASSED] 0x5691 (DG2) [08:37:55] [PASSED] 0x5692 (DG2) [08:37:55] [PASSED] 0x56A5 (DG2) [08:37:55] [PASSED] 0x56A6 (DG2) [08:37:55] [PASSED] 0x56B0 (DG2) [08:37:55] [PASSED] 0x56B1 (DG2) [08:37:55] [PASSED] 0x56BA (DG2) [08:37:55] [PASSED] 0x56BB (DG2) [08:37:55] [PASSED] 0x56BC (DG2) [08:37:55] [PASSED] 0x56BD (DG2) [08:37:55] [PASSED] 0x5693 (DG2) [08:37:55] [PASSED] 0x5694 (DG2) [08:37:55] [PASSED] 0x5695 (DG2) [08:37:55] [PASSED] 0x56A3 (DG2) [08:37:55] [PASSED] 0x56A4 (DG2) [08:37:55] [PASSED] 0x56B2 (DG2) [08:37:55] [PASSED] 0x56B3 (DG2) [08:37:55] [PASSED] 0x5696 (DG2) [08:37:55] [PASSED] 0x5697 (DG2) [08:37:55] [PASSED] 0xB69 (PVC) [08:37:55] [PASSED] 0xB6E (PVC) [08:37:55] [PASSED] 0xBD4 (PVC) [08:37:55] [PASSED] 0xBD5 (PVC) [08:37:55] [PASSED] 0xBD6 (PVC) [08:37:55] [PASSED] 0xBD7 (PVC) [08:37:55] [PASSED] 0xBD8 (PVC) [08:37:55] [PASSED] 0xBD9 (PVC) [08:37:55] [PASSED] 0xBDA (PVC) [08:37:55] [PASSED] 0xBDB (PVC) [08:37:55] [PASSED] 0xBE0 (PVC) [08:37:55] [PASSED] 0xBE1 (PVC) [08:37:55] [PASSED] 0xBE5 (PVC) [08:37:55] [PASSED] 0x7D40 (METEORLAKE) [08:37:55] [PASSED] 0x7D45 (METEORLAKE) [08:37:55] [PASSED] 0x7D55 (METEORLAKE) [08:37:55] [PASSED] 0x7D60 (METEORLAKE) [08:37:55] [PASSED] 0x7DD5 (METEORLAKE) [08:37:55] [PASSED] 0x6420 (LUNARLAKE) [08:37:55] [PASSED] 0x64A0 (LUNARLAKE) [08:37:55] [PASSED] 0x64B0 (LUNARLAKE) [08:37:55] [PASSED] 0xE202 (BATTLEMAGE) [08:37:55] [PASSED] 0xE209 (BATTLEMAGE) [08:37:55] [PASSED] 0xE20B (BATTLEMAGE) [08:37:55] [PASSED] 0xE20C (BATTLEMAGE) [08:37:55] [PASSED] 0xE20D (BATTLEMAGE) [08:37:55] [PASSED] 0xE210 (BATTLEMAGE) [08:37:55] [PASSED] 0xE211 (BATTLEMAGE) [08:37:55] [PASSED] 0xE212 (BATTLEMAGE) [08:37:55] [PASSED] 0xE216 (BATTLEMAGE) [08:37:55] [PASSED] 0xE220 (BATTLEMAGE) [08:37:55] [PASSED] 0xE221 (BATTLEMAGE) [08:37:55] [PASSED] 0xE222 (BATTLEMAGE) [08:37:55] [PASSED] 0xE223 (BATTLEMAGE) [08:37:55] [PASSED] 0xB080 (PANTHERLAKE) [08:37:55] [PASSED] 0xB081 (PANTHERLAKE) [08:37:55] [PASSED] 0xB082 (PANTHERLAKE) [08:37:55] [PASSED] 0xB083 (PANTHERLAKE) [08:37:55] [PASSED] 0xB084 (PANTHERLAKE) [08:37:55] [PASSED] 0xB085 (PANTHERLAKE) [08:37:55] [PASSED] 0xB086 (PANTHERLAKE) [08:37:55] [PASSED] 0xB087 (PANTHERLAKE) [08:37:55] [PASSED] 0xB08F (PANTHERLAKE) [08:37:55] [PASSED] 0xB090 (PANTHERLAKE) [08:37:55] [PASSED] 0xB0A0 (PANTHERLAKE) [08:37:55] [PASSED] 0xB0B0 (PANTHERLAKE) [08:37:55] [PASSED] 0xFD80 (PANTHERLAKE) [08:37:55] [PASSED] 0xFD81 (PANTHERLAKE) [08:37:55] ============= [PASSED] check_platform_gt_count ============= [08:37:55] ===================== [PASSED] xe_pci ====================== [08:37:55] =================== xe_rtp (2 subtests) ==================== [08:37:55] =============== xe_rtp_process_to_sr_tests ================ [08:37:55] [PASSED] coalesce-same-reg [08:37:55] [PASSED] no-match-no-add [08:37:55] [PASSED] match-or [08:37:55] [PASSED] match-or-xfail [08:37:55] [PASSED] no-match-no-add-multiple-rules [08:37:55] [PASSED] two-regs-two-entries [08:37:55] [PASSED] clr-one-set-other [08:37:55] [PASSED] set-field [08:37:55] [PASSED] conflict-duplicate [08:37:55] [PASSED] conflict-not-disjoint [08:37:55] [PASSED] conflict-reg-type [08:37:55] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [08:37:55] ================== xe_rtp_process_tests =================== [08:37:55] [PASSED] active1 [08:37:55] [PASSED] active2 [08:37:55] [PASSED] active-inactive [08:37:55] [PASSED] inactive-active [08:37:55] [PASSED] inactive-1st_or_active-inactive [08:37:55] [PASSED] inactive-2nd_or_active-inactive [08:37:55] [PASSED] inactive-last_or_active-inactive [08:37:55] [PASSED] inactive-no_or_active-inactive [08:37:55] ============== [PASSED] xe_rtp_process_tests =============== [08:37:55] ===================== [PASSED] xe_rtp ====================== [08:37:55] ==================== xe_wa (1 subtest) ===================== [08:37:55] ======================== xe_wa_gt ========================= [08:37:55] [PASSED] TIGERLAKE (B0) [08:37:55] [PASSED] DG1 (A0) [08:37:55] [PASSED] DG1 (B0) [08:37:55] [PASSED] ALDERLAKE_S (A0) [08:37:55] [PASSED] ALDERLAKE_S (B0) [08:37:55] [PASSED] ALDERLAKE_S (C0) [08:37:55] [PASSED] ALDERLAKE_S (D0) [08:37:55] [PASSED] ALDERLAKE_P (A0) [08:37:55] [PASSED] ALDERLAKE_P (B0) [08:37:55] [PASSED] ALDERLAKE_P (C0) [08:37:55] [PASSED] ALDERLAKE_S_RPLS (D0) [08:37:55] [PASSED] ALDERLAKE_P_RPLU (E0) [08:37:55] [PASSED] DG2_G10 (C0) [08:37:55] [PASSED] DG2_G11 (B1) [08:37:55] [PASSED] DG2_G12 (A1) [08:37:55] [PASSED] METEORLAKE (g:A0, m:A0) [08:37:55] [PASSED] METEORLAKE (g:A0, m:A0) [08:37:55] [PASSED] METEORLAKE (g:A0, m:A0) [08:37:55] [PASSED] LUNARLAKE (g:A0, m:A0) [08:37:55] [PASSED] LUNARLAKE (g:B0, m:A0) stty: 'standard input': Inappropriate ioctl for device [08:37:55] [PASSED] BATTLEMAGE (g:A0, m:A1) [08:37:55] ==================== [PASSED] xe_wa_gt ===================== [08:37:55] ====================== [PASSED] xe_wa ====================== [08:37:55] ============================================================ [08:37:55] Testing complete. Ran 297 tests: passed: 281, skipped: 16 [08:37:55] Elapsed time: 39.450s total, 4.245s configuring, 34.838s building, 0.331s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [08:37:55] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [08:37:56] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=25 [08:38:24] Starting KUnit Kernel (1/1)... [08:38:24] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [08:38:24] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [08:38:24] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [08:38:24] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [08:38:24] =========== drm_validate_clone_mode (2 subtests) =========== [08:38:24] ============== drm_test_check_in_clone_mode =============== [08:38:24] [PASSED] in_clone_mode [08:38:24] [PASSED] not_in_clone_mode [08:38:24] ========== [PASSED] drm_test_check_in_clone_mode =========== [08:38:24] =============== drm_test_check_valid_clones =============== [08:38:24] [PASSED] not_in_clone_mode [08:38:24] [PASSED] valid_clone [08:38:24] [PASSED] invalid_clone [08:38:24] =========== [PASSED] drm_test_check_valid_clones =========== [08:38:24] ============= [PASSED] drm_validate_clone_mode ============= [08:38:24] ============= drm_validate_modeset (1 subtest) ============= [08:38:24] [PASSED] drm_test_check_connector_changed_modeset [08:38:24] ============== [PASSED] drm_validate_modeset =============== [08:38:24] ====== drm_test_bridge_get_current_state (2 subtests) ====== [08:38:24] [PASSED] drm_test_drm_bridge_get_current_state_atomic [08:38:24] [PASSED] drm_test_drm_bridge_get_current_state_legacy [08:38:24] ======== [PASSED] drm_test_bridge_get_current_state ======== [08:38:24] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [08:38:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [08:38:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [08:38:24] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [08:38:24] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [08:38:24] ============== drm_bridge_alloc (2 subtests) =============== [08:38:24] [PASSED] drm_test_drm_bridge_alloc_basic [08:38:24] [PASSED] drm_test_drm_bridge_alloc_get_put [08:38:24] ================ [PASSED] drm_bridge_alloc ================= [08:38:24] ================== drm_buddy (7 subtests) ================== [08:38:24] [PASSED] drm_test_buddy_alloc_limit [08:38:24] [PASSED] drm_test_buddy_alloc_optimistic [08:38:24] [PASSED] drm_test_buddy_alloc_pessimistic [08:38:24] [PASSED] drm_test_buddy_alloc_pathological [08:38:24] [PASSED] drm_test_buddy_alloc_contiguous [08:38:24] [PASSED] drm_test_buddy_alloc_clear [08:38:24] [PASSED] drm_test_buddy_alloc_range_bias [08:38:24] ==================== [PASSED] drm_buddy ==================== [08:38:24] ============= drm_cmdline_parser (40 subtests) ============= [08:38:24] [PASSED] drm_test_cmdline_force_d_only [08:38:24] [PASSED] drm_test_cmdline_force_D_only_dvi [08:38:24] [PASSED] drm_test_cmdline_force_D_only_hdmi [08:38:24] [PASSED] drm_test_cmdline_force_D_only_not_digital [08:38:24] [PASSED] drm_test_cmdline_force_e_only [08:38:24] [PASSED] drm_test_cmdline_res [08:38:24] [PASSED] drm_test_cmdline_res_vesa [08:38:24] [PASSED] drm_test_cmdline_res_vesa_rblank [08:38:24] [PASSED] drm_test_cmdline_res_rblank [08:38:24] [PASSED] drm_test_cmdline_res_bpp [08:38:24] [PASSED] drm_test_cmdline_res_refresh [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [08:38:24] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [08:38:24] [PASSED] drm_test_cmdline_res_margins_force_on [08:38:24] [PASSED] drm_test_cmdline_res_vesa_margins [08:38:24] [PASSED] drm_test_cmdline_name [08:38:24] [PASSED] drm_test_cmdline_name_bpp [08:38:24] [PASSED] drm_test_cmdline_name_option [08:38:24] [PASSED] drm_test_cmdline_name_bpp_option [08:38:24] [PASSED] drm_test_cmdline_rotate_0 [08:38:24] [PASSED] drm_test_cmdline_rotate_90 [08:38:24] [PASSED] drm_test_cmdline_rotate_180 [08:38:24] [PASSED] drm_test_cmdline_rotate_270 [08:38:24] [PASSED] drm_test_cmdline_hmirror [08:38:24] [PASSED] drm_test_cmdline_vmirror [08:38:24] [PASSED] drm_test_cmdline_margin_options [08:38:24] [PASSED] drm_test_cmdline_multiple_options [08:38:24] [PASSED] drm_test_cmdline_bpp_extra_and_option [08:38:24] [PASSED] drm_test_cmdline_extra_and_option [08:38:24] [PASSED] drm_test_cmdline_freestanding_options [08:38:24] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [08:38:24] [PASSED] drm_test_cmdline_panel_orientation [08:38:24] ================ drm_test_cmdline_invalid ================= [08:38:24] [PASSED] margin_only [08:38:24] [PASSED] interlace_only [08:38:24] [PASSED] res_missing_x [08:38:24] [PASSED] res_missing_y [08:38:24] [PASSED] res_bad_y [08:38:24] [PASSED] res_missing_y_bpp [08:38:24] [PASSED] res_bad_bpp [08:38:24] [PASSED] res_bad_refresh [08:38:24] [PASSED] res_bpp_refresh_force_on_off [08:38:24] [PASSED] res_invalid_mode [08:38:24] [PASSED] res_bpp_wrong_place_mode [08:38:24] [PASSED] name_bpp_refresh [08:38:24] [PASSED] name_refresh [08:38:24] [PASSED] name_refresh_wrong_mode [08:38:24] [PASSED] name_refresh_invalid_mode [08:38:24] [PASSED] rotate_multiple [08:38:24] [PASSED] rotate_invalid_val [08:38:24] [PASSED] rotate_truncated [08:38:24] [PASSED] invalid_option [08:38:24] [PASSED] invalid_tv_option [08:38:24] [PASSED] truncated_tv_option [08:38:24] ============ [PASSED] drm_test_cmdline_invalid ============= [08:38:24] =============== drm_test_cmdline_tv_options =============== [08:38:24] [PASSED] NTSC [08:38:24] [PASSED] NTSC_443 [08:38:24] [PASSED] NTSC_J [08:38:24] [PASSED] PAL [08:38:24] [PASSED] PAL_M [08:38:24] [PASSED] PAL_N [08:38:24] [PASSED] SECAM [08:38:24] [PASSED] MONO_525 [08:38:24] [PASSED] MONO_625 [08:38:24] =========== [PASSED] drm_test_cmdline_tv_options =========== [08:38:24] =============== [PASSED] drm_cmdline_parser ================ [08:38:24] ========== drmm_connector_hdmi_init (20 subtests) ========== [08:38:24] [PASSED] drm_test_connector_hdmi_init_valid [08:38:24] [PASSED] drm_test_connector_hdmi_init_bpc_8 [08:38:24] [PASSED] drm_test_connector_hdmi_init_bpc_10 [08:38:24] [PASSED] drm_test_connector_hdmi_init_bpc_12 [08:38:24] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [08:38:24] [PASSED] drm_test_connector_hdmi_init_bpc_null [08:38:24] [PASSED] drm_test_connector_hdmi_init_formats_empty [08:38:24] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [08:38:24] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [08:38:24] [PASSED] supported_formats=0x9 yuv420_allowed=1 [08:38:24] [PASSED] supported_formats=0x9 yuv420_allowed=0 [08:38:24] [PASSED] supported_formats=0x3 yuv420_allowed=1 [08:38:24] [PASSED] supported_formats=0x3 yuv420_allowed=0 [08:38:24] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [08:38:24] [PASSED] drm_test_connector_hdmi_init_null_ddc [08:38:24] [PASSED] drm_test_connector_hdmi_init_null_product [08:38:24] [PASSED] drm_test_connector_hdmi_init_null_vendor [08:38:24] [PASSED] drm_test_connector_hdmi_init_product_length_exact [08:38:24] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [08:38:24] [PASSED] drm_test_connector_hdmi_init_product_valid [08:38:24] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [08:38:24] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [08:38:24] [PASSED] drm_test_connector_hdmi_init_vendor_valid [08:38:24] ========= drm_test_connector_hdmi_init_type_valid ========= [08:38:24] [PASSED] HDMI-A [08:38:24] [PASSED] HDMI-B [08:38:24] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [08:38:24] ======== drm_test_connector_hdmi_init_type_invalid ======== [08:38:24] [PASSED] Unknown [08:38:24] [PASSED] VGA [08:38:24] [PASSED] DVI-I [08:38:24] [PASSED] DVI-D [08:38:24] [PASSED] DVI-A [08:38:24] [PASSED] Composite [08:38:24] [PASSED] SVIDEO [08:38:24] [PASSED] LVDS [08:38:24] [PASSED] Component [08:38:24] [PASSED] DIN [08:38:24] [PASSED] DP [08:38:24] [PASSED] TV [08:38:24] [PASSED] eDP [08:38:24] [PASSED] Virtual [08:38:24] [PASSED] DSI [08:38:24] [PASSED] DPI [08:38:24] [PASSED] Writeback [08:38:24] [PASSED] SPI [08:38:24] [PASSED] USB [08:38:24] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [08:38:24] ============ [PASSED] drmm_connector_hdmi_init ============= [08:38:24] ============= drmm_connector_init (3 subtests) ============= [08:38:24] [PASSED] drm_test_drmm_connector_init [08:38:24] [PASSED] drm_test_drmm_connector_init_null_ddc [08:38:24] ========= drm_test_drmm_connector_init_type_valid ========= [08:38:24] [PASSED] Unknown [08:38:24] [PASSED] VGA [08:38:24] [PASSED] DVI-I [08:38:24] [PASSED] DVI-D [08:38:24] [PASSED] DVI-A [08:38:24] [PASSED] Composite [08:38:24] [PASSED] SVIDEO [08:38:24] [PASSED] LVDS [08:38:24] [PASSED] Component [08:38:24] [PASSED] DIN [08:38:24] [PASSED] DP [08:38:24] [PASSED] HDMI-A [08:38:24] [PASSED] HDMI-B [08:38:24] [PASSED] TV [08:38:24] [PASSED] eDP [08:38:24] [PASSED] Virtual [08:38:24] [PASSED] DSI [08:38:24] [PASSED] DPI [08:38:24] [PASSED] Writeback [08:38:24] [PASSED] SPI [08:38:24] [PASSED] USB [08:38:24] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [08:38:24] =============== [PASSED] drmm_connector_init =============== [08:38:24] ========= drm_connector_dynamic_init (6 subtests) ========== [08:38:24] [PASSED] drm_test_drm_connector_dynamic_init [08:38:24] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [08:38:24] [PASSED] drm_test_drm_connector_dynamic_init_not_added [08:38:24] [PASSED] drm_test_drm_connector_dynamic_init_properties [08:38:24] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [08:38:24] [PASSED] Unknown [08:38:24] [PASSED] VGA [08:38:24] [PASSED] DVI-I [08:38:24] [PASSED] DVI-D [08:38:24] [PASSED] DVI-A [08:38:24] [PASSED] Composite [08:38:24] [PASSED] SVIDEO [08:38:24] [PASSED] LVDS [08:38:24] [PASSED] Component [08:38:24] [PASSED] DIN [08:38:24] [PASSED] DP [08:38:24] [PASSED] HDMI-A [08:38:24] [PASSED] HDMI-B [08:38:24] [PASSED] TV [08:38:24] [PASSED] eDP [08:38:24] [PASSED] Virtual [08:38:24] [PASSED] DSI [08:38:24] [PASSED] DPI [08:38:24] [PASSED] Writeback [08:38:24] [PASSED] SPI [08:38:24] [PASSED] USB [08:38:24] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [08:38:24] ======== drm_test_drm_connector_dynamic_init_name ========= [08:38:24] [PASSED] Unknown [08:38:24] [PASSED] VGA [08:38:24] [PASSED] DVI-I [08:38:24] [PASSED] DVI-D [08:38:24] [PASSED] DVI-A [08:38:24] [PASSED] Composite [08:38:24] [PASSED] SVIDEO [08:38:24] [PASSED] LVDS [08:38:24] [PASSED] Component [08:38:24] [PASSED] DIN [08:38:24] [PASSED] DP [08:38:24] [PASSED] HDMI-A [08:38:24] [PASSED] HDMI-B [08:38:24] [PASSED] TV [08:38:24] [PASSED] eDP [08:38:24] [PASSED] Virtual [08:38:24] [PASSED] DSI [08:38:24] [PASSED] DPI [08:38:24] [PASSED] Writeback [08:38:24] [PASSED] SPI [08:38:24] [PASSED] USB [08:38:24] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [08:38:24] =========== [PASSED] drm_connector_dynamic_init ============ [08:38:24] ==== drm_connector_dynamic_register_early (4 subtests) ===== [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [08:38:24] ====== [PASSED] drm_connector_dynamic_register_early ======= [08:38:24] ======= drm_connector_dynamic_register (7 subtests) ======== [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_on_list [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_no_init [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [08:38:24] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [08:38:24] ========= [PASSED] drm_connector_dynamic_register ========== [08:38:24] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [08:38:24] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [08:38:24] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [08:38:24] === [PASSED] drm_connector_attach_broadcast_rgb_property === [08:38:24] ========== drm_get_tv_mode_from_name (2 subtests) ========== [08:38:24] ========== drm_test_get_tv_mode_from_name_valid =========== [08:38:24] [PASSED] NTSC [08:38:24] [PASSED] NTSC-443 [08:38:24] [PASSED] NTSC-J [08:38:24] [PASSED] PAL [08:38:24] [PASSED] PAL-M [08:38:24] [PASSED] PAL-N [08:38:24] [PASSED] SECAM [08:38:24] [PASSED] Mono [08:38:24] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [08:38:24] [PASSED] drm_test_get_tv_mode_from_name_truncated [08:38:24] ============ [PASSED] drm_get_tv_mode_from_name ============ [08:38:24] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [08:38:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [08:38:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [08:38:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [08:38:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [08:38:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [08:38:24] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [08:38:24] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [08:38:24] [PASSED] VIC 96 [08:38:24] [PASSED] VIC 97 [08:38:24] [PASSED] VIC 101 [08:38:24] [PASSED] VIC 102 [08:38:24] [PASSED] VIC 106 [08:38:24] [PASSED] VIC 107 [08:38:24] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [08:38:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [08:38:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [08:38:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [08:38:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [08:38:24] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [08:38:24] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [08:38:24] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [08:38:24] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [08:38:24] [PASSED] Automatic [08:38:24] [PASSED] Full [08:38:24] [PASSED] Limited 16:235 [08:38:24] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [08:38:24] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [08:38:24] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [08:38:24] == drm_hdmi_connector_get_output_format_name (2 subtests) == [08:38:24] === drm_test_drm_hdmi_connector_get_output_format_name ==== [08:38:24] [PASSED] RGB [08:38:24] [PASSED] YUV 4:2:0 [08:38:24] [PASSED] YUV 4:2:2 [08:38:24] [PASSED] YUV 4:4:4 [08:38:24] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [08:38:24] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [08:38:24] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [08:38:24] ============= drm_damage_helper (21 subtests) ============== [08:38:24] [PASSED] drm_test_damage_iter_no_damage [08:38:24] [PASSED] drm_test_damage_iter_no_damage_fractional_src [08:38:24] [PASSED] drm_test_damage_iter_no_damage_src_moved [08:38:24] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [08:38:24] [PASSED] drm_test_damage_iter_no_damage_not_visible [08:38:24] [PASSED] drm_test_damage_iter_no_damage_no_crtc [08:38:24] [PASSED] drm_test_damage_iter_no_damage_no_fb [08:38:24] [PASSED] drm_test_damage_iter_simple_damage [08:38:24] [PASSED] drm_test_damage_iter_single_damage [08:38:24] [PASSED] drm_test_damage_iter_single_damage_intersect_src [08:38:24] [PASSED] drm_test_damage_iter_single_damage_outside_src [08:38:24] [PASSED] drm_test_damage_iter_single_damage_fractional_src [08:38:24] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [08:38:24] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [08:38:24] [PASSED] drm_test_damage_iter_single_damage_src_moved [08:38:24] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [08:38:24] [PASSED] drm_test_damage_iter_damage [08:38:24] [PASSED] drm_test_damage_iter_damage_one_intersect [08:38:24] [PASSED] drm_test_damage_iter_damage_one_outside [08:38:24] [PASSED] drm_test_damage_iter_damage_src_moved [08:38:24] [PASSED] drm_test_damage_iter_damage_not_visible [08:38:24] ================ [PASSED] drm_damage_helper ================ [08:38:24] ============== drm_dp_mst_helper (3 subtests) ============== [08:38:24] ============== drm_test_dp_mst_calc_pbn_mode ============== [08:38:24] [PASSED] Clock 154000 BPP 30 DSC disabled [08:38:24] [PASSED] Clock 234000 BPP 30 DSC disabled [08:38:24] [PASSED] Clock 297000 BPP 24 DSC disabled [08:38:24] [PASSED] Clock 332880 BPP 24 DSC enabled [08:38:24] [PASSED] Clock 324540 BPP 24 DSC enabled [08:38:24] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [08:38:24] ============== drm_test_dp_mst_calc_pbn_div =============== [08:38:24] [PASSED] Link rate 2000000 lane count 4 [08:38:24] [PASSED] Link rate 2000000 lane count 2 [08:38:24] [PASSED] Link rate 2000000 lane count 1 [08:38:24] [PASSED] Link rate 1350000 lane count 4 [08:38:24] [PASSED] Link rate 1350000 lane count 2 [08:38:24] [PASSED] Link rate 1350000 lane count 1 [08:38:24] [PASSED] Link rate 1000000 lane count 4 [08:38:24] [PASSED] Link rate 1000000 lane count 2 [08:38:24] [PASSED] Link rate 1000000 lane count 1 [08:38:24] [PASSED] Link rate 810000 lane count 4 [08:38:24] [PASSED] Link rate 810000 lane count 2 [08:38:24] [PASSED] Link rate 810000 lane count 1 [08:38:24] [PASSED] Link rate 540000 lane count 4 [08:38:24] [PASSED] Link rate 540000 lane count 2 [08:38:24] [PASSED] Link rate 540000 lane count 1 [08:38:24] [PASSED] Link rate 270000 lane count 4 [08:38:24] [PASSED] Link rate 270000 lane count 2 [08:38:24] [PASSED] Link rate 270000 lane count 1 [08:38:24] [PASSED] Link rate 162000 lane count 4 [08:38:24] [PASSED] Link rate 162000 lane count 2 [08:38:24] [PASSED] Link rate 162000 lane count 1 [08:38:24] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [08:38:24] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [08:38:24] [PASSED] DP_ENUM_PATH_RESOURCES with port number [08:38:24] [PASSED] DP_POWER_UP_PHY with port number [08:38:24] [PASSED] DP_POWER_DOWN_PHY with port number [08:38:24] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [08:38:24] [PASSED] DP_ALLOCATE_PAYLOAD with port number [08:38:24] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [08:38:24] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [08:38:24] [PASSED] DP_QUERY_PAYLOAD with port number [08:38:24] [PASSED] DP_QUERY_PAYLOAD with VCPI [08:38:24] [PASSED] DP_REMOTE_DPCD_READ with port number [08:38:24] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [08:38:24] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [08:38:24] [PASSED] DP_REMOTE_DPCD_WRITE with port number [08:38:24] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [08:38:24] [PASSED] DP_REMOTE_DPCD_WRITE with data array [08:38:24] [PASSED] DP_REMOTE_I2C_READ with port number [08:38:24] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [08:38:24] [PASSED] DP_REMOTE_I2C_READ with transactions array [08:38:24] [PASSED] DP_REMOTE_I2C_WRITE with port number [08:38:24] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [08:38:24] [PASSED] DP_REMOTE_I2C_WRITE with data array [08:38:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [08:38:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [08:38:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [08:38:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [08:38:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [08:38:24] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [08:38:24] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [08:38:24] ================ [PASSED] drm_dp_mst_helper ================ [08:38:24] ================== drm_exec (7 subtests) =================== [08:38:24] [PASSED] sanitycheck [08:38:24] [PASSED] test_lock [08:38:24] [PASSED] test_lock_unlock [08:38:24] [PASSED] test_duplicates [08:38:24] [PASSED] test_prepare [08:38:24] [PASSED] test_prepare_array [08:38:24] [PASSED] test_multiple_loops [08:38:24] ==================== [PASSED] drm_exec ===================== [08:38:24] =========== drm_format_helper_test (17 subtests) =========== [08:38:24] ============== drm_test_fb_xrgb8888_to_gray8 ============== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [08:38:24] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [08:38:24] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [08:38:24] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [08:38:24] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [08:38:24] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [08:38:24] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [08:38:24] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [08:38:24] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [08:38:24] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [08:38:24] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [08:38:24] ============== drm_test_fb_xrgb8888_to_mono =============== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [08:38:24] ==================== drm_test_fb_swab ===================== [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ================ [PASSED] drm_test_fb_swab ================= [08:38:24] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [08:38:24] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [08:38:24] [PASSED] single_pixel_source_buffer [08:38:24] [PASSED] single_pixel_clip_rectangle [08:38:24] [PASSED] well_known_colors [08:38:24] [PASSED] destination_pitch [08:38:24] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [08:38:24] ================= drm_test_fb_clip_offset ================= [08:38:24] [PASSED] pass through [08:38:24] [PASSED] horizontal offset [08:38:24] [PASSED] vertical offset [08:38:24] [PASSED] horizontal and vertical offset [08:38:24] [PASSED] horizontal offset (custom pitch) [08:38:24] [PASSED] vertical offset (custom pitch) [08:38:24] [PASSED] horizontal and vertical offset (custom pitch) [08:38:24] ============= [PASSED] drm_test_fb_clip_offset ============= [08:38:24] =================== drm_test_fb_memcpy ==================== [08:38:24] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [08:38:24] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [08:38:24] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [08:38:24] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [08:38:24] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [08:38:24] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [08:38:24] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [08:38:24] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [08:38:24] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [08:38:24] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [08:38:24] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [08:38:24] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [08:38:24] =============== [PASSED] drm_test_fb_memcpy ================ [08:38:24] ============= [PASSED] drm_format_helper_test ============== [08:38:24] ================= drm_format (18 subtests) ================= [08:38:24] [PASSED] drm_test_format_block_width_invalid [08:38:24] [PASSED] drm_test_format_block_width_one_plane [08:38:24] [PASSED] drm_test_format_block_width_two_plane [08:38:24] [PASSED] drm_test_format_block_width_three_plane [08:38:24] [PASSED] drm_test_format_block_width_tiled [08:38:24] [PASSED] drm_test_format_block_height_invalid [08:38:24] [PASSED] drm_test_format_block_height_one_plane [08:38:24] [PASSED] drm_test_format_block_height_two_plane [08:38:24] [PASSED] drm_test_format_block_height_three_plane [08:38:24] [PASSED] drm_test_format_block_height_tiled [08:38:24] [PASSED] drm_test_format_min_pitch_invalid [08:38:24] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [08:38:24] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [08:38:24] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [08:38:24] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [08:38:24] [PASSED] drm_test_format_min_pitch_two_plane [08:38:24] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [08:38:24] [PASSED] drm_test_format_min_pitch_tiled [08:38:24] =================== [PASSED] drm_format ==================== [08:38:24] ============== drm_framebuffer (10 subtests) =============== [08:38:24] ========== drm_test_framebuffer_check_src_coords ========== [08:38:24] [PASSED] Success: source fits into fb [08:38:24] [PASSED] Fail: overflowing fb with x-axis coordinate [08:38:24] [PASSED] Fail: overflowing fb with y-axis coordinate [08:38:24] [PASSED] Fail: overflowing fb with source width [08:38:24] [PASSED] Fail: overflowing fb with source height [08:38:24] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [08:38:24] [PASSED] drm_test_framebuffer_cleanup [08:38:24] =============== drm_test_framebuffer_create =============== [08:38:24] [PASSED] ABGR8888 normal sizes [08:38:24] [PASSED] ABGR8888 max sizes [08:38:24] [PASSED] ABGR8888 pitch greater than min required [08:38:24] [PASSED] ABGR8888 pitch less than min required [08:38:24] [PASSED] ABGR8888 Invalid width [08:38:24] [PASSED] ABGR8888 Invalid buffer handle [08:38:24] [PASSED] No pixel format [08:38:24] [PASSED] ABGR8888 Width 0 [08:38:24] [PASSED] ABGR8888 Height 0 [08:38:24] [PASSED] ABGR8888 Out of bound height * pitch combination [08:38:24] [PASSED] ABGR8888 Large buffer offset [08:38:24] [PASSED] ABGR8888 Buffer offset for inexistent plane [08:38:24] [PASSED] ABGR8888 Invalid flag [08:38:24] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [08:38:24] [PASSED] ABGR8888 Valid buffer modifier [08:38:24] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [08:38:24] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [08:38:24] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [08:38:24] [PASSED] NV12 Normal sizes [08:38:24] [PASSED] NV12 Max sizes [08:38:24] [PASSED] NV12 Invalid pitch [08:38:24] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [08:38:24] [PASSED] NV12 different modifier per-plane [08:38:24] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [08:38:24] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [08:38:24] [PASSED] NV12 Modifier for inexistent plane [08:38:24] [PASSED] NV12 Handle for inexistent plane [08:38:24] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [08:38:24] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [08:38:24] [PASSED] YVU420 Normal sizes [08:38:24] [PASSED] YVU420 Max sizes [08:38:24] [PASSED] YVU420 Invalid pitch [08:38:24] [PASSED] YVU420 Different pitches [08:38:24] [PASSED] YVU420 Different buffer offsets/pitches [08:38:24] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [08:38:24] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [08:38:24] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [08:38:24] [PASSED] YVU420 Valid modifier [08:38:24] [PASSED] YVU420 Different modifiers per plane [08:38:24] [PASSED] YVU420 Modifier for inexistent plane [08:38:24] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [08:38:24] [PASSED] X0L2 Normal sizes [08:38:24] [PASSED] X0L2 Max sizes [08:38:24] [PASSED] X0L2 Invalid pitch [08:38:24] [PASSED] X0L2 Pitch greater than minimum required [08:38:24] [PASSED] X0L2 Handle for inexistent plane [08:38:24] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [08:38:24] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [08:38:24] [PASSED] X0L2 Valid modifier [08:38:24] [PASSED] X0L2 Modifier for inexistent plane [08:38:24] =========== [PASSED] drm_test_framebuffer_create =========== [08:38:24] [PASSED] drm_test_framebuffer_free [08:38:24] [PASSED] drm_test_framebuffer_init [08:38:24] [PASSED] drm_test_framebuffer_init_bad_format [08:38:24] [PASSED] drm_test_framebuffer_init_dev_mismatch [08:38:24] [PASSED] drm_test_framebuffer_lookup [08:38:24] [PASSED] drm_test_framebuffer_lookup_inexistent [08:38:24] [PASSED] drm_test_framebuffer_modifiers_not_supported [08:38:24] ================= [PASSED] drm_framebuffer ================= [08:38:24] ================ drm_gem_shmem (8 subtests) ================ [08:38:24] [PASSED] drm_gem_shmem_test_obj_create [08:38:24] [PASSED] drm_gem_shmem_test_obj_create_private [08:38:24] [PASSED] drm_gem_shmem_test_pin_pages [08:38:24] [PASSED] drm_gem_shmem_test_vmap [08:38:24] [PASSED] drm_gem_shmem_test_get_pages_sgt [08:38:24] [PASSED] drm_gem_shmem_test_get_sg_table [08:38:24] [PASSED] drm_gem_shmem_test_madvise [08:38:24] [PASSED] drm_gem_shmem_test_purge [08:38:24] ================== [PASSED] drm_gem_shmem ================== [08:38:24] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [08:38:24] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [08:38:24] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [08:38:24] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [08:38:24] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [08:38:24] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [08:38:24] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [08:38:24] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [08:38:24] [PASSED] Automatic [08:38:24] [PASSED] Full [08:38:24] [PASSED] Limited 16:235 [08:38:24] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [08:38:24] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [08:38:24] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [08:38:24] [PASSED] drm_test_check_disable_connector [08:38:24] [PASSED] drm_test_check_hdmi_funcs_reject_rate [08:38:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [08:38:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [08:38:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [08:38:24] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [08:38:24] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [08:38:24] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [08:38:24] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [08:38:24] [PASSED] drm_test_check_output_bpc_dvi [08:38:24] [PASSED] drm_test_check_output_bpc_format_vic_1 [08:38:24] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [08:38:24] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [08:38:24] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [08:38:24] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [08:38:24] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [08:38:24] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [08:38:24] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [08:38:24] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [08:38:24] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [08:38:24] [PASSED] drm_test_check_broadcast_rgb_value [08:38:24] [PASSED] drm_test_check_bpc_8_value [08:38:24] [PASSED] drm_test_check_bpc_10_value [08:38:24] [PASSED] drm_test_check_bpc_12_value [08:38:24] [PASSED] drm_test_check_format_value [08:38:24] [PASSED] drm_test_check_tmds_char_value [08:38:24] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [08:38:24] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [08:38:24] [PASSED] drm_test_check_mode_valid [08:38:24] [PASSED] drm_test_check_mode_valid_reject [08:38:24] [PASSED] drm_test_check_mode_valid_reject_rate [08:38:24] [PASSED] drm_test_check_mode_valid_reject_max_clock [08:38:24] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [08:38:24] ================= drm_managed (2 subtests) ================= [08:38:24] [PASSED] drm_test_managed_release_action [08:38:24] [PASSED] drm_test_managed_run_action [08:38:24] =================== [PASSED] drm_managed =================== [08:38:24] =================== drm_mm (6 subtests) ==================== [08:38:24] [PASSED] drm_test_mm_init [08:38:24] [PASSED] drm_test_mm_debug [08:38:24] [PASSED] drm_test_mm_align32 [08:38:24] [PASSED] drm_test_mm_align64 [08:38:24] [PASSED] drm_test_mm_lowest [08:38:24] [PASSED] drm_test_mm_highest [08:38:24] ===================== [PASSED] drm_mm ====================== [08:38:24] ============= drm_modes_analog_tv (5 subtests) ============= [08:38:24] [PASSED] drm_test_modes_analog_tv_mono_576i [08:38:24] [PASSED] drm_test_modes_analog_tv_ntsc_480i [08:38:24] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [08:38:24] [PASSED] drm_test_modes_analog_tv_pal_576i [08:38:24] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [08:38:24] =============== [PASSED] drm_modes_analog_tv =============== [08:38:24] ============== drm_plane_helper (2 subtests) =============== [08:38:24] =============== drm_test_check_plane_state ================ [08:38:24] [PASSED] clipping_simple [08:38:24] [PASSED] clipping_rotate_reflect [08:38:24] [PASSED] positioning_simple [08:38:24] [PASSED] upscaling [08:38:24] [PASSED] downscaling [08:38:24] [PASSED] rounding1 [08:38:24] [PASSED] rounding2 [08:38:24] [PASSED] rounding3 [08:38:24] [PASSED] rounding4 [08:38:24] =========== [PASSED] drm_test_check_plane_state ============ [08:38:24] =========== drm_test_check_invalid_plane_state ============ [08:38:24] [PASSED] positioning_invalid [08:38:24] [PASSED] upscaling_invalid [08:38:24] [PASSED] downscaling_invalid [08:38:24] ======= [PASSED] drm_test_check_invalid_plane_state ======== [08:38:24] ================ [PASSED] drm_plane_helper ================= [08:38:24] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [08:38:24] ====== drm_test_connector_helper_tv_get_modes_check ======= [08:38:24] [PASSED] None [08:38:24] [PASSED] PAL [08:38:24] [PASSED] NTSC [08:38:24] [PASSED] Both, NTSC Default [08:38:24] [PASSED] Both, PAL Default [08:38:24] [PASSED] Both, NTSC Default, with PAL on command-line [08:38:24] [PASSED] Both, PAL Default, with NTSC on command-line [08:38:24] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [08:38:24] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [08:38:24] ================== drm_rect (9 subtests) =================== [08:38:24] [PASSED] drm_test_rect_clip_scaled_div_by_zero [08:38:24] [PASSED] drm_test_rect_clip_scaled_not_clipped [08:38:24] [PASSED] drm_test_rect_clip_scaled_clipped [08:38:24] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [08:38:24] ================= drm_test_rect_intersect ================= [08:38:24] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [08:38:24] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [08:38:24] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [08:38:24] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [08:38:24] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [08:38:24] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [08:38:24] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [08:38:24] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [08:38:24] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [08:38:24] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [08:38:24] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [08:38:24] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [08:38:24] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [08:38:24] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [08:38:24] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [08:38:24] ============= [PASSED] drm_test_rect_intersect ============= [08:38:24] ================ drm_test_rect_calc_hscale ================ [08:38:24] [PASSED] normal use [08:38:24] [PASSED] out of max range [08:38:24] [PASSED] out of min range [08:38:24] [PASSED] zero dst [08:38:24] [PASSED] negative src [08:38:24] [PASSED] negative dst [08:38:24] ============ [PASSED] drm_test_rect_calc_hscale ============ [08:38:24] ================ drm_test_rect_calc_vscale ================ [08:38:24] [PASSED] normal use [08:38:24] [PASSED] out of max range [08:38:24] [PASSED] out of min range [08:38:24] [PASSED] zero dst [08:38:24] [PASSED] negative src [08:38:24] [PASSED] negative dst [08:38:24] ============ [PASSED] drm_test_rect_calc_vscale ============ [08:38:24] ================== drm_test_rect_rotate =================== [08:38:24] [PASSED] reflect-x [08:38:24] [PASSED] reflect-y [08:38:24] [PASSED] rotate-0 [08:38:24] [PASSED] rotate-90 [08:38:24] [PASSED] rotate-180 [08:38:24] [PASSED] rotate-270 stty: 'standard input': Inappropriate ioctl for device [08:38:24] ============== [PASSED] drm_test_rect_rotate =============== [08:38:24] ================ drm_test_rect_rotate_inv ================= [08:38:24] [PASSED] reflect-x [08:38:24] [PASSED] reflect-y [08:38:24] [PASSED] rotate-0 [08:38:24] [PASSED] rotate-90 [08:38:24] [PASSED] rotate-180 [08:38:24] [PASSED] rotate-270 [08:38:24] ============ [PASSED] drm_test_rect_rotate_inv ============= [08:38:24] ==================== [PASSED] drm_rect ===================== [08:38:24] ============ drm_sysfb_modeset_test (1 subtest) ============ [08:38:24] ============ drm_test_sysfb_build_fourcc_list ============= [08:38:24] [PASSED] no native formats [08:38:24] [PASSED] XRGB8888 as native format [08:38:24] [PASSED] remove duplicates [08:38:24] [PASSED] convert alpha formats [08:38:24] [PASSED] random formats [08:38:24] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [08:38:24] ============= [PASSED] drm_sysfb_modeset_test ============== [08:38:24] ============================================================ [08:38:24] Testing complete. Ran 616 tests: passed: 616 [08:38:24] Elapsed time: 29.149s total, 1.655s configuring, 27.328s building, 0.143s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [08:38:24] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [08:38:26] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=25 [08:38:33] Starting KUnit Kernel (1/1)... [08:38:33] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [08:38:33] ================= ttm_device (5 subtests) ================== [08:38:33] [PASSED] ttm_device_init_basic [08:38:33] [PASSED] ttm_device_init_multiple [08:38:33] [PASSED] ttm_device_fini_basic [08:38:33] [PASSED] ttm_device_init_no_vma_man [08:38:33] ================== ttm_device_init_pools ================== [08:38:33] [PASSED] No DMA allocations, no DMA32 required [08:38:33] [PASSED] DMA allocations, DMA32 required [08:38:33] [PASSED] No DMA allocations, DMA32 required [08:38:33] [PASSED] DMA allocations, no DMA32 required [08:38:33] ============== [PASSED] ttm_device_init_pools ============== [08:38:33] =================== [PASSED] ttm_device ==================== [08:38:33] ================== ttm_pool (8 subtests) =================== [08:38:33] ================== ttm_pool_alloc_basic =================== [08:38:33] [PASSED] One page [08:38:33] [PASSED] More than one page [08:38:33] [PASSED] Above the allocation limit [08:38:33] [PASSED] One page, with coherent DMA mappings enabled [08:38:33] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [08:38:33] ============== [PASSED] ttm_pool_alloc_basic =============== [08:38:33] ============== ttm_pool_alloc_basic_dma_addr ============== [08:38:33] [PASSED] One page [08:38:34] [PASSED] More than one page [08:38:34] [PASSED] Above the allocation limit [08:38:34] [PASSED] One page, with coherent DMA mappings enabled [08:38:34] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [08:38:34] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [08:38:34] [PASSED] ttm_pool_alloc_order_caching_match [08:38:34] [PASSED] ttm_pool_alloc_caching_mismatch [08:38:34] [PASSED] ttm_pool_alloc_order_mismatch [08:38:34] [PASSED] ttm_pool_free_dma_alloc [08:38:34] [PASSED] ttm_pool_free_no_dma_alloc [08:38:34] [PASSED] ttm_pool_fini_basic [08:38:34] ==================== [PASSED] ttm_pool ===================== [08:38:34] ================ ttm_resource (8 subtests) ================= [08:38:34] ================= ttm_resource_init_basic ================= [08:38:34] [PASSED] Init resource in TTM_PL_SYSTEM [08:38:34] [PASSED] Init resource in TTM_PL_VRAM [08:38:34] [PASSED] Init resource in a private placement [08:38:34] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [08:38:34] ============= [PASSED] ttm_resource_init_basic ============= [08:38:34] [PASSED] ttm_resource_init_pinned [08:38:34] [PASSED] ttm_resource_fini_basic [08:38:34] [PASSED] ttm_resource_manager_init_basic [08:38:34] [PASSED] ttm_resource_manager_usage_basic [08:38:34] [PASSED] ttm_resource_manager_set_used_basic [08:38:34] [PASSED] ttm_sys_man_alloc_basic [08:38:34] [PASSED] ttm_sys_man_free_basic [08:38:34] ================== [PASSED] ttm_resource =================== [08:38:34] =================== ttm_tt (15 subtests) =================== [08:38:34] ==================== ttm_tt_init_basic ==================== [08:38:34] [PASSED] Page-aligned size [08:38:34] [PASSED] Extra pages requested [08:38:34] ================ [PASSED] ttm_tt_init_basic ================ [08:38:34] [PASSED] ttm_tt_init_misaligned [08:38:34] [PASSED] ttm_tt_fini_basic [08:38:34] [PASSED] ttm_tt_fini_sg [08:38:34] [PASSED] ttm_tt_fini_shmem [08:38:34] [PASSED] ttm_tt_create_basic [08:38:34] [PASSED] ttm_tt_create_invalid_bo_type [08:38:34] [PASSED] ttm_tt_create_ttm_exists [08:38:34] [PASSED] ttm_tt_create_failed [08:38:34] [PASSED] ttm_tt_destroy_basic [08:38:34] [PASSED] ttm_tt_populate_null_ttm [08:38:34] [PASSED] ttm_tt_populate_populated_ttm [08:38:34] [PASSED] ttm_tt_unpopulate_basic [08:38:34] [PASSED] ttm_tt_unpopulate_empty_ttm [08:38:34] [PASSED] ttm_tt_swapin_basic [08:38:34] ===================== [PASSED] ttm_tt ====================== [08:38:34] =================== ttm_bo (14 subtests) =================== [08:38:34] =========== ttm_bo_reserve_optimistic_no_ticket =========== [08:38:34] [PASSED] Cannot be interrupted and sleeps [08:38:34] [PASSED] Cannot be interrupted, locks straight away [08:38:34] [PASSED] Can be interrupted, sleeps [08:38:34] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [08:38:34] [PASSED] ttm_bo_reserve_locked_no_sleep [08:38:34] [PASSED] ttm_bo_reserve_no_wait_ticket [08:38:34] [PASSED] ttm_bo_reserve_double_resv [08:38:34] [PASSED] ttm_bo_reserve_interrupted [08:38:34] [PASSED] ttm_bo_reserve_deadlock [08:38:34] [PASSED] ttm_bo_unreserve_basic [08:38:34] [PASSED] ttm_bo_unreserve_pinned [08:38:34] [PASSED] ttm_bo_unreserve_bulk [08:38:34] [PASSED] ttm_bo_put_basic [08:38:34] [PASSED] ttm_bo_put_shared_resv [08:38:34] [PASSED] ttm_bo_pin_basic [08:38:34] [PASSED] ttm_bo_pin_unpin_resource [08:38:34] [PASSED] ttm_bo_multiple_pin_one_unpin [08:38:34] ===================== [PASSED] ttm_bo ====================== [08:38:34] ============== ttm_bo_validate (21 subtests) =============== [08:38:34] ============== ttm_bo_init_reserved_sys_man =============== [08:38:34] [PASSED] Buffer object for userspace [08:38:34] [PASSED] Kernel buffer object [08:38:34] [PASSED] Shared buffer object [08:38:34] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [08:38:34] ============== ttm_bo_init_reserved_mock_man ============== [08:38:34] [PASSED] Buffer object for userspace [08:38:34] [PASSED] Kernel buffer object [08:38:34] [PASSED] Shared buffer object [08:38:34] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [08:38:34] [PASSED] ttm_bo_init_reserved_resv [08:38:34] ================== ttm_bo_validate_basic ================== [08:38:34] [PASSED] Buffer object for userspace [08:38:34] [PASSED] Kernel buffer object [08:38:34] [PASSED] Shared buffer object [08:38:34] ============== [PASSED] ttm_bo_validate_basic ============== [08:38:34] [PASSED] ttm_bo_validate_invalid_placement [08:38:34] ============= ttm_bo_validate_same_placement ============== [08:38:34] [PASSED] System manager [08:38:34] [PASSED] VRAM manager [08:38:34] ========= [PASSED] ttm_bo_validate_same_placement ========== [08:38:34] [PASSED] ttm_bo_validate_failed_alloc [08:38:34] [PASSED] ttm_bo_validate_pinned [08:38:34] [PASSED] ttm_bo_validate_busy_placement [08:38:34] ================ ttm_bo_validate_multihop ================= [08:38:34] [PASSED] Buffer object for userspace [08:38:34] [PASSED] Kernel buffer object [08:38:34] [PASSED] Shared buffer object [08:38:34] ============ [PASSED] ttm_bo_validate_multihop ============= [08:38:34] ========== ttm_bo_validate_no_placement_signaled ========== [08:38:34] [PASSED] Buffer object in system domain, no page vector [08:38:34] [PASSED] Buffer object in system domain with an existing page vector [08:38:34] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [08:38:34] ======== ttm_bo_validate_no_placement_not_signaled ======== [08:38:34] [PASSED] Buffer object for userspace [08:38:34] [PASSED] Kernel buffer object [08:38:34] [PASSED] Shared buffer object [08:38:34] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [08:38:34] [PASSED] ttm_bo_validate_move_fence_signaled [08:38:34] ========= ttm_bo_validate_move_fence_not_signaled ========= [08:38:34] [PASSED] Waits for GPU [08:38:34] [PASSED] Tries to lock straight away [08:38:34] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [08:38:34] [PASSED] ttm_bo_validate_happy_evict [08:38:34] [PASSED] ttm_bo_validate_all_pinned_evict [08:38:34] [PASSED] ttm_bo_validate_allowed_only_evict [08:38:34] [PASSED] ttm_bo_validate_deleted_evict [08:38:34] [PASSED] ttm_bo_validate_busy_domain_evict [08:38:34] [PASSED] ttm_bo_validate_evict_gutting [08:38:34] [PASSED] ttm_bo_validate_recrusive_evict stty: 'standard input': Inappropriate ioctl for device [08:38:34] ================= [PASSED] ttm_bo_validate ================= [08:38:34] ============================================================ [08:38:34] Testing complete. Ran 101 tests: passed: 101 [08:38:34] Elapsed time: 9.709s total, 1.617s configuring, 7.826s building, 0.230s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✗ CI.checksparse: warning for drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
In reply to Thomas Zimmermann== Series Details ==
== Series Details ==
Series: drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
URL : https://patchwork.freedesktop.org/series/143335/
State : warning
== Summary ==
+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools
Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast 1f3c2c82c864322cfa8f79c10c00cf361c926d2f
Sparse version: 0.6.4 (Ubuntu: 0.6.4-4ubuntu3)
Fast mode used, each commit won't be checked separately.
-+drivers/gpu/drm/drm_drv.c:449:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block+drivers/gpu/drm/drm_drv.c: note: in included file (through include/linux/notifier.h, arch/x86/include/asm/uprobes.h, include/linux/uprobes.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):+drivers/gpu/drm/drm_plane.c:213:24: warning: Using plain integer as NULL pointer+drivers/gpu/drm/i915/display/intel_alpm.c: note: in included file:+drivers/gpu/drm/i915/display/intel_cdclk.c: note: in included file:+drivers/gpu/drm/i915/display/intel_ddi.c: note: in included file:+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2021:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2034:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2034:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_display_types.h:2034:24: warning: unreplaced symbol '<noident>'+drivers/gpu/drm/i915/display/intel_hdcp.c: note: in included file:+drivers/gpu/drm/i915/display/intel_hotplug.c: note: in included file:+drivers/gpu/drm/i915/display/intel_pps.c: note: in included file:+drivers/gpu/drm/i915/display/intel_psr.c: note: in included file:+drivers/gpu/drm/i915/gt/intel_reset.c:1572:12: warning: context imbalance in '_intel_gt_reset_lock' - different lock contexts for basic block +drivers/gpu/drm/i915/gt/intel_sseu.c:598:17: error: too long token expansion+drivers/gpu/drm/i915/i915_active.c:1062:16: warning: context imbalance in '__i915_active_fence_set' - different lock contexts for basic block +drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):+drivers/gpu/drm/i915/i915_drm_client.c:92:9: error: incompatible types in comparison expression (different address spaces):
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: expected struct list_head const *list +drivers/gpu/drm/i915/i915_drm_client.c:92:9: got struct list_head [noderef] __rcu *pos +drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head * +drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head * +drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head [noderef] __rcu * +drivers/gpu/drm/i915/i915_drm_client.c:92:9: struct list_head [noderef] __rcu *
+drivers/gpu/drm/i915/i915_drm_client.c:92:9: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/i915/i915_irq.c:492:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:492:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:500:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:500:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:505:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:505:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:505:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:543:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:543:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:551:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:551:16: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:556:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:556:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:556:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:600:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:600:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:603:15: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:603:15: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:607:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:607:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/i915_irq.c:614:9: warning: unreplaced symbol '<noident>' +drivers/gpu/drm/i915/intel_uncore.c:1927:1: warning: context imbalance in 'fwtable_read8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1928:1: warning: context imbalance in 'fwtable_read16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1929:1: warning: context imbalance in 'fwtable_read32' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1930:1: warning: context imbalance in 'fwtable_read64' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1995:1: warning: context imbalance in 'gen6_write8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1996:1: warning: context imbalance in 'gen6_write16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:1997:1: warning: context imbalance in 'gen6_write32' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2017:1: warning: context imbalance in 'fwtable_write8' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2018:1: warning: context imbalance in 'fwtable_write16' - unexpected unlock +drivers/gpu/drm/i915/intel_uncore.c:2019:1: warning: context imbalance in 'fwtable_write32' - unexpected unlock +drivers/gpu/drm/i915/intel_wakeref.c:146:19: warning: context imbalance in 'wakeref_auto_timeout' - unexpected unlock +drivers/gpu/drm/ttm/ttm_bo.c:1199:31: warning: symbol 'ttm_swap_ops' was not declared. Should it be static?+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: expected void *virtual+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: got void [noderef] __iomem *+drivers/gpu/drm/ttm/ttm_bo_util.c:329:38: warning: incorrect type in assignment (different address spaces)+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: expected void *virtual+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: got void [noderef] __iomem *+drivers/gpu/drm/ttm/ttm_bo_util.c:332:38: warning: incorrect type in assignment (different address spaces)+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: expected void *virtual+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: got void [noderef] __iomem *+drivers/gpu/drm/ttm/ttm_bo_util.c:335:38: warning: incorrect type in assignment (different address spaces)+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28: expected void volatile [noderef] __iomem *addr+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28: got void *virtual+drivers/gpu/drm/ttm/ttm_bo_util.c:467:28: warning: incorrect type in argument 1 (different address spaces) +./include/linux/srcu.h:373:9: warning: context imbalance in 'drm_dev_exit' - unexpected unlock
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
In reply to Thomas Zimmermann== Series Details ==
== Series Details ==
Series: drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
URL : https://patchwork.freedesktop.org/series/143335/
State : success
== Summary ==
CI Bug Log - changes from xe-3589-68581247ae3de119738876845cc3a22d8e10fc15_BAT -> xe-pw-143335v6_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 9)
------------------------------
Missing (2): bat-adlp-vm bat-ptl-vm
Known issues
------------
Here are the changes found in xe-pw-143335v6_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_flip@basic-plain-flip@b-edp1:
- bat-adlp-7: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#4543]) +1 other test dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/bat-adlp-7/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/bat-adlp-7/igt@kms_flip@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
[Intel XE#5783]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5783
Build changes
-------------
* Linux: xe-3589-68581247ae3de119738876845cc3a22d8e10fc15 -> xe-pw-143335v6
IGT_8499: e5e236fad9e36c3a868bc851262ee34ca57f9e5c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-3589-68581247ae3de119738876845cc3a22d8e10fc15: 68581247ae3de119738876845cc3a22d8e10fc15
xe-pw-143335v6: 143335v6
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/index.html
Patchwork
CI✓ Xe.CI.Full: success for drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
In reply to Thomas Zimmermann== Series Details ==
== Series Details ==
Series: drm/dumb-buffers: Fix and improve buffer-size calculation (rev6)
URL : https://patchwork.freedesktop.org/series/143335/
State : success
== Summary ==
CI Bug Log - changes from xe-3589-68581247ae3de119738876845cc3a22d8e10fc15_FULL -> xe-pw-143335v6_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-143335v6_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#1124]) +3 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-adlp: [PASS][2] -> [DMESG-FAIL][3] ([Intel XE#4543])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-3/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-9/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-adlp: [PASS][4] -> [DMESG-WARN][5] ([Intel XE#2953] / [Intel XE#4173]) +2 other tests dmesg-warn
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-4/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-2/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-dg2-set2: NOTRUN -> [SKIP][6] ([Intel XE#1124]) +8 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-2-displays-2560x1440p:
- shard-bmg: [PASS][7] -> [SKIP][8] ([Intel XE#2314] / [Intel XE#2894])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-2160x1440p:
- shard-adlp: NOTRUN -> [SKIP][9] ([Intel XE#367])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#367])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-2560x1440p:
- shard-dg2-set2: NOTRUN -> [SKIP][11] ([Intel XE#367]) +1 other test skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-bmg-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][12] ([Intel XE#2907]) +2 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_ccs@crc-primary-basic-yf-tiled-ccs@pipe-d-dp-2:
- shard-dg2-set2: NOTRUN -> [SKIP][13] ([Intel XE#455] / [Intel XE#787]) +24 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-432/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#3432])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_ccs@missing-ccs-buffer-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2887]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
* igt@kms_ccs@missing-ccs-buffer-yf-tiled-ccs@pipe-b-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][16] ([Intel XE#787]) +111 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@kms_ccs@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs@pipe-c-dp-4:
- shard-dg2-set2: NOTRUN -> [INCOMPLETE][17] ([Intel XE#2705] / [Intel XE#4212])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-466/igt@kms_ccs@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs:
- shard-adlp: NOTRUN -> [SKIP][18] ([Intel XE#2907])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@[email protected]
* igt@kms_cdclk@mode-transition-all-outputs:
- shard-dg2-set2: NOTRUN -> [SKIP][19] ([Intel XE#4418])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_chamelium_color@ctm-limited-range:
- shard-dg2-set2: NOTRUN -> [SKIP][20] ([Intel XE#306]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_chamelium_color@ctm-max:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2325])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_chamelium_edid@hdmi-edid-stress-resolution-4k:
- shard-dg2-set2: NOTRUN -> [SKIP][22] ([Intel XE#373]) +7 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@kms_chamelium_hpd@dp-hpd-enable-disable-mode:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#2252]) +3 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_content_protection@atomic@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][24] ([Intel XE#1178]) +1 other test fail
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-5/igt@kms_content_protection@[email protected]
* igt@kms_content_protection@srm@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [FAIL][25] ([Intel XE#1178]) +1 other test fail
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-random-64x21:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2320]) +1 other test skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
- shard-bmg: [PASS][27] -> [SKIP][28] ([Intel XE#2291]) +1 other test skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-4/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@cursorb-vs-flipa-toggle:
- shard-adlp: NOTRUN -> [SKIP][29] ([Intel XE#309])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#2291]) +2 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: NOTRUN -> [FAIL][31] ([Intel XE#5299])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
- shard-adlp: NOTRUN -> [SKIP][32] ([Intel XE#323])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html
* igt@kms_dp_link_training@non-uhbr-sst:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#4354])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_dsc@dsc-with-bpc:
- shard-dg2-set2: NOTRUN -> [SKIP][34] ([Intel XE#455]) +5 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#4422])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
- shard-dg2-set2: NOTRUN -> [SKIP][36] ([Intel XE#4422])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#5425])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- shard-dg2-set2: NOTRUN -> [SKIP][38] ([Intel XE#776])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2316])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html
* igt@kms_flip@2x-flip-vs-wf_vblank-interruptible:
- shard-adlp: NOTRUN -> [SKIP][40] ([Intel XE#310])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html
* igt@kms_flip@2x-nonexisting-fb:
- shard-bmg: [PASS][41] -> [SKIP][42] ([Intel XE#2316]) +3 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-4/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_flip@basic-plain-flip@b-hdmi-a1:
- shard-adlp: [PASS][43] -> [DMESG-WARN][44] ([Intel XE#4543]) +5 other tests dmesg-warn
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-8/igt@kms_flip@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-3/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [PASS][45] -> [FAIL][46] ([Intel XE#301]) +1 other test fail
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-lnl-1/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-lnl-1/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-adlp: NOTRUN -> [SKIP][47] ([Intel XE#455]) +2 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#2293] / [Intel XE#2380])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling@pipe-a-valid-mode:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#2293])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling@pipe-a-valid-mode.html
* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-shrfb-pgflip-blt:
- shard-adlp: NOTRUN -> [SKIP][50] ([Intel XE#651])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-render:
- shard-adlp: NOTRUN -> [SKIP][51] ([Intel XE#656])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-render:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#2311]) +3 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#5390]) +2 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-rte:
- shard-dg2-set2: NOTRUN -> [SKIP][54] ([Intel XE#651]) +20 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-onoff:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#2312]) +8 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-4:
- shard-dg2-set2: NOTRUN -> [SKIP][56] ([Intel XE#653]) +22 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#2313]) +4 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_hdr@static-swap:
- shard-bmg: [PASS][58] -> [SKIP][59] ([Intel XE#1503])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-2/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-4:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#4596])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-none:
- shard-bmg: [PASS][61] -> [SKIP][62] ([Intel XE#4596])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-4/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_pm_backlight@fade-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][63] ([Intel XE#870])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
- shard-dg2-set2: NOTRUN -> [SKIP][64] ([Intel XE#870])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@kms_pm_dc@dc3co-vpb-simulation:
- shard-dg2-set2: NOTRUN -> [SKIP][65] ([Intel XE#1122])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_pm_lpsp@kms-lpsp:
- shard-bmg: NOTRUN -> [SKIP][66] ([Intel XE#2499])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
* igt@kms_pm_rpm@dpms-mode-unset-non-lpsp:
- shard-adlp: NOTRUN -> [SKIP][67] ([Intel XE#836])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@[email protected]
* igt@kms_psr2_sf@fbc-pr-cursor-plane-update-sf:
- shard-dg2-set2: NOTRUN -> [SKIP][68] ([Intel XE#1489] / [Intel XE#5899]) +6 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@kms_psr2_sf@psr2-plane-move-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#1489] / [Intel XE#5899]) +2 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-dg2-set2: NOTRUN -> [SKIP][70] ([Intel XE#1122] / [Intel XE#5899])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_psr@fbc-psr-cursor-blt:
- shard-adlp: NOTRUN -> [SKIP][71] ([Intel XE#2850] / [Intel XE#5899] / [Intel XE#929])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@[email protected]
* igt@kms_psr@fbc-psr-primary-page-flip:
- shard-bmg: NOTRUN -> [SKIP][72] ([Intel XE#2234] / [Intel XE#2850] / [Intel XE#5899]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_psr@pr-basic:
- shard-dg2-set2: NOTRUN -> [SKIP][73] ([Intel XE#2850] / [Intel XE#5899] / [Intel XE#929]) +6 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_rotation_crc@primary-rotation-90:
- shard-dg2-set2: NOTRUN -> [SKIP][74] ([Intel XE#3414]) +1 other test skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-0:
- shard-dg2-set2: NOTRUN -> [SKIP][75] ([Intel XE#1127]) +1 other test skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-435/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-bmg: NOTRUN -> [SKIP][76] ([Intel XE#2330])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_vrr@flipline:
- shard-lnl: [PASS][77] -> [FAIL][78] ([Intel XE#4227]) +1 other test fail
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-lnl-5/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-lnl-4/igt@[email protected]
* igt@xe_compute@ccs-mode-compute-kernel:
- shard-bmg: NOTRUN -> [FAIL][79] ([Intel XE#5963])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@xe_copy_basic@mem-copy-linear-0xfd:
- shard-dg2-set2: NOTRUN -> [SKIP][80] ([Intel XE#1123])
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@xe_copy_basic@mem-set-linear-0xfffe:
- shard-dg2-set2: NOTRUN -> [SKIP][81] ([Intel XE#1126])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@xe_eu_stall@non-blocking-read:
- shard-dg2-set2: NOTRUN -> [SKIP][82] ([Intel XE#5626])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@xe_eudebug@basic-vm-bind-discovery:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#4837]) +2 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@xe_eudebug_online@interrupt-all-set-breakpoint:
- shard-dg2-set2: NOTRUN -> [SKIP][84] ([Intel XE#4837]) +8 other tests skip
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-null:
- shard-dg2-set2: [PASS][85] -> [SKIP][86] ([Intel XE#1392]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-463/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-432/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][87] ([Intel XE#2322]) +1 other test skip
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
* igt@xe_exec_fault_mode@once-userptr-rebind-prefetch:
- shard-adlp: NOTRUN -> [SKIP][88] ([Intel XE#288] / [Intel XE#5561])
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@[email protected]
* igt@xe_exec_fault_mode@twice-userptr-rebind-imm:
- shard-dg2-set2: NOTRUN -> [SKIP][89] ([Intel XE#288]) +16 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@xe_exec_reset@parallel-gt-reset:
- shard-adlp: [PASS][90] -> [DMESG-WARN][91] ([Intel XE#3876])
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-4/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-2/igt@[email protected]
* igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-free-huge:
- shard-adlp: NOTRUN -> [SKIP][92] ([Intel XE#4915]) +5 other tests skip
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-8/igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-free-huge.html
* igt@xe_exec_system_allocator@threads-many-execqueues-mmap-new-huge:
- shard-bmg: NOTRUN -> [SKIP][93] ([Intel XE#4943]) +6 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@xe_exec_system_allocator@threads-many-execqueues-mmap-new-huge.html
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-malloc:
- shard-dg2-set2: NOTRUN -> [SKIP][94] ([Intel XE#4915]) +181 other tests skip
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@xe_exec_system_allocator@threads-shared-vm-many-large-malloc.html
* igt@xe_exec_threads@threads-hang-userptr-rebind-err:
- shard-adlp: [PASS][95] -> [DMESG-FAIL][96] ([Intel XE#3876])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-4/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-2/igt@[email protected]
* igt@xe_oa@whitelisted-registers-userspace-config:
- shard-dg2-set2: NOTRUN -> [SKIP][97] ([Intel XE#3573]) +6 other tests skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@xe_peer2peer@write@write-gpua-vram01-gpub-system-p2p:
- shard-dg2-set2: NOTRUN -> [FAIL][98] ([Intel XE#1173])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-466/igt@xe_peer2peer@[email protected]
* igt@xe_pm@s3-d3cold-basic-exec:
- shard-dg2-set2: NOTRUN -> [SKIP][99] ([Intel XE#2284] / [Intel XE#366])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
* igt@xe_pxp@pxp-termination-key-update-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][100] ([Intel XE#4733])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
- shard-dg2-set2: NOTRUN -> [SKIP][101] ([Intel XE#4733]) +2 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@xe_query@multigpu-query-engines:
- shard-dg2-set2: NOTRUN -> [SKIP][102] ([Intel XE#944]) +1 other test skip
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][103] ([Intel XE#944])
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
#### Possible fixes ####
* igt@kms_async_flips@async-flip-with-page-flip-events-linear@pipe-c-edp-1:
- shard-lnl: [FAIL][104] ([Intel XE#911]) -> [PASS][105] +3 other tests pass
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-lnl-1/igt@kms_async_flips@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-lnl-1/igt@kms_async_flips@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-adlp: [DMESG-FAIL][106] ([Intel XE#4543]) -> [PASS][107] +1 other test pass
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-1/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-9/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-c-dp-4:
- shard-dg2-set2: [INCOMPLETE][108] ([Intel XE#2705] / [Intel XE#4212]) -> [PASS][109] +2 other tests pass
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-433/igt@kms_ccs@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@kms_ccs@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-dg2-set2: [INCOMPLETE][110] ([Intel XE#3226]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-464/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-bmg: [SKIP][112] ([Intel XE#2291]) -> [PASS][113] +3 other tests pass
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
* igt@kms_flip@2x-flip-vs-suspend@cd-hdmi-a6-dp4:
- shard-dg2-set2: [INCOMPLETE][114] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][115] +1 other test pass
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-434/igt@kms_flip@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@kms_flip@[email protected]
* igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
- shard-bmg: [SKIP][116] ([Intel XE#2316]) -> [PASS][117] +4 other tests pass
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@kms_flip@2x-wf_vblank-ts-check-interruptible.html
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@kms_flip@2x-wf_vblank-ts-check-interruptible.html
* igt@kms_flip@basic-plain-flip@c-hdmi-a1:
- shard-adlp: [DMESG-WARN][118] ([Intel XE#4543]) -> [PASS][119] +3 other tests pass
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-8/igt@kms_flip@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-3/igt@kms_flip@[email protected]
* igt@kms_flip@modeset-vs-vblank-race:
- shard-adlp: [DMESG-WARN][120] ([Intel XE#2953] / [Intel XE#4173] / [Intel XE#5208]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-8/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-3/igt@[email protected]
* igt@kms_joiner@invalid-modeset-force-big-joiner:
- shard-bmg: [SKIP][122] ([Intel XE#3012]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-1/igt@[email protected]
* igt@kms_plane_scaling@2x-scaler-multi-pipe:
- shard-bmg: [SKIP][124] ([Intel XE#2571]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-b:
- shard-adlp: [DMESG-WARN][126] ([Intel XE#2953] / [Intel XE#4173]) -> [PASS][127] +11 other tests pass
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-adlp-4/igt@kms_plane_scaling@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-adlp-2/igt@kms_plane_scaling@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-basic:
- shard-dg2-set2: [SKIP][128] ([Intel XE#1392]) -> [PASS][129] +2 other tests pass
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-432/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-466/igt@[email protected]
* igt@xe_module_load@reload-no-display:
- shard-bmg: [ABORT][130] ([Intel XE#5087]) -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
- shard-dg2-set2: [ABORT][132] ([Intel XE#5087]) -> [PASS][133]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-433/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-463/igt@[email protected]
* igt@xe_pmu@gt-frequency:
- shard-dg2-set2: [FAIL][134] ([Intel XE#5166]) -> [PASS][135] +1 other test pass
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-435/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-436/igt@[email protected]
#### Warnings ####
* igt@kms_content_protection@atomic:
- shard-bmg: [SKIP][136] ([Intel XE#2341]) -> [FAIL][137] ([Intel XE#1178]) +1 other test fail
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-5/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-bmg: [FAIL][138] ([Intel XE#1178]) -> [SKIP][139] ([Intel XE#2341]) +1 other test skip
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-2/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_flip@2x-flip-vs-suspend-interruptible:
- shard-bmg: [INCOMPLETE][140] ([Intel XE#2049] / [Intel XE#2597]) -> [SKIP][141] ([Intel XE#2316])
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-2/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrs-2p-pri-indfb-multidraw:
- shard-bmg: [SKIP][142] ([Intel XE#2311]) -> [SKIP][143] ([Intel XE#2312]) +8 other tests skip
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-2/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen:
- shard-bmg: [SKIP][144] ([Intel XE#2312]) -> [SKIP][145] ([Intel XE#5390]) +8 other tests skip
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen.html
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-pgflip-blt:
- shard-bmg: [SKIP][146] ([Intel XE#5390]) -> [SKIP][147] ([Intel XE#2312]) +1 other test skip
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-2/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-blt:
- shard-bmg: [SKIP][148] ([Intel XE#2312]) -> [SKIP][149] ([Intel XE#2311]) +11 other tests skip
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-blt.html
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt:
- shard-bmg: [SKIP][150] ([Intel XE#2312]) -> [SKIP][151] ([Intel XE#2313]) +12 other tests skip
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-pgflip-blt:
- shard-bmg: [SKIP][152] ([Intel XE#2313]) -> [SKIP][153] ([Intel XE#2312]) +4 other tests skip
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-4/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-6/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][154] ([Intel XE#3544]) -> [SKIP][155] ([Intel XE#3374] / [Intel XE#3544])
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-bmg-1/igt@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-bmg-7/igt@[email protected]
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-sf-dmg-area:
- shard-lnl: [SKIP][156] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#5899]) -> [ABORT][157] ([Intel XE#5902])
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-lnl-5/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-lnl-4/igt@[email protected]
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-sf-dmg-area@pipe-a-edp-1:
- shard-lnl: [SKIP][158] ([Intel XE#4608] / [Intel XE#5899]) -> [ABORT][159] ([Intel XE#5902])
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-lnl-5/igt@kms_psr2_sf@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-lnl-4/igt@kms_psr2_sf@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-dg2-set2: [SKIP][160] ([Intel XE#362]) -> [SKIP][161] ([Intel XE#1500])
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-463/igt@[email protected]
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-464/igt@[email protected]
* igt@xe_peer2peer@write:
- shard-dg2-set2: [SKIP][162] ([Intel XE#1061]) -> [FAIL][163] ([Intel XE#1173])
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3589-68581247ae3de119738876845cc3a22d8e10fc15/shard-dg2-432/igt@[email protected]
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/shard-dg2-466/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1061
[Intel XE#1122]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1122
[Intel XE#1123]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1123
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1126
[Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
[Intel XE#1173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1173
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1500]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1500
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
[Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
[Intel XE#2571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2571
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2705
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#2907]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2907
[Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3012]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3012
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#310]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/310
[Intel XE#3226]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3226
[Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#3573]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3573
[Intel XE#362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/362
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3876]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3876
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4212]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4212
[Intel XE#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4418]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4418
[Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
[Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4915
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5087]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5087
[Intel XE#5166]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5166
[Intel XE#5208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5208
[Intel XE#5299]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5299
[Intel XE#5390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5390
[Intel XE#5425]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5425
[Intel XE#5561]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5561
[Intel XE#5626]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5626
[Intel XE#5890]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5890
[Intel XE#5899]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5899
[Intel XE#5902]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5902
[Intel XE#5963]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5963
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/911
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-3589-68581247ae3de119738876845cc3a22d8e10fc15 -> xe-pw-143335v6
IGT_8499: e5e236fad9e36c3a868bc851262ee34ca57f9e5c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-3589-68581247ae3de119738876845cc3a22d8e10fc15: 68581247ae3de119738876845cc3a22d8e10fc15
xe-pw-143335v6: 143335v6
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-143335v6/index.html
Thomas Zimmermann
maintainerFYI, I significant number of these patches got a review already. I intent to merge these and then send out the others for each driver individually.
Am 21.08.25 um 10:17 schrieb Thomas Zimmermann:
Quoted 95 lines
Dumb-buffer pitch and size is specified by width, height, bits-per-pixel plus various hardware-specific alignments. The calculation of these values is inconsistent and duplicated among drivers. The results for formats with bpp < 8 are sometimes incorrect.
This series fixes this for most drivers. Default scanline pitch and buffer size are now calculated with the existing 4CC helpers. There is a new helper
drm_mode_size_dumb()that calculates scanline pitch and buffer size according to driver requirements.The series fixes the common GEM implementations for DMA, SHMEM and VRAM. It further changes most implementations of
dumb_createto use the new helper. A small number of drivers has more complicated calculations and will be updated by a later patches.v6:
- extend TODO item (Tomi)
- fix typos in documentation (Tomi)
v5:
- usecheck_mul_overflow()for overflow test (Tomi)
- imx: fix intermediate code (Tomi)
- rz-du: include dumb-buffers header
v4:
- improve UAPI documentation
- document bpp special cases
- usedrm_warn_once()
- add TODO lists
- armada: fix pitch alignment
v3:
- document UAPI semantics
- fall back to bpp-based allocation for unknown color modes
- cleanups
v2:
- rewrite series
- convert many individual drivers besides the shared GEM helpersThomas Zimmermann (25):
drm/dumb-buffers: Sanitize output on errors drm/dumb-buffers: Provide helper to set pitch and size drm/gem-dma: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/gem-shmem: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/gem-vram: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/armada: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/exynos: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/gma500: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/hibmc: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/imx/ipuv3: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/loongson: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/mediatek: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/msm: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/nouveau: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/omapdrm: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/qxl: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/renesas/rcar-du: Compute dumb-buffer sizes with
drm_mode_size_dumb()
drm/renesas/rz-du: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/rockchip: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/tegra: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/virtio: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/vmwgfx: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/xe: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/xen: Compute dumb-buffer sizes withdrm_mode_size_dumb()drm/xlnx: Compute dumb-buffer sizes withdrm_mode_size_dumb()Documentation/gpu/todo.rst | 37 ++++ drivers/gpu/drm/armada/armada_gem.c | 16 +- drivers/gpu/drm/drm_dumb_buffers.c | 170 ++++++++++++++++-- drivers/gpu/drm/drm_gem_dma_helper.c | 7 +- drivers/gpu/drm/drm_gem_shmem_helper.c | 16 +- drivers/gpu/drm/drm_gem_vram_helper.c | 89 +++------ drivers/gpu/drm/exynos/exynos_drm_gem.c | 8 +- drivers/gpu/drm/gma500/gem.c | 21 +-- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 25 ++- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 29 ++- drivers/gpu/drm/loongson/lsdc_gem.c | 29 +-- drivers/gpu/drm/mediatek/mtk_gem.c | 13 +- drivers/gpu/drm/msm/msm_gem.c | 27 ++- drivers/gpu/drm/nouveau/nouveau_display.c | 7 +- drivers/gpu/drm/omapdrm/omap_gem.c | 15 +- drivers/gpu/drm/qxl/qxl_dumb.c | 17 +- drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c | 7 +- drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 8 +- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 12 +- drivers/gpu/drm/tegra/gem.c | 8 +- drivers/gpu/drm/virtio/virtgpu_gem.c | 11 +- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 21 +-- drivers/gpu/drm/xe/xe_bo.c | 8 +- drivers/gpu/drm/xen/xen_drm_front.c | 7 +- drivers/gpu/drm/xlnx/zynqmp_kms.c | 7 +- include/drm/drm_dumb_buffers.h | 14 ++ include/drm/drm_gem_vram_helper.h | 6 - include/uapi/drm/drm_mode.h | 50 +++++- 28 files changed, 457 insertions(+), 228 deletions(-)create mode 100644
include/drm/drm_dumb_buffers.h
Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)