RE: [PATCH v6 4/5] drm: add drm_memory_stats_is_zero

2024-11-07 Thread Li, Yunxiang (Teddy)
[AMD Official Use Only - AMD Internal Distribution Only] > From: Tvrtko Ursulin > Sent: Thursday, November 7, 2024 5:41 > On 25/10/2024 18:41, Yunxiang Li wrote: > > Add a helper to check if the memory stats is zero, this will be used > > to check for memory accounting errors. > > > > Signed-off-

Re: [PATCH v6 4/5] drm: add drm_memory_stats_is_zero

2024-11-07 Thread Christian König
Am 07.11.24 um 15:43 schrieb Tvrtko Ursulin: On 07/11/2024 14:17, Li, Yunxiang (Teddy) wrote: [AMD Official Use Only - AMD Internal Distribution Only] From: Tvrtko Ursulin Sent: Thursday, November 7, 2024 5:41 On 25/10/2024 18:41, Yunxiang Li wrote: Add a helper to check if the memory stats

Re: [PATCH v6 4/5] drm: add drm_memory_stats_is_zero

2024-11-07 Thread Tvrtko Ursulin
On 07/11/2024 14:17, Li, Yunxiang (Teddy) wrote: [AMD Official Use Only - AMD Internal Distribution Only] From: Tvrtko Ursulin Sent: Thursday, November 7, 2024 5:41 On 25/10/2024 18:41, Yunxiang Li wrote: Add a helper to check if the memory stats is zero, this will be used to check for memo

Re: [PATCH v6 4/5] drm: add drm_memory_stats_is_zero

2024-11-07 Thread Tvrtko Ursulin
On 25/10/2024 18:41, Yunxiang Li wrote: Add a helper to check if the memory stats is zero, this will be used to check for memory accounting errors. Signed-off-by: Yunxiang Li --- drivers/gpu/drm/drm_file.c | 9 + include/drm/drm_file.h | 1 + 2 files changed, 10 insertions(+)

Re: [PATCH v6 4/5] drm: add drm_memory_stats_is_zero

2024-10-31 Thread Christian König
Am 25.10.24 um 19:41 schrieb Yunxiang Li: Add a helper to check if the memory stats is zero, this will be used to check for memory accounting errors. Signed-off-by: Yunxiang Li Reviewed-by: Christian König In theory I would need to upstream that through the drm-misc-next channel, but I thi

[PATCH v6 4/5] drm: add drm_memory_stats_is_zero

2024-10-25 Thread Yunxiang Li
Add a helper to check if the memory stats is zero, this will be used to check for memory accounting errors. Signed-off-by: Yunxiang Li --- drivers/gpu/drm/drm_file.c | 9 + include/drm/drm_file.h | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/gpu/drm/drm_file.c b/driv