On Mon, Apr 25, 2011 at 2:41 PM, Owain Ainsworth <[email protected]>
wrote:
> On Sat, Apr 23, 2011 at 02:48:45PM -0400, Ted Unangst wrote:
>> At seemingly random times, X will get very very slow. Basically, I
>> can wiggle the pointer with lag, but that's it. The screen does not
>
> Hard to tell what caused the initial hang, but this diff may well help
> recovery (the reset doesn't appear to be sticking), can you try this:
Been running this a while, can't tell if it helps for sure, but
haven't had trouble with it.
> Index: i915_drv.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/drm/i915_drv.c,v
> retrieving revision 1.103
> diff -u -p -r1.103 i915_drv.c
> --- i915_drv.c 7 Apr 2011 15:30:16 -0000 1.103
> +++ i915_drv.c 25 Apr 2011 18:40:44 -0000
> @@ -5896,6 +5904,12 @@ inteldrm_965_reset(struct inteldrm_softc
> {
> pcireg_t reg;
> int i = 0;
> +
> + /*
> + * There seems to be something wrong with !full reset modes, so
force
> + * the whole shebang for now
> + */
> + flags = GDRST_FULL;
>
> if (flags == GDRST_FULL)
> inteldrm_save_display(dev_priv);
>
> --
> Democracy is a form of government in which it is permitted to wonder
> aloud what the country could do under first-class management.
> -- Senator Soaper