diff options
author | Richard Acayan <mailingradian@gmail.com> | 2023-01-16 17:49:08 -0500 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2023-01-19 08:21:57 +0100 |
commit | fd40749a4f62a03d0aebe6eb446ea84a9901795a (patch) | |
tree | 0b4ece38d197b90267c57941e85ea5bfc4a34fbf /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | c9d27c6be518b4ef2966d9564654ef99292ea1b3 (diff) |
drm/panel: sofef00: Use 16-bit brightness function
These panels communicate brightness in big endian. This is not a quirk
of the panels themselves, but rather, a part of the MIPI standard. Use
the new mipi_dsi_dcs_set_display_brightness_large() function that
properly handles 16-bit brightness instead of doing special processing
of the brightness values.
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Tested-by: Caleb Connolly <caleb@connolly.tech>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230116224909.23884-3-mailingradian@gmail.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions