From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm: panel-orientation-quirks: Add quirk for Chuwi Minibook X Date: Mon, 25 May 2026 20:50:20 +1000 Message-ID: In-Reply-To: <20260520201951.9126-1-vlad@zlab.su> References: <20260520201951.9126-1-vlad@zlab.su> <20260520201951.9126-1-vlad@zlab.su> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Patch Review **Correctness:** The new entry follows the exact same pattern as the adjacent Chuwi Hi10 Pro= entry and dozens of others in this file: ```c }, { /* Chuwi Minibook X */ .matches =3D { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "CHUWI Innovation And Technology(ShenZh= en)co.,Ltd"), DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MiniBook X"), }, .driver_data =3D (void *)&lcd1200x1920_rightside_up, ``` - Uses `DMI_EXACT_MATCH` for both vendor and product name =E2=80=94 appropr= iate and consistent with other entries. - The vendor string `"CHUWI Innovation And Technology(ShenZhen)co.,Ltd"` is= specific enough to avoid false matches. - References `lcd1200x1920_rightside_up` (1200x1920, `DRM_MODE_PANEL_ORIENT= ATION_RIGHT_UP`) which is defined at line 139 of the file. **Ordering:** Correctly inserted between the Chuwi Hi10 Pro block (line 280= ) and the Dynabook K50 block (line 292), maintaining alphabetical order by = vendor/product. **Indentation:** The `DMI_EXACT_MATCH` lines use 2-space indent inside `.ma= tches`, matching the style of the adjacent Chuwi Hi10 Pro entry (lines 282-= 283). This is consistent. **Potential issue =E2=80=94 resolution mismatch for newer SKUs:** The Chuwi= Minibook X product line includes both 10.51" (1200x1920) and 12.6" (1600x2= 560) variants. If both report `"MiniBook X"` as the DMI product name, the q= uirk would only fire on the 1200x1920 variant (because `drm_dmi_panel_orien= tation_data` checks width/height). The 12.6" model would silently not match= , which is the correct safe behavior =E2=80=94 but it means a second entry = might be needed later if that model also has a rotated panel. This is not a= bug, just a note. **Suggestion for the commit message:** Consider expanding to mention the pa= nel orientation symptom, e.g.: "The panel is natively mounted in portrait m= ode and needs a right-side-up rotation quirk." **Overall:** No bugs. Acceptable as-is. --- Generated by Claude Code Patch Reviewer