提交 c51a3fd6 编写于 作者: I Ian Pilcher 提交者: Dave Airlie

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: NIan Pilcher <arequipeno@gmail.com>
Reviewed-by: NAdam Jackson <ajax@redhat.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 f89ec8a4
...@@ -81,7 +81,7 @@ struct detailed_mode_closure { ...@@ -81,7 +81,7 @@ struct detailed_mode_closure {
#define LEVEL_CVT 3 #define LEVEL_CVT 3
static struct edid_quirk { static struct edid_quirk {
char *vendor; char vendor[4];
int product_id; int product_id;
u32 quirks; u32 quirks;
} edid_quirk_list[] = { } edid_quirk_list[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册