Re: [PATCH] drm/tve200: Use drm_* variants for logging

2022-10-08 Thread Khalid Masum
On Tue, Oct 4, 2022 at 12:54 AM Linus Walleij wrote: > > On Wed, Sep 28, 2022 at 11:31 AM Khalid Masum > wrote: > > > We have routines like drm_info/warn/err for logging. Use them instead > > of dev_* variants to get drm-formatted log messages. > > > > Si

[PATCH] drm/tve200: Use drm_* variants for logging

2022-09-28 Thread Khalid Masum
We have routines like drm_info/warn/err for logging. Use them instead of dev_* variants to get drm-formatted log messages. Signed-off-by: Khalid Masum --- drivers/gpu/drm/tve200/tve200_display.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH linux-next] drm/amdgpu/vcn: Return void from the stop_dbg_mode

2022-08-15 Thread Khalid Masum
jing Dong Suggested-by: Greg Kroah-Hartman Signed-off-by: Khalid Masum --- Past discussions: - V1 Link: https://lore.kernel.org/lkml/20220815070056.10816-1-khalid.masum...@gmail.com/ Changes since V1: - Make stop_dbg_mode return void - Update commit description drivers/gpu/drm/amd/amdgpu/vcn

Re: [PATCH linux-next] drm/amdgpu/vcn: Remove unused assignment in vcn_v4_0_stop

2022-08-15 Thread Khalid Masum
p_dpg_mode should return void. I shall send a patch shortly with these two changes. Thanks for your suggestion. Thanks, -- Khalid Masum

Re: [PATCH linux-next] drm/amdgpu/vcn: Remove unused assignment in vcn_v4_0_stop

2022-08-15 Thread Khalid Masum
On 8/15/22 22:12, Greg KH wrote: On Mon, Aug 15, 2022 at 09:11:18PM +0600, Khalid Masum wrote: On 8/15/22 20:15, Dong, Ruijing wrote: [AMD Official Use Only - General] Sorry, which "r" value was overwritten? I didn't see the point of making this change. Thanks Ruijing

Re: [PATCH linux-next] drm/amdgpu/vcn: Remove unused assignment in vcn_v4_0_stop

2022-08-15 Thread Khalid Masum
UVD_STATUS__IDLE, 0x7); Thanks Ruijing Thanks, -- Khalid Masum

Re: [PATCH linux-next] drm/amdgpu/vcn: Remove unused assignment in vcn_v4_0_stop

2022-08-15 Thread Khalid Masum
On 8/15/22 20:15, Dong, Ruijing wrote: [AMD Official Use Only - General] Sorry, which "r" value was overwritten? I didn't see the point of making this change. Thanks Ruijing -Original Message----- From: Khalid Masum Sent: Monday, August 15, 2022

[PATCH linux-next] drm/amdgpu/vcn: Remove unused assignment in vcn_v4_0_stop

2022-08-15 Thread Khalid Masum
The value assigned from vcn_v4_0_stop_dbg_mode to r is overwritten before it can be used. Remove this assignment. Addresses-Coverity: 1504988 ("Unused value") Fixes: 8da1170a16e4 ("drm/amdgpu: add VCN4 ip block support") Signed-off-by: Khalid Masum --- drivers/gpu/drm/amd/a

Re: [PATCH] vt: Clear selection before changing the font

2022-07-31 Thread Khalid Masum
removed in vc_do_resize(). Prevent such out-of-memory accesses by dropping the selection before the various con_font_set() console handlers are called. Signed-off-by: Helge Deller Tested-by: Khalid Masum Reported-by: syzbot+14b0e8f3fd1612e35...@syzkaller.appspotmail.com diff --git a/drivers

Re: [syzbot] KASAN: vmalloc-out-of-bounds Write in imageblit (2)

2022-07-31 Thread Khalid Masum
On 7/31/22 16:54, Helge Deller wrote: * Khalid Masum : On 7/30/22 23:25, Helge Deller wrote: On 7/29/22 08:51, Khalid Masum wrote: Here is a simplified reproducer for the issue: https://gist.githubusercontent.com/Labnann/923d6b9b3a19848fc129637b839b8a55/raw

Re: [syzbot] KASAN: vmalloc-out-of-bounds Write in imageblit (2)

2022-07-31 Thread Khalid Masum
On 7/30/22 23:25, Helge Deller wrote: On 7/29/22 08:51, Khalid Masum wrote: Here is a simplified reproducer for the issue: https://gist.githubusercontent.com/Labnann/923d6b9b3a19848fc129637b839b8a55/raw/a68271fcc724569735fe27f80817e561b3ff629a/reproducer.c The reproducer does this: Thanks

Re: [syzbot] KASAN: vmalloc-out-of-bounds Write in imageblit (2)

2022-07-29 Thread Khalid Masum
Here is a simplified reproducer for the issue: https://gist.githubusercontent.com/Labnann/923d6b9b3a19848fc129637b839b8a55/raw/a68271fcc724569735fe27f80817e561b3ff629a/reproducer.c