]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 16 May 2023 08:50:39 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:38 +0000 (19:39 +0200)
[ Upstream commit f24b49550814fdee4a98b9552e35e243ccafd4a8 ]

The previous setting was related to the overall dimension and not to the
active display area.
In the "PHYSICAL SPECIFICATIONS" section, the datasheet shows the
following parameters:

 ----------------------------------------------------------
|       Item        |         Specifications        | unit |
 ----------------------------------------------------------
| Display area      | 98.7 (W) x 57.5 (H)           |  mm  |
 ----------------------------------------------------------
| Overall dimension | 105.5(W) x 67.2(H) x 4.96(D)  |  mm  |
 ----------------------------------------------------------

Fixes: 966fea78adf2 ("drm/panel: simple: Add support for Ampire AM-480272H3TMQW-T01H")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
[narmstrong: fixed Fixes commit id length]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230516085039.3797303-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/panel/panel-simple.c

index 065f378bba9d22e8141805c121cb07953b06dba9..d8efbcee9bc120dcc2c285e68bba56459084faaa 100644 (file)
@@ -759,8 +759,8 @@ static const struct panel_desc ampire_am_480272h3tmqw_t01h = {
        .num_modes = 1,
        .bpc = 8,
        .size = {
-               .width = 105,
-               .height = 67,
+               .width = 99,
+               .height = 58,
        },
        .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
 };