[PATCH 0/2] get fbdev size from cmdline if no connector found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux