public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Lucas Tanure <tanure@linux.com>,
	intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: Contribute to DRM
Date: Wed, 16 Sep 2015 13:38:47 +0300	[thread overview]
Message-ID: <87bnd2vebs.fsf@intel.com> (raw)
In-Reply-To: <CAJyon0tVNUQBq4XZF0mEcbUYCyG5PHdBqadXHQkTimYKCw-sJw@mail.gmail.com>

On Tue, 15 Sep 2015, Lucas Tanure <tanure@linux.com> wrote:
> Hi,
>
> I would like to start to contribute to drm part of kernel. I tried a few
> things:
>
> - Compiled linux-next tree using C=1 (sparse) to find things to improve.
> But couldn't find any problem or issue.
> - I looked in "www.x.org/wiki/DRMJanitors/" for stuff to do, but seems that
> most of them are already done when I checked the code.
>
> - Compiled and run the linux-next tree to test the code. And for this I got
> the warning below.
> I tried to compile a few older versions of linux-next in order to find the
> offending commit. But I didn't succeed, many commits don't boot at all, and
> is difficult to get more information about the status of the warning for
> that version.

I think especially for getting started linux-next is too volatile. I'd
go for Linus' git master first. After that, I'd still recommend driver
specific trees rather than linux-next.

drm/i915 branches are at http://cgit.freedesktop.org/drm-intel

> So, I would like some tips about how to debug DRM code, how to test, how to
> get more information about issues.
> What I do is :
> - Compile and run
> - Restart to a good kernel
> - "journalctl --boot=-1"  to see if I got any warning on previous kernel
>
> Also, if any developer needs/wants some help and it's ok to guide a new guy
> in DRM code, I would like to get help about tasks to do, things to
> clean/improve.
> I'm reading https://www.kernel.org/doc/htmldocs/drm/ to start, and I have
> done a few courses from linux foundation.

It's pretty hard to give generic advise; what works for me doesn't
necessarily work for you. With that out of the way, try focusing on some
detail and figure out how it works. Or find an itch and scratch it,
maybe a bug you experience. Or a bug someone else has and you can
reproduce it (product "DRI" at https://bugs.freedesktop.org/, you'll
probably need to narrow the search down). Expand on related details,
etc.

Based on the warn you seem to have an Intel GPU, so you might find
https://01.org/linuxgraphics/documentation helful.

You might also get faster replies on IRC at #dri-devel and #intel-gfx on
freenode, as long as you don't bug people too much. ;)

HTH,
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-09-16 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 14:54 [Intel-gfx] Contribute to DRM Lucas Tanure
2015-09-16 10:38 ` 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=87bnd2vebs.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=tanure@linux.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