Skip to contentSkip to conversation

drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H

PATCH Applied Dario Binacchi 2 participants 3 messages May 16, 2023 – May 26, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H

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 966fea78adf23 ("drm/panel: simple: Add support for Ampire AM-480272H3TMQW-T01H")

---

 drivers/gpu/drm/panel/panel-simple.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/panel/panel-simple.c +2 -2
index 065f378bba9d..d8efbcee9bc1 100644
@@ -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,
 };
Signature · 1 line
2.32.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 25 lines · Dario Binacchi

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 966fea78adf23 ("drm/panel: simple: Add support for Ampire AM-480272H3TMQW-T01H")

---

  drivers/gpu/drm/panel/panel-simple.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/panel/panel-simple.c +0 -0
index 065f378bba9d..d8efbcee9bc1 100644

drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc ampire_am_480272h3tmqw_t01h = { · line 766

Quoted 10 lines
drivers/gpu/drm/panel/panel-simple.c +2 -2
@@ -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,
  };
maintainer Applied
#2 lore raw
In reply to Dario Binacchi

Hi,

Quoted 13 lines · Dario Binacchi

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 |
----------------------------------------------------------

Quoted 1 line

[...]

Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)

[1/1] drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H

      https://cgit.freedesktop.org/drm/drm-misc/commit/?id=f24b49550814fdee4a98b9552e35e243ccafd4a8
Signature · 1 line
Neil