Hi folks,

could someone take 1 minute and run through agpgart.h, 
just taking a look at the structs for the ioctls,
and add comments for which "page" fields are ADDRESSES, vs which
page fields are INDEXES/page-counts. My head's beginning to spin.
I'll narrow it down for ya:

typedef struct _agp_segment {
        off_t pg_start;         /* starting page to populate    */
        size_t pg_count;        /* number of pages              */

typedef struct _agp_bind {
        off_t pg_start;         /* starting page to populate    */

typedef struct _agp_allocate {
        size_t pg_count;        /* number of pages              */
                [Is this really "number of pages", or is it actually
                  "amount of memory"? If really "number of pages",
                  then WHY ISNT IT AN INT?!!]

typedef struct _agp_info {
        size_t pg_used;         /* current pages used           */

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to