Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 315563 Details for
Bug 454305
Blank screen using "intel" xorg driver with i845G when switching resolution
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Change the order of disables
intel-2.2.1-disable-planes.patch (text/plain), 2.29 KB, created by
Olivier Fourdan
on 2008-09-02 15:23:10 UTC
(
hide
)
Description:
Change the order of disables
Filename:
MIME Type:
Creator:
Olivier Fourdan
Created:
2008-09-02 15:23:10 UTC
Size:
2.29 KB
patch
obsolete
>From the Intel 965 Programmerâs Reference Manual, volume 3, >chapter 2.2.2 "Mode Switch Programming Sequence". > >The disable sequence should be: > > - Disable planes (VGA or hires) > - Disable pipe > - Disable VGA display in 0x71400 bit 31 > >This patch implements that order plus waits for a vblank at the end. > >Olivier. > >--- xf86-video-intel-2.2.1/src/i830_display.c.disable-planes 2008-09-08 17:07:09.000000000 +0100 >+++ xf86-video-intel-2.2.1/src/i830_display.c 2008-09-09 23:21:14.000000000 +0100 >@@ -740,12 +740,12 @@ > /* Give the overlay scaler a chance to disable if it's on this pipe */ > i830_crtc_dpms_video(crtc, FALSE); > >- /* May need to leave pipe A on */ >- if ((pipe == 0) && (pI830->quirk_flag & QUIRK_PIPEA_FORCE)) >- return; >- >- /* Disable the VGA plane that we never use */ >- OUTREG(VGACNTRL, VGA_DISP_DISABLE); >+ /* >+ * The documentation says : >+ * - Disable planes (VGA or hires) >+ * - Disable pipe >+ * - Disable VGA display >+ */ > > /* Disable display plane */ > temp = INREG(dspcntr_reg); >@@ -762,24 +762,34 @@ > i830WaitForVblank(pScrn); > } > >- /* Next, disable display pipes */ >- temp = INREG(pipeconf_reg); >- if ((temp & PIPEACONF_ENABLE) != 0) { >- OUTREG(pipeconf_reg, temp & ~PIPEACONF_ENABLE); >- POSTING_READ(pipeconf_reg); >+ /* May need to leave pipe A on */ >+ if ((pipe != 0) || !(pI830->quirk_flag & QUIRK_PIPEA_FORCE)) >+ { >+ /* Next, disable display pipes unless we need to leave pipe A on */ >+ temp = INREG(pipeconf_reg); >+ if ((temp & PIPEACONF_ENABLE) != 0) { >+ OUTREG(pipeconf_reg, temp & ~PIPEACONF_ENABLE); >+ POSTING_READ(pipeconf_reg); >+ } >+ >+ /* Wait for vblank for the disable to take effect. */ >+ i830WaitForVblank(pScrn); >+ >+ temp = INREG(dpll_reg); >+ if ((temp & DPLL_VCO_ENABLE) != 0) { >+ OUTREG(dpll_reg, temp & ~DPLL_VCO_ENABLE); >+ POSTING_READ(dpll_reg); >+ } >+ >+ /* Wait for the clocks to turn off. */ >+ usleep(150); > } > >- /* Wait for vblank for the disable to take effect. */ >- i830WaitForVblank(pScrn); >+ /* Disable the VGA plane that we never use. */ > >- temp = INREG(dpll_reg); >- if ((temp & DPLL_VCO_ENABLE) != 0) { >- OUTREG(dpll_reg, temp & ~DPLL_VCO_ENABLE); >- POSTING_READ(dpll_reg); >- } >+ OUTREG(VGACNTRL, VGA_DISP_DISABLE); >+ i830WaitForVblank(pScrn); > >- /* Wait for the clocks to turn off. */ >- usleep(150); > break; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 454305
:
311184
|
311185
|
311186
|
311187
|
311189
|
313951
|
313952
|
313953
| 315563 |
315564
|
315565