diff options
author | Douglas Anderson <dianders@chromium.org> | 2021-09-14 13:21:51 -0700 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2021-09-20 09:18:01 -0700 |
commit | e8de4d55c2590c57e0c1decedc4b0605528f27a7 (patch) | |
tree | 69273509fa35247bd18d51c95f22a72b3effd791 /arch/arm/configs/vexpress_defconfig | |
parent | d9f91a10c3e8b8b6f6762e35f2905a8914ca309d (diff) | |
download | lwn-e8de4d55c2590c57e0c1decedc4b0605528f27a7.tar.gz lwn-e8de4d55c2590c57e0c1decedc4b0605528f27a7.zip |
drm/edid: Use new encoded panel id style for quirks matching
In the patch ("drm/edid: Allow the querying/working with the panel ID
from the EDID") we introduced a different way of working with the
panel ID stored in the EDID. Let's use this new way for the quirks
code.
Advantages of the new style:
* Smaller data structure size. Saves 4 bytes per panel.
* Iterate through quirks structure with just "==" instead of strncmp()
* In-kernel storage is more similar to what's stored in the EDID
itself making it easier to grok that they are referring to the same
value.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210914132020.v5.4.I6103ce2b16e5e5a842b14c7022a034712b434609@changeid
Diffstat (limited to 'arch/arm/configs/vexpress_defconfig')
0 files changed, 0 insertions, 0 deletions