mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Simmons <jsimmons@infradead.org>
To: Anca Emanuel <anca.emanuel@gmail.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>,
	Dave Airlie <airlied@linux.ie>,
	DRI mailing list <dri-devel@lists.freedesktop.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [git pull] drm for rc1
Date: Fri, 14 Jan 2011 16:38:46 +0000 (GMT)	[thread overview]
Message-ID: <alpine.LFD.2.00.1101141633200.5594@casper.infradead.org> (raw)
In-Reply-To: <AANLkTimdPFGJxjWHPZ2kojxJoj76zDw2=fiwDiMrinjy@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2388 bytes --]


On Thu, 13 Jan 2011, Anca Emanuel wrote:

> On Thu, Jan 13, 2011 at 7:55 PM, James Simmons <jsimmons@infradead.org> wrote:
> >
> >> > > With your patch, I can boot the system. But nouveau is not loaded.
> >> > > dmesg attached.
> >> > >
> >> >
> >> > Forget to mention: the revert makes first steps of boot look the same
> >> > (change the resolution of the text)
> >> > but with your patch, I see a big ugly ununtu logo, (I think that is
> >> > because nouveau is not loaded)
> >
> > Okay, can you do one more experiment for me. Since you already reverted
> > the patch to get it booting I like to ask you to add
> >
> > drm_fb_helper_fill_fix(info, fb_helper->fb);
> >
> > back into the drm_fb_helper_set_par function in drm_fb_helper.c. You have
> > something like this:
> >
> >        mutex_lock(&dev->mode_config.mutex);
> >        for (i = 0; i < fb_helper->crtc_count; i++) {
> >                crtc = fb_helper->crtc_info[i].mode_set.crtc;
> >                ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set);
> >                if (ret) {
> >                        mutex_unlock(&dev->mode_config.mutex);
> >                        return ret;
> >                }
> >                drm_fb_helper_fill_fix(info, fb_helper->fb);
> >        }
> >        mutex_unlock(&dev->mode_config.mutex);
> >
> > Tell me if your system is still usable after that. Thanks for testing for
> > me.
> >
> 
> after
> 
> git revert dfe63bb0ad9810db13aab0058caba97866e0a681
> 
> and
> 
> 
> diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
> index 5c4f9b9..2aad663 100644
> --- a/drivers/gpu/drm/drm_fb_helper.c
> +++ b/drivers/gpu/drm/drm_fb_helper.c
> @@ -816,6 +816,7 @@ int drm_fb_helper_set_par(struct fb_info *info)
>                         mutex_unlock(&dev->mode_config.mutex);
>                         return ret;
>                 }
> +               drm_fb_helper_fill_fix(info, fb_helper->fb->pitch, fb_helper->fb
>         }
>         mutex_unlock(&dev->mode_config.mutex);
> 
> I get an working system. ( the boot screen is not ok )
> Tested suspend/resume. Dmesg attached.

Just as I thought. Even this breaks the nouveau driver.

Could you now add also in the drm_fb_helper_fill_fix function

DRM_INFO("pitch %d, depth %d\n", fb_helper->fb->pitch, 
          fb_helper->fb->depth);
 
I have a feeling the values are not right. Thanks.

  parent reply	other threads:[~2011-01-14 16:45 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10 22:59 Dave Airlie
2011-01-11  4:16 ` Linus Torvalds
2011-01-11  4:48   ` Dave Airlie
2011-01-11  4:51     ` Dave Airlie
2011-01-11 10:58       ` Chris Wilson
2011-01-11  6:06     ` Jesse Barnes
2011-01-11  6:28       ` Dave Airlie
2011-01-11  7:04         ` Dave Airlie
2011-01-11 10:35           ` Anca Emanuel
2011-01-11 13:33       ` Pavel Machek
2011-01-11 14:14         ` Chris Wilson
2011-02-23 18:53           ` Pavel Machek
2011-01-11 16:01       ` Linus Torvalds
2011-01-11 16:11         ` Anca Emanuel
2011-01-11 16:25           ` Anca Emanuel
2011-01-11 17:58             ` Anca Emanuel
2011-01-11 19:00         ` Linus Torvalds
2011-01-11 19:12           ` Jesse Barnes
2011-01-11 19:25             ` Linus Torvalds
2011-01-11 19:45               ` Jesse Barnes
2011-01-11 19:53                 ` Linus Torvalds
2011-01-11 20:05                 ` Chris Wilson
2011-01-11 22:16               ` Linus Torvalds
2011-01-11 22:31                 ` Chris Wilson
2011-01-11 23:01                 ` Linus Torvalds
2011-01-12  1:36                   ` Linus Torvalds
2011-01-12  1:54                     ` Dave Airlie
2011-01-11 23:20 ` Christian Borntraeger
2011-01-11 23:28   ` Linus Torvalds
2011-01-12 11:21     ` Christian Borntraeger
2011-01-12 12:49       ` James Simmons
2011-01-12 13:03         ` Christian Borntraeger
2011-01-12 13:32           ` James Simmons
2011-01-12 13:45             ` Christian Borntraeger
2011-01-12 15:55             ` Linus Torvalds
2011-01-12 16:39               ` James Simmons
2011-01-12 13:36       ` Anca Emanuel
2011-01-12 13:45         ` James Simmons
2011-01-12 13:55           ` Anca Emanuel
2011-01-12 14:35           ` Christian Borntraeger
2011-01-12 16:53             ` James Simmons
2011-01-12 15:13           ` Anca Emanuel
2011-01-12 15:25             ` Anca Emanuel
2011-01-12 15:40               ` James Simmons
2011-01-12 15:55                 ` Anca Emanuel
2011-01-13 17:55                 ` James Simmons
2011-01-13 19:53                   ` Anca Emanuel
2011-01-14 16:29                     ` Anca Emanuel
2011-01-14 16:38                     ` James Simmons [this message]
2011-01-14 18:22                       ` Anca Emanuel
2011-01-14 18:26                         ` James Simmons
2011-01-14 18:40                           ` Anca Emanuel
2011-01-14 19:02                             ` Anca Emanuel
2011-02-19 15:14 ` Alex Riesen

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=alpine.LFD.2.00.1101141633200.5594@casper.infradead.org \
    --to=jsimmons@infradead.org \
    --cc=airlied@linux.ie \
    --cc=anca.emanuel@gmail.com \
    --cc=borntraeger@de.ibm.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®