[PATCH] drm/vmwgfx: Add back ->detect() and ->fill_modes()

2016-03-08 Thread Sebastian Herbszt
Thierry Reding wrote:
> From: Thierry Reding 
> 
> This partially reverts commit d56f57ac969c ("drm/gma500: Move to private
> save/restore hooks") which removed these lines by mistake.
> 
> Reported-by: Sebastian Herbszt 
> Acked-by: Daniel Vetter 
> Signed-off-by: Thierry Reding 
> ---
> Hi Dave,
> 
> Daniel and I introduced this in v4.5-rc1, so it'd be good to have this
> go into v4.5 final once Sebastian and Thomas have confirmed that it is
> fixed.
> 
>  drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 
> b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
> index db082bea8daf..c5a1a08b0449 100644
> --- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
> +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
> @@ -563,6 +563,8 @@ static void vmw_sou_connector_destroy(struct 
> drm_connector *connector)
>  
>  static const struct drm_connector_funcs vmw_sou_connector_funcs = {
>   .dpms = vmw_du_connector_dpms,
> + .detect = vmw_du_connector_detect,
> + .fill_modes = vmw_du_connector_fill_modes,
>   .set_property = vmw_du_connector_set_property,
>   .destroy = vmw_sou_connector_destroy,
>  };

Tested-by: Sebastian Herbszt 


boot hang with vmwgfx on 4.5-rc6

2016-03-07 Thread Sebastian Herbszt
Thomas Hellstrom wrote:
> Hi, Daniel,
> 
> It appears you and Thierry are guilty to this:
> 
> d56f57ac969c7818986a0c78025740399e49f3a9

Looks like Jongman Heo did also report this issue [1][2].

> Could you please revert the vmwgfx-specific parts of that commit before
> 4.5 GA?
> 
> Thanks,
> Thomas

[1] http://marc.info/?l=linux-kernel=145317572914973=2
[2] http://marc.info/?l=linux-kernel=145559056816583=2

Sebastian


boot hang with vmwgfx on 4.5-rc6

2016-02-29 Thread Sebastian Herbszt
Hello,

I get a boot hang with vmwgfx on 4.5-rc6 (4.5.0-rc6-1.gb239884-default from
openSUSE). This happens on VMware Player 5.0.2.
Same VM works fine with kernel 4.4 but on 4.5-rc6 it hangs with

[drm] Initialized vmwgfx 2.9.0 20150810 for :00:0f.0 on minor 0

I am able to boot the system with "nomodeset".

Sebastian