On Sat, Nov 02, 2013 at 10:20:54PM +0100, Lakosimi wrote:
> 
> error: [drm:pid21332:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
> error: [drm:pid1035:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
> error: [drm:pid3:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
> error: [drm:pid3:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
> error: [drm:pid18152:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
> error: [drm:pid18152:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1

I'm not entirely sure what is going wrong with these old 845 parts.
You could try disable vblank timestamping with the following diff
(against -current, might work on 5.4 though)

Index: i915_irq.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_irq.c,v
retrieving revision 1.9
diff -u -p -r1.9 i915_irq.c
--- i915_irq.c  30 Oct 2013 02:11:32 -0000      1.9
+++ i915_irq.c  4 Nov 2013 03:23:12 -0000
@@ -2707,7 +2707,7 @@ void intel_irq_init(struct drm_device *d
                dev->driver->get_vblank_counter = gm45_get_vblank_counter;
        }
 
-       if (drm_core_check_feature(dev, DRIVER_MODESET))
+       if (drm_core_check_feature(dev, DRIVER_MODESET) && !IS_GEN2(dev))
                dev->driver->get_vblank_timestamp = i915_get_vblank_timestamp;
        else
                dev->driver->get_vblank_timestamp = NULL;

Reply via email to