All of lore.kernel.org
 help / color / mirror / Atom feed
* Graphics driver Init code
@ 2014-08-13 21:25 Dushyant Behl
  2014-08-19 18:29 ` Dushyant Behl
  0 siblings, 1 reply; 4+ messages in thread
From: Dushyant Behl @ 2014-08-13 21:25 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 433 bytes --]

Hi Everyone,

I am an Operating system developer and I'm working on a project for
which I wanted to understand the working of Intel Graphics Driver.
Being somewhat new in this field, Can I ask anyone to point me where
should I start digging in the code? I mean where the graphic driver
initializes contact with the GPU.

I'm extremely sorry if I broke any mailing list etiquette. Please forgive
me.

Thanks in Advance,
Dushyant Behl

[-- Attachment #1.2: Type: text/html, Size: 1677 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Graphics driver Init code
  2014-08-13 21:25 Graphics driver Init code Dushyant Behl
@ 2014-08-19 18:29 ` Dushyant Behl
  2014-08-19 18:58   ` Matt Turner
  0 siblings, 1 reply; 4+ messages in thread
From: Dushyant Behl @ 2014-08-19 18:29 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 605 bytes --]

Ping.


On Thu, Aug 14, 2014 at 2:55 AM, Dushyant Behl <myselfdushyantbehl@gmail.com
> wrote:

> Hi Everyone,
>
> I am an Operating system developer and I'm working on a project for
> which I wanted to understand the working of Intel Graphics Driver.
> Being somewhat new in this field, Can I ask anyone to point me where
> should I start digging in the code? I mean where the graphic driver
> initializes contact with the GPU.
>
> I'm extremely sorry if I broke any mailing list etiquette. Please forgive
> me.
>
> Thanks in Advance,
> Dushyant Behl
>

I would be really thankful if someone can help me.

[-- Attachment #1.2: Type: text/html, Size: 2239 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Graphics driver Init code
  2014-08-19 18:29 ` Dushyant Behl
@ 2014-08-19 18:58   ` Matt Turner
  2014-08-24 20:03     ` Daniel Vetter
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Turner @ 2014-08-19 18:58 UTC (permalink / raw)
  To: Dushyant Behl; +Cc: intel-gfx

On Tue, Aug 19, 2014 at 11:29 AM, Dushyant Behl
<myselfdushyantbehl@gmail.com> wrote:
> Ping.
>
>
> On Thu, Aug 14, 2014 at 2:55 AM, Dushyant Behl
> <myselfdushyantbehl@gmail.com> wrote:
>>
>> Hi Everyone,
>>
>> I am an Operating system developer and I'm working on a project for
>> which I wanted to understand the working of Intel Graphics Driver.
>> Being somewhat new in this field, Can I ask anyone to point me where
>> should I start digging in the code? I mean where the graphic driver
>> initializes contact with the GPU.
>>
>> I'm extremely sorry if I broke any mailing list etiquette. Please forgive
>> me.
>>
>> Thanks in Advance,
>> Dushyant Behl
>
>
> I would be really thankful if someone can help me.

All of the code exists in

   drivers/gpu/drm/i915

i915_drv.c contains i915_init, which is the first thing that gets
called when the module is loaded.

>From there, there's another 67k lines of code that should keep you busy. :)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Graphics driver Init code
  2014-08-19 18:58   ` Matt Turner
@ 2014-08-24 20:03     ` Daniel Vetter
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Vetter @ 2014-08-24 20:03 UTC (permalink / raw)
  To: Matt Turner; +Cc: intel-gfx

On Tue, Aug 19, 2014 at 8:58 PM, Matt Turner <mattst88@gmail.com> wrote:
> On Tue, Aug 19, 2014 at 11:29 AM, Dushyant Behl
> <myselfdushyantbehl@gmail.com> wrote:
>> Ping.
>>
>>
>> On Thu, Aug 14, 2014 at 2:55 AM, Dushyant Behl
>> <myselfdushyantbehl@gmail.com> wrote:
>>>
>>> Hi Everyone,
>>>
>>> I am an Operating system developer and I'm working on a project for
>>> which I wanted to understand the working of Intel Graphics Driver.
>>> Being somewhat new in this field, Can I ask anyone to point me where
>>> should I start digging in the code? I mean where the graphic driver
>>> initializes contact with the GPU.
>>>
>>> I'm extremely sorry if I broke any mailing list etiquette. Please forgive
>>> me.
>>>
>>> Thanks in Advance,
>>> Dushyant Behl
>>
>>
>> I would be really thankful if someone can help me.
>
> All of the code exists in
>
>    drivers/gpu/drm/i915
>
> i915_drv.c contains i915_init, which is the first thing that gets
> called when the module is loaded.
>
> From there, there's another 67k lines of code that should keep you busy. :)

There's also various blog posts from developers for high-level
overview, google should be able to dig most of them up. Or start with
mine ;-)

http://blog.ffwll.ch/search/label/In-Depth%20Tech

We also started to document the code internals a bit in the drm
docbook, but that's still very much work in progress and so really
spotty:

http://people.freedesktop.org/~danvet/drm/

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-24 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 21:25 Graphics driver Init code Dushyant Behl
2014-08-19 18:29 ` Dushyant Behl
2014-08-19 18:58   ` Matt Turner
2014-08-24 20:03     ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.