[Bug 16799] hibernate broken on radeon with latest libdrm git

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 22 22:44:25 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16799





--- Comment #10 from Stefan Becker <stefan.becker at nokia.com>  2008-07-22 22:44:14 PST ---
Still investigating an alternative implementation...

The X11 driver uses RADEONDRISetVBlankInterrupt() which issues the ioctl
(DRM_RADEON_SETPARAM, RADEON_SETPARAM_VBLANK_CRTC, value). That ends up in the
DRM code in radeon_irq.c:

int radeon_vblank_crtc_set(struct drm_device *dev, int64_t value)
{
        drm_radeon_private_t *dev_priv = (drm_radeon_private_t *)
dev->dev_private;
...
        dev_priv->vblank_crtc = (unsigned int)value;
        return 0;
}

But vblank_crtc is not used anywhere. So when the X driver wants to disable
vblank interrupts nothing really happens.

Shouldn't the above function update the interrupt registers?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list