Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c51a3fd6 authored by Ian Pilcher's avatar Ian Pilcher Committed by Dave Airlie
Browse files

drm: Store vendor IDs directly in the EDID quirk structure



EDID vendor IDs are always 3 characters long (4 with the terminating
0).  It doesn't make any sense to have a (possibly 8-byte) pointer
to the ID string in the quirk structure.

Signed-off-by: default avatarIan Pilcher <arequipeno@gmail.com>
Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f89ec8a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ struct detailed_mode_closure {
#define LEVEL_CVT	3

static struct edid_quirk {
	char *vendor;
	char vendor[4];
	int product_id;
	u32 quirks;
} edid_quirk_list[] = {