Re: [PATCH v2] drm/ttm: Remove redundant code in ttm_tt_init_fields

2023-05-31 Thread Ma, Jun
d-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org; Koenig, >>> Christian >>> Cc: Ma, Jun >>> Subject: [PATCH v2] drm/ttm: Remove redundant code in ttm_tt_init_fields >>> >>> Remove redundant assignment code for ttm->caching as it's overwr

Re: [PATCH v2] drm/ttm: Remove redundant code in ttm_tt_init_fields

2023-05-31 Thread Christian König
Am 31.05.23 um 08:20 schrieb Chen, Guchun: [Public] -Original Message- From: amd-gfx On Behalf Of Ma Jun Sent: Wednesday, May 31, 2023 1:31 PM To: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org; Koenig, Christian Cc: Ma, Jun Subject: [PATCH v2] drm/ttm: Remove

Re: [PATCH v2] drm/ttm: Remove redundant code in ttm_tt_init_fields

2023-05-31 Thread Ma, Jun
istian >> Cc: Ma, Jun >> Subject: [PATCH v2] drm/ttm: Remove redundant code in ttm_tt_init_fields >> >> Remove redundant assignment code for ttm->caching as it's overwritten >> >> just a few lines later. > > Please drop the blank line in above m

RE: [PATCH v2] drm/ttm: Remove redundant code in ttm_tt_init_fields

2023-05-30 Thread Chen, Guchun
[Public] > -Original Message- > From: amd-gfx On Behalf Of Ma > Jun > Sent: Wednesday, May 31, 2023 1:31 PM > To: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org; Koenig, > Christian > Cc: Ma, Jun > Subject: [PATCH v2] drm/ttm: Remove redundant co

[PATCH v2] drm/ttm: Remove redundant code in ttm_tt_init_fields

2023-05-30 Thread Ma Jun
Remove redundant assignment code for ttm->caching as it's overwritten just a few lines later. v2: - Update the commit message. Signed-off-by: Ma Jun --- drivers/gpu/drm/ttm/ttm_tt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c