dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] get fbdev size from cmdline if no connector found
@ 2017-01-06 16:44 Vincent Abriou
  2017-01-06 16:44 ` [PATCH 1/2] drm: remove useless parameters from drm_pick_cmdline_mode function Vincent Abriou
  2017-01-06 16:44 ` [PATCH 2/2] drm: get fbdev size from cmdline if no connector found Vincent Abriou
  0 siblings, 2 replies; 4+ messages in thread
From: Vincent Abriou @ 2017-01-06 16:44 UTC (permalink / raw)
  To: dri-devel; +Cc: Vincent Abriou, Fabien Dessenne

In case no connector is found while creating the fbdev, gives the
possibility to specify the default fbdev size by firstly checking if the
command line is defining a preferred mode. Else go into fallback and set
1024x768 fbdev size as it was already done.

It is usefull in case you forgot to plug your connector cable but you want
your fbdev to have the size you have defined in the command line.
Then when you plug your connector cable, the fbdev will match your display
size.

In case no command line is specified, the 1024x768 fbdev resolution is keept
as default fbdev resolution.

Vincent Abriou (2):
  drm: remove useless parameters from drm_pick_cmdline_mode function
  drm: get fbdev size from cmdline mode if it exists.

 drivers/gpu/drm/drm_fb_helper.c    | 39 +++++++++++++++++++++++++++++---------
 drivers/gpu/drm/i915/intel_fbdev.c |  2 +-
 include/drm/drm_fb_helper.h        |  3 +--
 3 files changed, 32 insertions(+), 12 deletions(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-09 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-06 16:44 [PATCH 0/2] get fbdev size from cmdline if no connector found Vincent Abriou
2017-01-06 16:44 ` [PATCH 1/2] drm: remove useless parameters from drm_pick_cmdline_mode function Vincent Abriou
2017-01-09 10:24   ` Daniel Vetter
2017-01-06 16:44 ` [PATCH 2/2] drm: get fbdev size from cmdline if no connector found Vincent Abriou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox