From nobody Sun Feb 8 18:30:41 2026 Received: from smtp1.math.uni-bielefeld.de (smtp1.math.uni-bielefeld.de [129.70.45.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C496E208A8 for ; Sat, 9 Mar 2024 01:58:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.70.45.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709949499; cv=none; b=THs3Ugt8fOkDEdURgiw5NKpYTSbPFRAt07wFyi7PeAyJqdynMdT9e1UWGphJguZdu5xop13MptlQQbOQZi440N4RdrdK/0HYqG8/KnLVpTNLApqHeRfQtjhly2yaiizNJIHV1PNmbwZy4Ex7JBSZ8whfqokk7RVwIqER42sV+10= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709949499; c=relaxed/simple; bh=PCk2Dugx8SMjdQeWG4SwcfaPM24toHIy+7Yggf23EOY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=NHfbRaxhhbcqAjj/ug0+sPitxmGTy2Bb+SSYmUNaQkT1vvxAc2HAU88U8kuBpiWTgK7/bUSX75sHX0fHVUwDFq56Ph0/8FRWABpKqerIB1909Uqwo2SI90gN9sDUcNNENU/DRaQ6+ACST2pFMgUDv+kny9F1fckzCLlMAQjDqqo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=math.uni-bielefeld.de; spf=pass smtp.mailfrom=math.uni-bielefeld.de; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b=HmWNhxv6; arc=none smtp.client-ip=129.70.45.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=math.uni-bielefeld.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=math.uni-bielefeld.de header.i=@math.uni-bielefeld.de header.b="HmWNhxv6" Received: from localhost (dslb-094-217-220-071.094.217.pools.vodafone-ip.de [94.217.220.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by smtp1.math.uni-bielefeld.de (Postfix) with ESMTPSA id A894F60AB6; Sat, 9 Mar 2024 02:48:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=math.uni-bielefeld.de; s=default; t=1709948899; bh=PCk2Dugx8SMjdQeWG4SwcfaPM24toHIy+7Yggf23EOY=; h=From:To:Cc:Subject:Date:From; b=HmWNhxv6lEJ0BxRBPxi3BqczESunuyX/oRe8UOU906evQpJNg2abwr8q2R+7+/3h6 V+0Jwdmec+Y6s1Z0fC2NwAqdJxkrCSQETryA4JqZ1WNoRf/NOzExQrOCNoXc8fRlms f7rJvNbb1ggX355y2jSfRvGfvX0jDjFVocAUkOFutOFUKxbvpClKmffAkKQYHh8rxD rh8x9zzIQ7pYIYnKPiAK+GHlofVK3xfLs3vNmlzeypwIQYwV+SIlHA6aA/QX4SukvS GwrtBe8YywjnU07+O0LLbBOUsZB0EyaUK64KnCosu0IzGPEOGplrk0RdQoSyAzDk+s csqu4d8iRgJzw== From: tjakobi@math.uni-bielefeld.de To: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter Cc: Tobias Jakobi , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd/display: Add MSF panel to DPCD 0x317 patch list Date: Sat, 9 Mar 2024 02:47:32 +0100 Message-ID: <20240309014732.722139-1-tjakobi@math.uni-bielefeld.de> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Tobias Jakobi This 8.4 inch panel is integrated in the Ayaneo Kun handheld device. The panel resolution is 2560=C3=971600, i.e. it has portrait dimensions. Decoding the EDID shows: Manufacturer: MSF Model: 4099 Display Product Name: 'TV080WUM-NL0 ' Judging from the product name this might be a clone of a BOE panel, but with larger dimensions. Panel frequently shows non-functional backlight control. Adding some debug prints to update_connector_ext_caps() shows that something the OLED bit of ext_caps is set, and then the driver assumes that backlight is controlled via AUX. Forcing backlight control to PWM via amdgpu.backlight=3D0 restores backlight operation. Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/dr= ivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c index 7a09a72e182f..5a017ba94e3c 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c @@ -68,6 +68,7 @@ static void apply_edid_quirks(struct edid *edid, struct d= c_edid_caps *edid_caps) case drm_edid_encode_panel_id('A', 'U', 'O', 0xE69B): case drm_edid_encode_panel_id('B', 'O', 'E', 0x092A): case drm_edid_encode_panel_id('L', 'G', 'D', 0x06D1): + case drm_edid_encode_panel_id('M', 'S', 'F', 0x1003): DRM_DEBUG_DRIVER("Clearing DPCD 0x317 on monitor with panel id %X\n", pa= nel_id); edid_caps->panel_patch.remove_sink_ext_caps =3D true; break; --=20 2.43.0