Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1278853

Re: [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force

From Emil Velikov <emil.l.velikov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force
Date 2015-11-27 16:40 +0100
Message-ID <qzthU-4Hv-27@gated-at.bofh.it> (permalink)
References <qzsYy-4AQ-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 27 November 2015 at 15:10, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> This allows us to ditch a ton of ugly #ifdefs from a bunch of drm modeset
> drivers.
>
> v2: Make the dummy function actually return a sane value, spotted by
> Ville.
>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
>  drivers/gpu/drm/ast/ast_drv.c         | 2 --
>  drivers/gpu/drm/cirrus/cirrus_drv.c   | 2 --
>  drivers/gpu/drm/i915/i915_drv.c       | 2 --
>  drivers/gpu/drm/mgag200/mgag200_drv.c | 2 --
>  drivers/gpu/drm/nouveau/nouveau_drm.c | 2 --
>  drivers/gpu/drm/qxl/qxl_drv.c         | 2 --
>  drivers/gpu/drm/radeon/radeon_drv.c   | 2 --
>  include/linux/console.h               | 2 ++

The new drivers seems to be missing the conversion. Namely amdgpu and
virtio_gpu.

> --- a/drivers/gpu/drm/nouveau/nouveau_drm.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
> @@ -1072,10 +1072,8 @@ nouveau_drm_init(void)
>         nouveau_display_options();
>
>         if (nouveau_modeset == -1) {
> -#ifdef CONFIG_VGA_CONSOLE
>                 if (vgacon_text_force())
>                         nouveau_modeset = 0;
> -#endif
It's kind of interesting how nouveau differs from everyone else. The
force toggle has lower priority than the nouveau specific one :-)
Obviously not something you should address or anything.

Another interesting fact is how none of the SoC honour the modeset fla :-\

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force Daniel Vetter <daniel.vetter@ffwll.ch> - 2015-11-27 16:20 +0100
  Re: [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force Emil Velikov <emil.l.velikov@gmail.com> - 2015-11-27 16:40 +0100
    Re: [PATCH RESEND 1/2] vgacon: dummy implementation for  vgacon_text_force Daniel Vetter <daniel@ffwll.ch> - 2015-11-29 13:50 +0100

csiph-web