|
@@ -0,0 +1,40 @@
|
|
|
|
+diff --git a/drivers/gpu/drm/drm_edid_load.c b/drivers/gpu/drm/drm_edid_load.c
|
|
|
|
+index 37d8ba3..e2e00c1 100644
|
|
|
|
+--- a/drivers/gpu/drm/drm_edid_load.c
|
|
|
|
++++ b/drivers/gpu/drm/drm_edid_load.c
|
|
|
|
+@@ -38,8 +38,9 @@ int __drm_get_edid_firmware_path(char *buf, size_t bufsize)
|
|
|
|
+ }
|
|
|
|
+ EXPORT_SYMBOL(__drm_get_edid_firmware_path);
|
|
|
|
+
|
|
|
|
+-#define GENERIC_EDIDS 6
|
|
|
|
++#define GENERIC_EDIDS 7
|
|
|
|
+ static const char * const generic_edid_name[GENERIC_EDIDS] = {
|
|
|
|
++ "edid/480x272.bin",
|
|
|
|
+ "edid/800x600.bin",
|
|
|
|
+ "edid/1024x768.bin",
|
|
|
|
+ "edid/1280x1024.bin",
|
|
|
|
+@@ -50,6 +51,24 @@ static const char * const generic_edid_name[GENERIC_EDIDS] = {
|
|
|
|
+
|
|
|
|
+ static const u8 generic_edid[GENERIC_EDIDS][128] = {
|
|
|
|
+ {
|
|
|
|
++ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
|
|
|
|
++ 0x04, 0x81, 0x43, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
|
|
++ 0x0C, 0x17, 0x01, 0x03, 0x81, 0x0A, 0x06, 0x78,
|
|
|
|
++ 0x8A, 0xA5, 0x8E, 0xA6, 0x54, 0x4A, 0x9C, 0x26,
|
|
|
|
++ 0x12, 0x45, 0x46, 0x00, 0x00, 0x00, 0x01, 0x01,
|
|
|
|
++ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
|
|
|
|
++ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xC4, 0x09,
|
|
|
|
++ 0xE0, 0x33, 0x10, 0x10, 0x14, 0x10, 0x08, 0x05,
|
|
|
|
++ 0x4A, 0x00, 0x5F, 0x36, 0x00, 0x00, 0x00, 0x18,
|
|
|
|
++ 0x00, 0x00, 0x00, 0xFC, 0x00, 0x41, 0x44, 0x41,
|
|
|
|
++ 0x46, 0x52, 0x55, 0x49, 0x54, 0x20, 0x34, 0x33,
|
|
|
|
++ 0x20, 0x20, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
|
|
|
|
++ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
++ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10,
|
|
|
|
++ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
++ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x42
|
|
|
|
++ },
|
|
|
|
++ {
|
|
|
|
+ 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00,
|
|
|
|
+ 0x31, 0xd8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
+ 0x05, 0x16, 0x01, 0x03, 0x6d, 0x1b, 0x14, 0x78,
|