Re: [PATCH] bochs-drm: disable video before changing video mode

2015-03-31 Thread David Airlie


- Original Message -
> From: "Alexander Beregalov" 
> To: "Gerd Hoffmann" 
> Cc: "Chris Ruffin" , "Linux Kernel Mailing List" 
> , "Dave
> Airlie" , cmruf...@gmail.com, "Alexander Beregalov" 
> , "alexey
> buyanov" 
> Sent: Wednesday, 1 April, 2015 2:13:33 AM
> Subject: Re: [PATCH] bochs-drm: disable video before changing video mode
> 
> On 19 March 2015 at 11:26, Gerd Hoffmann  wrote:
> > On Mi, 2015-03-18 at 12:37 -0400, Chris Ruffin wrote:
> >> qemu and simics simulators both seem to expect that video should be
> >> disabled
> >> before changing the video mode.
> >
> > Not required for qemu.  qemu allows updating the modesetting registers
> > (xres + friends) while vbe is enabled.
> >
> > Turning it off, then back on after updating the registers doesn't hurt
> > though.  So if this change gets things going on simics it's fine with
> > me.
> >
> > Reviewed-by: Gerd Hoffmann 
> 
> Hi Gerd, Dave,
> I can't find the patch in linux-next,
> will it be included in 4.1?

Just added it now.

Thanks,
Dave.
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] bochs-drm: disable video before changing video mode

2015-03-31 Thread Alexander Beregalov
On 19 March 2015 at 11:26, Gerd Hoffmann  wrote:
> On Mi, 2015-03-18 at 12:37 -0400, Chris Ruffin wrote:
>> qemu and simics simulators both seem to expect that video should be disabled
>> before changing the video mode.
>
> Not required for qemu.  qemu allows updating the modesetting registers
> (xres + friends) while vbe is enabled.
>
> Turning it off, then back on after updating the registers doesn't hurt
> though.  So if this change gets things going on simics it's fine with
> me.
>
> Reviewed-by: Gerd Hoffmann 

Hi Gerd, Dave,
I can't find the patch in linux-next,
will it be included in 4.1?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] bochs-drm: disable video before changing video mode

2015-03-19 Thread Gerd Hoffmann
On Mi, 2015-03-18 at 12:37 -0400, Chris Ruffin wrote:
> qemu and simics simulators both seem to expect that video should be disabled
> before changing the video mode.

Not required for qemu.  qemu allows updating the modesetting registers
(xres + friends) while vbe is enabled.

Turning it off, then back on after updating the registers doesn't hurt
though.  So if this change gets things going on simics it's fine with
me.

Reviewed-by: Gerd Hoffmann 

cheers,
  Gerd


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/