From: Emil Velikov <emil.l.velikov@gmail.com> To: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>, LKML <linux-kernel@vger.kernel.org>, DRI Development <dri-devel@lists.freedesktop.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Andrew Morton <akpm@linux-foundation.org> Subject: Re: [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force Date: Fri, 27 Nov 2015 15:29:52 +0000 [thread overview] Message-ID: <CACvgo5135MWO4Si9xYjW4PsmUYdadtPA++X12g2Y76KtRe85kQ@mail.gmail.com> (raw) In-Reply-To: <1448637005-3847-1-git-send-email-daniel.vetter@ffwll.ch> 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
WARNING: multiple messages have this Message-ID (diff)
From: Emil Velikov <emil.l.velikov@gmail.com> To: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Andrew Morton <akpm@linux-foundation.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Intel Graphics Development <intel-gfx@lists.freedesktop.org>, LKML <linux-kernel@vger.kernel.org>, DRI Development <dri-devel@lists.freedesktop.org> Subject: Re: [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force Date: Fri, 27 Nov 2015 15:29:52 +0000 [thread overview] Message-ID: <CACvgo5135MWO4Si9xYjW4PsmUYdadtPA++X12g2Y76KtRe85kQ@mail.gmail.com> (raw) In-Reply-To: <1448637005-3847-1-git-send-email-daniel.vetter@ffwll.ch> 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-11-27 15:29 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-11-27 15:10 [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force Daniel Vetter 2015-11-27 15:10 ` Daniel Vetter 2015-11-27 15:10 ` [PATCH RESEND 2/2] drm/i915: prevent the vgacon from ever reloading Daniel Vetter 2015-11-27 15:10 ` Daniel Vetter 2015-11-27 15:40 ` Emil Velikov 2015-11-27 15:40 ` Emil Velikov 2015-11-28 0:37 ` Ilia Mirkin 2015-11-28 0:37 ` Ilia Mirkin 2015-11-29 12:47 ` Daniel Vetter 2015-11-29 12:47 ` Daniel Vetter 2015-11-29 14:10 ` Emil Velikov 2015-11-29 14:10 ` Emil Velikov 2015-11-27 15:29 ` Emil Velikov [this message] 2015-11-27 15:29 ` [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force Emil Velikov 2015-11-29 12:49 ` Daniel Vetter
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CACvgo5135MWO4Si9xYjW4PsmUYdadtPA++X12g2Y76KtRe85kQ@mail.gmail.com \ --to=emil.l.velikov@gmail.com \ --cc=akpm@linux-foundation.org \ --cc=daniel.vetter@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=gregkh@linuxfoundation.org \ --cc=intel-gfx@lists.freedesktop.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.