Re: [PATCH] drm/radeon: fix uninitialized bool variable

2021-09-20 Thread Alex Deucher
On Mon, Sep 20, 2021 at 3:44 AM Christian König wrote: > > > > Am 18.09.21 um 11:41 schrieb Zhiwei Yang: > > The bool variable detected_hpd_without_ddc in struct radeon_connector > > is uninitialized when first used, that may cause unnecessary ddc ops. > > Make it as false when a new connector is

Re: [PATCH] drm/radeon: fix uninitialized bool variable

2021-09-20 Thread Christian König
Am 18.09.21 um 11:41 schrieb Zhiwei Yang: The bool variable detected_hpd_without_ddc in struct radeon_connector is uninitialized when first used, that may cause unnecessary ddc ops. Make it as false when a new connector is alloced. Signed-off-by: Zhiwei Yang ---

[PATCH] drm/radeon: fix uninitialized bool variable

2021-09-18 Thread Zhiwei Yang
The bool variable detected_hpd_without_ddc in struct radeon_connector is uninitialized when first used, that may cause unnecessary ddc ops. Make it as false when a new connector is alloced. Signed-off-by: Zhiwei Yang --- drivers/gpu/drm/radeon/radeon_connectors.c | 4 1 file changed, 4

[PATCH] drm/radeon: fix uninitialized bool variable

2021-09-18 Thread yangzhiwei
>From 23dc76b1a4c7eb516b2830e1d2bb588316e18e93 Mon Sep 17 00:00:00 2001 From: Zhiwei Yang Date: Sat, 18 Sep 2021 16:17:06 +0800 Subject: [PATCH] drm/radeon: fix uninitialized bool variable The bool variable detected_hpd_without_ddc in struct radeon_connector is uninitialized when first u