Bug 18550

Summary: commit "Workaround to make initial rotation work" breaks output on my HD3850 AGP.
Product: xorg Reporter: Andy Furniss <adf.lists>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.log none

Description Andy Furniss 2008-11-16 10:08:53 UTC
Created attachment 20338 [details] [review]
Xorg.log

Current git does not work anymore for mt HD3850 AGP card.

The monitor will go into stanby after startx (sometimes after a few seconds it will come out but display is still blank). X is still alive and working and I can switch VTs/<ctrl><alt><bs> and get back to console OK.

git bisect came up with -

bash-3.2$ git bisect good
346228b20c69a965c9e7d67157f42c1d36a5b6c3 is first bad commit
commit 346228b20c69a965c9e7d67157f42c1d36a5b6c3
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Wed Oct 1 14:38:27 2008 -0400

    Workaround to make initial rotation work
    
    Acceleration needs to be initialized before setting the mode
    for initial rotation to work.  Changing the order in RADEONScreenInit()
    doesn't work because RADEONDRIKernelInit() hangs in the ioctl to
    initialize the CP if the mode is not set prior (even if the heads
    are turned off after setting the mode).  The workaround is to set the
    modes twice, once before accel and once after.
    
    This needs to be looked into further.

:040000 040000 8ab3cc0db17934dc2ad98ed587af72861d3d6b93 af5f45d47971f2f07054b72f2de4e55cd974c09c M      src
Comment 1 Andy Furniss 2009-01-15 08:55:25 UTC
(In reply to comment #0)
> Created an attachment (id=20338) [details]
> Xorg.log
> 
> Current git does not work anymore for mt HD3850 AGP card.

This is working OK for me now.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.