Re: [PATCH 2/2] drm/amdgpu: Dirty cleared blocks on allocation

2025-05-28 Thread Natalie Vock
Hi, On 5/28/25 09:07, Christian König wrote: On 5/27/25 21:43, Natalie Vock wrote: If we hand out cleared blocks to users, they are expected to write at least some non-zero values somewhere. If we keep the CLEAR bit set on the block, amdgpu_fill_buffer will assume there is nothing to do and

[PATCH 0/2] Fix AMDGPU VRAM zeroing

2025-05-27 Thread Natalie Vock
[1] https://gitlab.freedesktop.org/drm/amd/-/issues/3812 Natalie Vock (2): drm/buddy: Add public helper to dirty blocks drm/amdgpu: Dirty cleared blocks on allocation drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 7 +++ include/drm/drm_buddy.h | 6 ++ 2 files c

[PATCH 1/2] drm/buddy: Add public helper to dirty blocks

2025-05-27 Thread Natalie Vock
ature") Cc: sta...@vger.kernel.org Signed-off-by: Natalie Vock --- include/drm/drm_buddy.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/drm/drm_buddy.h b/include/drm/drm_buddy.h index 9689a7c5dd36..48628ff1c24f 100644 --- a/include/drm/drm_buddy.h +++ b/include/drm/d

[PATCH 2/2] drm/amdgpu: Dirty cleared blocks on allocation

2025-05-27 Thread Natalie Vock
being wiped on release, potentially leaking application memory to arbitrary other applications. Fixes: a68c7eaa7a8ff ("drm/amdgpu: Enable clear page functionality") Cc: sta...@vger.kernel.org Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3812 Signed-off-by: Natalie Vock --- d

Re: [PATCH] drm/radeon: Simplify maximum determination in radeon_uvd_calc_upll_dividers()

2025-02-28 Thread Natalie Vock
On 28.02.25 17:36, Markus Elfring wrote: From: Markus Elfring Date: Fri, 28 Feb 2025 17:32:45 +0100 Replace nested max() calls by single max3() call in this function implementation. This issue was transformed by using the Coccinelle software. How about something like "this change was made" o