[AMD Official Use Only - General] Hi Greg,
Thanks for your advice. I have modified the commit and submitted it to Gerrit and it's under code review now. Many thanks, Ryan Lin. -----Original Message----- From: Greg KH <gre...@linuxfoundation.org> Sent: Monday, May 30, 2022 9:05 PM To: Lin, Tsung-hua (Ryan) <tsung-hua....@amd.com> Cc: Li, Leon <leon...@amd.com>; Swarnakar, Praful <praful.swarna...@amd.com>; S, Shirish <shiris...@amd.com>; Li, Ching-shih (Louis) <ching-shih...@amd.com>; Deucher, Alexander <alexander.deuc...@amd.com>; Daniel Vetter <dan...@ffwll.ch>; Kazlauskas, Nicholas <nicholas.kazlaus...@amd.com>; sta...@vger.kernel.org; Wentland, Harry <harry.wentl...@amd.com>; Li, Sun peng (Leo) <sunpeng...@amd.com>; Koenig, Christian <christian.koe...@amd.com>; David (ChunMing) Zhou <david1.z...@amd.com>; David Airlie <airl...@linux.ie>; Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>; Sean Paul <seanp...@chromium.org>; Sasha Levin <sas...@kernel.org>; Mark Yacoub <markyac...@google.com>; Li, Roman <roman...@amd.com>; Ikshwaku Chauhan <ikshwaku.chau...@amd.corp-partner.google.com>; Simon Ser <cont...@emersion.fr>; amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; linux-ker...@vger.kernel.org Subject: Re: [PATCH] BACKPORT: drm/amdgpu/disply: set num_crtc earlier On Mon, May 30, 2022 at 05:29:02PM +0800, Ryan Lin wrote: > From: Alex Deucher <alexander.deuc...@amd.com> > > To avoid a recently added warning: > Bogus possible_crtcs: [ENCODER:65:TMDS-65] possible_crtcs=0xf (full > crtc mask=0x7) > WARNING: CPU: 3 PID: 439 at drivers/gpu/drm/drm_mode_config.c:617 > drm_mode_config_validate+0x178/0x200 [drm] In this case the warning is > harmless, but confusing to users. > > Fixes: 0df108237433 ("drm: Validate encoder->possible_crtcs") > Bug: > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugz > illa.kernel.org%2Fshow_bug.cgi%3Fid%3D209123&data=05%7C01%7Ctsung- > hua.lin%40amd.com%7Cad089e5485984cd0cc1f08da423d097f%7C3dd8961fe4884e6 > 08e11a82d994e183d%7C0%7C0%7C637895127184900879%7CUnknown%7CTWFpbGZsb3d > 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C > 3000%7C%7C%7C&sdata=0UcR%2BZszfxXaFz6LUqGq5eYgeqxDdrhySBL7mDmFPKc% > 3D&reserved=0 > Reviewed-by: Daniel Vetter <dan...@ffwll.ch> > Reviewed-by: Nicholas Kazlauskas <nicholas.kazlaus...@amd.com> > Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> > Cc: sta...@vger.kernel.org Why did you not sign off on this? And what is the git id of this in Linus's tree? > Conflicts: > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > [Ryan Lin: Fixed the conflict, remove the non-main changed part > of this patch] No need for this here, right? thanks, greg k-h