[PATCH] [i915] Fix another use of the wrong interlace mask to return to progressive mode

2012-02-24 Thread Christian Schmidt
conf &= ~PIPECONF_INTERLACE_W_FIELD_INDICATION; /* progressive */ The second setting of progressive mode should use PIPECONF_INTERLACE_MASK, too. Signed-off-by: Christian Schmidt --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/

[PATCH] intel-dri: Fix initialization if startup happens in interlaced mode [v2]

2011-11-14 Thread Christian Schmidt
FIELD_0_ONLY (7 << 21) This patch introduces a new PIPECONF_INTERLACE_MASK define and uses it to restore progressive mode. Signed-of-by: Christian Schmidt -- next part -- A non-text attachment was scrubbed... Name: fix_startup_in_interlaced_mode.patch Type: text/

[PATCH] intel-dri: Fix initialization if startup happens in interlaced mode [v2]

2011-11-14 Thread Christian Schmidt
21) This patch introduces a new PIPECONF_INTERLACE_MASK define and uses it to restore progressive mode. Signed-of-by: Christian Schmidt schm...@digadd.de diff -ur linux-3.2-rc1.orig/drivers/gpu/drm/i915/i915_reg.h linux-3.2-rc1/drivers/gpu/drm/i915/i915_reg.h --- linux-3.2-rc1.orig/drivers/gpu

[PATCH] intel-dri: Fix initialization if startup happens in interlaced mode

2011-11-13 Thread Christian Schmidt
My EFI BIOS starts the graphics card up in my projector's preferred EDID mode, 1080 at 60i. The Intel driver does not clear the interlaced bit: #define PIPECONF_PROGRESSIVE (0 << 21) #define PIPECONF_INTERLACE_W_FIELD_INDICATION (6 << 21) #define PIPECONF_INTERLACE_FIELD_0_ONLY

[PATCH] Fix wrong assumptions in cea_for_each_detailed_block v2

2011-11-13 Thread Christian Schmidt
ats. As such the number can't be used to determine n, and the existing code will filter non-timing 18byte descriptors anyway. V2 removes an unused variable warning. Signed-off-by: Christian Schmidt -- next part -- A non-text attachment was scrubbed... Name: fix_cea_for_each_det

[PATCH] drm_edid_to_eld: check for CEA data blocks only from structure revision 3 on

2011-11-13 Thread Christian Schmidt
CEA datablocks are only defined from revision 3 onwards. Only check for them if the revision says so. Signed-of-by: Christian Schmidt -- next part -- A non-text attachment was scrubbed... Name: fix_drm_edid_to_eld.patch Type: text/x-patch Size: 1584 bytes Desc

[PATCH] Fix wrong assumptions in cea_for_each_detailed_block

2011-11-13 Thread Christian Schmidt
ats. As such the number can't be used to determine n, and the existing code will filter non-timing 18byte descriptors anyway. Signed-off-by: Christian Schmidt -- next part -- A non-text attachment was scrubbed... Name: fix_cea_for_each_detailed_block.patch Type: tex

[PATCH] drm_edid: support CEA video modes

2011-11-13 Thread Christian Schmidt
3] [drm:drm_mode_debug_printmodeline], Modeline 26:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa [1.144206] [drm:drm_mode_debug_printmodeline], Modeline 28:"640x480" 60 25175 640 656 752 800 480 490 492 525 0x40 0xa Signed-off-by: Christian Schmidt --

[PATCH] drm_edid: support CEA video modes

2011-11-13 Thread Christian Schmidt
] [drm:drm_mode_debug_printmodeline], Modeline 28:640x480 60 25175 640 656 752 800 480 490 492 525 0x40 0xa Signed-off-by: Christian Schmidt schm...@digadd.de diff -ur linux-3.2-rc1.orig/drivers/gpu/drm/drm_edid.c linux-3.2-rc1/drivers/gpu/drm/drm_edid.c --- linux-3.2-rc1.orig/drivers/gpu/drm/drm_edid.c 2011-11-08 01

[PATCH] Fix wrong assumptions in cea_for_each_detailed_block

2011-11-13 Thread Christian Schmidt
to determine n, and the existing code will filter non-timing 18byte descriptors anyway. Signed-off-by: Christian Schmidt schmidt@digadd,de diff -ur linux-3.2-rc1.orig/drivers/gpu/drm/drm_edid.c linux-3.2-rc1/drivers/gpu/drm/drm_edid.c --- linux-3.2-rc1.orig/drivers/gpu/drm/drm_edid.c 2011-11-13 01:42

[PATCH] drm_edid_to_eld: check for CEA data blocks only from structure revision 3 on

2011-11-13 Thread Christian Schmidt
CEA datablocks are only defined from revision 3 onwards. Only check for them if the revision says so. Signed-of-by: Christian Schmidt schm...@digadd.de diff -ur linux-3.2-rc1.orig/drivers/gpu/drm/drm_edid.c linux-3.2-rc1/drivers/gpu/drm/drm_edid.c --- linux-3.2-rc1.orig/drivers/gpu/drm/drm_edid.c

[PATCH] Fix wrong assumptions in cea_for_each_detailed_block v2

2011-11-13 Thread Christian Schmidt
to determine n, and the existing code will filter non-timing 18byte descriptors anyway. V2 removes an unused variable warning. Signed-off-by: Christian Schmidt schmidt@digadd,de diff -ur linux-3.2-rc1.orig/drivers/gpu/drm/drm_edid.c linux-3.2-rc1/drivers/gpu/drm/drm_edid.c --- linux-3.2-rc1.orig

[PATCH] intel-dri: Fix initialization if startup happens in interlaced mode

2011-11-13 Thread Christian Schmidt
My EFI BIOS starts the graphics card up in my projector's preferred EDID mode, 1080@60i. The Intel driver does not clear the interlaced bit: #define PIPECONF_PROGRESSIVE (0 21) #define PIPECONF_INTERLACE_W_FIELD_INDICATION (6 21) #define PIPECONF_INTERLACE_FIELD_0_ONLY (7