[linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7

2024-06-22 Thread kernel test robot
om integer without a cast [-Wint-conversion] Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- arm64-defconfig | `-- arch-arm64-boot-dts-ti-k3-am62p-j722s-common-main.dtsi.-.:Warning-(graph_child_address):bus-f-usb-f90-usb:graph-node-has-single-child-node-port-address-cell

[PATCH v5] drm/display: split DSC helpers from DP helpers

2024-06-22 Thread Dmitry Baryshkov
Currently the DRM DSC functions are selected by the DRM_DISPLAY_DP_HELPER Kconfig symbol. This is not optimal, since the DSI code (both panel and host drivers) end up selecting the seemingly irrelevant DP helpers. Split the DSC code to be guarded by the separate DRM_DISPLAY_DSC_HELPER Kconfig symbo

[PATCH 1/1] drm/atomic: Allow userspace to use explicit sync with atomic async flips

2024-06-22 Thread André Almeida
Allow userspace to use explicit synchronization with atomic async flips. That means that the flip will wait for some hardware fence, and then will flip as soon as possible (async) in regard of the vblank. Signed-off-by: André Almeida --- This patch is originally from a patchset, but it doesn't r

[Patch v2 2/2] drm/amdgpu: Don't warn for compute mode switch under SRIOV

2024-06-22 Thread Rajneesh Bhardwaj
Under SRIOV environment, the compute partition mode is setup by the host driver so state machine cached copy might be different when doing the transition for the first time. Signed-off-by: Rajneesh Bhardwaj --- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 d

[Patch v2 1/2] drm/amdgpu: Disable compute partition switch under SRIOV

2024-06-22 Thread Rajneesh Bhardwaj
Do not allow the compute partition mode switch from the guest driver but still allow the query for current_compute_partition. Signed-off-by: Rajneesh Bhardwaj --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 5 + drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 9 ++--- 2 files changed, 7 insertio

[pull] amdgpu, amdkfd drm-next-6.11

2024-06-22 Thread Alex Deucher
Hi Dave, Sima, More new stuff for 6.11. The following changes since commit b95fa494d6b74c30eeb4a50481aa1041c631754e: drm/amdgpu: add RAS is_rma flag (2024-06-05 11:25:14 -0400) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.11-20

[PATCH] drm/amdgpu: fix a possible null pointer dereference

2024-06-22 Thread Ma Ke
In amdgpu_connector_add_common_modes(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid npd. Signed-off-by: Ma Ke --- drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 2 ++ 1 file changed, 2

[PATCH v2 2/7] drm/radeon: rdev->ddev to rdev_to_drm(rdev) 1

2024-06-22 Thread Wu Hoi Pok
Please see Patch v2 1/7 for details. Signed-off-by: Wu Hoi Pok --- drivers/gpu/drm/radeon/atombios_encoders.c | 2 +- drivers/gpu/drm/radeon/cik.c | 14 ++--- drivers/gpu/drm/radeon/dce6_afmt.c | 2 +- drivers/gpu/drm/radeon/evergreen.c | 12 +-- d

Re: [PATCH] drm/amdgpu: fix a possible null pointer dereference

2024-06-22 Thread Markus Elfring
> In amdgpu_connector_add_common_modes(), the return value of drm_cvt_mode() > is assigned to mode, which will lead to a NULL pointer dereference on > failure of drm_cvt_mode(). Add a check to avoid npd. Can a wording approach (like the following) be a better change description? A null pointer

[PATCH v2 6/7] drm/radeon: rdev->ddev to rdev_to_drm(rdev) 5

2024-06-22 Thread Wu Hoi Pok
Please see Patch v2 1/7 for details. Signed-off-by: Wu Hoi Pok --- drivers/gpu/drm/radeon/radeon_ib.c | 2 +- drivers/gpu/drm/radeon/radeon_irq_kms.c | 12 ++-- drivers/gpu/drm/radeon/radeon_object.c | 2 +- drivers/gpu/drm/radeon/radeon_pm.c | 20 ++-- drive

[PATCH v2 1/7] drm/radeon: remove load callback

2024-06-22 Thread Wu Hoi Pok
This is "drm/radeon: remove load callback" v2, the only changes were made are adding "ddev->dev_private = rdev;", right after the allocation of "struct radeon_device". Patch v2 2-7 mostly describes simple "rdev->ddev" to "rdev_to_drm(rdev)" to suit Patch v2 1/7. Please be aware that these 7 patche

[PATCH v2 7/7] drm/radeon: rdev->ddev to rdev_to_drm(rdev) 6

2024-06-22 Thread Wu Hoi Pok
Please see Patch v2 1/7 for details. Signed-off-by: Wu Hoi Pok --- drivers/gpu/drm/radeon/rs400.c | 6 +++--- drivers/gpu/drm/radeon/rs600.c | 14 +++--- drivers/gpu/drm/radeon/rs690.c | 2 +- drivers/gpu/drm/radeon/rv515.c | 4 ++-- drivers/gpu/drm/radeon/rv770.c | 2 +- drivers/gpu

[PATCH v2 5/7] drm/radeon: rdev->ddev to rdev_to_drm(rdev) 4

2024-06-22 Thread Wu Hoi Pok
Please see Patch v2 1/7 for details. Signed-off-by: Wu Hoi Pok --- drivers/gpu/drm/radeon/radeon_device.c | 19 +++ drivers/gpu/drm/radeon/radeon_display.c | 74 - drivers/gpu/drm/radeon/radeon_fbdev.c | 26 - drivers/gpu/drm/radeon/radeon_fence.c | 8 +-

[PATCH v2 3/7] drm/radeon: rdev->ddev to rdev_to_drm(rdev) 2

2024-06-22 Thread Wu Hoi Pok
Please see Patch v2 1/7 for details. Signed-off-by: Wu Hoi Pok --- drivers/gpu/drm/radeon/r300.c | 6 +++--- drivers/gpu/drm/radeon/r420.c | 6 +++--- drivers/gpu/drm/radeon/r520.c | 2 +- drivers/gpu/drm/radeon/r600.c | 12 ++-- drivers/gpu/drm/radeon/r600_cs.c | 2

[PATCH v2 4/7] drm/radeon: rdev->ddev to rdev_to_drm(rdev) 3

2024-06-22 Thread Wu Hoi Pok
Please see Patch v2 1/7 for details. Signed-off-by: Wu Hoi Pok --- drivers/gpu/drm/radeon/r600_hdmi.c | 2 +- drivers/gpu/drm/radeon/radeon_acpi.c | 10 +- drivers/gpu/drm/radeon/radeon_agp.c | 2 +- drivers/gpu/drm/radeon/radeon_atombios.c | 2 +- drivers/gpu/drm/radeo