lkml.org 
[lkml]   [2023]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
    Date
    Add quirk orientation for Ayn Loki Max model.

    This has been tested by JELOS team that uses their
    own patched kernel for a while now and confirmed by
    users in the ChimeraOS discord servers.

    Signed-off-by: Bouke Sybren Haarsma <boukehaarsma23@gmail.com>
    ---
    drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
    1 file changed, 6 insertions(+)

    diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
    index 7466354c7e5b..5adf9ff07c3e 100644
    --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
    +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
    @@ -196,6 +196,12 @@ static const struct dmi_system_id orientation_data[] = {
    DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
    },
    .driver_data = (void *)&lcd800x1280_rightside_up,
    + }, { /* AYN Loki Max */
    + .matches = {
    + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
    + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Max"),
    + },
    + .driver_data = (void *)&lcd1080x1920_leftside_up,
    }, { /* AYN Loki Zero */
    .matches = {
    DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
    --
    2.41.0
    \
     
     \ /
      Last update: 2023-10-08 00:23    [W:9.411 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site