]> git.baikalelectronics.ru Git - kernel.git/commit
panel: simple: Fix size and bpp of BOE NV133FHM-N61
authorDouglas Anderson <dianders@chromium.org>
Fri, 8 May 2020 22:59:00 +0000 (15:59 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 9 May 2020 19:57:02 +0000 (21:57 +0200)
commitc6020682ab0daedd253bf6da01bbc0496dfc94ae
tree828c66beb1fa702e3ebea67cb89e4d75850fb5c6
parent24a14eeada74cb48c45e06b34faed45e1cdaa71f
panel: simple: Fix size and bpp of BOE NV133FHM-N61

The BOE NV133FHM-N61 is documented in the original commit to be a
13.3" panel, but the size listed in our struct doesn't match.
Specifically:

  math.sqrt(30.0 * 30.0 + 18.7 * 18.7) / 2.54 ==> 13.92

Searching around on the Internet shows that the size that was in the
structure was the "Outline Size", not the "Display Area".  Let's fix
it.

Also the Internet says that this panel supports 262K colors.  That's
6bpp, not 8bpp.

Fixes: 221d746096c7 ("panel: simple: Add BOE NV133FHM-N61")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200508155859.1.I4d29651c0837b4095fb4951253f44036a371732f@changeid
drivers/gpu/drm/panel/panel-simple.c