diff options
author | Douglas Anderson <dianders@chromium.org> | 2024-02-27 14:19:29 -0800 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2024-03-05 08:37:44 -0800 |
commit | 95bf25bb9ed5dedb7fb39f76489f7d6843ab0475 (patch) | |
tree | 3bec7ec259980e2b25aed56100cc440825b35151 /lib | |
parent | daf8739c3322a762ce84f240f50e0c39181a41ab (diff) |
drm/udl: Add ARGB8888 as a format
Even though the UDL driver converts to RGB565 internally (see
pixel32_to_be16() in udl_transfer.c), it advertises XRGB8888 for
compatibility. Let's add ARGB8888 to that list.
This makes UDL devices work on ChromeOS again after commit
c91acda3a380 ("drm/gem: Check for valid formats"). Prior to that
commit things were "working" because we'd silently treat the ARGB8888
that ChromeOS wanted as XRGB8888.
Fixes: c91acda3a380 ("drm/gem: Check for valid formats")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240227141928.1.I24ac8d51544e4624b7e9d438d95880c4283e611b@changeid
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions