[Intel-gfx] [PATCH] drm,drm/i915: Export cmdline mode parsing

Chris Wilson chris at chris-wilson.co.uk
Wed May 14 01:46:03 PDT 2014

On Wed, May 14, 2014 at 11:31:47AM +0300, Jani Nikula wrote:
> On Tue, 13 May 2014, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > i915.ko has a custom fbdev initialisation routine that aims to preserve
> > the current mode set by the BIOS, unless overruled by the user. The
> > user's wishes are determined by what, if any, mode is specified on the
> > command line (via the video= parameter). However, that command line mode
> > is first parsed by drm_fb_helper_initial_config() which is called after
> > i915.ko's custom initial_config() as a fallback method. So in order for
> > us to honour it, we need to export the routine out of the helper and
> > call it first.
> Is this an answer to https://bugs.freedesktop.org/show_bug.cgi?id=73154?

Yes. Not in this patch, but we can also use in that case as well.

Chris Wilson, Intel Open Source Technology Centre

More information about the dri-devel mailing list