* [PATCH 1/1] drm: Store vendor IDs directly in the EDID quirk structure
@ 2012-04-22 16:40 Ian Pilcher
2012-04-23 15:25 ` Adam Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Ian Pilcher @ 2012-04-22 16:40 UTC (permalink / raw)
To: dri-devel; +Cc: Ian Pilcher
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: Ian Pilcher <arequipeno@gmail.com>
---
drivers/gpu/drm/drm_edid.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 5a18b0d..8c27395 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -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[] = {
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] drm: Store vendor IDs directly in the EDID quirk structure
2012-04-22 16:40 [PATCH 1/1] drm: Store vendor IDs directly in the EDID quirk structure Ian Pilcher
@ 2012-04-23 15:25 ` Adam Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Adam Jackson @ 2012-04-23 15:25 UTC (permalink / raw)
To: Ian Pilcher; +Cc: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 355 bytes --]
On Sun, 2012-04-22 at 11:40 -0500, Ian Pilcher wrote:
> 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: Ian Pilcher <arequipeno@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
- ajax
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-23 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-22 16:40 [PATCH 1/1] drm: Store vendor IDs directly in the EDID quirk structure Ian Pilcher
2012-04-23 15:25 ` Adam Jackson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.