Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34

Thread: In-Kernel Power Management For ATI KMS

  1. #31
    Join Date
    Dec 2007
    Posts
    2,371

    Default

    Quote Originally Posted by DoDoENT View Post
    So, which information does the driver have for calculating the GPU load?
    Look at the incoming command stream and engine idle status.

  2. #32
    Join Date
    Nov 2007
    Posts
    1,353

    Default

    Quote Originally Posted by DoDoENT View Post
    So, which information does the driver have for calculating the GPU load?
    That is actually part of the debate I think. As of right now the best ideas I've heard include monitoring the GPU's Command Processor to determine how much load is being put on the chip.

    Here is a block diagram of r600 architecture.... Just scroll about a quarter of the page down

    http://ixbtlabs.com/articles2/video/r600-part1.html

    Now I'm not entirely sure, but from looking at that diagram it seems to me that monitoring the command processor would give you a good idea of general load on the gpu, but I dont think it will be able to tell what type of load it is or what its doing.

    I guess my question is simple..... Is it possible to profile GPU loads?

  3. #33
    Join Date
    Dec 2007
    Posts
    2,371

    Default

    You can check the busy status of the various blocks, however the best way to determine the "load" is to track the amount of queued commands. The engine is either running or not.

  4. #34
    Join Date
    Jan 2009
    Posts
    117

    Default

    Quote Originally Posted by duby229 View Post
    That is actually part of the debate I think. As of right now the best ideas I've heard include monitoring the GPU's Command Processor to determine how much load is being put on the chip.

    Here is a block diagram of r600 architecture.... Just scroll about a quarter of the page down

    http://ixbtlabs.com/articles2/video/r600-part1.html

    Now I'm not entirely sure, but from looking at that diagram it seems to me that monitoring the command processor would give you a good idea of general load on the gpu, but I dont think it will be able to tell what type of load it is or what its doing.

    I guess my question is simple..... Is it possible to profile GPU loads?

    There is no public documention for performance counter registers. I know at least nvidia blobs offering very good GPU profiling tools for developers. (I have seen some PR video showing GPU profiling in game)

    I guess AMD has similar registers to read the performance statistics. But that would require drier support like a lot else so it is long way before even documentation would be used to provide interface for application developers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •