summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2024-06-04 15:20:29 +0200
committerNoralf Trønnes <noralf@tronnes.org>2024-06-07 16:09:05 +0200
commitf34f014c84122d38c70455911e7343016fc8eb14 (patch)
tree88268d9d0da6bf1d8573fb9fc281c7ce9d68ece5 /include/drm
parentfdb164667bb1b6025f65b14ec7fd4a48f2d4be00 (diff)
downloadlwn-f34f014c84122d38c70455911e7343016fc8eb14.tar.gz
lwn-f34f014c84122d38c70455911e7343016fc8eb14.zip
drm/mipi-dbi: Remove mipi_dbi_machine_little_endian()
mipi_dbi_machine_little_endian() should really have been called mipi_dbi_framebuffer_little_endian() because that's the function it performs. When I added support for these SPI displays I thought that the framebuffers on big endian machines were also big endian, but I have later learned that this is not the case. There's a bit in the fourcc code that controls this: DRM_FORMAT_BIG_ENDIAN. Just remove the function to avoid confusion. We can add big endian support later should the need arise and we have hardware to test on. Instead of just amending the docs, expand it to explain the endianness handling. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240604-panel-mipi-dbi-rgb666-v4-2-d7c2bcb9b78d@tronnes.org Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions