Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into lca2016
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Feb 1, 2016
2 parents bba0e3e + e452948 commit ebbfdc5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firmware/lm32/edid.c
Expand Up @@ -218,7 +218,7 @@ void generate_edid(void *out,
e->video_input = 0x80; /* digital */
e->h_image_size = timing->h_active/64;
e->v_image_size = timing->v_active/64;
e->gamma = 0xff;
e->gamma = 0x78;
e->feature_support = 0x06;

e->cc_rg_l = 0;
Expand Down
18 changes: 17 additions & 1 deletion firmware/lm32/processor.c
Expand Up @@ -47,7 +47,7 @@
(1|a) (2) (3) (4)
ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520
|\-(c)-/\-(b)-/ |
|\-(c)-/\-(d)-/ |
| 24 40 |
| |
\--------(b)-------/
Expand Down Expand Up @@ -281,7 +281,23 @@ static const struct video_timing video_modes[PROCESSOR_MODE_COUNT] = {
.v_sync_offset = 1,
.v_sync_width = 3,
.comment = "(HV20/HV30 in NTSC mode)"
},
// 720x576 @ 50.00 Hz Modeline 720x576" 32.67 720 744 816 912 576 577 580 597 -HSync +Vsyncc
{
.pixel_clock = 3267,

.h_active = 720,
.h_blanking = 192,
.h_sync_offset = 24,
.h_sync_width = 72,

.v_active = 576,
.v_blanking = 21,
.v_sync_offset = 1,
.v_sync_width = 3,
.comment = "(HV20/HV30 in PAL mode)"
}

};

void processor_list_modes(char *mode_descriptors)
Expand Down
2 changes: 1 addition & 1 deletion firmware/lm32/processor.h
@@ -1,7 +1,7 @@
#ifndef __PROCESSOR_H
#define __PROCESSOR_H

#define PROCESSOR_MODE_COUNT 13
#define PROCESSOR_MODE_COUNT 14
#define PROCESSOR_MODE_DESCLEN 64

enum {
Expand Down

0 comments on commit ebbfdc5

Please sign in to comment.