commit drm/i915: disable shared panel fitter for pipe breaks resolution switching
Subsystems (2)
Quoted 7 lines · Hans de Bruin
Mika,
I am a huge van of ald dos games. Since commit
24a1f16de97c4cf0029d9acd04be06db32208726, "drm/i915: disable shared panel fitter for pipe" my laptop does not change resolution when I use xdosemu full screen. The screen is just moved to the upper left corner and is not scaled up to fill the screen.
Adding relevent mailing lists, please always cc lists when reporting bugs. -Daniel
Quoted 31 lines
--
HansI have a del latitude d430. lspci reports:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0, IRQ 16 Memory ateff00000(32-bit, non-prefetchable) [size=512K] I/O ports at eff8 [size=8]
Memory atd0000000(32-bit, prefetchable) [size=256M] Memory atefec0000(32-bit, non-prefetchable) [size=256K] Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Kernel driver in use: i91500:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0
Memory ateff80000(32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2lcpi:
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
commit 9d6d9f19e8146fa24903cb561e204a22232740e3
Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200
drm/i915: clean up panel fitter handling in lvds
Thanks, Daniel
Quoted 50 lines · Daniel Vetter
Quoted 7 lines · Hans de Bruin
Mika,
I am a huge van of ald dos games. Since commit
24a1f16de97c4cf0029d9acd04be06db32208726, "drm/i915: disable shared panel fitter for pipe" my laptop does not change resolution when I use xdosemu full screen. The screen is just moved to the upper left corner and is not scaled up to fill the screen.Adding relevent mailing lists, please always cc lists when reporting bugs. -Daniel
Quoted 28 lines
--
HansI have a del latitude d430. lspci reports:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0, IRQ 16 Memory ateff00000(32-bit, non-prefetchable) [size=512K] I/O ports at eff8 [size=8]
Memory atd0000000(32-bit, prefetchable) [size=256M] Memory atefec0000(32-bit, non-prefetchable) [size=256K] Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Kernel driver in use: i91500:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0
Memory ateff80000(32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2Quoted 3 lines
lcpi:
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Hello Hans,
Quoted 5 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
Quoted 7 lines
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200drm/i915: clean up panel fitter handling in lvds
Thanks, Daniel
Further, could you also test:
https://github.com/mkuoppal/linux/tree/pfit_test
Thanks,
--Mika
Quoted 58 lines · Daniel Vetter
Quoted 50 lines · Hans de Bruin
Quoted 7 lines
Mika,
I am a huge van of ald dos games. Since commit
24a1f16de97c4cf0029d9acd04be06db32208726, "drm/i915: disable shared panel fitter for pipe" my laptop does not change resolution when I use xdosemu full screen. The screen is just moved to the upper left corner and is not scaled up to fill the screen.Adding relevent mailing lists, please always cc lists when reporting bugs. -Daniel
Quoted 28 lines
--
HansI have a del latitude d430. lspci reports:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0, IRQ 16 Memory ateff00000(32-bit, non-prefetchable) [size=512K] I/O ports at eff8 [size=8]
Memory atd0000000(32-bit, prefetchable) [size=256M] Memory atefec0000(32-bit, non-prefetchable) [size=256K] Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Kernel driver in use: i91500:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0
Memory ateff80000(32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2Quoted 3 lines
lcpi:
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.chSignature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 10 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200drm/i915: clean up panel fitter handling in lvds
Today's kernel still contains the bug.
Signature · 1 line
Hans
Quoted 14 lines · Mika Kuoppala
Hello Hans,
Quoted 9 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200
Quoted 6 lines
Quoted 3 lines
drm/i915: clean up panel fitter handling in lvds
Thanks, Daniel
Further, could you also test:
https://github.com/mkuoppal/linux/tree/pfit_test
pfit_test functions normally.
Signature · 1 line
Hans
Quoted 7 lines · Hans de Bruin
Quoted 6 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
Quoted 8 lines
Quoted 5 lines
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200drm/i915: clean up panel fitter handling in lvds
Today's kernel still contains the bug.
Hm, I've just retested latest drm-intel-nightly which should have the same set of relevant patches, and I couldn't reproduce your issue. Low-res modes on the lvds panel seem to correctly scale up here on my 945gm.
Can you pls retest with latest -nightly from
http://cgit.freedesktop.org/~danvet/drm-intel ?
Also please attach the output of xrandr --verbose when running with a reduced mode.
Thanks, Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 15 lines · Daniel Vetter
Quoted 14 lines · Hans de Bruin
Quoted 11 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200drm/i915: clean up panel fitter handling in lvds
Quoted 6 lines
Quoted 1 line
Today's kernel still contains the bug.
Hm, I've just retested latest drm-intel-nightly which should have the same set of relevant patches, and I couldn't reproduce your issue. Low-res modes on the lvds panel seem to correctly scale up here on my 945gm.
dell latitudes d430's are quite special.
Quoted 4 lines
Can you pls retest with latest -nightly from
http://cgit.freedesktop.org/~danvet/drm-intel ?
pending
Quoted 2 lines
Also please attach the output of xrandr --verbose when running with a reduced mode.
I have attached the output of xrandr and intel_reg_dumper good and bad. People have asked for intel_reg_dumper output before. I do not know whether color things show up in the dump but I also have a color problem. That problem is not caused by this commit.
Signature · 1 line
Hans
PGETBL_CTL: 0x7ffc0001
PGTBL_ER: 0x00000000
EXCC: 0x00000000
HWS_PGA: 0x36200000
IPEIR: 0x00000000
IPEHR: 0x01000000
INST_DONE: 0x7fffffc0
NOPID: 0x00000000
HWSTAM: 0xfffceffe
SCPD0: 0x00000200
IER: 0x00028053
IIR: 0x00000000
IMR: 0xfffd73ae
ISR: 0x00000000
EIR: 0x00000000
EMR: 0xffffffed
ESR: 0x00000001
INST_PM: 0x00000800
ECOSKPD: 0x00000306
DCC: 0x000f0400 (single channel, XOR randomization: disabled, XOR bit: 11)
CHDECMISC: 0x22b97420 (XOR bank/rank, ch2 enh disabled, ch1 enh disabled, ch0 enh disabled, flex disabled, ep not present)
C0DRB0: 0x000f0400 (0x0400)
C0DRB1: 0x0000000f (0x000f)
C0DRB2: 0x00000000 (0x0000)
C0DRB3: 0x01080000 (0x0000)
C1DRB0: 0x0e0d0d0c (0x0d0c)
C1DRB1: 0x0f0e0e0d (0x0e0d)
C1DRB2: 0x100f0f0e (0x0f0e)
C1DRB3: 0x0e0d100f (0x100f)
C0DRA01: 0x04020108 (0x0108)
C0DRA23: 0x00000402 (0x0402)
C1DRA01: 0x100f0e0d (0x0e0d)
C1DRA23: 0x1211100f (0x100f)
PGETBL_CTL: 0x7ffc0001
VCLK_DIVISOR_VGA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
VCLK_DIVISOR_VGA1: 0x00031406 (n = 3, m1 = 20, m2 = 6)
VCLK_POST_DIV: 0x00020002 (vga0 p1 = 4, p2 = 2, vga1 p1 = 2, p2 = 2)
DPLL_TEST: 0x00010001 ()
CACHE_MODE_0: 0x00006820
D_STATE: 0x0000000b
DSPCLK_GATE_D: 0x00001000 (clock gates disabled: DPLUNIT)
RENCLK_GATE_D1: 0x00000000
RENCLK_GATE_D2: 0x00000000
SDVOB: 0x00480004 (disabled, pipe A, stall disabled, detected)
SDVOC: 0x00480000 (disabled, pipe A, stall disabled, not detected)
SDVOUDI: 0x00000000
DSPARB: 0x00001d9c
DSPFW1: 0x00000000
DSPFW2: 0x00000000
DSPFW3: 0x00000000
ADPA: 0x40008c18 (disabled, pipe B, +hsync, +vsync)
LVDS: 0xc0308300 (enabled, pipe B, 18 bit, 1 channel)
DVOA: 0x00000000 (disabled, pipe A, no stall, -hsync, -vsync)
DVOB: 0x00480004 (disabled, pipe A, no stall, -hsync, -vsync)
DVOC: 0x00480000 (disabled, pipe A, no stall, -hsync, -vsync)
DVOA_SRCDIM: 0x00000000
DVOB_SRCDIM: 0x00000000
DVOC_SRCDIM: 0x00000000
PP_CONTROL: 0xabcd0001 (power target: on)
PP_STATUS: 0xc0000008 (on, ready, sequencing idle)
PP_ON_DELAYS: 0x012c07d0
PP_OFF_DELAYS: 0x00fa07d0
PP_DIVISOR: 0x00270f05
PFIT_CONTROL: 0x00000000
PFIT_PGM_RATIOS: 0x99909990
PORT_HOTPLUG_EN: 0x00000220
PORT_HOTPLUG_STAT: 0x00000400
DSPACNTR: 0xd9000000 (enabled, pipe B)
DSPASTRIDE: 0x00002000 (8192 bytes)
DSPAPOS: 0x00000000 (0, 0)
DSPASIZE: 0x01df027f (640, 480)
DSPABASE: 0x04800000
DSPASURF: 0x00000000
DSPATILEOFF: 0x00000000
PIPEACONF: 0x00000000 (disabled, single-wide)
PIPEASRC: 0x04ff03ff (1280, 1024)
PIPEASTAT: 0x00000000 (status:)
PIPEA_GMCH_DATA_M: 0x00000000
PIPEA_GMCH_DATA_N: 0x00000000
PIPEA_DP_LINK_M: 0x00000000
PIPEA_DP_LINK_N: 0x00000000
CURSOR_A_BASE: 0x00000000
CURSOR_A_CONTROL: 0x00000000
CURSOR_A_POSITION: 0x00000000
FPA0: 0x00020f03 (n = 2, m1 = 15, m2 = 3)
FPA1: 0x00020f03 (n = 2, m1 = 15, m2 = 3)
DPLL_A: 0x14020003 (disabled, non-dvo, default clock, DAC/serial mode, p1 = 2, p2 = 10, SDVO mult 1)
DPLL_A_MD: 0x00000000
HTOTAL_A: 0x06af04ff (1280 active, 1712 total)
HBLANK_A: 0x06af04ff (1280 start, 1712 end)
HSYNC_A: 0x05d70557 (1368 start, 1496 end)
VTOTAL_A: 0x044f03ff (1024 active, 1104 total)
VBLANK_A: 0x044f03ff (1024 start, 1104 end)
VSYNC_A: 0x04090402 (1027 start, 1034 end)
BCLRPAT_A: 0x00000000
VSYNCSHIFT_A: 0x00000000
DSPBCNTR: 0x58000000 (disabled, pipe A)
DSPBSTRIDE: 0x00001400 (5120 bytes)
DSPBPOS: 0x00000000 (0, 0)
DSPBSIZE: 0x03ff04ff (1280, 1024)
DSPBBASE: 0x07620000
DSPBSURF: 0x00000000
DSPBTILEOFF: 0x00000000
PIPEBCONF: 0x80000000 (enabled, single-wide)
PIPEBSRC: 0x027f01df (640, 480)
PIPEBSTAT: 0x00000302 (status: VSYNC_INT_STATUS DLINE_COMPARE_STATUS VBLANK_INT_STATUS)
PIPEB_GMCH_DATA_M: 0x00000000
PIPEB_GMCH_DATA_N: 0x00000000
PIPEB_DP_LINK_M: 0x00000000
PIPEB_DP_LINK_N: 0x00000000
CURSOR_B_BASE: 0x00000000
CURSOR_B_CONTROL: 0x10000000
CURSOR_B_POSITION: 0x008c0239
FPB0: 0x00031104 (n = 3, m1 = 17, m2 = 4)
FPB1: 0x00031104 (n = 3, m1 = 17, m2 = 4)
DPLL_B: 0x98026000 (enabled, non-dvo, spread spectrum clock, LVDS mode, p1 = 2, p2 = 14, SDVO mult 1)
DPLL_B_MD: 0x00000000
HTOTAL_B: 0x058a0429 (1066 active, 1419 total)
HBLANK_B: 0x05200495 (1174 start, 1313 end)
HSYNC_B: 0x04eb04cb (1228 start, 1260 end)
VTOTAL_B: 0x032f031f (800 active, 816 total)
VBLANK_B: 0x032f031f (800 start, 816 end)
VSYNC_B: 0x03280322 (803 start, 809 end)
BCLRPAT_B: 0x00000000
VSYNCSHIFT_B: 0x00000000
VCLK_DIVISOR_VGA0: 0x00031108
VCLK_DIVISOR_VGA1: 0x00031406
VCLK_POST_DIV: 0x00020002
VGACNTRL: 0x80000000 (disabled)
TV_CTL: 0x000c0000
TV_DAC: 0x70000000
TV_CSC_Y: 0x0332012d
TV_CSC_Y2: 0x07d30104
TV_CSC_U: 0x0733052d
TV_CSC_U2: 0x05c70200
TV_CSC_V: 0x0340030c
TV_CSC_V2: 0x06d00200
TV_CLR_KNOBS: 0x00606000
TV_CLR_LEVEL: 0x010b00e1
TV_H_CTL_1: 0x00400359
TV_H_CTL_2: 0x80480022
TV_H_CTL_3: 0x007c0344
TV_V_CTL_1: 0x00f01415
TV_V_CTL_2: 0x00060607
TV_V_CTL_3: 0x80120001
TV_V_CTL_4: 0x000900f0
TV_V_CTL_5: 0x000a00f0
TV_V_CTL_6: 0x000900f0
TV_V_CTL_7: 0x000a00f0
TV_SC_CTL_1: 0xc1710087
TV_SC_CTL_2: 0x6b405140
TV_SC_CTL_3: 0x00000000
TV_WIN_POS: 0x00360024
TV_WIN_SIZE: 0x02640198
TV_FILTER_CTL_1: 0x800010bb
TV_FILTER_CTL_2: 0x00028283
TV_FILTER_CTL_3: 0x00014141
TV_CC_CONTROL: 0x00000000
TV_CC_DATA: 0x00000000
TV_H_LUMA_0: 0xb1403000
TV_H_LUMA_59: 0x0000b060
TV_H_CHROMA_0: 0xb1403000
TV_H_CHROMA_59: 0x0000b060
FBC_CFB_BASE: 0x00000000
FBC_LL_BASE: 0x00000000
FBC_CONTROL: 0x00000000
FBC_COMMAND: 0x00000000
FBC_STATUS: 0x20000000
FBC_CONTROL2: 0x00000000
FBC_FENCE_OFF: 0x00000000
FBC_MOD_NUM: 0x00000000
MI_MODE: 0x00000200
MI_ARB_STATE: 0x00000840
MI_RDRET_STATE: 0x00000000
ECOSKPD: 0x00000306
DP_B: 0x00000000
DPB_AUX_CH_CTL: 0x00000000
DPB_AUX_CH_DATA1: 0x00000000
DPB_AUX_CH_DATA2: 0x00000000
DPB_AUX_CH_DATA3: 0x00000000
DPB_AUX_CH_DATA4: 0x00000000
DPB_AUX_CH_DATA5: 0x00000000
DP_C: 0x00000000
DPC_AUX_CH_CTL: 0x00000000
DPC_AUX_CH_DATA1: 0x00000000
DPC_AUX_CH_DATA2: 0x00000000
DPC_AUX_CH_DATA3: 0x00000000
DPC_AUX_CH_DATA4: 0x00000000
DPC_AUX_CH_DATA5: 0x00000000
DP_D: 0x00000000
DPD_AUX_CH_CTL: 0x00000000
DPD_AUX_CH_DATA1: 0x00000000
DPD_AUX_CH_DATA2: 0x00000000
DPD_AUX_CH_DATA3: 0x00000000
DPD_AUX_CH_DATA4: 0x00000000
DPD_AUX_CH_DATA5: 0x00000000
AUD_CONFIG: 0x00000000
AUD_HDMIW_STATUS: 0x00000000
AUD_CONV_CHCNT: 0x00000000
VIDEO_DIP_CTL: 0x00000000
AUD_PINW_CNTR: 0x00000000
AUD_CNTL_ST: 0x00000000
AUD_PIN_CAP: 0x00000000
AUD_PINW_CAP: 0x00000000
AUD_PINW_UNSOLRESP: 0x00000000
AUD_OUT_DIG_CNVT: 0x00000000
AUD_OUT_CWCAP: 0x00000000
AUD_GRP_CAP: 0x00000000
FENCE 0: 0x00800341 (enabled, X tiled, 8192 pitch, 0x00800000 - 0x01000000 (8192kb))
FENCE 1: 0x04000231 (enabled, X tiled, 4096 pitch, 0x04000000 - 0x04400000 (4096kb))
FENCE 2: 0x00000000 (disabled)
FENCE 3: 0x09200131 (enabled, X tiled, 4096 pitch, 0x09200000 - 0x09400000 (2048kb))
FENCE 4: 0x0ba00131 (enabled, X tiled, 4096 pitch, 0x0ba00000 - 0x0bc00000 (2048kb))
FENCE 5: 0x0c800341 (enabled, X tiled, 8192 pitch, 0x0c800000 - 0x0d000000 (8192kb))
FENCE 6: 0x00000000 (disabled)
FENCE 7: 0x04800341 (enabled, X tiled, 8192 pitch, 0x04800000 - 0x05000000 (8192kb))
FENCE 8: 0x0a400131 (enabled, X tiled, 4096 pitch, 0x0a400000 - 0x0a600000 (2048kb))
FENCE 9: 0x08800121 (enabled, X tiled, 2048 pitch, 0x08800000 - 0x08a00000 (2048kb))
FENCE 10: 0x05600021 (enabled, X tiled, 2048 pitch, 0x05600000 - 0x05700000 (1024kb))
FENCE 11: 0x00000000 (disabled)
FENCE 12: 0x01000341 (enabled, X tiled, 8192 pitch, 0x01000000 - 0x01800000 (8192kb))
FENCE 13: 0x08000121 (enabled, X tiled, 2048 pitch, 0x08000000 - 0x08200000 (2048kb))
FENCE 14: 0x06200131 (enabled, X tiled, 4096 pitch, 0x06200000 - 0x06400000 (2048kb))
FENCE 15: 0x00000000 (disabled)
FENCE START 0: 0x0a400131 (disabled)
FENCE END 0: 0x08800121 (disabled)
FENCE START 1: 0x05600021 (disabled)
FENCE END 1: 0x00000000 (disabled)
FENCE START 2: 0x01000341 (disabled)
FENCE END 2: 0x08000121 (disabled)
FENCE START 3: 0x06200131 (disabled)
FENCE END 3: 0x00000000 (disabled)
FENCE START 4: 0x00000000 (disabled)
FENCE END 4: 0x00000000 (disabled)
FENCE START 5: 0x00000000 (disabled)
FENCE END 5: 0x00000000 (disabled)
FENCE START 6: 0x00000000 (disabled)
FENCE END 6: 0x00000000 (disabled)
FENCE START 7: 0x00000000 (disabled)
FENCE END 7: 0x00000000 (disabled)
FENCE START 8: 0x00000000 (disabled)
FENCE END 8: 0x00000000 (disabled)
FENCE START 9: 0x00000000 (disabled)
FENCE END 9: 0x00000000 (disabled)
FENCE START 10: 0x00000000 (disabled)
FENCE END 10: 0x00000000 (disabled)
FENCE START 11: 0x00000000 (disabled)
FENCE END 11: 0x00000000 (disabled)
FENCE START 12: 0x00000000 (disabled)
FENCE END 12: 0x00000000 (disabled)
FENCE START 13: 0x00000000 (disabled)
FENCE END 13: 0x00000000 (disabled)
FENCE START 14: 0x00000000 (disabled)
FENCE END 14: 0x00000000 (disabled)
FENCE START 15: 0x00000000 (disabled)
FENCE END 15: 0x00000000 (disabled)
INST_PM: 0x00000800pipe A dot 108000 n 2 m1 15 m2 3 p1 2 p2 10
pipe B dot 72142 n 3 m1 17 m2 4 p1 2 p2 14
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 4096 x 4096 LVDS1 connected 640x480+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
1280x800 59.8 +
1024x768 60.0
800x600 60.3 56.2
640x480 59.9*
VGA1 disconnected (normal left inverted right x axis y axis)
DVI1 disconnected (normal left inverted right x axis y axis)
TV1 disconnected (normal left inverted right x axis y axis)
PGETBL_CTL: 0x7ffc0001
PGTBL_ER: 0x00000000
EXCC: 0x00000000
HWS_PGA: 0x362a9000
IPEIR: 0x00000000
IPEHR: 0x01000000
INST_DONE: 0x7fffffc0
NOPID: 0x00000000
HWSTAM: 0xfffceffe
SCPD0: 0x00000200
IER: 0x00028053
IIR: 0x00000000
IMR: 0xfffd73ae
ISR: 0x00000000
EIR: 0x00000000
EMR: 0xffffffed
ESR: 0x00000001
INST_PM: 0x00000800
ECOSKPD: 0x00000306
DCC: 0x000f0400 (single channel, XOR randomization: disabled, XOR bit: 11)
CHDECMISC: 0x22b97420 (XOR bank/rank, ch2 enh disabled, ch1 enh disabled, ch0 enh disabled, flex disabled, ep not present)
C0DRB0: 0x000f0400 (0x0400)
C0DRB1: 0x0000000f (0x000f)
C0DRB2: 0x00000000 (0x0000)
C0DRB3: 0x01080000 (0x0000)
C1DRB0: 0x0e0d0d0c (0x0d0c)
C1DRB1: 0x0f0e0e0d (0x0e0d)
C1DRB2: 0x100f0f0e (0x0f0e)
C1DRB3: 0x0e0d100f (0x100f)
C0DRA01: 0x04020108 (0x0108)
C0DRA23: 0x00000402 (0x0402)
C1DRA01: 0x100f0e0d (0x0e0d)
C1DRA23: 0x1211100f (0x100f)
PGETBL_CTL: 0x7ffc0001
VCLK_DIVISOR_VGA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
VCLK_DIVISOR_VGA1: 0x00031406 (n = 3, m1 = 20, m2 = 6)
VCLK_POST_DIV: 0x00020002 (vga0 p1 = 4, p2 = 2, vga1 p1 = 2, p2 = 2)
DPLL_TEST: 0x00010001 ()
CACHE_MODE_0: 0x00006820
D_STATE: 0x0000000b
DSPCLK_GATE_D: 0x00001000 (clock gates disabled: DPLUNIT)
RENCLK_GATE_D1: 0x00000000
RENCLK_GATE_D2: 0x00000000
SDVOB: 0x00480004 (disabled, pipe A, stall disabled, detected)
SDVOC: 0x00480000 (disabled, pipe A, stall disabled, not detected)
SDVOUDI: 0x00000000
DSPARB: 0x00001d9c
DSPFW1: 0x00000000
DSPFW2: 0x00000000
DSPFW3: 0x00000000
ADPA: 0x40008c18 (disabled, pipe B, +hsync, +vsync)
LVDS: 0xc0308300 (enabled, pipe B, 18 bit, 1 channel)
DVOA: 0x00000000 (disabled, pipe A, no stall, -hsync, -vsync)
DVOB: 0x00480004 (disabled, pipe A, no stall, -hsync, -vsync)
DVOC: 0x00480000 (disabled, pipe A, no stall, -hsync, -vsync)
DVOA_SRCDIM: 0x00000000
DVOB_SRCDIM: 0x00000000
DVOC_SRCDIM: 0x00000000
PP_CONTROL: 0xabcd0001 (power target: on)
PP_STATUS: 0xc0000008 (on, ready, sequencing idle)
PP_ON_DELAYS: 0x012c07d0
PP_OFF_DELAYS: 0x00fa07d0
PP_DIVISOR: 0x00270f05
PFIT_CONTROL: 0x80000448
PFIT_PGM_RATIOS: 0x99909990
PORT_HOTPLUG_EN: 0x00000220
PORT_HOTPLUG_STAT: 0x00000400
DSPACNTR: 0xd9000000 (enabled, pipe B)
DSPASTRIDE: 0x00002000 (8192 bytes)
DSPAPOS: 0x00000000 (0, 0)
DSPASIZE: 0x01df027f (640, 480)
DSPABASE: 0x00800000
DSPASURF: 0x00000000
DSPATILEOFF: 0x00000000
PIPEACONF: 0x00000000 (disabled, single-wide)
PIPEASRC: 0x04ff03ff (1280, 1024)
PIPEASTAT: 0x00000000 (status:)
PIPEA_GMCH_DATA_M: 0x00000000
PIPEA_GMCH_DATA_N: 0x00000000
PIPEA_DP_LINK_M: 0x00000000
PIPEA_DP_LINK_N: 0x00000000
CURSOR_A_BASE: 0x00000000
CURSOR_A_CONTROL: 0x00000000
CURSOR_A_POSITION: 0x00000000
FPA0: 0x00020e08 (n = 2, m1 = 14, m2 = 8)
FPA1: 0x00020e08 (n = 2, m1 = 14, m2 = 8)
DPLL_A: 0x14020003 (disabled, non-dvo, default clock, DAC/serial mode, p1 = 2, p2 = 10, SDVO mult 1)
DPLL_A_MD: 0x00000000
HTOTAL_A: 0x06af04ff (1280 active, 1712 total)
HBLANK_A: 0x06af04ff (1280 start, 1712 end)
HSYNC_A: 0x05d70557 (1368 start, 1496 end)
VTOTAL_A: 0x044f03ff (1024 active, 1104 total)
VBLANK_A: 0x044f03ff (1024 start, 1104 end)
VSYNC_A: 0x04090402 (1027 start, 1034 end)
BCLRPAT_A: 0x00000000
VSYNCSHIFT_A: 0x00000000
DSPBCNTR: 0x58000000 (disabled, pipe A)
DSPBSTRIDE: 0x00001400 (5120 bytes)
DSPBPOS: 0x00000000 (0, 0)
DSPBSIZE: 0x03ff04ff (1280, 1024)
DSPBBASE: 0x05040000
DSPBSURF: 0x00000000
DSPBTILEOFF: 0x00000000
PIPEBCONF: 0x80000000 (enabled, single-wide)
PIPEBSRC: 0x027f01df (640, 480)
PIPEBSTAT: 0x00000302 (status: VSYNC_INT_STATUS DLINE_COMPARE_STATUS VBLANK_INT_STATUS)
PIPEB_GMCH_DATA_M: 0x00000000
PIPEB_GMCH_DATA_N: 0x00000000
PIPEB_DP_LINK_M: 0x00000000
PIPEB_DP_LINK_N: 0x00000000
CURSOR_B_BASE: 0x00000000
CURSOR_B_CONTROL: 0x10000000
CURSOR_B_POSITION: 0x00e5025f
FPB0: 0x00031009 (n = 3, m1 = 16, m2 = 9)
FPB1: 0x00031009 (n = 3, m1 = 16, m2 = 9)
DPLL_B: 0x98026000 (enabled, non-dvo, spread spectrum clock, LVDS mode, p1 = 2, p2 = 14, SDVO mult 1)
DPLL_B_MD: 0x00000000
HTOTAL_B: 0x058a0429 (1066 active, 1419 total)
HBLANK_B: 0x05200495 (1174 start, 1313 end)
HSYNC_B: 0x04eb04cb (1228 start, 1260 end)
VTOTAL_B: 0x032f031f (800 active, 816 total)
VBLANK_B: 0x032f031f (800 start, 816 end)
VSYNC_B: 0x03280322 (803 start, 809 end)
BCLRPAT_B: 0x00000000
VSYNCSHIFT_B: 0x00000000
VCLK_DIVISOR_VGA0: 0x00031108
VCLK_DIVISOR_VGA1: 0x00031406
VCLK_POST_DIV: 0x00020002
VGACNTRL: 0x80000000 (disabled)
TV_CTL: 0x000c0000
TV_DAC: 0x70000000
TV_CSC_Y: 0x0332012d
TV_CSC_Y2: 0x07d30104
TV_CSC_U: 0x0733052d
TV_CSC_U2: 0x05c70200
TV_CSC_V: 0x0340030c
TV_CSC_V2: 0x06d00200
TV_CLR_KNOBS: 0x00606000
TV_CLR_LEVEL: 0x010b00e1
TV_H_CTL_1: 0x00400359
TV_H_CTL_2: 0x80480022
TV_H_CTL_3: 0x007c0344
TV_V_CTL_1: 0x00f01415
TV_V_CTL_2: 0x00060607
TV_V_CTL_3: 0x80120001
TV_V_CTL_4: 0x000900f0
TV_V_CTL_5: 0x000a00f0
TV_V_CTL_6: 0x000900f0
TV_V_CTL_7: 0x000a00f0
TV_SC_CTL_1: 0xc1710087
TV_SC_CTL_2: 0x6b405140
TV_SC_CTL_3: 0x00000000
TV_WIN_POS: 0x00360024
TV_WIN_SIZE: 0x02640198
TV_FILTER_CTL_1: 0x800010bb
TV_FILTER_CTL_2: 0x00028283
TV_FILTER_CTL_3: 0x00014141
TV_CC_CONTROL: 0x00000000
TV_CC_DATA: 0x00000000
TV_H_LUMA_0: 0xb1403000
TV_H_LUMA_59: 0x0000b060
TV_H_CHROMA_0: 0xb1403000
TV_H_CHROMA_59: 0x0000b060
FBC_CFB_BASE: 0x00000000
FBC_LL_BASE: 0x00000000
FBC_CONTROL: 0x00000000
FBC_COMMAND: 0x00000000
FBC_STATUS: 0x20000000
FBC_CONTROL2: 0x00000000
FBC_FENCE_OFF: 0x00000000
FBC_MOD_NUM: 0x00000000
MI_MODE: 0x00000200
MI_ARB_STATE: 0x00000840
MI_RDRET_STATE: 0x00000000
ECOSKPD: 0x00000306
DP_B: 0x00000000
DPB_AUX_CH_CTL: 0x00000000
DPB_AUX_CH_DATA1: 0x00000000
DPB_AUX_CH_DATA2: 0x00000000
DPB_AUX_CH_DATA3: 0x00000000
DPB_AUX_CH_DATA4: 0x00000000
DPB_AUX_CH_DATA5: 0x00000000
DP_C: 0x00000000
DPC_AUX_CH_CTL: 0x00000000
DPC_AUX_CH_DATA1: 0x00000000
DPC_AUX_CH_DATA2: 0x00000000
DPC_AUX_CH_DATA3: 0x00000000
DPC_AUX_CH_DATA4: 0x00000000
DPC_AUX_CH_DATA5: 0x00000000
DP_D: 0x00000000
DPD_AUX_CH_CTL: 0x00000000
DPD_AUX_CH_DATA1: 0x00000000
DPD_AUX_CH_DATA2: 0x00000000
DPD_AUX_CH_DATA3: 0x00000000
DPD_AUX_CH_DATA4: 0x00000000
DPD_AUX_CH_DATA5: 0x00000000
AUD_CONFIG: 0x00000000
AUD_HDMIW_STATUS: 0x00000000
AUD_CONV_CHCNT: 0x00000000
VIDEO_DIP_CTL: 0x00000000
AUD_PINW_CNTR: 0x00000000
AUD_CNTL_ST: 0x00000000
AUD_PIN_CAP: 0x00000000
AUD_PINW_CAP: 0x00000000
AUD_PINW_UNSOLRESP: 0x00000000
AUD_OUT_DIG_CNVT: 0x00000000
AUD_OUT_CWCAP: 0x00000000
AUD_GRP_CAP: 0x00000000
FENCE 0: 0x00800341 (enabled, X tiled, 8192 pitch, 0x00800000 - 0x01000000 (8192kb))
FENCE 1: 0x0a000131 (enabled, X tiled, 4096 pitch, 0x0a000000 - 0x0a200000 (2048kb))
FENCE 2: 0x00000000 (disabled)
FENCE 3: 0x06e00131 (enabled, X tiled, 4096 pitch, 0x06e00000 - 0x07000000 (2048kb))
FENCE 4: 0x03000341 (enabled, X tiled, 8192 pitch, 0x03000000 - 0x03800000 (8192kb))
FENCE 5: 0x04000231 (enabled, X tiled, 4096 pitch, 0x04000000 - 0x04400000 (4096kb))
FENCE 6: 0x0e500021 (enabled, X tiled, 2048 pitch, 0x0e500000 - 0x0e600000 (1024kb))
FENCE 7: 0x06000341 (enabled, X tiled, 8192 pitch, 0x06000000 - 0x06800000 (8192kb))
FENCE 8: 0x01800341 (enabled, X tiled, 8192 pitch, 0x01800000 - 0x02000000 (8192kb))
FENCE 9: 0x07a00121 (enabled, X tiled, 2048 pitch, 0x07a00000 - 0x07c00000 (2048kb))
FENCE 10: 0x0de00131 (enabled, X tiled, 4096 pitch, 0x0de00000 - 0x0e000000 (2048kb))
FENCE 11: 0x00000000 (disabled)
FENCE 12: 0x00000000 (disabled)
FENCE 13: 0x07e00121 (enabled, X tiled, 2048 pitch, 0x07e00000 - 0x08000000 (2048kb))
FENCE 14: 0x0b600121 (enabled, X tiled, 2048 pitch, 0x0b600000 - 0x0b800000 (2048kb))
FENCE 15: 0x0da00131 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 0: 0x01800341 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 0: 0x07a00121 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 1: 0x0de00131 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 1: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 2: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 2: 0x07e00121 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 3: 0x0b600121 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 3: 0x0da00131 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 4: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 4: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 5: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 5: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 6: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 6: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 7: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 7: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 8: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 8: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 9: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 9: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 10: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 10: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 11: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 11: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 12: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 12: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 13: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 13: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 14: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 14: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE START 15: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE END 15: 0x00000000 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
INST_PM: 0x00000800pipe A dot 108000 n 2 m1 14 m2 8 p1 2 p2 10
pipe B dot 72142 n 3 m1 16 m2 9 p1 2 p2 14
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 4096 x 4096 LVDS1 connected 640x480+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
1280x800 59.8 + 1024x768 60.0 800x600 60.3 56.2 640x480 59.9*
VGA1 disconnected (normal left inverted right x axis y axis) DVI1 disconnected (normal left inverted right x axis y axis) TV1 disconnected (normal left inverted right x axis y axis)
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 22 lines · Daniel Vetter
Quoted 7 lines · Hans de Bruin
Quoted 6 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
Quoted 8 lines
Quoted 5 lines
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200drm/i915: clean up panel fitter handling in lvds
Today's kernel still contains the bug.
Hm, I've just retested latest drm-intel-nightly which should have the same set of relevant patches, and I couldn't reproduce your issue. Low-res modes on the lvds panel seem to correctly scale up here on my 945gm.
Quoted 6 lines
Can you pls retest with latest -nightly from
http://cgit.freedesktop.org/~danvet/drm-intel ?Also please attach the output of xrandr --verbose when running with a reduced mode.
tested:
http://cgit.freedesktop.org/~danvet/drm-intel
commit d08a6eb2690b1ac6f0582feb41c2ccbea945285f
Date: Thu Mar 7 22:54:25 2013 +0100
The problem is still there
my previous post contained the xrandr output whiteout the verbose. Doe you want my to repost with the verbose option?
Signature · 1 line
Hans
PGETBL_CTL: 0x7ffc0001
PGTBL_ER: 0x00000000
EXCC: 0x00000000
HWS_PGA: 0x361c7000
IPEIR: 0x00000000
IPEHR: 0x01000000
INST_DONE: 0x7fffffc0
NOPID: 0x00000000
HWSTAM: 0xfffceffe
SCPD0: 0x00000200
IER: 0x00028053
IIR: 0x00000000
IMR: 0xfffd73ae
ISR: 0x00000000
EIR: 0x00000000
EMR: 0xffffffed
ESR: 0x00000001
INST_PM: 0x00000800
ECOSKPD: 0x00000306
DCC: 0x000f0400 (single channel, XOR randomization: disabled, XOR bit: 11)
CHDECMISC: 0x22b97420 (XOR bank/rank, ch2 enh disabled, ch1 enh disabled, ch0 enh disabled, flex disabled, ep not present)
C0DRB0: 0x000f0400 (0x0400)
C0DRB1: 0x0000000f (0x000f)
C0DRB2: 0x00000000 (0x0000)
C0DRB3: 0x01080000 (0x0000)
C1DRB0: 0x0e0d0d0c (0x0d0c)
C1DRB1: 0x0f0e0e0d (0x0e0d)
C1DRB2: 0x100f0f0e (0x0f0e)
C1DRB3: 0x0e0d100f (0x100f)
C0DRA01: 0x04020108 (0x0108)
C0DRA23: 0x00000402 (0x0402)
C1DRA01: 0x100f0e0d (0x0e0d)
C1DRA23: 0x1211100f (0x100f)
PGETBL_CTL: 0x7ffc0001
VCLK_DIVISOR_VGA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
VCLK_DIVISOR_VGA1: 0x00031406 (n = 3, m1 = 20, m2 = 6)
VCLK_POST_DIV: 0x00020002 (vga0 p1 = 4, p2 = 2, vga1 p1 = 2, p2 = 2)
DPLL_TEST: 0x00010001 ()
CACHE_MODE_0: 0x00006820
D_STATE: 0x0000000b
DSPCLK_GATE_D: 0x00001000 (clock gates disabled: DPLUNIT)
RENCLK_GATE_D1: 0x00000000
RENCLK_GATE_D2: 0x00000000
SDVOB: 0x00480004 (disabled, pipe A, stall disabled, detected)
SDVOC: 0x00480000 (disabled, pipe A, stall disabled, not detected)
SDVOUDI: 0x00000000
DSPARB: 0x00001d9c
DSPFW1: 0x00000000
DSPFW2: 0x00000000
DSPFW3: 0x00000000
ADPA: 0x40008c18 (disabled, pipe B, +hsync, +vsync)
LVDS: 0xc0308300 (enabled, pipe B, 18 bit, 1 channel)
DVOA: 0x00000000 (disabled, pipe A, no stall, -hsync, -vsync)
DVOB: 0x00480004 (disabled, pipe A, no stall, -hsync, -vsync)
DVOC: 0x00480000 (disabled, pipe A, no stall, -hsync, -vsync)
DVOA_SRCDIM: 0x00000000
DVOB_SRCDIM: 0x00000000
DVOC_SRCDIM: 0x00000000
PP_CONTROL: 0xabcd0001 (power target: on)
PP_STATUS: 0xc0000008 (on, ready, sequencing idle)
PP_ON_DELAYS: 0x012c07d0
PP_OFF_DELAYS: 0x00fa07d0
PP_DIVISOR: 0x00270f05
PFIT_CONTROL: 0x00000000
PFIT_PGM_RATIOS: 0x99909990
PORT_HOTPLUG_EN: 0x00000220
PORT_HOTPLUG_STAT: 0x00000400
DSPACNTR: 0xd9000000 (enabled, pipe B)
DSPASTRIDE: 0x00001000 (4096 bytes)
DSPAPOS: 0x00000000 (0, 0)
DSPASIZE: 0x01df027f (640, 480)
DSPABASE: 0x07200000
DSPASURF: 0x00000000
DSPATILEOFF: 0x00000000
PIPEACONF: 0x00000000 (disabled, single-wide)
PIPEASRC: 0x04ff03ff (1280, 1024)
PIPEASTAT: 0x00000000 (status:)
PIPEA_GMCH_DATA_M: 0x00000000
PIPEA_GMCH_DATA_N: 0x00000000
PIPEA_DP_LINK_M: 0x00000000
PIPEA_DP_LINK_N: 0x00000000
CURSOR_A_BASE: 0x00000000
CURSOR_A_CONTROL: 0x00000000
CURSOR_A_POSITION: 0x00000000
FPA0: 0x00020f03 (n = 2, m1 = 15, m2 = 3)
FPA1: 0x00020f03 (n = 2, m1 = 15, m2 = 3)
DPLL_A: 0x14020003 (disabled, non-dvo, default clock, DAC/serial mode, p1 = 2, p2 = 10, SDVO mult 1)
DPLL_A_MD: 0x00000000
HTOTAL_A: 0x06af04ff (1280 active, 1712 total)
HBLANK_A: 0x06af04ff (1280 start, 1712 end)
HSYNC_A: 0x05d70557 (1368 start, 1496 end)
VTOTAL_A: 0x044f03ff (1024 active, 1104 total)
VBLANK_A: 0x044f03ff (1024 start, 1104 end)
VSYNC_A: 0x04090402 (1027 start, 1034 end)
BCLRPAT_A: 0x00000000
VSYNCSHIFT_A: 0x00000000
DSPBCNTR: 0x58000000 (disabled, pipe A)
DSPBSTRIDE: 0x00001400 (5120 bytes)
DSPBPOS: 0x00000000 (0, 0)
DSPBSIZE: 0x03ff04ff (1280, 1024)
DSPBBASE: 0x0be40000
DSPBSURF: 0x00000000
DSPBTILEOFF: 0x00000000
PIPEBCONF: 0x80000000 (enabled, single-wide)
PIPEBSRC: 0x027f01df (640, 480)
PIPEBSTAT: 0x00000202 (status: VSYNC_INT_STATUS VBLANK_INT_STATUS)
PIPEB_GMCH_DATA_M: 0x00000000
PIPEB_GMCH_DATA_N: 0x00000000
PIPEB_DP_LINK_M: 0x00000000
PIPEB_DP_LINK_N: 0x00000000
CURSOR_B_BASE: 0x34814000
CURSOR_B_CONTROL: 0x14000027
CURSOR_B_POSITION: 0x001c0174
FPB0: 0x00031104 (n = 3, m1 = 17, m2 = 4)
FPB1: 0x00031104 (n = 3, m1 = 17, m2 = 4)
DPLL_B: 0x98026000 (enabled, non-dvo, spread spectrum clock, LVDS mode, p1 = 2, p2 = 14, SDVO mult 1)
DPLL_B_MD: 0x00000000
HTOTAL_B: 0x058a0429 (1066 active, 1419 total)
HBLANK_B: 0x05200495 (1174 start, 1313 end)
HSYNC_B: 0x04eb04cb (1228 start, 1260 end)
VTOTAL_B: 0x032f031f (800 active, 816 total)
VBLANK_B: 0x032f031f (800 start, 816 end)
VSYNC_B: 0x03280322 (803 start, 809 end)
BCLRPAT_B: 0x00000000
VSYNCSHIFT_B: 0x00000000
VCLK_DIVISOR_VGA0: 0x00031108
VCLK_DIVISOR_VGA1: 0x00031406
VCLK_POST_DIV: 0x00020002
VGACNTRL: 0x80000000 (disabled)
TV_CTL: 0x000c0000
TV_DAC: 0x70000000
TV_CSC_Y: 0x0332012d
TV_CSC_Y2: 0x07d30104
TV_CSC_U: 0x0733052d
TV_CSC_U2: 0x05c70200
TV_CSC_V: 0x0340030c
TV_CSC_V2: 0x06d00200
TV_CLR_KNOBS: 0x00606000
TV_CLR_LEVEL: 0x010b00e1
TV_H_CTL_1: 0x00400359
TV_H_CTL_2: 0x80480022
TV_H_CTL_3: 0x007c0344
TV_V_CTL_1: 0x00f01415
TV_V_CTL_2: 0x00060607
TV_V_CTL_3: 0x80120001
TV_V_CTL_4: 0x000900f0
TV_V_CTL_5: 0x000a00f0
TV_V_CTL_6: 0x000900f0
TV_V_CTL_7: 0x000a00f0
TV_SC_CTL_1: 0xc1710087
TV_SC_CTL_2: 0x6b405140
TV_SC_CTL_3: 0x00000000
TV_WIN_POS: 0x00360024
TV_WIN_SIZE: 0x02640198
TV_FILTER_CTL_1: 0x800010bb
TV_FILTER_CTL_2: 0x00028283
TV_FILTER_CTL_3: 0x00014141
TV_CC_CONTROL: 0x00000000
TV_CC_DATA: 0x00000000
TV_H_LUMA_0: 0xb1403000
TV_H_LUMA_59: 0x0000b060
TV_H_CHROMA_0: 0xb1403000
TV_H_CHROMA_59: 0x0000b060
FBC_CFB_BASE: 0x00000000
FBC_LL_BASE: 0x00000000
FBC_CONTROL: 0x00000000
FBC_COMMAND: 0x00000000
FBC_STATUS: 0x20000000
FBC_CONTROL2: 0x00000000
FBC_FENCE_OFF: 0x00000000
FBC_MOD_NUM: 0x00000000
MI_MODE: 0x00000200
MI_ARB_STATE: 0x00000840
MI_RDRET_STATE: 0x00000000
ECOSKPD: 0x00000306
DP_B: 0x00000000
DPB_AUX_CH_CTL: 0x00000000
DPB_AUX_CH_DATA1: 0x00000000
DPB_AUX_CH_DATA2: 0x00000000
DPB_AUX_CH_DATA3: 0x00000000
DPB_AUX_CH_DATA4: 0x00000000
DPB_AUX_CH_DATA5: 0x00000000
DP_C: 0x00000000
DPC_AUX_CH_CTL: 0x00000000
DPC_AUX_CH_DATA1: 0x00000000
DPC_AUX_CH_DATA2: 0x00000000
DPC_AUX_CH_DATA3: 0x00000000
DPC_AUX_CH_DATA4: 0x00000000
DPC_AUX_CH_DATA5: 0x00000000
DP_D: 0x00000000
DPD_AUX_CH_CTL: 0x00000000
DPD_AUX_CH_DATA1: 0x00000000
DPD_AUX_CH_DATA2: 0x00000000
DPD_AUX_CH_DATA3: 0x00000000
DPD_AUX_CH_DATA4: 0x00000000
DPD_AUX_CH_DATA5: 0x00000000
AUD_CONFIG: 0x00000000
AUD_HDMIW_STATUS: 0x00000000
AUD_CONV_CHCNT: 0x00000000
VIDEO_DIP_CTL: 0x00000000
AUD_PINW_CNTR: 0x00000000
AUD_CNTL_ST: 0x00000000
AUD_PIN_CAP: 0x00000000
AUD_PINW_CAP: 0x00000000
AUD_PINW_UNSOLRESP: 0x00000000
AUD_OUT_DIG_CNVT: 0x00000000
AUD_OUT_CWCAP: 0x00000000
AUD_GRP_CAP: 0x00000000
FENCE 0: 0x09a00131 (enabled, X tiled, 4096 pitch, 0x09a00000 - 0x09c00000 (2048kb))
FENCE 1: 0x00600131 (enabled, X tiled, 4096 pitch, 0x00600000 - 0x00800000 (2048kb))
FENCE 2: 0x07200131 (enabled, X tiled, 4096 pitch, 0x07200000 - 0x07400000 (2048kb))
FENCE 3: 0x00000000 (disabled)
FENCE 4: 0x00000000 (disabled)
FENCE 5: 0x08800131 (enabled, X tiled, 4096 pitch, 0x08800000 - 0x08a00000 (2048kb))
FENCE 6: 0x08c00131 (enabled, X tiled, 4096 pitch, 0x08c00000 - 0x08e00000 (2048kb))
FENCE 7: 0x00000000 (disabled)
FENCE 8: 0x0da00131 (enabled, X tiled, 4096 pitch, 0x0da00000 - 0x0dc00000 (2048kb))
FENCE 9: 0x00000000 (disabled)
FENCE 10: 0x05000341 (enabled, X tiled, 8192 pitch, 0x05000000 - 0x05800000 (8192kb))
FENCE 11: 0x0a000131 (enabled, X tiled, 4096 pitch, 0x0a000000 - 0x0a200000 (2048kb))
FENCE 12: 0x00000000 (disabled)
FENCE 13: 0x00000000 (disabled)
FENCE 14: 0x00000000 (disabled)
FENCE 15: 0x08a00131 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 0: 0x0da00131 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 0: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 1: 0x05000341 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 1: 0x0a000131 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 2: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 2: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 3: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 3: 0x08a00131 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 4: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 4: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 5: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 5: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 6: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 6: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 7: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 7: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 8: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 8: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 9: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 9: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 10: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 10: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 11: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 11: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 12: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 12: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 13: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 13: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 14: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 14: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE START 15: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
FENCE END 15: 0x00000000 (enabled, X tiled, 4096 pitch, 0x08a00000 - 0x08c00000 (2048kb))
INST_PM: 0x00000800pipe A dot 108000 n 2 m1 15 m2 3 p1 2 p2 10
pipe B dot 72142 n 3 m1 17 m2 4 p1 2 p2 14
Screen 0: minimum 320 x 200, current 640 x 480, maximum 4096 x 4096
LVDS1 connected 640x480+0+0 (0x49) normal (normal left inverted right x axis y axis) 261mm x 163mm
Identifier: 0x41
Timestamp: 1051384
Subpixel: horizontal rgb
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 1
CRTCs: 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff004ca3415400000000
00110103801a10780a87f594574f8c27
27505400000001010101010101010101
010101010101121b008b502010303020
360005a3100000190000000f00000000
000000000032d2023200000000fe0050
593637350331323141540a20000000fe
00263741496c88b0ff01010a20200084
BACKLIGHT: 312 (0x00000138) range: (0,312)
Backlight: 312 (0x00000138) range: (0,312)
scaling mode: Full aspect
supported: None Full Center Full aspect
1280x800 (0x45) 69.3MHz -HSync -VSync +preferred
h: width 1280 start 1328 end 1360 total 1419 skew 0 clock 48.8KHz
v: height 800 start 803 end 809 total 816 clock 59.8Hz
1024x768 (0x46) 65.0MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz
v: height 768 start 771 end 777 total 806 clock 60.0Hz
800x600 (0x47) 40.0MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz
v: height 600 start 601 end 605 total 628 clock 60.3Hz
800x600 (0x48) 36.0MHz +HSync +VSync
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz
v: height 600 start 601 end 603 total 625 clock 56.2Hz
640x480 (0x49) 25.2MHz -HSync -VSync *current
h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
v: height 480 start 490 end 492 total 525 clock 59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x42
Timestamp: 1051384
Subpixel: unknown
Clones:
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
DVI1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x43
Timestamp: 1051384
Subpixel: horizontal rgb
Clones:
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
TV1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x44
Timestamp: 1051384
Subpixel: unknown
Clones:
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
bottom margin: 37 (0x00000025) range: (0,100)
right margin: 46 (0x0000002e) range: (0,100)
top margin: 36 (0x00000024) range: (0,100)
left margin: 54 (0x00000036) range: (0,100)
mode: NTSC-M
supported: NTSC-M NTSC-443 NTSC-J PAL-M
PAL-N PAL 480p 576p
720p@60Hz 720p@50Hz 1080i@50Hz 1080i@60Hz _______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 35 lines · Hans de Bruin
Quoted 22 lines · Daniel Vetter
Quoted 7 lines · Hans de Bruin
Quoted 6 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
Quoted 8 lines
Quoted 5 lines
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200drm/i915: clean up panel fitter handling in lvds
Today's kernel still contains the bug.
Hm, I've just retested latest drm-intel-nightly which should have the same set of relevant patches, and I couldn't reproduce your issue. Low-res modes on the lvds panel seem to correctly scale up here on my 945gm.
Quoted 6 lines
Can you pls retest with latest -nightly from
http://cgit.freedesktop.org/~danvet/drm-intel ?Also please attach the output of xrandr --verbose when running with a reduced mode.
tested:
http://cgit.freedesktop.org/~danvet/drm-intel
commitd08a6eb2690b1ac6f0582feb41c2ccbea945285f
Date: Thu Mar 7 22:54:25 2013 +0100
Quoted 5 lines
The problem is still there
my previous post contained the xrandr output whiteout the verbose. Doe you want my to repost with the verbose option?
Sorry for the long delay in taking again a look at this. I've tried to reproduce this on my various machines similar to yours, but totally failed. Also, a bunch of people with matching machines to yours actually claim that the 2 commits which regress for you actually fix up lvds panel fiting for them. So I'm a bit lost as to what's going on here.
Can you please try the below debug patch on top of latest 3.9-rc kernels?
Please boot that kernel with drm.debug=0xe added to your kernel cmdline, reproduce the issue (preferrably with xrandr --output LVDS --mode ...) and then attach the complete dmesg. This will enable lots of debugging, so please make sure you grab everything starting from when i915.ko loads.
Thanks, Daniel
drivers/gpu/drm/i915/intel_lvds.c +10 -0
@@ -155,6 +155,12 @@ static void intel_pre_enable_lvds(struct intel_encoder *encoder)struct drm_device *dev = encoder->base.dev;struct intel_lvds_encoder *enc =to_lvds_encoder (&encoder->base);struct drm_i915_private *dev_priv = dev->dev_private; +uint32_t tmp =I915_READ (PFIT_CONTROL ); + +WARN (tmp,"pfit control is dirty: 0x%08x\n" , tmp); +assert_pipe_disabled (dev_priv, +INTEL_INFO (dev)->gen <4 || (tmp &PFIT_PIPE_MASK ) ? +PIPE_B :PIPE_A );if (HAS_PCH_SPLIT (dev) || !enc->pfit_control)return ;
@@ -171,6 +177,10 @@ static void intel_pre_enable_lvds(struct intel_encoder *encoder)I915_WRITE (PFIT_PGM_RATIOS , enc->pfit_pgm_ratios);I915_WRITE (PFIT_CONTROL , enc->pfit_control); + +DRM_DEBUG_KMS ("panel-fitter state: %x, %x\n" , +I915_READ (PFIT_CONTROL ), +I915_READ (PFIT_PGM_RATIOS )); }/**
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 48 lines · Daniel Vetter
Quoted 35 lines · Hans de Bruin
Quoted 22 lines · Daniel Vetter
Quoted 7 lines · Hans de Bruin
Quoted 6 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
Quoted 8 lines
Quoted 5 lines
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200drm/i915: clean up panel fitter handling in lvds
Today's kernel still contains the bug.
Hm, I've just retested latest drm-intel-nightly which should have the same set of relevant patches, and I couldn't reproduce your issue. Low-res modes on the lvds panel seem to correctly scale up here on my 945gm.
Quoted 6 lines
Can you pls retest with latest -nightly from
http://cgit.freedesktop.org/~danvet/drm-intel ?Also please attach the output of xrandr --verbose when running with a reduced mode.
tested:
http://cgit.freedesktop.org/~danvet/drm-intel
commitd08a6eb2690b1ac6f0582feb41c2ccbea945285f
Date: Thu Mar 7 22:54:25 2013 +0100Quoted 5 lines
The problem is still there
my previous post contained the xrandr output whiteout the verbose. Doe you want my to repost with the verbose option?
Sorry for the long delay in taking again a look at this. I've tried to reproduce this on my various machines similar to yours, but totally failed. Also, a bunch of people with matching machines to yours actually claim that the 2 commits which regress for you actually fix up lvds panel fiting for them. So I'm a bit lost as to what's going on here.
Quoted 7 lines
Can you please try the below debug patch on top of latest 3.9-rc kernels?
Please boot that kernel with drm.debug=0xe added to your kernel cmdline, reproduce the issue (preferrably with xrandr --output LVDS --mode ...) and then attach the complete dmesg. This will enable lots of debugging, so please make sure you grab everything starting from when i915.ko loads.
ok, here is de dmesg.
Signature · 1 line
Hans
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Can you please quickly test whether the below patch changes anything in the behaviour?
(quoted diff) +0 -0
b/drivers/gpu/drm/i915/intel_display.c
index 8809813..974ae32 100644
drivers/gpu/drm/i915/intel_display.c +1 -1
@@ -4715,7 +4715,7 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc,i9xx_set_pipeconf (intel_crtc); -intel_enable_pipe (dev_priv, pipe, false); +//intel_enable_pipe(dev_priv, pipe, false); intel_wait_for_vblank (dev, pipe);
Quoted 66 lines · Hans de Bruin
Quoted 57 lines · Daniel Vetter
Quoted 42 lines · Hans de Bruin
Quoted 28 lines · Daniel Vetter
Quoted 13 lines · Hans de Bruin
Quoted 11 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200Quoted 5 lines
Quoted 1 line
drm/i915: clean up panel fitter handling in lvds
Today's kernel still contains the bug.
Hm, I've just retested latest drm-intel-nightly which should have the same set of relevant patches, and I couldn't reproduce your issue. Low-res modes on the lvds panel seem to correctly scale up here on my 945gm.
Quoted 6 lines
Can you pls retest with latest -nightly from
http://cgit.freedesktop.org/~danvet/drm-intel ?Also please attach the output of xrandr --verbose when running with a reduced mode.
tested:
http://cgit.freedesktop.org/~danvet/drm-intel
commitd08a6eb2690b1ac6f0582feb41c2ccbea945285f
Date: Thu Mar 7 22:54:25 2013 +0100Quoted 5 lines
The problem is still there
my previous post contained the xrandr output whiteout the verbose. Doe you want my to repost with the verbose option?
Sorry for the long delay in taking again a look at this. I've tried to reproduce this on my various machines similar to yours, but totally failed. Also, a bunch of people with matching machines to yours actually claim that the 2 commits which regress for you actually fix up lvds panel fiting for them. So I'm a bit lost as to what's going on here.
Quoted 7 lines
Can you please try the below debug patch on top of latest 3.9-rc kernels?
Please boot that kernel with drm.debug=0xe added to your kernel cmdline, reproduce the issue (preferrably with xrandr --output LVDS --mode ...) and then attach the complete dmesg. This will enable lots of debugging, so please make sure you grab everything starting from when i915.ko loads.
Quoted 7 lines
ok, here is de dmesg.
--
Hans
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 11 lines · Daniel Vetter
Can you please quickly test whether the below patch changes anything in the behaviour?
drivers/gpu/drm/i915/intel_display.c +0
-0
drivers/gpu/drm/i915/intel_display.c static int i9xx_crtc_mode_set(struct drm_crtc *crtc, · line 4721
Quoted 8 lines
drivers/gpu/drm/i915/intel_display.c +1
-1@@ -4715,7 +4715,7 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc,i9xx_set_pipeconf (intel_crtc); -intel_enable_pipe (dev_priv, pipe, false); +//intel_enable_pipe(dev_priv, pipe, false); intel_wait_for_vblank (dev, pipe);
for some reason the diff did not work. Here a snippet of my modified intel_display.c:
...
/* pipesrc and dspsize control the size that is scaled from,
* which should always be the user's requested size.
*/
I915_WRITE(DSPSIZE(plane),
((mode->vdisplay - 1) << 16) |
(mode->hdisplay - 1));
I915_WRITE(DSPPOS(plane), 0);
I915_WRITE(PIPECONF(pipe), pipeconf);
POSTING_READ(PIPECONF(pipe));
//intel_enable_pipe(dev_priv, pipe, false);
intel_wait_for_vblank(dev, pipe);
I915_WRITE(DSPCNTR(plane), dspcntr);
POSTING_READ(DSPCNTR(plane));...
The screen still does not scale.
By the way, I have had this problem before: https://bugzilla.kernel.org/show_bug.cgi?id=43071
Signature · 1 line
Hans
Quoted 82 lines · Hans de Bruin
Quoted 66 lines · Daniel Vetter
Quoted 57 lines · Hans de Bruin
Quoted 42 lines · Daniel Vetter
Quoted 28 lines
Quoted 13 lines · Hans de Bruin
Quoted 11 lines · Daniel Vetter
Hi Hans,
Can you please test with 3.9-rc1? That contains an additional patch which might prevent the regression. Specifically
commit
9d6d9f19e8146fa24903cb561e204a22232740e3Author: Mika Kuoppala <[email protected]> Date: Fri Feb 8 16:35:38 2013 +0200Quoted 5 lines
Quoted 1 line
drm/i915: clean up panel fitter handling in lvds
Today's kernel still contains the bug.
Hm, I've just retested latest drm-intel-nightly which should have the same set of relevant patches, and I couldn't reproduce your issue. Low-res modes on the lvds panel seem to correctly scale up here on my 945gm.
Quoted 6 lines
Can you pls retest with latest -nightly from
http://cgit.freedesktop.org/~danvet/drm-intel ?Also please attach the output of xrandr --verbose when running with a reduced mode.
tested:
http://cgit.freedesktop.org/~danvet/drm-intel
commitd08a6eb2690b1ac6f0582feb41c2ccbea945285f
Date: Thu Mar 7 22:54:25 2013 +0100Quoted 5 lines
The problem is still there
my previous post contained the xrandr output whiteout the verbose. Doe you want my to repost with the verbose option?
Sorry for the long delay in taking again a look at this. I've tried to reproduce this on my various machines similar to yours, but totally failed. Also, a bunch of people with matching machines to yours actually claim that the 2 commits which regress for you actually fix up lvds panel fiting for them. So I'm a bit lost as to what's going on here.
Quoted 7 lines
Can you please try the below debug patch on top of latest 3.9-rc kernels?
Please boot that kernel with drm.debug=0xe added to your kernel cmdline, reproduce the issue (preferrably with xrandr --output LVDS --mode ...) and then attach the complete dmesg. This will enable lots of debugging, so please make sure you grab everything starting from when i915.ko loads.
Quoted 7 lines
ok, here is de dmesg.
--
Hans--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 44 lines · Hans de Bruin
Quoted 12 lines · Daniel Vetter
Can you please quickly test whether the below patch changes anything in the behaviour?
drivers/gpu/drm/i915/intel_display.c +0
-0drivers/gpu/drm/i915/intel_display.c static int i9xx_crtc_mode_set(struct drm_crtc · line 4721
Quoted 8 lines
drivers/gpu/drm/i915/intel_display.c +1
-1@@ -4715,7 +4715,7 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc,i9xx_set_pipeconf (intel_crtc); -intel_enable_pipe (dev_priv, pipe, false); +//intel_enable_pipe(dev_priv, pipe, false); intel_wait_for_vblank (dev, pipe);for some reason the diff did not work. Here a snippet of my modified
intel_display.c:...
/* pipesrc and dspsize control the size that is scaled from, * which should always be the user's requested size. */ I915_WRITE(DSPSIZE(plane), ((mode->vdisplay - 1) << 16) | (mode->hdisplay - 1)); I915_WRITE(DSPPOS(plane), 0); I915_WRITE(PIPECONF(pipe), pipeconf); POSTING_READ(PIPECONF(pipe)); //intel_enable_pipe(dev_priv, pipe, false); intel_wait_for_vblank(dev, pipe); I915_WRITE(DSPCNTR(plane), dspcntr); POSTING_READ(DSPCNTR(plane));
Quoted 7 lines
...
The screen still does not scale.
By the way, I have had this problem before:
https://bugzilla.kernel.org/show_bug.cgi?id=43071
sorry my mistake that one did scale, but just was not alligned properly.
Signature · 1 line
Hans
Quoted 18 lines · Hans de Bruin
Quoted 18 lines
/* pipesrc and dspsize control the size that is scaled from, * which should always be the user's requested size. */ I915_WRITE(DSPSIZE(plane), ((mode->vdisplay - 1) << 16) | (mode->hdisplay - 1)); I915_WRITE(DSPPOS(plane), 0); I915_WRITE(PIPECONF(pipe), pipeconf); POSTING_READ(PIPECONF(pipe)); //intel_enable_pipe(dev_priv, pipe, false); intel_wait_for_vblank(dev, pipe); I915_WRITE(DSPCNTR(plane), dspcntr); POSTING_READ(DSPCNTR(plane));...
Quoted 8 lines
Quoted 5 lines
The screen still does not scale.
By the way, I have had this problem before:
https://bugzilla.kernel.org/show_bug.cgi?id=43071sorry my mistake that one did scale, but just was not alligned properly.
Now I'm confused, please clarify: Did the patch help a bit? Can you pls describe more precisely what "not aligned properly" means? Have you checked whether changing the scaling mode xrandr property helps? -Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 26 lines · Daniel Vetter
Quoted 25 lines · Hans de Bruin
Quoted 23 lines
/* pipesrc and dspsize control the size that is scaled from, * which should always be the user's requested size. */ I915_WRITE(DSPSIZE(plane), ((mode->vdisplay - 1) << 16) | (mode->hdisplay - 1)); I915_WRITE(DSPPOS(plane), 0); I915_WRITE(PIPECONF(pipe), pipeconf); POSTING_READ(PIPECONF(pipe)); //intel_enable_pipe(dev_priv, pipe, false); intel_wait_for_vblank(dev, pipe); I915_WRITE(DSPCNTR(plane), dspcntr); POSTING_READ(DSPCNTR(plane));...
The screen still does not scale.
By the way, I have had this problem before:
https://bugzilla.kernel.org/show_bug.cgi?id=43071
Quoted 5 lines
Quoted 1 line
sorry my mistake that one did scale, but just was not alligned properly.
Now I'm confused, please clarify: Did the patch help a bit? Can you pls describe more precisely what "not aligned properly" means? Have you checked whether changing the scaling mode xrandr property helps?
Ok, I guess that was just a comment to say that the current bug isn't quite a match with the old bug. Anyway, I think I've tracked down this regression here, but since I couldn't reproduce it, can you please test the patch at:
https://patchwork.kernel.org/patch/2428981/
Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 1 line · Daniel Vetter
On Tue, Apr 9, 2013 at 7:59 PM, Daniel Vetter <[email protected]> wrote:
...
Quoted 8 lines
Ok, I guess that was just a comment to say that the current bug isn't quite a match with the old bug. Anyway, I think I've tracked down this regression here, but since I couldn't reproduce it, can you please test the patch at:
Your patch works. I have gone though all possible resolutions. Thanks for the effort.
Signature · 1 line
Hans