public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Lampersperger Andreas <lampersperger.andreas@heidenhain.de>,
	"gajanan.bhat@intel.com" <gajanan.bhat@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: VLV: eDP: panel timings / resolution data from VBT, not via i2c from eDP EDID
Date: Thu, 09 Apr 2015 17:04:50 +0300	[thread overview]
Message-ID: <87vbh5qtx9.fsf@intel.com> (raw)
In-Reply-To: <CEE27071B8F0914B91B3076CEB63C2B614CD869BDF@de01ex08.GLOBAL.JHCN.NET>

On Thu, 09 Apr 2015, Lampersperger Andreas <lampersperger.andreas@heidenhain.de> wrote:
> Hello Gajanan,
>
> I'm trying to run linux on a 
> valleyview hardware, which was made by my company. 
>
> On this hardware, the display panel is connected via 
> eDP, but the panel timings / resolution is not available 
> in the EDID of the eDP. It is only available via VBT. 

We seem to try to use the modes from EDID if available. Does the panel
not respond to EDID requests, or does it have incorrect EDID
information?

We only fallback to trying the mode from VBT if no modes can be found
from EDID.

> You added once eDP support to VLV, can you 
> give me some information on the following questions:
>
> Is there a way to force the i915.ko to get the 
> panel timing / resolution for the eDP from the 
> VBT and not via i2c from the eDP?
>
> Can you give me some advice, how to add this 
> option to the source files of i915.ko?
>
> I'm using 3.14.29, but I have also tried 4.0.0-rc7.

See intel_edp_init_connector() in drivers/gpu/drm/i915/intel_dp.c, look
at how fixed_mode is set.

Maybe you can change that to prefer VBT.

An alternative would be to get EDID using the firmware loading
interface, but also for that you'd have to call drm_load_edid_firmware()
in intel_edp_init_connector() instead of drm_get_edid().

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2015-04-09 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 12:59 VLV: eDP: panel timings / resolution data from VBT, not via i2c from eDP EDID Lampersperger Andreas
2015-04-09 14:04 ` Jani Nikula [this message]

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=87vbh5qtx9.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=gajanan.bhat@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=lampersperger.andreas@heidenhain.de \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox