mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sedat Dilek <sedat.dilek@gmail.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	Sedat Dilek <sedat.dilek@gmail.com>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next <linux-next@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	Dave Airlie <airlied@gmail.com>,
	DRI <dri-devel@lists.freedesktop.org>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]
Date: Tue, 13 Aug 2013 22:16:10 +0200	[thread overview]
Message-ID: <CA+icZUXZveDD2s4++CZtUUx1U5_rpAXGeAw-rBnSfPHNXisR6w@mail.gmail.com> (raw)
In-Reply-To: <20130813201042.GA6390@cantiga.alporthouse.com>

On Tue, Aug 13, 2013 at 10:10 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
>> On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>> > On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
>> >> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>> >> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
>> >> >> Files attached.
>> >> >
>> >> > Can you also please attach a full dmesg so I can check for anything
>> >> > unusual?
>> >> >
>> >
>> > Nothing scarred me on a couple of read throughs.
>> >
>> > What happens if you try:
>> >
>> > diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c
>> > index 112c5e1..9828d9b 100644
>> > --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
>> > +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
>> > @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 size)
>> >                 return NULL;
>> >
>> >         ret = drm_mm_insert_node(&dev_priv->mm.stolen, stolen, size,
>> > -                                4096, DRM_MM_SEARCH_DEFAULT);
>> > +                                1024*1024, DRM_MM_SEARCH_DEFAULT);
>> >         if (ret) {
>> >                 kfree(stolen);
>> >                 return NULL;
>> >
>> > --
>>
>> Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
>> from the top).
>> On the bottom I can read "Ubuntu 12.04 LTS" with the known background.
>> So-to-say 3/4 "blind".
>
> That implies that the scanout is always reading from the base of stolen.
> Can you grab intel_reg_dumper so that I can check what values the
> transcoder is set to?
>
> At the moment, I am guessing that the display never sees the updated
> surface offset and so persists with the value programmed by the BIOS -
> which will be 0 and set to the base of stolen memory in the GTT. A
> drm.debug=6 dmesg would help here as well.
>
> If you forced a mode change, I think that too would restore the output.

With which kernel? Vanilla next-20130813? With any of your patches?

- Sedat -

  reply	other threads:[~2013-08-13 20:16 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13  9:10 Sedat Dilek
2013-08-13  9:14 ` Sedat Dilek
2013-08-13  9:20   ` Sedat Dilek
2013-08-13  9:25 ` Chris Wilson
2013-08-13  9:35   ` Sedat Dilek
2013-08-13  9:39     ` Chris Wilson
2013-08-13  9:47       ` Sedat Dilek
2013-08-13  9:52         ` Chris Wilson
2013-08-13  9:57           ` Sedat Dilek
2013-08-13 14:07             ` Sedat Dilek
2013-08-13 14:45               ` Sedat Dilek
2013-08-13 15:59                 ` Sedat Dilek
2013-08-13 16:23                   ` Sedat Dilek
2013-08-13 16:34                     ` Chris Wilson
2013-08-13 16:37                       ` Sedat Dilek
2013-08-13 17:03                         ` Sedat Dilek
2013-08-13 17:13                           ` Chris Wilson
2013-08-13 17:53                             ` Sedat Dilek
2013-08-13 18:01                               ` Chris Wilson
2013-08-13 18:40                                 ` Sedat Dilek
2013-08-13 18:53                                   ` Chris Wilson
2013-08-13 19:05                                     ` Sedat Dilek
2013-08-13 20:10                                       ` Chris Wilson
2013-08-13 20:16                                         ` Sedat Dilek [this message]
2013-08-13 20:20                                           ` Chris Wilson
2013-08-13 20:25                                             ` Sedat Dilek
2013-08-13 20:33                                               ` Sedat Dilek
2013-08-13 20:52                                                 ` Sedat Dilek

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=CA+icZUXZveDD2s4++CZtUUx1U5_rpAXGeAw-rBnSfPHNXisR6w@mail.gmail.com \
    --to=sedat.dilek@gmail.com \
    --cc=airlied@gmail.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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

all inboxes | Powered by JetHome®