From: Darren Etheridge <detheridge@ti.com>
To: Rob Clark <robdclark@gmail.com>
Cc: panto@antoniou-consulting.com, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements
Date: Wed, 26 Jun 2013 12:49:01 -0500 [thread overview]
Message-ID: <20130626174900.GC15366@ti.com> (raw)
In-Reply-To: <CAF6AEGvTqiTpNn-4PU=f2nCw4ki7nfSP8=RwWGB1gNSqW0v2cA@mail.gmail.com>
Rob Clark <robdclark@gmail.com> wrote on Wed [2013-Jun-26 11:42:44 -0400]:
> On Fri, Jun 21, 2013 at 2:52 PM, Darren Etheridge <detheridge@ti.com> wrote:
> > The series of patches that follow are intended to address issues that
> > have been found in the tilcdc drm driver. The patchset enables support
> > for screen resolutions with horizontal resolutions greater than 1024
> > pixels. The patchset also addresses a limitation where certain
> > monitor timings would overflow LCD controller timing registers causing
> > either no monitor signal or a very corrupted display. This patchset
> > will stop monitor modes from being reported as valid if the lcd
> > controller cannot support them.
> >
> > V2:
> > Fix typos in commit messages
> > Add a patch that enables runtime modesetting to work correctly
> > Fix an issue where the slave encoder can initialize before the i2c
> > subsystem, resulting in no displays being configured.
> >
> for the series:
> Acked-by: Rob Clark <robdclark@gmail.com>
>
> the i2c/slave race thing.. well, isn't pretty.. but right now I don't
> see a better way. I guess at some point we need to revisit how the
> encoder-slave stuff gets loaded in drm
>
Thanks Rob.
Yes I agree with your assessment, I looked at using the
module list as a way to indicate if a given module is deferred or not
but this had its own difficulties. This patch was the easiest way to
defer the probing at the earliest possible point for both the slave
module and the main tilcdc driver.
Reordering the drivers/Makefile was the other suggestion that was
given. By moving the Makefile drm entry to a point after the i2c entry
the order that the initilization happens is changed. This certainly
appeared to work when I tried it. However I was really concerned that this
would have horrible side effects for drivers that I had no knowledge about
and no way of testing. So my provided solution while not elegant its
impact is at least localized to the tilcdc driver.
Darren
prev parent reply other threads:[~2013-06-26 17:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-21 18:52 [PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements Darren Etheridge
2013-06-21 18:52 ` [PATCH V2 1/7] drm/tilcdc: support pixel widths greater than 1024 Darren Etheridge
2013-06-21 18:52 ` [PATCH V2 2/7] drm/tilcdc: adding some more devicetree config Darren Etheridge
2013-06-21 18:52 ` [PATCH V2 3/7] drm/tilcdc: fixing off by one errors found on analyzer Darren Etheridge
2013-06-21 18:52 ` [PATCH V2 4/7] drm/tilcdc: adding more guards to prevent selection of invalid modes Darren Etheridge
2013-06-21 18:52 ` [PATCH V2 5/7] drm/tilcdc: whitespace fixes and tidyup Darren Etheridge
2013-06-21 18:52 ` [PATCH V2 6/7] drm/tilcdc fixing i2c/slave initialization race Darren Etheridge
2013-06-21 18:52 ` [PATCH V2 7/7] drm/tilcdc: Clear bits of register we're going to set Darren Etheridge
2013-06-26 15:42 ` [PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements Rob Clark
2013-06-26 15:47 ` Pantelis Antoniou
2013-06-26 17:49 ` Darren Etheridge [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=20130626174900.GC15366@ti.com \
--to=detheridge@ti.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=panto@antoniou-consulting.com \
--cc=robdclark@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).