[neon/backports-jammy/libdrm-jammy]: Summary of bulk changes made

KDE Git Services - Bulk Change null at kde.org
Tue Sep 20 11:32:21 BST 2022


Git repository change summary for neon/backports-jammy/libdrm-jammy
Pushed by jriddell into branch 'Neon/unstable'.
Changed from 0000000000000000000000000000000000000000 to 6dce1b4d51570f7e505b82e6da6560fce8b91552
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit b3a5766992019fc5f44cc9afd01b2617b76f47a7 by Daryll Strauss on 05/12/1999 at 01:19..
Initial revision
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3a5766992019fc5f44cc9afd01b2617b76f47a7

Git commit a8ab34ed47c1880b1206812c9b1b8312cd7a3357 by Daryll Strauss on 05/12/1999 at 01:19..
Import XFree 3.9.16
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8ab34ed47c1880b1206812c9b1b8312cd7a3357

Git commit b6a28bfe98f2c89cfb91079bd3c7b63fb0144eb1 by Daryll Strauss on 05/12/1999 at 23:10..
First DRI release of 3dfx driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6a28bfe98f2c89cfb91079bd3c7b63fb0144eb1

Git commit e1dba5c3a73078dec24f07a6d685435677db94a4 by Daryll Strauss on 07/12/1999 at 03:37..
Move Mesa to xc/extras Update to the latest Mesa 3.2 code Fix the Q3Demo
    bugs (white railgun and texture mapping) Simplify driver texture
    mapping routines Fix device driver for 2.3 kernels Improve performance
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1dba5c3a73078dec24f07a6d685435677db94a4

Git commit b03b238dfc4d1992e27878ea6f3cac334f1fd56d by Rik Faith on 08/12/1999 at 19:20..
Sync with Linux 2.3.30
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b03b238dfc4d1992e27878ea6f3cac334f1fd56d

Git commit 1c6999d90c77ae43616f180345dc2257ae65fe3a by Jeff Hartmann on 15/12/1999 at 06:49..
file mga_drv.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c6999d90c77ae43616f180345dc2257ae65fe3a

Git commit 8de9114ea6be1790a8d36cd260e0944f2991d8b8 by Jeff Hartmann on 15/12/1999 at 06:49..
file mga_dma.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8de9114ea6be1790a8d36cd260e0944f2991d8b8

Git commit 32338d3ebb7153b6c9c41bbc1b1f2a627178cb93 by Jeff Hartmann on 15/12/1999 at 06:49..
file mga_drv.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32338d3ebb7153b6c9c41bbc1b1f2a627178cb93

Git commit 1606f5b249386c27a0d70a1e7693d1246ada3de5 by Rik Faith on 17/12/1999 at 17:15..
file r128_drv.h was initially added on branch ati-4-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1606f5b249386c27a0d70a1e7693d1246ada3de5

Git commit bf24c3d8819be07d29ee6fdd9bf95b5127c2b018 by Rik Faith on 17/12/1999 at 17:15..
file r128_context.c was initially added on branch ati-4-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf24c3d8819be07d29ee6fdd9bf95b5127c2b018

Git commit 87fd9a07fc0bd8d052843817703e0032cbe365f6 by Rik Faith on 17/12/1999 at 17:15..
file r128_drv.c was initially added on branch ati-4-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87fd9a07fc0bd8d052843817703e0032cbe365f6

Git commit 46e1467a83415f3859ac15b8aa8dfb829c85d1d4 by Rik Faith on 17/12/1999 at 17:17..
file agpsupport.c was initially added on branch ati-4-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46e1467a83415f3859ac15b8aa8dfb829c85d1d4

Git commit 0371c290a12f75d36c9c1e7c947bf98fe210908b by Daryll Strauss on 18/12/1999 at 18:34..
Rename the device to be /dev/dri instead of /dev/dri to avoid a conflict.
    Rename proc entry from /proc/graphics to /proc/dri to be consistent.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0371c290a12f75d36c9c1e7c947bf98fe210908b

Git commit 1c33c6909546e3b51f36c04bba12cc2275149902 by Rik Faith on 06/01/2000 at 12:55..
Import of XFree86 3.9.17
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c33c6909546e3b51f36c04bba12cc2275149902

Git commit 19da57df105a2a71842cf3a6a18ebb07c86c95fc by Jeff Hartmann on 06/01/2000 at 23:44..
file ctxbitmap.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19da57df105a2a71842cf3a6a18ebb07c86c95fc

Git commit cbb5afb3386a074f1b05983ed3880b3b33cb0d26 by Jeff Hartmann on 06/01/2000 at 23:44..
file mga_context.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbb5afb3386a074f1b05983ed3880b3b33cb0d26

Git commit bf0e55959f6c73731500ed9a0d4decc17c9523cd by Jeff Hartmann on 06/01/2000 at 23:44..
file mga_bufs.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf0e55959f6c73731500ed9a0d4decc17c9523cd

Git commit 9243a76e0384f66c6c6799917affffbd9ca38ec6 by Rik Faith on 07/01/2000 at 06:54..
Merge between X_3_9_16 and X_3_9_17 Compiles but may not run.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9243a76e0384f66c6c6799917affffbd9ca38ec6

Git commit 138484c670aa570d7ad2e0308ace13ec0bfe9ee0 by Jeff Hartmann on 08/01/2000 at 00:17..
file i810_context.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/138484c670aa570d7ad2e0308ace13ec0bfe9ee0

Git commit c3622292efbf605b09ce63c5bed27d02c4f6cafe by Jeff Hartmann on 08/01/2000 at 00:17..
file i810_bufs.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3622292efbf605b09ce63c5bed27d02c4f6cafe

Git commit 19f6b7f5ff0e836262bb1478d9aae9a65f733f5d by Jeff Hartmann on 08/01/2000 at 00:17..
file i810_drv.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19f6b7f5ff0e836262bb1478d9aae9a65f733f5d

Git commit ca64f467f296b26826c4e00e1f310a4301ac1e65 by Jeff Hartmann on 08/01/2000 at 00:17..
file i810_drv.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca64f467f296b26826c4e00e1f310a4301ac1e65

Git commit e83ae7576bca0dc248a03c8031b0cce37956aac4 by Jeff Hartmann on 08/01/2000 at 00:17..
file i810_dma.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e83ae7576bca0dc248a03c8031b0cce37956aac4

Git commit aa724a52b9e3b5fa6a768629e2d403288432b7a8 by Daryll Strauss on 12/01/2000 at 21:47..
Add a drm_poll function to the tdfx driver. This fixes the problem with
3.9.17 where the server hangs when the mouse is first moved.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa724a52b9e3b5fa6a768629e2d403288432b7a8

Git commit 9a838857e1a271bd13881c2cd2d058072654dd12 by Rik Faith on 13/01/2000 at 15:03..
Add new code to do SMP/MODVERSIONS detection for more distributions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a838857e1a271bd13881c2cd2d058072654dd12

Git commit fb0ace84a9e1afb0ec49b11d0a10898dbbb61502 by Daryll Strauss on 15/01/2000 at 18:25..
Remove -g from build Fix lost code from tdfx-1-1 merge in tdfx_priv.c Lower
    the minimum required fifo size Fix the kernel tree detection in the
    Makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb0ace84a9e1afb0ec49b11d0a10898dbbb61502

Git commit d545384a2b719f84a9a27ca7502f05325a49e646 by Rik Faith on 17/01/2000 at 10:27..
Try a more complex (and more correct?) method for finding kernel inlcude
    files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d545384a2b719f84a9a27ca7502f05325a49e646

Git commit 0d9121a5ec6a5bdd881fbc48f97805b5aed2d0b5 by Jeff Hartmann on 19/01/2000 at 13:05..
file mgareg_flags.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d9121a5ec6a5bdd881fbc48f97805b5aed2d0b5

Git commit d93a3667b2bcab7ed08de79e9eafd7c162d8e674 by Jeff Hartmann on 27/01/2000 at 23:48..
file mga_drm_public.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d93a3667b2bcab7ed08de79e9eafd7c162d8e674

Git commit 84ad2d4aaea46ca2be005a37bd99dc5be1b2a891 by Jeff Hartmann on 27/01/2000 at 23:48..
file mga_state.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84ad2d4aaea46ca2be005a37bd99dc5be1b2a891

Git commit 9fcbf05c442d0b45d0fa7d7aca28e1f3c67de65a by Jeff Hartmann on 28/01/2000 at 02:11..
Fixed freelist_put bug
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fcbf05c442d0b45d0fa7d7aca28e1f3c67de65a

Git commit a0ae1680027e9fc460a82ef70ee83c738d9d1846 by Keith Whitwell on 04/02/2000 at 07:32..
file mga_clear.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0ae1680027e9fc460a82ef70ee83c738d9d1846

Git commit d222453c4af94838fc1a669c3222dc0fdd9ee896 by Keith Whitwell on 04/02/2000 at 07:32..
file mga_dma.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d222453c4af94838fc1a669c3222dc0fdd9ee896

Git commit 9fc0e46b67bd9ffa2b91644680fe21d0d9451314 by Keith Whitwell on 06/02/2000 at 18:50..
file mga_state.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fc0e46b67bd9ffa2b91644680fe21d0d9451314

Git commit 5a3acfc628f42ee244468f84e8e811c79f7bf938 by Jeff Hartmann on 12/02/2000 at 02:08..
file i810_drm_public.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a3acfc628f42ee244468f84e8e811c79f7bf938

Git commit baacc589f1add9ca5ff8a471c2c2bcb1b93f227f by Jeff Hartmann on 12/02/2000 at 21:48..
file mga_dmapoll.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baacc589f1add9ca5ff8a471c2c2bcb1b93f227f

Git commit c6e856749badbdeeaa7647f93760f612f370a4ef by Jeff Hartmann on 12/02/2000 at 21:48..
file Makefile.linuxpoll was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6e856749badbdeeaa7647f93760f612f370a4ef

Git commit 37fa5fd54ae4cedbd5db22a646b37dbef8998656 by Keith Whitwell on 13/02/2000 at 01:29..
file i810_dma.h was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37fa5fd54ae4cedbd5db22a646b37dbef8998656

Git commit 9a1197da5cd84624f5b0741e0a20fee60eb8b4f1 by Keith Whitwell on 13/02/2000 at 01:29..
file i810_clear.c was initially added on branch mga-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a1197da5cd84624f5b0741e0a20fee60eb8b4f1

Git commit 7a9b291ab55dd9dcfeb35217f6105ad57c94f433 by Kevin E Martin on 22/02/2000 at 15:43..
Import of XFree86 3.9.18
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a9b291ab55dd9dcfeb35217f6105ad57c94f433

Git commit d9ff0e3884abd19cdf99426d4d4b1e8f17b4ffd1 by Kevin E Martin on 22/02/2000 at 22:10..
3.9.18 merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9ff0e3884abd19cdf99426d4d4b1e8f17b4ffd1

Git commit adc03d3661117a687b5e1686f11b4b1314922203 by Jeff Hartmann on 15/03/2000 at 21:40..
Import of XFree86 4.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/adc03d3661117a687b5e1686f11b4b1314922203

Git commit 5bd8014f276d447178a1193d9dea1b976647d6ce by Jeff Hartmann on 16/03/2000 at 03:37..
Merge with 4.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bd8014f276d447178a1193d9dea1b976647d6ce

Git commit 45b6bd6f19d04e375dede6cd0374031a49e31efd by Jeff Hartmann on 31/03/2000 at 00:08..
file i810_drm.h was initially added on branch mga-0-0-2-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45b6bd6f19d04e375dede6cd0374031a49e31efd

Git commit 7d715d1800031ccbd37db7f88896464c0e838f10 by Jeff Hartmann on 31/03/2000 at 00:08..
file mga_drm.h was initially added on branch mga-0-0-2-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d715d1800031ccbd37db7f88896464c0e838f10

Git commit ba1b1ae3806490cce16a9c8957b52cd74967f463 by Jeff Hartmann on 04/04/2000 at 22:08..
Merged mga branch with trunk
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba1b1ae3806490cce16a9c8957b52cd74967f463

Git commit 1dcfddf9154bcce3d6e004acee7dd503c27d0f0b by Jeff Hartmann on 05/04/2000 at 18:48..
Fixed reclaim Oops
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1dcfddf9154bcce3d6e004acee7dd503c27d0f0b

Git commit 42f526b5ca90317dd751a772105f30e8151b8613 by Daryll Strauss on 09/04/2000 at 17:29..
Only enable DRI for 16bpp mode. Allow GL_BLEND if color is 0,0,0,1 Wrap
    grTexLodBiasValue call Link math library into libGL Recognize Napalm
    boards Allow CLUT/gamma changes Make driver compile on 2.2.14 kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42f526b5ca90317dd751a772105f30e8151b8613

Git commit d476a211bcf712506ac11f79a9f6c56a49ab4907 by Kevin E Martin on 12/04/2000 at 06:22..
file r128_drm.h was initially added on branch ati-4-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d476a211bcf712506ac11f79a9f6c56a49ab4907

Git commit 4a106124909259a08e65cc087dd6212629fa85a3 by Kevin E Martin on 12/04/2000 at 06:22..
file r128_dma.c was initially added on branch ati-4-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a106124909259a08e65cc087dd6212629fa85a3

Git commit da74fc3f29f3cc093929fe6c54140522ff489e2a by Kevin E Martin on 15/04/2000 at 08:06..
file r128_bufs.c was initially added on branch ati-4-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da74fc3f29f3cc093929fe6c54140522ff489e2a

Git commit 01836824d5b3dd4833573ebf3f98ed4cfb9cd5b3 by Brian Paul on 20/04/2000 at 16:36..
Merged glxmisc-1-0-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01836824d5b3dd4833573ebf3f98ed4cfb9cd5b3

Git commit 813dc2fd4717e8fe21333e4c22d2380e0126bb0a by Brian Paul on 03/05/2000 at 23:13..
file vm.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/813dc2fd4717e8fe21333e4c22d2380e0126bb0a

Git commit 2efb5abb9bd233ebe57393c697d04b3e412cae27 by Brian Paul on 03/05/2000 at 23:13..
file tdfx_drv.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2efb5abb9bd233ebe57393c697d04b3e412cae27

Git commit 4735070bd77fe68542e116effbaaff61ae640ba2 by Brian Paul on 03/05/2000 at 23:13..
file tdfx_context.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4735070bd77fe68542e116effbaaff61ae640ba2

Git commit fe7968a7c507f9b330cc17e1f21b846ebcba561a by Brian Paul on 03/05/2000 at 23:13..
file sysctl.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe7968a7c507f9b330cc17e1f21b846ebcba561a

Git commit 7304e831cc1e429a07f27d8fc916f72cbde508cf by Brian Paul on 03/05/2000 at 23:13..
file proc.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7304e831cc1e429a07f27d8fc916f72cbde508cf

Git commit 3df97c45106cd08ab393935494b2ec42bebdb567 by Brian Paul on 03/05/2000 at 23:13..
file memory.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3df97c45106cd08ab393935494b2ec42bebdb567

Git commit 1140d8b0343e273c71a01d0a82fe3325e2072fe8 by Brian Paul on 03/05/2000 at 23:13..
file lock.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1140d8b0343e273c71a01d0a82fe3325e2072fe8

Git commit 39d7d7228d997c9839898becee8fce7e9baacf68 by Brian Paul on 03/05/2000 at 23:13..
file lists.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39d7d7228d997c9839898becee8fce7e9baacf68

Git commit 145d5c0006c7c0ad51075424df16c961bff461dd by Brian Paul on 03/05/2000 at 23:13..
file ioctl.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/145d5c0006c7c0ad51075424df16c961bff461dd

Git commit 20afae284903d86b6168ebe26802935a9a761102 by Brian Paul on 03/05/2000 at 23:13..
file init.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20afae284903d86b6168ebe26802935a9a761102

Git commit e801cc05e755c0ecd6bb420482ebab110443ee17 by Brian Paul on 03/05/2000 at 23:13..
file fops.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e801cc05e755c0ecd6bb420482ebab110443ee17

Git commit 47c42ab42a8248794d07cea0e8fac233023c0754 by Brian Paul on 03/05/2000 at 23:13..
file drmstat.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47c42ab42a8248794d07cea0e8fac233023c0754

Git commit 94e0ea68ae33160e62fcc9ffd38d919b8bab06f1 by Brian Paul on 03/05/2000 at 23:13..
file drawable.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94e0ea68ae33160e62fcc9ffd38d919b8bab06f1

Git commit 8f45e86a7681f73238c065d59be4b31ee058ba1d by Brian Paul on 03/05/2000 at 23:13..
file dma.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f45e86a7681f73238c065d59be4b31ee058ba1d

Git commit 244e9c02acf60bd5e1aba9082f889509bb0f4bb6 by Brian Paul on 03/05/2000 at 23:13..
file context.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/244e9c02acf60bd5e1aba9082f889509bb0f4bb6

Git commit ba453d71d3cca772c6682772e96eb606d208cbee by Brian Paul on 03/05/2000 at 23:13..
file bufs.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba453d71d3cca772c6682772e96eb606d208cbee

Git commit a8ea56741b040e85221c7a4c5bfe9ff3d8817336 by Brian Paul on 03/05/2000 at 23:13..
file auth.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8ea56741b040e85221c7a4c5bfe9ff3d8817336

Git commit f352d4892ece370627de380da362cd55cf3ef2e6 by Brian Paul on 03/05/2000 at 23:13..
file gamma_dma.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f352d4892ece370627de380da362cd55cf3ef2e6

Git commit 2b4191b5b2331bc3146a546cd6737ba4cc8ea812 by Brian Paul on 03/05/2000 at 23:13..
file gamma_drv.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b4191b5b2331bc3146a546cd6737ba4cc8ea812

Git commit 268b2d0fa4c97c75b4cb2ce0d005b115da123b88 by Brian Paul on 03/05/2000 at 23:13..
file gamma_drv.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/268b2d0fa4c97c75b4cb2ce0d005b115da123b88

Git commit 9ca9e835279b66b14ad74158044aa6f08986d25b by Brian Paul on 03/05/2000 at 23:13..
file tdfx_drv.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ca9e835279b66b14ad74158044aa6f08986d25b

Git commit a8af9a06524345dfd14ab42fb21484f0a8b22117 by Brian Paul on 03/05/2000 at 23:13..
file drm.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8af9a06524345dfd14ab42fb21484f0a8b22117

Git commit 188d7591db6cddad414d971ac4db1c67855945d8 by Brian Paul on 03/05/2000 at 23:13..
file Imakefile was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/188d7591db6cddad414d971ac4db1c67855945d8

Git commit 6b760708bdf876bf4cfd567743e45905d6c50653 by Brian Paul on 03/05/2000 at 23:13..
file Makefile.bsd was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b760708bdf876bf4cfd567743e45905d6c50653

Git commit fc671ac20f84b2a8bac34472aa2c3033dee3acab by Brian Paul on 03/05/2000 at 23:13..
file drmP.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc671ac20f84b2a8bac34472aa2c3033dee3acab

Git commit 356bfda022741de65c7629c5c282690c0939cde2 by Doug Rabson on 07/05/2000 at 14:14..
file i810_drm.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/356bfda022741de65c7629c5c282690c0939cde2

Git commit c14788bf2982357e529114e4b4cf70e7b730a8ff by Doug Rabson on 07/05/2000 at 14:14..
file mga_drm.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c14788bf2982357e529114e4b4cf70e7b730a8ff

Git commit 93dcf91a0f03db4a07b4b2d86c0398c144883ff5 by Doug Rabson on 07/05/2000 at 14:14..
file drawable.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93dcf91a0f03db4a07b4b2d86c0398c144883ff5

Git commit 111738fade531ad02729b8b2d18a077afe74459d by Doug Rabson on 07/05/2000 at 14:14..
file auth.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/111738fade531ad02729b8b2d18a077afe74459d

Git commit a1a5b192d4ba3bc1a57e7f7fa708139d256689b8 by Doug Rabson on 07/05/2000 at 14:14..
file bufs.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1a5b192d4ba3bc1a57e7f7fa708139d256689b8

Git commit 573dcc12080f12f3afda076497185e0cf317ced3 by Doug Rabson on 07/05/2000 at 14:14..
file dma.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/573dcc12080f12f3afda076497185e0cf317ced3

Git commit bbb0c2352b93f7b71900f66ddcfb6621a79c66e6 by Doug Rabson on 07/05/2000 at 14:14..
file ioctl.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbb0c2352b93f7b71900f66ddcfb6621a79c66e6

Git commit 1d6bc9c448915a91b1ecf7ed7ac9b698b24d2ec7 by Doug Rabson on 07/05/2000 at 14:14..
file context.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d6bc9c448915a91b1ecf7ed7ac9b698b24d2ec7

Git commit badaa2f2eb79a244feb412b49c19cdc1372f69ff by Doug Rabson on 07/05/2000 at 14:14..
file sysctl.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/badaa2f2eb79a244feb412b49c19cdc1372f69ff

Git commit 291816bd9c718ce25fe9c9b54f68ce83d75ba9ed by Doug Rabson on 07/05/2000 at 14:14..
file lists.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/291816bd9c718ce25fe9c9b54f68ce83d75ba9ed

Git commit 54d4e7afff4a5f8bc0932f1a048f52cbbbcbb06b by Doug Rabson on 07/05/2000 at 14:14..
file proc.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54d4e7afff4a5f8bc0932f1a048f52cbbbcbb06b

Git commit 2c88ecd2e6d7af28d69b634dc6e34b12bd02fb12 by Doug Rabson on 07/05/2000 at 14:14..
file init.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c88ecd2e6d7af28d69b634dc6e34b12bd02fb12

Git commit 7428ee6555af8dc0e7a1b77f096bb683ebb8deb2 by Doug Rabson on 07/05/2000 at 14:14..
file fops.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7428ee6555af8dc0e7a1b77f096bb683ebb8deb2

Git commit 874b13095bc3571eefaf8098a1b08a6906bc8adb by Doug Rabson on 07/05/2000 at 14:14..
file drmstat.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/874b13095bc3571eefaf8098a1b08a6906bc8adb

Git commit 3b55ffde2f887945b4c0bc8cd15730678e6a6333 by Doug Rabson on 07/05/2000 at 14:14..
file vm.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b55ffde2f887945b4c0bc8cd15730678e6a6333

Git commit dc461915572f293d4fb4ea9ff8c1806cdd850216 by Doug Rabson on 07/05/2000 at 14:14..
file memory.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc461915572f293d4fb4ea9ff8c1806cdd850216

Git commit ec9c8cf8c3ba4aef093e8a0fa754d40d0f56738a by Doug Rabson on 07/05/2000 at 14:14..
file lock.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec9c8cf8c3ba4aef093e8a0fa754d40d0f56738a

Git commit fc3e594efe21c7ee7f93840947c59b87a7da3713 by Doug Rabson on 07/05/2000 at 14:14..
file gamma_drv.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc3e594efe21c7ee7f93840947c59b87a7da3713

Git commit 0ce3eb0c37f36f857738c8c5ab869b015019a8a3 by Doug Rabson on 07/05/2000 at 14:14..
file gamma_dma.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ce3eb0c37f36f857738c8c5ab869b015019a8a3

Git commit b8a8b6a0072cb5b5fbe57bce2ef4baf7dd2e8d7d by Doug Rabson on 07/05/2000 at 14:14..
file gamma_drv.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8a8b6a0072cb5b5fbe57bce2ef4baf7dd2e8d7d

Git commit 946502a97c93bc5266740e5e1d744f209aa3db46 by Doug Rabson on 07/05/2000 at 14:14..
file tdfx_drv.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/946502a97c93bc5266740e5e1d744f209aa3db46

Git commit bbdf6517b972b40a2a9502b3a715a7fa4f04c623 by Doug Rabson on 07/05/2000 at 14:14..
file Makefile was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbdf6517b972b40a2a9502b3a715a7fa4f04c623

Git commit daa2b5316de12dd0bc231764312981567bb9db92 by Doug Rabson on 07/05/2000 at 14:14..
file tdfx_context.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/daa2b5316de12dd0bc231764312981567bb9db92

Git commit e79f86b2540527fd5261aae9e251d582282914dc by Doug Rabson on 07/05/2000 at 14:14..
file tdfx_drv.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e79f86b2540527fd5261aae9e251d582282914dc

Git commit 99efe3c247f726909f0a9a43e59835ebfc2d121f by Kevin E Martin on 18/05/2000 at 06:14..
Merged ati-4-0-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99efe3c247f726909f0a9a43e59835ebfc2d121f

Git commit 2bb4f7ef4252007c356c0fbb8597925d395cb6b1 by Doug Rabson on 22/05/2000 at 10:28..
file agpsupport.c was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bb4f7ef4252007c356c0fbb8597925d395cb6b1

Git commit ddcb28259f70d6808caf57e8eb9f74ca95b5f069 by Keith Whitwell on 25/05/2000 at 21:06..
Merged mga-0-0-3-branch
- New security model for i810
- Enable i810 dri by default
- New indexed vertex path for mga
- Mga kernel driver rework
- Removed dead files in i810 driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddcb28259f70d6808caf57e8eb9f74ca95b5f069

Git commit 50996ec9ba504e125d76a3713dfe96d5b8e99ac3 by Gareth Hughes on 26/05/2000 at 23:24..
Fixed WARP pipe hangs in Quake 3. Fullscreen or window at (0,0) seems to
    work fine now, but an offset window still hangs in the same places as
    before.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50996ec9ba504e125d76a3713dfe96d5b8e99ac3

Git commit a72f370f4d8a65db5c4ff28dc49b0a1d7acc146c by Doug Rabson on 30/05/2000 at 14:47..
file r128_drm.h was initially added on branch bsd-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a72f370f4d8a65db5c4ff28dc49b0a1d7acc146c

Git commit fa0a35a25fd008617ef6c7444cb92b138dd01859 by Doug Rabson on 30/05/2000 at 17:13..
Merged bsd-1-0-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa0a35a25fd008617ef6c7444cb92b138dd01859

Git commit f0cf8d5edd466b3e224bad08223ba2b31fb3f046 by Doug Rabson on 31/05/2000 at 14:32..
file ctxbitmap.c was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0cf8d5edd466b3e224bad08223ba2b31fb3f046

Git commit 909085a0083fccae1c74d2c78dc8a34efc55a5cf by Alan Hourihane on 05/06/2000 at 00:42..
Include new updated gamma support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/909085a0083fccae1c74d2c78dc8a34efc55a5cf

Git commit 5ce0f2afec70a1d062b749e1bf7150c21d35281d by Brian Paul on 06/06/2000 at 22:51..
define VM_DONTCOPY to zero if undefined
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ce0f2afec70a1d062b749e1bf7150c21d35281d

Git commit 569da5a42ebf10c86d6c6ba81866a888e1c708dc by Brian Paul on 08/06/2000 at 14:38..
Merged glxmisc-3-0-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/569da5a42ebf10c86d6c6ba81866a888e1c708dc

Git commit 0dc99dc4b941ca5b47ebbf7c7f03cb16b296f87c by Brian Paul on 08/06/2000 at 17:13..
don't draw if window is unmapped, other updates (Jeff Hartmann)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dc99dc4b941ca5b47ebbf7c7f03cb16b296f87c

Git commit 7d88040f523a1e82435a4bfae71d3b370d7a6a05 by Alan Hourihane on 09/06/2000 at 15:14..
Fix define of PCI_DEVICE_ID_3DLABS_GAMMA when not available in the kernel
    includes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d88040f523a1e82435a4bfae71d3b370d7a6a05

Git commit 877873ad33536765af1f51d485a2f8f28feff2e4 by Doug Rabson on 09/06/2000 at 17:16..
file mga_drm.h was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/877873ad33536765af1f51d485a2f8f28feff2e4

Git commit 018c96b3e6fa2119ca63e107c29ae5ce54ced11c by Doug Rabson on 09/06/2000 at 17:16..
file mga_context.c was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/018c96b3e6fa2119ca63e107c29ae5ce54ced11c

Git commit 736ca698c8f0fd42654b396caaa8f1e5b3f0f6a0 by Doug Rabson on 09/06/2000 at 17:16..
file mga_bufs.c was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/736ca698c8f0fd42654b396caaa8f1e5b3f0f6a0

Git commit 0eed55ba456d3541c11b6bb5e6739747ce177b84 by Doug Rabson on 09/06/2000 at 17:16..
file mga_drv.c was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0eed55ba456d3541c11b6bb5e6739747ce177b84

Git commit 2add3b9dc882b20e977ec16343ef13fabd4392a6 by Doug Rabson on 09/06/2000 at 17:16..
file mga_dma.c was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2add3b9dc882b20e977ec16343ef13fabd4392a6

Git commit 8444cd6f11ecd8dca28f0a54c769bd908c4dd1df by Doug Rabson on 09/06/2000 at 17:16..
file Makefile was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8444cd6f11ecd8dca28f0a54c769bd908c4dd1df

Git commit 776faf51f00a856349c46bcc87e888207ec68558 by Doug Rabson on 09/06/2000 at 17:16..
file mga_drv.h was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/776faf51f00a856349c46bcc87e888207ec68558

Git commit b084e752920a3cc8ef904e67280fd903d050c301 by Doug Rabson on 09/06/2000 at 17:16..
file mga_state.c was initially added on branch bsd-1-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b084e752920a3cc8ef904e67280fd903d050c301

Git commit ea425f532fb9c5b8f4d942e45751b7f715464b34 by Daryll Strauss on 12/06/2000 at 02:33..
Merged the tdfx-2-0 branch onto the trunk
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea425f532fb9c5b8f4d942e45751b7f715464b34

Git commit d5348efe258d5399dd161bb488d22c981177bf78 by Gareth Hughes on 12/06/2000 at 15:47..
Merging the ati-4-1-0 branch onto the trunk.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5348efe258d5399dd161bb488d22c981177bf78

Git commit 1c8b2b5e06f7967babfa49b9dc8bf24316bfe201 by Rik Faith on 13/06/2000 at 14:22..
Update email addresses and copyright notices to reflect VA Linux Systems
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c8b2b5e06f7967babfa49b9dc8bf24316bfe201

Git commit 2fbd4bf0189cf6d421000c7eea85fee3b9c79ed0 by Rik Faith on 13/06/2000 at 14:34..
Unify code with kernel: Change some spacing in comments Add #include
    <linux/config.h> to all *_drv.c files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fbd4bf0189cf6d421000c7eea85fee3b9c79ed0

Git commit d399dbcd569a66f5bf4863ffa2aab95fa8ebd5fc by Doug Rabson on 13/06/2000 at 17:38..
Merged bsd-1-0-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d399dbcd569a66f5bf4863ffa2aab95fa8ebd5fc

Git commit dc2701a9f6034a04319f71e43e7f928f818be6db by Gareth Hughes on 23/06/2000 at 17:14..
Update register definitions to match r128_reg.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc2701a9f6034a04319f71e43e7f928f818be6db

Git commit 62838b948cdddc0f007c200fbec195c1a008c731 by Gareth Hughes on 01/07/2000 at 01:50..
Fix for agpgart module detection. If the kernel module has been configured
    to use AGP, and the module is not present, fail gracefully instead of
    doing evil things.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62838b948cdddc0f007c200fbec195c1a008c731

Git commit 8bc39d01cae622db6097b967c132f9b0e04fb785 by Alan Hourihane on 10/07/2000 at 21:32..
Import of XFree86 4.0.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8bc39d01cae622db6097b967c132f9b0e04fb785

Git commit 8751b6774da527fdc3773d86da53ad5948b733dc by Alan Hourihane on 11/07/2000 at 11:41..
Merge XFree86 4.0.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8751b6774da527fdc3773d86da53ad5948b733dc

Git commit 4509385d37d0738f14d48bd91d9378e72dacc063 by Alan Hourihane on 12/07/2000 at 21:37..
Final misc changes to bring upto 4.0.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4509385d37d0738f14d48bd91d9378e72dacc063

Git commit 7b888f87fa5ec559df97a7e911dd5a3328895f6f by Brian Paul on 13/07/2000 at 18:47..
applied Jeff's xf86cvs-I810copy.patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b888f87fa5ec559df97a7e911dd5a3328895f6f

Git commit aed8549e91ade1582505ebce50e4a79d99b4436f by Rik Faith on 19/07/2000 at 18:38..
Sync with Linux 2.4.0-test4 kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aed8549e91ade1582505ebce50e4a79d99b4436f

Git commit ee9514b63b4309defc21a929deba1651a5dd8306 by Rik Faith on 19/07/2000 at 20:41..
Allow SAREA > 1 page in size
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee9514b63b4309defc21a929deba1651a5dd8306

Git commit 1d3c4d2ed2d7dd9e91037cff9ef0044a8fc2a6bb by Rik Faith on 19/07/2000 at 20:59..
Bump driver dates and add descriptions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d3c4d2ed2d7dd9e91037cff9ef0044a8fc2a6bb

Git commit c459c9ead3476a8edc1cd453fafa2b1c83c20e60 by Rik Faith on 20/07/2000 at 00:48..
Added support for building as modules or as part of monolithic kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c459c9ead3476a8edc1cd453fafa2b1c83c20e60

Git commit 742c33bf6197e6ed18c7de89c7d895fecafaa838 by Rik Faith on 20/07/2000 at 00:59..
Fix signature for *_options function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/742c33bf6197e6ed18c7de89c7d895fecafaa838

Git commit e8c9ed03f8d950ef82c09e387001b2fd43b81182 by Rik Faith on 20/07/2000 at 01:14..
Fixed for monolithic kernel build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8c9ed03f8d950ef82c09e387001b2fd43b81182

Git commit 0bd1fa795a06f592c1115b251685b36fec63fed3 by Rik Faith on 20/07/2000 at 01:52..
Fixes for building in the kernel tree
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bd1fa795a06f592c1115b251685b36fec63fed3

Git commit b4722ec943b3c51e103aaf7c6c77fe7b9c2c716d by Rik Faith on 20/07/2000 at 05:17..
More fixups for kernel build: EXPORT_SYMTAB warning removal
    put_module_symbol clean up of tdfx tdfx_cleanup routine Makefile.kernel
    fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4722ec943b3c51e103aaf7c6c77fe7b9c2c716d

Git commit 6d1ce8fe7727ee0a704a8a7464b22559ce9831fd by Rik Faith on 20/07/2000 at 20:21..
kfree_s was deprecated in 2.4.0-test?
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d1ce8fe7727ee0a704a8a7464b22559ce9831fd

Git commit 81da79d1ed038ff8968abcf1cde3362035603861 by Rik Faith on 21/07/2000 at 14:20..
Changes to make AGP optional for in-kernel builds
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81da79d1ed038ff8968abcf1cde3362035603861

Git commit e38b34e54a79919588f23294ddb326309c9cb005 by Rik Faith on 21/07/2000 at 15:48..
Fixes for building in the kernel tree
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e38b34e54a79919588f23294ddb326309c9cb005

Git commit 6dd96a15ed329f26565bb971877f03e15801f3f5 by Rik Faith on 21/07/2000 at 16:57..
Revert some changes and try alternative way to clean up AGP handling.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dd96a15ed329f26565bb971877f03e15801f3f5

Git commit 3bcc55a74d5fba18e53c4a6441dffb50badbbec0 by Rik Faith on 21/07/2000 at 18:28..
Revert some changes and try alternative way to clean up AGP handling.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3bcc55a74d5fba18e53c4a6441dffb50badbbec0

Git commit 1e54e554312d0970427e81c0a2bc8a16d1325c07 by Rik Faith on 22/07/2000 at 01:04..
Move to new, denser, easier-to-read Linux kernel Makefile format
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e54e554312d0970427e81c0a2bc8a16d1325c07

Git commit bcad11818296fa58a356175bc7e13060579012d0 by Rik Faith on 22/07/2000 at 01:08..
Fix typo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcad11818296fa58a356175bc7e13060579012d0

Git commit f3ae6786f89a4f63dbba93c5519d3792a1744dd7 by Rik Faith on 04/08/2000 at 10:04..
Sync with Linux 2.4.0-test6-pre2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3ae6786f89a4f63dbba93c5519d3792a1744dd7

Git commit 9199075a6a975ebcc44aff53fe0f77080c01a30b by Jeff Hartmann on 07/08/2000 at 16:55..
Fix for multiple sarea bug + agp built into kernel segfault
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9199075a6a975ebcc44aff53fe0f77080c01a30b

Git commit 8b9363d1b1f7bc40fb68261f7659dea5124f2821 by Rik Faith on 08/08/2000 at 16:04..
Sync with Linux 2.4.0-test6-pre8
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b9363d1b1f7bc40fb68261f7659dea5124f2821

Git commit 1df8afa8fff0750775ebcd8770d3b887053a65a7 by David Dawes on 16/08/2000 at 17:23..
Initial revision
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1df8afa8fff0750775ebcd8770d3b887053a65a7

Git commit 0cbca9cca2a9680bcced7d2ffe47599a37c7fea9 by David Dawes on 16/08/2000 at 17:23..
Import of XFree86 4.0.1b
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cbca9cca2a9680bcced7d2ffe47599a37c7fea9

Git commit cba4d3504c843f6f66ffc0b477f86b4ee0048065 by David Dawes on 16/08/2000 at 18:29..
first part of 4.0.1b merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cba4d3504c843f6f66ffc0b477f86b4ee0048065

Git commit 3e42514360d15f63c250875e3aa4eb6ddd748763 by Jeff Hartmann on 16/08/2000 at 21:13..
Fix for bug #111744 which caused any application to never render and dma to
    stall on certain mga cards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e42514360d15f63c250875e3aa4eb6ddd748763

Git commit 761ffd63f3b8c9789afe026e75d384a6d450165a by Rik Faith on 17/08/2000 at 20:20..
Bug #112197 Made sis driver compile under 2.4.0-test7/pre4
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/761ffd63f3b8c9789afe026e75d384a6d450165a

Git commit f75ec3010ad8d15d316f6e6d580c85f9e6b8466e by Rik Faith on 17/08/2000 at 20:26..
Bug #112196: auth.c uses semaphores while holding spinlocks Make spinlocked
    region smaller to avoid semaphore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f75ec3010ad8d15d316f6e6d580c85f9e6b8466e

Git commit f0f6509a72abf3a3a0a8f26a35b7a8f3d96cbb9b by Rik Faith on 18/08/2000 at 13:55..
Sync with Linux 2.4.0-test7/pre4
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0f6509a72abf3a3a0a8f26a35b7a8f3d96cbb9b

Git commit 364d44a24cb7a32ab7ac860e9dde0cd5d082fcd7 by Rik Faith on 18/08/2000 at 18:57..
Fix ABA problem in drm_freelist_{put,try}
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/364d44a24cb7a32ab7ac860e9dde0cd5d082fcd7

Git commit e30361416b31f6661d36f9d331f48217d66c9ee8 by Jeff Hartmann on 18/08/2000 at 19:03..
Possible fix for trispd bug
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e30361416b31f6661d36f9d331f48217d66c9ee8

Git commit fb3939c1a5cee3fedc02e0ca710870548481f99e by Keith Whitwell on 20/08/2000 at 18:16..
Bug fixes for 32bpp rendering (still disabled)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb3939c1a5cee3fedc02e0ca710870548481f99e

Git commit 68f6795ef45739816fe9d5f1f5b3ef4900bf3187 by Rik Faith on 25/08/2000 at 12:44..
Improve detection of kill_fasync parameter count Make compilation of sis.o
    depend on CONFIG_FB_SIS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68f6795ef45739816fe9d5f1f5b3ef4900bf3187

Git commit ac3c3571a714a38f7572f94c40fe143b43beb3b9 by Rik Faith on 25/08/2000 at 12:45..
Remove misleading authorship information from sis driver (author has been
    contacted and will provide improved information later) Rename
    sis_drm_public.h to sis_drm.h to be consistent with the other drivers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac3c3571a714a38f7572f94c40fe143b43beb3b9

Git commit 37643234affb329775d3330eed650dee59d39bad by Rik Faith on 25/08/2000 at 12:49..
Apply patch from Alan Hourihane to temporarily allow compilation on Alpha
    (the driver has not been tested on Alpha -- this just makes it compile)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37643234affb329775d3330eed650dee59d39bad

Git commit 6f07e1ff6bec8f306e8aa1d59b8bcaa93ffa776e by Rik Faith on 26/08/2000 at 10:36..
Sync with Linux 2.4.0-test7 Add signal blocking support to all drivers
    (using control-z on a running direct-rendering client should work now)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f07e1ff6bec8f306e8aa1d59b8bcaa93ffa776e

Git commit 32cebaf750b82639822f5f50d0aa8a4417595ada by Rik Faith on 28/08/2000 at 19:50..
Add compatibility header file to make Linux 2.4.0 kernel patches cleaner.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32cebaf750b82639822f5f50d0aa8a4417595ada

Git commit 926349534d4a20b8dc4f795e41055540ad48d112 by Keith Whitwell on 30/08/2000 at 22:34..
Initialize vertsize correctly. Add planemask arguments for color and depth
    stencil clearing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/926349534d4a20b8dc4f795e41055540ad48d112

Git commit 0bdde422b7db154935295938a937dab0c3212edf by Keith Whitwell on 30/08/2000 at 22:36..
Added planemask args for color and depthbuffer clears.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bdde422b7db154935295938a937dab0c3212edf

Git commit 433408db2e334f25df700b701fb3e159abd471b9 by Rik Faith on 31/08/2000 at 10:10..
Pre Linux 2.4.0 compatibility header file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/433408db2e334f25df700b701fb3e159abd471b9

Git commit e3e2d66131a3615379fe81ea106d7133da084683 by Keith Whitwell on 31/08/2000 at 15:32..
Bump version number after kernel interface change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3e2d66131a3615379fe81ea106d7133da084683

Git commit 7db6449142ca24183f50e6f9dcf396b899b4113b by Gareth Hughes on 06/09/2000 at 20:56..
Sync with 2.4.0-test8-pre5 kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7db6449142ca24183f50e6f9dcf396b899b4113b

Git commit f1bb3c5f5ff40e89004064d8ac8e13a3798b9afb by Alan Hourihane on 07/09/2000 at 12:40..
Merged tdfx-2-1-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1bb3c5f5ff40e89004064d8ac8e13a3798b9afb

Git commit 5f2cfc5bd8132d1bd4dabd78848acd0ee038ea92 by Gareth Hughes on 07/09/2000 at 20:42..
Merge of tdfx branch undid the changes from the 2.4.0-test8-pre5 kernel
    sync, so apply them again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f2cfc5bd8132d1bd4dabd78848acd0ee038ea92

Git commit 3adced5b29924079da9b600265687863e6f92d99 by Jeff Hartmann on 07/09/2000 at 22:33..
file drm_heavy_kern_lock.c was initially added on branch
    mga-lock-debug-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3adced5b29924079da9b600265687863e6f92d99

Git commit bda40b41465ab67f8eef0b89cd26f9bbe8cf4a85 by Gareth Hughes on 10/09/2000 at 04:59..
Sync with 2.4.0-test8 kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bda40b41465ab67f8eef0b89cd26f9bbe8cf4a85

Git commit 1f8651163acb06b0691322ec9ab96bc606ba8777 by Rik Faith on 13/09/2000 at 15:00..
Fix for [Bug #112247] Hard MGA lock with trispd -size 50000
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f8651163acb06b0691322ec9ab96bc606ba8777

Git commit f850c1bd06d8ccb576e8836ed8f0c16db6eec343 by Rik Faith on 13/09/2000 at 15:02..
Remove debugging statement from production code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f850c1bd06d8ccb576e8836ed8f0c16db6eec343

Git commit dc6b57bf22ecbac04a5a1fee72fd0a43646b9c8c by Alan Hourihane on 14/09/2000 at 14:48..
axp cast fix.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc6b57bf22ecbac04a5a1fee72fd0a43646b9c8c

Git commit 4ec540945deb46008a7d6ff54d78c02582de5629 by Gareth Hughes on 19/09/2000 at 16:38..
file r128_cce.c was initially added on branch ati-4-1-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ec540945deb46008a7d6ff54d78c02582de5629

Git commit ce199c73e555546aa4c6654695ab90ea42b1970d by Gareth Hughes on 19/09/2000 at 16:40..
file r128_state.c was initially added on branch ati-4-1-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce199c73e555546aa4c6654695ab90ea42b1970d

Git commit 9c8e1adfac249ee2a4d10e7ae32fc439c22fb8f6 by Gareth Hughes on 19/09/2000 at 18:14..
Sync with 2.4.0-test9-pre4 kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c8e1adfac249ee2a4d10e7ae32fc439c22fb8f6

Git commit e2a16e1906592636e5e0e5ed82db776466b7e494 by Gareth Hughes on 19/09/2000 at 18:24..
Correct sync with 2.4.0-test9-pre4 kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2a16e1906592636e5e0e5ed82db776466b7e494

Git commit 01346c98b1d919374dc1f2ee70d4b401d2eaad67 by Rik Faith on 19/09/2000 at 19:24..
Make management of current->state correct (accidentally made incorrect when
    fixing the trispd bug).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01346c98b1d919374dc1f2ee70d4b401d2eaad67

Git commit de842ea5dbfd78d2e749d552f06410dbc2072087 by Rik Faith on 19/09/2000 at 19:41..
Make management of current->state more correct.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de842ea5dbfd78d2e749d552f06410dbc2072087

Git commit d75fe0d7bfd1d5c3893464b2d184543932ffe347 by Gareth Hughes on 20/09/2000 at 05:25..
file mach64_context.c was initially added on branch mach64-0-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d75fe0d7bfd1d5c3893464b2d184543932ffe347

Git commit 7ed69fd309850cee0c14775b92322e4f91955405 by Gareth Hughes on 20/09/2000 at 05:25..
file mach64_bufs.c was initially added on branch mach64-0-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ed69fd309850cee0c14775b92322e4f91955405

Git commit e06e4a73ac182bbd15ad7e6c10d259b12f39a383 by Gareth Hughes on 20/09/2000 at 05:25..
file mach64_drv.c was initially added on branch mach64-0-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e06e4a73ac182bbd15ad7e6c10d259b12f39a383

Git commit 881683873e6aeab6529b8e6db8ed0678c87e86d7 by Alan Hourihane on 22/09/2000 at 18:14..
Import of XFree86 4.0.1d-pre
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/881683873e6aeab6529b8e6db8ed0678c87e86d7

Git commit b1aa228f7d7390f8b9a361f862d724b908d5a71f by Alan Hourihane on 23/09/2000 at 21:25..
Import of XFree86 4.0.1d-pre (2)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1aa228f7d7390f8b9a361f862d724b908d5a71f

Git commit c7558d8fa4df805b7f7ff3d631432eadac9b8a1c by Alan Hourihane on 24/09/2000 at 09:34..
commit xfree86 4.0.1d-pre update
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7558d8fa4df805b7f7ff3d631432eadac9b8a1c

Git commit cba6c830e07f4906a2b9de4de51ec3f2f1f9d7f6 by Kevin E Martin on 27/09/2000 at 03:34..
file radeon_dma.c was initially added on branch radeon-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cba6c830e07f4906a2b9de4de51ec3f2f1f9d7f6

Git commit ca013c632ca00931d404392be4e625f325fc959c by Kevin E Martin on 27/09/2000 at 03:34..
file radeon_bufs.c was initially added on branch radeon-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca013c632ca00931d404392be4e625f325fc959c

Git commit 54e6f2f846ee46dc464033aa6a0c021ab7ccefd2 by Kevin E Martin on 27/09/2000 at 03:34..
file radeon_drm.h was initially added on branch radeon-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54e6f2f846ee46dc464033aa6a0c021ab7ccefd2

Git commit 9c250f5c18795cbf919d0ce947a269876e945cac by Kevin E Martin on 27/09/2000 at 03:34..
file radeon_context.c was initially added on branch radeon-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c250f5c18795cbf919d0ce947a269876e945cac

Git commit 0688c5939796e09e2cea759e64774c6db478f513 by Kevin E Martin on 27/09/2000 at 03:34..
file radeon_drv.h was initially added on branch radeon-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0688c5939796e09e2cea759e64774c6db478f513

Git commit dbe7d55cb08487f688dfbdd29835500b3b087721 by Kevin E Martin on 27/09/2000 at 03:34..
file radeon_drv.c was initially added on branch radeon-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbe7d55cb08487f688dfbdd29835500b3b087721

Git commit 550dff98b0cf08687cdde697fc6909aeb9cef30f by Jeff Hartmann on 27/09/2000 at 21:32..
Merged the mga-lock-debug-0-2-0-branch with the trunk. This includes
    several fixes including: (Jeff) Really disable multitexture (Broken
    since Mesa 3.4 integration.)
(Jeff) Various changes in mga_state.c in the kernel module, which includes
    a fix to the bug where the first OGL application hangs the machine
    w/out rendering anything. This also includes defines for the warp
    registers so they are easily human readable.
(Rik and Jeff) Fixed all the schedule loops in the kernel to look like they
    are supposed too.
(Jeff) Configurable agp modes: Add the option "AGPMode2x" or "AGPMode4x" to
    your XF86Config file.
(Rik) Various cleanups to the mga kernel driver to make it easier to read
    and debug.
(Rik) Removed alot of DRM_DEBUG statements from the kernel driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/550dff98b0cf08687cdde697fc6909aeb9cef30f

Git commit ed2d0b4bb0bb90af87c7c89a2e0a6297455d3bbe by Jeff Hartmann on 28/09/2000 at 15:09..
Fixed two things Rik pointed out in the last commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed2d0b4bb0bb90af87c7c89a2e0a6297455d3bbe

Git commit b0a7efb5a959a6105486d303d25d06d69d5d569e by Jeff Hartmann on 28/09/2000 at 23:04..
Use PG_reserved for things we remap non-cached
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0a7efb5a959a6105486d303d25d06d69d5d569e

Git commit 39a659e87718d8b6bbf138510e83de7a1e95d855 by Rik Faith on 29/09/2000 at 01:47..
Audit calls to schedule() Remove tags from files shared with Linux kernel
    tree Remove debugging statements to make debugging more useful Other
    minor cleanups in preparation for sync with Linux 2.4.0-test9-pre7
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39a659e87718d8b6bbf138510e83de7a1e95d855

Git commit 52f0bc3c9ec722c0c8a40bb7959e7ec2eb9d8180 by Rik Faith on 29/09/2000 at 02:05..
More changes for sync with Linux 2.4.0-test9-pre7
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52f0bc3c9ec722c0c8a40bb7959e7ec2eb9d8180

Git commit 37d6828fef51b3a113a11b54e7dbd9c92cd4a548 by Jeff Hartmann on 01/11/2000 at 19:00..
Added multitexture fix to the mga drm driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37d6828fef51b3a113a11b54e7dbd9c92cd4a548

Git commit 5745cb7fa70cf312d371aac44de3beae2a8d6e47 by David Dawes on 07/11/2000 at 22:10..
Import of XFree86 4.0.1d
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5745cb7fa70cf312d371aac44de3beae2a8d6e47

Git commit 94071289a4c61a1083a3d6b3546b06cafeaeac44 by David Dawes on 08/11/2000 at 00:07..
merge with 4.0.1d
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94071289a4c61a1083a3d6b3546b06cafeaeac44

Git commit 006458f227b9e97252406df52963d98b41bb3a1b by Rik Faith on 10/11/2000 at 18:27..
Split agpsupport.c into pre-2.4.0 version and current version.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/006458f227b9e97252406df52963d98b41bb3a1b

Git commit 58d90faf9a3d3ef2a66d2cc3632958ab73e19250 by Kevin E Martin on 13/11/2000 at 23:35..
file radeon_cp.c was initially added on branch ati-5-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58d90faf9a3d3ef2a66d2cc3632958ab73e19250

Git commit 633e9c8f8b2366a93951f11830954fb895917252 by Kevin E Martin on 13/11/2000 at 23:35..
file radeon_state.c was initially added on branch ati-5-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/633e9c8f8b2366a93951f11830954fb895917252

Git commit 0636342ef84da23f30b838b4f933e3aa15d5c2ce by Rik Faith on 14/11/2000 at 21:35..
Move .c to .h file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0636342ef84da23f30b838b4f933e3aa15d5c2ce

Git commit 679531e1669085115bac5f6fc982d54a4a9608e8 by Rik Faith on 15/11/2000 at 15:47..
Sync with Linux 2.4.0-test11-pre5 Provide backward compatibility tested
    against 2.2.18pre21
As usual, since all 2.4.0-test* kernels set LINUX_VERSION_CODE to the same
    value, if you are running a 2.4.0-test kernel, you MUST be running
    2.4.0-test11-pre4 or later (although anything after 2.4.0-test11-pre1
    should work fine -- I tested with pre4/pre5). I expect 2.2.x support to
    continue to work for all recent kernels, but I tested with 2.2.18pre21
    -- we use the old intermodule symbol communication for 2.2.x kernels,
    so they should all continue to work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/679531e1669085115bac5f6fc982d54a4a9608e8

Git commit 960f13cdf4cc4201fabe4c48e40395d3a755be58 by Jeff Hartmann on 21/11/2000 at 16:18..
Integrated bug fix from David S. Miller (a wait queue removal bug)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/960f13cdf4cc4201fabe4c48e40395d3a755be58

Git commit 3e9ebfb4cf89b60871a226dbf1d4ec5129d6c070 by Gareth Hughes on 27/11/2000 at 15:30..
file mach64_drv.h was initially added on branch mach64-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e9ebfb4cf89b60871a226dbf1d4ec5129d6c070

Git commit 2da85fdba0331e2ae5d7ea245ef865aa9eee3687 by Gareth Hughes on 27/11/2000 at 15:30..
file driver_tmp.h was initially added on branch mach64-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2da85fdba0331e2ae5d7ea245ef865aa9eee3687

Git commit 84699b456d2453b3c3c99eb75ebfc0dfe30eb64f by Gareth Hughes on 27/11/2000 at 15:30..
file context_tmp.h was initially added on branch mach64-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84699b456d2453b3c3c99eb75ebfc0dfe30eb64f

Git commit 33fd00485f350f7ecceb1fabfa81ce4137c894c2 by David Dawes on 30/11/2000 at 17:32..
Import of XFree86 4.0.1f
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33fd00485f350f7ecceb1fabfa81ce4137c894c2

Git commit e15a24e154d6749ba0be3155ed802005c5e1ebf0 by Gareth Hughes on 02/12/2000 at 06:14..
Merged ati-4-1-1-branch into trunk.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e15a24e154d6749ba0be3155ed802005c5e1ebf0

Git commit 8e02d8dcc4f52549f97c83f2b3c0aaa249f66977 by Gareth Hughes on 02/12/2000 at 13:10..
file mach64_drm.h was initially added on branch mach64-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e02d8dcc4f52549f97c83f2b3c0aaa249f66977

Git commit 51b68cb483aa93c8eb19e9915f08978324b1b3ac by Gareth Hughes on 04/12/2000 at 06:26..
file mach64_state.c was initially added on branch mach64-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51b68cb483aa93c8eb19e9915f08978324b1b3ac

Git commit 41fa18dda5e49caed68ce853791a21dd6d92376b by Gareth Hughes on 04/12/2000 at 06:26..
file mach64_dma.c was initially added on branch mach64-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41fa18dda5e49caed68ce853791a21dd6d92376b

Git commit 14a73775360585b9a09bfdf932881fbb06b34037 by David Dawes on 05/12/2000 at 16:39..
Import of XFree86 4.0.1g
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14a73775360585b9a09bfdf932881fbb06b34037

Git commit 8725828cf0ebb55f813e19f87f7d279c62b68293 by Gareth Hughes on 12/12/2000 at 14:50..
- Fix nasty depth span bug. Drawable offset was not being added to pixel
    coords.
- Remove unneeded mask parameters from clear ioctl.
- Use correct subpixel offsets, fixes most glean bugs.
- Remove 32-bit depth buffer support. Only use 16 or 24-bit depth buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8725828cf0ebb55f813e19f87f7d279c62b68293

Git commit 013d6f0806de66edcca4193cd4a0b175bb3c2b32 by Gareth Hughes on 13/12/2000 at 10:30..
file bufs_tmp.h was initially added on branch mach64-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/013d6f0806de66edcca4193cd4a0b175bb3c2b32

Git commit b19c44e4fe01db3efe72e6a130bbd49af151ee95 by Gareth Hughes on 15/12/2000 at 01:15..
Update date information.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b19c44e4fe01db3efe72e6a130bbd49af151ee95

Git commit c7c6156aecdee2838dd0e193a3d529ecbb797ae7 by Keith Whitwell on 30/12/2000 at 23:28..
add blit ioctl, fix plnwt handling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7c6156aecdee2838dd0e193a3d529ecbb797ae7

Git commit 833af23c5d21b1ab139327861d25d96dcd91af6f by Rik Faith on 04/01/2001 at 18:41..
Sync with Linux 2.4.0-prerelease
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/833af23c5d21b1ab139327861d25d96dcd91af6f

Git commit 0994e635b2f002c8e9f177037a46c26ccd98c59d by Kevin E Martin on 05/01/2001 at 22:57..
Merged ati-5-0-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0994e635b2f002c8e9f177037a46c26ccd98c59d

Git commit 61c15f4a2d053c9e609360a5e600f56b0887c3aa by Nathan Hand on 08/01/2001 at 16:21..
Merged tdfx-3-0-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61c15f4a2d053c9e609360a5e600f56b0887c3aa

Git commit 33e8dcf7e97e6bec69fc05137e1eede1a0f9b443 by Keith Whitwell on 11/01/2001 at 20:05..
Makefile.linux was checking $(MACHINE) for 'i386' before building the
    i810.o module. However on my i810's, $(MACHINE) is 'i686'.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33e8dcf7e97e6bec69fc05137e1eede1a0f9b443

Git commit 4c3f3de819981959f764c5d2a69417c52d122d61 by Gareth Hughes on 13/01/2001 at 01:33..
Remove debug messages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c3f3de819981959f764c5d2a69417c52d122d61

Git commit 5708131c9ab5ee3b51a6ef937925f36e083147b1 by Jeff Hartmann on 17/01/2001 at 18:43..
file scatter.c was initially added on branch ati-pcigart-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5708131c9ab5ee3b51a6ef937925f36e083147b1

Git commit 417bfc8a9d42cf2b9238ee394514fa3db512c49d by Jeff Hartmann on 17/01/2001 at 18:43..
file r128_pcigart.c was initially added on branch ati-pcigart-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/417bfc8a9d42cf2b9238ee394514fa3db512c49d

Git commit 9116644366c427b39945bca71969a5b561181046 by Jeff Hartmann on 18/01/2001 at 18:21..
Fixed problem preventing compile on system w/o agpgart.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9116644366c427b39945bca71969a5b561181046

Git commit 97379b82c812b5eed0a4a52106afc895469e13fa by Jeff Hartmann on 23/01/2001 at 17:53..
file ati_pcigart.c was initially added on branch ati-pcigart-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97379b82c812b5eed0a4a52106afc895469e13fa

Git commit 642bb6fbb0bfbc6e549e61bd0ece72abcbd399b7 by Jeff Hartmann on 23/01/2001 at 17:53..
file ati_pcigart.h was initially added on branch ati-pcigart-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/642bb6fbb0bfbc6e549e61bd0ece72abcbd399b7

Git commit 4d2a4455b4e7bc65952aa6167c34b488c4ca3b8d by Gareth Hughes on 24/01/2001 at 15:34..
- Misc cleanups.
- Fix drmR128Clear parameters (Radeon to follow).
- Add some helper macros to r128/radeon kernel modules.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d2a4455b4e7bc65952aa6167c34b488c4ca3b8d

Git commit 249dfc1c29d9f539c59bc014eae72baa5b35d88e by Gareth Hughes on 24/01/2001 at 16:09..
file drm_lists.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/249dfc1c29d9f539c59bc014eae72baa5b35d88e

Git commit ae28c6aab6789c5eba42ef05e04827b150402370 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_dma.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae28c6aab6789c5eba42ef05e04827b150402370

Git commit a596a6f4e850556bac1259a6616395dc11e0866e by Gareth Hughes on 24/01/2001 at 16:09..
file drm_auth.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a596a6f4e850556bac1259a6616395dc11e0866e

Git commit b25e0fee34a39a6b07c22b48b05dd02c56a0ffa7 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_agpsupport.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b25e0fee34a39a6b07c22b48b05dd02c56a0ffa7

Git commit 94dd569fc0f4d4d48e9de42670a126c04c259117 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_drawable.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94dd569fc0f4d4d48e9de42670a126c04c259117

Git commit 03593b1629591a9fc80ff3a951d102668a1147f2 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_context.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03593b1629591a9fc80ff3a951d102668a1147f2

Git commit 18ea3b5e6f6803ac2c50f12f1b107b1838f7520e by Gareth Hughes on 24/01/2001 at 16:09..
file drm_drv.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18ea3b5e6f6803ac2c50f12f1b107b1838f7520e

Git commit d2110a1dbefabcce14a4c492db4bfee038a99faf by Gareth Hughes on 24/01/2001 at 16:09..
file drm_ioctl.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2110a1dbefabcce14a4c492db4bfee038a99faf

Git commit fd82ce8f3fcf6c7368df6710f1943ee89a474620 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_init.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd82ce8f3fcf6c7368df6710f1943ee89a474620

Git commit 91844ee03910cce947801dc967606bd6260a91ef by Gareth Hughes on 24/01/2001 at 16:09..
file drm_fops.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91844ee03910cce947801dc967606bd6260a91ef

Git commit b46a78c06061e4501bc2fa5657d6285cdce46769 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_proc.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b46a78c06061e4501bc2fa5657d6285cdce46769

Git commit 105bece739c52a7d1416728e950ec8a249f4ae9f by Gareth Hughes on 24/01/2001 at 16:09..
file drm_bufs.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/105bece739c52a7d1416728e950ec8a249f4ae9f

Git commit 2f23eca6298e5f60bf40ec2ed5188f52d450ec22 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_memory.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f23eca6298e5f60bf40ec2ed5188f52d450ec22

Git commit bb1a10743f52e7bf9f73b3be9bad198f00efa925 by Gareth Hughes on 24/01/2001 at 16:09..
file drm_lock.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb1a10743f52e7bf9f73b3be9bad198f00efa925

Git commit f14506198e6684429c400d7d4852bacc9a07bddb by Gareth Hughes on 24/01/2001 at 16:09..
file drm_vm.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f14506198e6684429c400d7d4852bacc9a07bddb

Git commit 2adf5999619935da80e0f5b682a2c1ec7fdce0b3 by Gareth Hughes on 24/01/2001 at 16:09..
file mga.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2adf5999619935da80e0f5b682a2c1ec7fdce0b3

Git commit 321bc52606a3f674e8fc33cb990c7b04f4b050c9 by Gareth Hughes on 24/01/2001 at 16:09..
file mga_drm.c was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/321bc52606a3f674e8fc33cb990c7b04f4b050c9

Git commit b68ca866244e96c37c4a25c85bfeaef0405bbad2 by Gareth Hughes on 24/01/2001 at 16:09..
file mga_ucode.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b68ca866244e96c37c4a25c85bfeaef0405bbad2

Git commit 4ebcb86ace31f127281644ed9aaadb0a3303d29d by Gareth Hughes on 24/01/2001 at 16:09..
file mga_warp.c was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ebcb86ace31f127281644ed9aaadb0a3303d29d

Git commit a68dddf19caf0106479b71aab5a8de552a5ed596 by Gareth Hughes on 26/01/2001 at 07:52..
Client-side updates for drmRadeonClear(...), fixes color/depth buffer
    clears.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a68dddf19caf0106479b71aab5a8de552a5ed596

Git commit 5f67507e65a38cf6d33290299937c6bad98fcc6e by Gareth Hughes on 28/01/2001 at 07:18..
Fix depth clears properly this time. Update all instances of
    drmRadeonClear() to the new interface.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f67507e65a38cf6d33290299937c6bad98fcc6e

Git commit 82b645dc74218fd8d1ed10d045128002f0c1f705 by Gareth Hughes on 29/01/2001 at 17:46..
Corresponding sync with PCI GART updates.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82b645dc74218fd8d1ed10d045128002f0c1f705

Git commit 7d68e5ffe29cabf5ed802964d9501411ccae9b28 by Rik Faith on 01/02/2001 at 20:54..
file drm_stub.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d68e5ffe29cabf5ed802964d9501411ccae9b28

Git commit 04c29ef2e484c09d29c17cc667433bd3b6d36b11 by Rik Faith on 02/02/2001 at 11:44..
file dristat.c was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04c29ef2e484c09d29c17cc667433bd3b6d36b11

Git commit 89486dffa8b91bb95f80420252675f095082b046 by Alan Hourihane on 09/02/2001 at 16:44..
file gamma.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89486dffa8b91bb95f80420252675f095082b046

Git commit 41b80a0ab0fedb60385afc374a590d0ab58ef6c3 by Alan Hourihane on 09/02/2001 at 16:44..
file gamma_drm.c was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41b80a0ab0fedb60385afc374a590d0ab58ef6c3

Git commit 3b17f9165b4c73665515c2e435a8221805e514d9 by Alan Hourihane on 13/02/2001 at 17:53..
file gamma_context.c was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b17f9165b4c73665515c2e435a8221805e514d9

Git commit 0e928b4733388477409b827185c714fd87702f0b by Gareth Hughes on 14/02/2001 at 01:37..
file tdfx_drm.c was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e928b4733388477409b827185c714fd87702f0b

Git commit 0fa26e550d56e068737d40f741e1f567c3f79cc5 by Gareth Hughes on 14/02/2001 at 01:37..
file tdfx.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0fa26e550d56e068737d40f741e1f567c3f79cc5

Git commit 32c4aa1eb3ffd59312c64a7f46b933371c31761f by Gareth Hughes on 14/02/2001 at 05:30..
file r128_drm.c was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32c4aa1eb3ffd59312c64a7f46b933371c31761f

Git commit de554cb64045516ede340549441f109fd06495cd by Gareth Hughes on 14/02/2001 at 05:30..
file r128.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de554cb64045516ede340549441f109fd06495cd

Git commit 75720460ce234fcf0317b78869a669afd1274ae1 by Gareth Hughes on 14/02/2001 at 06:31..
file radeon.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75720460ce234fcf0317b78869a669afd1274ae1

Git commit 38c22bc4883ac201bde7f5f130a72acd1be68ec5 by Gareth Hughes on 14/02/2001 at 14:34..
file i810.h was initially added on branch mga-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38c22bc4883ac201bde7f5f130a72acd1be68ec5

Git commit 360475376c5a597caf4a981c934a6b0d783fa94d by Gareth Hughes on 15/02/2001 at 08:12..
Merge mga-1-0-0-branch into trunk.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/360475376c5a597caf4a981c934a6b0d783fa94d

Git commit f2f5bf6f5f577d5cc43af99dbad16710225bfa2f by Gareth Hughes on 15/02/2001 at 10:26..
- Fix up merge.
- Update date stamps.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2f5bf6f5f577d5cc43af99dbad16710225bfa2f

Git commit 1d30ac11404c588e4a158d72f987c1fb3e478bea by Keith Whitwell on 15/02/2001 at 16:31..
Added missing include "drm_lists.h".
i810 now working fine with new kernel module.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d30ac11404c588e4a158d72f987c1fb3e478bea

Git commit 01a14789edce0ce1cae0f3fd4328833399fae56d by Gareth Hughes on 16/02/2001 at 05:24..
- Clean up the way customization of the templates is done.
- Fix old-style DMA for gamma driver (please test).
- Pull out IRQ handling into drm_dma.h (please test on i810, gamma).
- Lots of general cleanups, remove compiler warnings etc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01a14789edce0ce1cae0f3fd4328833399fae56d

Git commit 62aa46ccec223aa3660c71ff0981ea035fc2cff9 by Gareth Hughes on 20/02/2001 at 13:44..
Disable DRIVER_DMA_QUIESCENT() in r128, radeon drivers. Prevents deadlock
    in the locking process when the engine isn't idle.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62aa46ccec223aa3660c71ff0981ea035fc2cff9

Git commit 43f1a52a564812d814c8a5f92b95fc6d3b589200 by Jeff Hartmann on 20/02/2001 at 20:16..
Fix some warnings and flush pixel cache in idle routine so readpixels works
    correctly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43f1a52a564812d814c8a5f92b95fc6d3b589200

Git commit 48768df6c3197dea8f68fc69795c5aa820ce5678 by Jeff Hartmann on 21/02/2001 at 15:48..
file gamma_drm.h was initially added on branch sarea-1-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48768df6c3197dea8f68fc69795c5aa820ce5678

Git commit c4a247d26228b2506fcb1c5cac2302a22e91219e by Rik Faith on 21/02/2001 at 16:06..
Add Linux 2.2.x support for stubs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4a247d26228b2506fcb1c5cac2302a22e91219e

Git commit 88dbee54ed400a3fd5594fab506518c171167805 by Rik Faith on 28/02/2001 at 09:27..
Implement drmOpen* without /proc dependence (Fallback to /proc is included
    for backward compatibility.) Move statistic-gathering drm* calls from
    dristat.c to xf86drm.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88dbee54ed400a3fd5594fab506518c171167805

Git commit 7b5e87d91d062cceb1e4e54b2e144c3c87375234 by Gareth Hughes on 28/02/2001 at 11:22..
Please try this if you experience lockups...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b5e87d91d062cceb1e4e54b2e144c3c87375234

Git commit 9a4033a02ac74e384596190adfcc0e938c19865b by Gareth Hughes on 28/02/2001 at 14:11..
Make the hardware bug workaround configurable. That way, people with newer
    revs of the chipset can avoid the copy when it's not needed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a4033a02ac74e384596190adfcc0e938c19865b

Git commit db03d12a8fe6c11029127831f1a9bf22056a250b by Jeff Hartmann on 28/02/2001 at 18:47..
file drm_scatter.h was initially added on branch ati-pcigart-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db03d12a8fe6c11029127831f1a9bf22056a250b

Git commit 8d3f3f4f9b8a5611888c35b7683661bcf52ef9cc by Alan Hourihane on 04/03/2001 at 19:19..
Don't try and setup the MTRR for AGP when AGP not available. Check
    dev->agp, when agp_acquire called, and..... Uncomment MUST_HAVE_AGP
    around agp_* calls, so that support for both agp/pci can happen in a
    single kernel driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d3f3f4f9b8a5611888c35b7683661bcf52ef9cc

Git commit d1774bb44cdc1b5ce606c299b8eea1793f4352e3 by Alan Hourihane on 05/03/2001 at 15:52..
fix that last patch to initialize the MTRR when AGP available.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1774bb44cdc1b5ce606c299b8eea1793f4352e3

Git commit 971c2f8ad582bd0d6b97ed503c9e5abaa9feee02 by Alan Hourihane on 05/03/2001 at 16:02..
allow dristat to find out whether AGP is write-combined or not.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/971c2f8ad582bd0d6b97ed503c9e5abaa9feee02

Git commit 3a74d3a371acc7b8632885c15ce2f7c05aae94bd by Gareth Hughes on 06/03/2001 at 04:37..
Merge tdfx-3-1-0 branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a74d3a371acc7b8632885c15ce2f7c05aae94bd

Git commit 07f761bfae8f220c819b67f9f614984f930ff427 by Alan Hourihane on 07/03/2001 at 08:53..
surround agp calls in drm_memory with __REALLY_HAVE_AGP instead of
    CONFIG_... remove include for agpsupport in tdfx_drv.c - not needed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07f761bfae8f220c819b67f9f614984f930ff427

Git commit 8c511c60ec1ecbe3f0832a8e5a07bc43239eae5f by Gareth Hughes on 07/03/2001 at 15:06..
Change error message to debug message when client dies while holding the
    lock. Should prevent bug reports about this, but you never know...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c511c60ec1ecbe3f0832a8e5a07bc43239eae5f

Git commit 134aecdeed19a339a147d7e88fc9b722b9794245 by Gareth Hughes on 08/03/2001 at 00:21..
Fix ring space calculations, tests. Based on patch by Bruce Stockwell.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/134aecdeed19a339a147d7e88fc9b722b9794245

Git commit 0b60aad8a5f1e6d38bf2d254fa5209492157e344 by Gareth Hughes on 12/03/2001 at 18:18..
Try that again...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b60aad8a5f1e6d38bf2d254fa5209492157e344

Git commit e2b2bffc6b25361b2f09afc5a28030645440cd03 by Gareth Hughes on 13/03/2001 at 00:22..
Rest of MGA dualhead patch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2b2bffc6b25361b2f09afc5a28030645440cd03

Git commit 74e19a40187ac3b5907922e5dc01418135a5794b by Kevin E Martin on 14/03/2001 at 22:22..
Merged sarea-1-0-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74e19a40187ac3b5907922e5dc01418135a5794b

Git commit 1d32e305efdcb4668a91d94e2149c9c7a243b6dc by Alan Hourihane on 15/03/2001 at 21:48..
file agpgart.diff was initially added on branch gamma-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d32e305efdcb4668a91d94e2149c9c7a243b6dc

Git commit f2ad4d9bebd052e5b7c9a90c4a813830bd1b72f8 by Gareth Hughes on 18/03/2001 at 23:54..
__REALLY_HAVE_MTRR, vmalloc_32 fixes from Jeff Wiedemeier.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2ad4d9bebd052e5b7c9a90c4a813830bd1b72f8

Git commit d15f98443295feeb4e3bd65b26f43c73d655e26e by Gareth Hughes on 19/03/2001 at 11:49..
Try this...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d15f98443295feeb4e3bd65b26f43c73d655e26e

Git commit 9914f4cf6057957bd77f1c1b0b9957537eafdfb9 by Gareth Hughes on 19/03/2001 at 12:04..
Remove PRIMPTR completely.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9914f4cf6057957bd77f1c1b0b9957537eafdfb9

Git commit b42ff4f6600b97e9b7482152d5ea8713e800dc00 by Gareth Hughes on 19/03/2001 at 12:16..
Update version, date stamp.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b42ff4f6600b97e9b7482152d5ea8713e800dc00

Git commit 0e5b8d77cfe0f86698041aebe31c54f59c877825 by David Dawes on 19/03/2001 at 17:45..
Import of XFree86 4.0.99.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e5b8d77cfe0f86698041aebe31c54f59c877825

Git commit 404a409ab302c99d8aceb85ede301b04780480d0 by David Dawes on 19/03/2001 at 21:39..
Initial XFree86 4.0.99.1 merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/404a409ab302c99d8aceb85ede301b04780480d0

Git commit 86c41620a5f0a3b3af143bebdda0cca2114ade88 by David Dawes on 19/03/2001 at 23:48..
merge/build fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86c41620a5f0a3b3af143bebdda0cca2114ade88

Git commit b90028231c5c73783ee45124903794970f244978 by Gareth Hughes on 21/03/2001 at 03:29..
Remove compiler warnings, minor cleanups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b90028231c5c73783ee45124903794970f244978

Git commit 92b0aaa6fe787c2e17bba1973d19d6fd5a61d03a by Gareth Hughes on 21/03/2001 at 13:10..
- Fix MGA header info.
- Update date strings.
- Fix MGA hangs (undocumented side effects of DWGSYNC).
- Remove idle before ILOAD??? Seems fine with the above fix.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92b0aaa6fe787c2e17bba1973d19d6fd5a61d03a

Git commit 301a1ad315bd7881adcf0df33c589e0a74c059f4 by David Dawes on 21/03/2001 at 20:22..
Move #include <linux/config.h> inside the __linux__ #ifdef, so that it
    doesn't break non-Linux builds.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/301a1ad315bd7881adcf0df33c589e0a74c059f4

Git commit e407c2f5a611e30b05ea095f8b17d39fb5a7ebfa by Alan Hourihane on 30/03/2001 at 13:32..
merge in 2.4.3 kernel change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e407c2f5a611e30b05ea095f8b17d39fb5a7ebfa

Git commit fcc21069b7019a4a93e1ceacc175ccd682353861 by David Dawes on 30/03/2001 at 17:16..
- Move xf86ConfigDRI declaration from xf86Priv.h to xf86.h.
- Don't include xf86Priv.h in the drm module.
- Fix 'struct stat' in loader libc wrapping to avoid unnecessary
    XFree86LOADER #ifdefs in code that uses it.
- Make drmOpenMinor() static.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fcc21069b7019a4a93e1ceacc175ccd682353861

Git commit 62d49315299f4483b2e7fb44f21d6b09cef01afd by Gareth Hughes on 02/04/2001 at 01:17..
Update radeon DRM to v1.1.0 (texture upload changes).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62d49315299f4483b2e7fb44f21d6b09cef01afd

Git commit 4259e5e61716d321aa3c1ac6d7ad4bf0e3c39a38 by Alan Hourihane on 03/04/2001 at 07:50..
make 2.4.2 -> 2.4.3 change conditional. works with older than 2.4.3 kernels
    again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4259e5e61716d321aa3c1ac6d7ad4bf0e3c39a38

Git commit a15b9dec3cfed3ce36826faf8c7d76284b0527a8 by Alan Hourihane on 03/04/2001 at 08:01..
include 2.4.2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a15b9dec3cfed3ce36826faf8c7d76284b0527a8

Git commit 5d6ddbca26d695561fb1d08d798a0cc254b805e7 by Kevin E Martin on 05/04/2001 at 22:16..
Merged ati-pcigart-1-0-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d6ddbca26d695561fb1d08d798a0cc254b805e7

Git commit 2bd9bf98c7bc0c23870f86f97341197114c3e70a by Alan Hourihane on 06/04/2001 at 08:39..
Handle drivers that don't have __HAVE_SG defined.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bd9bf98c7bc0c23870f86f97341197114c3e70a

Git commit 908d32f84c33a4192b8381d74fc6bccc73e309f9 by Alan Hourihane on 06/04/2001 at 15:49..
search /lib/modules/<version>/build/include first, then the others....
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/908d32f84c33a4192b8381d74fc6bccc73e309f9

Git commit 0e7f6c0726e5ff08eeab8e17a5aa63fbe44b3410 by Kevin E Martin on 06/04/2001 at 17:53..
- Fix typo
- Clean up some macros
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e7f6c0726e5ff08eeab8e17a5aa63fbe44b3410

Git commit 1759c16ab9b64598968a0058039e8a66bf5f9773 by David Dawes on 09/04/2001 at 16:27..
Import -f XFree86 4.0.99.2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1759c16ab9b64598968a0058039e8a66bf5f9773

Git commit 18fc5ee92394b31c00df8e72b1f29bada79292f5 by David Dawes on 09/04/2001 at 21:56..
First pass of XFree86 4.0.99.2 merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18fc5ee92394b31c00df8e72b1f29bada79292f5

Git commit cc7afb2b16b84293258be0cc8bcffd32308cd3b9 by David Dawes on 10/04/2001 at 18:45..
Use the linux version of xf86drm.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc7afb2b16b84293258be0cc8bcffd32308cd3b9

Git commit 6f5e397f2549e7d5f806d2c44053d3d306a36f3a by Kevin E Martin on 16/04/2001 at 21:43..
- Fix typo and remove magic numbers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f5e397f2549e7d5f806d2c44053d3d306a36f3a

Git commit 49781fcf37e30ed17513bd13a90ded39ab1b0b9d by David Dawes on 18/04/2001 at 18:45..
put back BUS_BASE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49781fcf37e30ed17513bd13a90ded39ab1b0b9d

Git commit b1488c2f87ab3b4d377b32a0c0ed0ba05e996f25 by Brian Paul on 21/04/2001 at 19:06..
include linux/sisfb.h, per David Gaarenstroom
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1488c2f87ab3b4d377b32a0c0ed0ba05e996f25

Git commit 97e48b4cd1747e427e70af6e530ec57676f6189d by Alan Hourihane on 25/04/2001 at 12:59..
file Makefile was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97e48b4cd1747e427e70af6e530ec57676f6189d

Git commit 376189905b8391295f18a5fac922d1d9546c7b43 by Alan Hourihane on 25/04/2001 at 14:20..
file drm_os_linux.h was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/376189905b8391295f18a5fac922d1d9546c7b43

Git commit ae1cc904624245d738bfdf8afb74776c4e9b1215 by Alan Hourihane on 25/04/2001 at 14:20..
file drm_os_freebsd.h was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae1cc904624245d738bfdf8afb74776c4e9b1215

Git commit 2c0811d628249f81f29b85392d5eaae3c12f882e by Alan Hourihane on 30/04/2001 at 11:11..
file drm_sysctl.h was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c0811d628249f81f29b85392d5eaae3c12f882e

Git commit d1ef7f9d2c9f8f191ab79b1a43eb96a787df5f64 by Alan Hourihane on 30/04/2001 at 13:24..
file drm_vm.h was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1ef7f9d2c9f8f191ab79b1a43eb96a787df5f64

Git commit df76f812924e4db284fd38b3c5db6b87ec0d82fc by Kevin E Martin on 30/04/2001 at 15:07..
- PCIGART patches for Alpha from Compaq
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df76f812924e4db284fd38b3c5db6b87ec0d82fc

Git commit b804c09d0699131a8333c19a4d58cb14125d413e by Alan Hourihane on 30/04/2001 at 16:18..
fix build of i810 kernel driver for 2.4.3 or greater kernels
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b804c09d0699131a8333c19a4d58cb14125d413e

Git commit a576d41498b742502d4f7dbfeed44737ff79db8f by David Dawes on 01/05/2001 at 17:07..
Import of XFree86 4.0.99.3
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a576d41498b742502d4f7dbfeed44737ff79db8f

Git commit 2ea12226a675cc8d4b95799129f143fa61d97296 by David Dawes on 01/05/2001 at 21:39..
Initial merge for XFree86 4.0.99.3 import
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ea12226a675cc8d4b95799129f143fa61d97296

Git commit d3645e7a4e0885aba8063c6cc41d7d9fded99982 by Alan Hourihane on 03/05/2001 at 14:32..
remove deprecated file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3645e7a4e0885aba8063c6cc41d7d9fded99982

Git commit 94c6d951a21f2d3b42cda0acb1b5dfc954c1c66b by Alan Hourihane on 03/05/2001 at 14:51..
Make SiS driver compile with the new templated format. Not tested. minor
    cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94c6d951a21f2d3b42cda0acb1b5dfc954c1c66b

Git commit ebf0d7addfd51d1fafca354ebdcdb4fd17593616 by Alan Hourihane on 03/05/2001 at 14:52..
add new file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebf0d7addfd51d1fafca354ebdcdb4fd17593616

Git commit 726096309b86184b83cd5cb08c95fe7e870f443c by Alan Hourihane on 04/05/2001 at 08:28..
file drm_agpsupport.h was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/726096309b86184b83cd5cb08c95fe7e870f443c

Git commit 5f5d850013d6c846946f77b57e88a507232c0aca by Alan Hourihane on 04/05/2001 at 09:31..
file drm_linux.h was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f5d850013d6c846946f77b57e88a507232c0aca

Git commit 0813760110535d8989af187d23b4eedc4c6b225f by Alan Hourihane on 04/05/2001 at 14:05..
add some commented enclosures around the BUS_BASE calls for Alpha
    platforms.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0813760110535d8989af187d23b4eedc4c6b225f

Git commit 9c775d0b2f303389c24aea5e8abc1473f0cf93e8 by David Dawes on 14/05/2001 at 14:49..
finish struct stat type cleanup Fix a build dependencies for the tdfx drm
    module
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c775d0b2f303389c24aea5e8abc1473f0cf93e8

Git commit 18ce40c9d31c166b49e6689c260eb1ddb3cc08c9 by Alan Hourihane on 17/05/2001 at 15:20..
Make the SiS module work again. At least glxinfo reports it's working, yet
    trying to run the simple apps return 'out of video memory'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18ce40c9d31c166b49e6689c260eb1ddb3cc08c9

Git commit dca245e37c875660fa766a264377628dd3a311e5 by Gareth Hughes on 23/05/2001 at 17:41..
Only authenticated clients can mmap() (Jeff Hartmann).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dca245e37c875660fa766a264377628dd3a311e5

Git commit 334e134918ee2ece3e845cd55c49c9709b67ee6c by David Dawes on 14/06/2001 at 21:53..
Import of XFree86 4.1.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/334e134918ee2ece3e845cd55c49c9709b67ee6c

Git commit d87c873df05eb3a110316c7af2358553fa7f988e by David Dawes on 14/06/2001 at 22:23..
First pass of 4.1.0 merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d87c873df05eb3a110316c7af2358553fa7f988e

Git commit 3a410059b43027c08bcb0fef307dd4ee7734197e by Gareth Hughes on 18/06/2001 at 12:59..
Enable shared IRQs in DMA template, use in i810 driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a410059b43027c08bcb0fef307dd4ee7734197e

Git commit b1a588f0cc9cd7b4f5b2150f03722ac09b7e8989 by Gareth Hughes on 18/06/2001 at 13:45..
Forgot to bump date stamp.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1a588f0cc9cd7b4f5b2150f03722ac09b7e8989

Git commit 12e9c636dfb4fbaf229e884afa8febaecd79b475 by Jeff Hartmann on 18/06/2001 at 19:25..
Fix 5 security bugs found by the Stanford tools
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12e9c636dfb4fbaf229e884afa8febaecd79b475

Git commit 7ccc528911137156f216a13c95ce946c5f65af15 by Gareth Hughes on 13/07/2001 at 01:42..
Fix typo in XFREE86_VERSION().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ccc528911137156f216a13c95ce946c5f65af15

Git commit b816802daf6818306473c35d8776202c69fd0083 by Jeff Hartmann on 16/07/2001 at 16:57..
i810 drm security fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b816802daf6818306473c35d8776202c69fd0083

Git commit d5749d7603d397be7639266e6c740941af2004fb by Jeff Hartmann on 16/07/2001 at 22:42..
Added version string to the end of the kernel module name. This allows
    multiple versions of the kernel module to co-exist on one machine.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5749d7603d397be7639266e6c740941af2004fb

Git commit c6454e6a93544fd20f4b5d9cb2ee08725e9b6740 by Jeff Hartmann on 17/07/2001 at 22:31..
Someone forgot to bump the r128 and i810 drivers properly before the 4.1.0
    release. Better late than never.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6454e6a93544fd20f4b5d9cb2ee08725e9b6740

Git commit 4eafeec960c29369982a9b15c24681a3072f491d by Jeff Hartmann on 18/07/2001 at 21:02..
Add module version name at a lower layer of the code, allows things to be
    more flexible and allow older module versions to still work. Might not
    be final code if we move over to DRI kernel module version, but will be
    if we use XFree86 version. + Only build tdfx.o instead of tdfx-4_1_0.o
    since tdfx.o has never changed its API.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4eafeec960c29369982a9b15c24681a3072f491d

Git commit ae5b4effc05cd5ac44ab44c5c733c6599652f1eb by Jeff Hartmann on 20/07/2001 at 20:31..
Remove module name hacks because we aren't going to implement this anymore
    because of Linus' comments
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae5b4effc05cd5ac44ab44c5c733c6599652f1eb

Git commit 5e8ba79eb6aabd85f52de43fcf30722268857f60 by Jeff Hartmann on 20/07/2001 at 22:16..
Merge checker fixes from Alan Cox made to the drm in the ac kernel tree.
    These aren't really security problems, but Alan has made some arguments
    that have convinced me that the code should be fixed anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e8ba79eb6aabd85f52de43fcf30722268857f60

Git commit 84a5e7108773d5a5ff7242e1460c98e3acb178a8 by Jeff Hartmann on 23/07/2001 at 20:25..
Fixes that allow the modules to be built into the kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84a5e7108773d5a5ff7242e1460c98e3acb178a8

Git commit 56bd9c207770d41a497f3e8237a1099dd9d4cd91 by David Dawes on 30/07/2001 at 19:59..
Merge the multihead-1-0-0 branch into the trunk, with the exception of the
    glide header files.
The changes include:
- Brian Paul's changes to the tdfx client-side 3D driver to make it
    dlopen() the correct glide library (Voodoo3 or Voodoo5). This allows
    both types of the glide library to co-exist, and allows Voodoo3/Voodoo5
    cards to be mixed in multi-head configs.
- DRM kernel driver changes to allow a driver to set up multiple instances
    (minor numbers), one for each card present that the driver supports.
    This is currently implemented and tested only for the tdfx DRM driver.
- Add some missing missing <stdarg.h> includes.
- Some log message cleanups.
- Change the 2D tdfx driver to access VGA legacy registers via their PCI
    I/O space access points rather than their legacy addresses, and fix
    some problems with the way the VGA-related bits are initialised.
Status:
- With these changes, multi-head direct rendering works with multiple
    Voodoo3 and/or Voodoo5 cards. This has been tested with two PCI Voodoo3
    cards and an AGP Voodoo5 card, and all permutations of those.
Caveats:
- Xinerama is not supported. If Xinerama is enabled, then direct rendering
    gets disabled.
- The text mode on secondary screens will show junk after the X server
    exits.
- On some hardware, starting the X server on multiple 3dfx cards will
    result in a hard lockup. One workaround is to enable APIC support in a
    uni-processor kernel, or use an SMP kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56bd9c207770d41a497f3e8237a1099dd9d4cd91

Git commit 51e38d96ead5700c25c4fddd8017dc7992e96f5a by Jeff Hartmann on 07/08/2001 at 18:15..
Lots of DRM fixes: added new pieces of template code so the ffb driver can
    be ported, rolled back r128 and i810 version bumps so 4.1.0 works with
    cvs kernel modules, added Config.in and updated Makefile.kernel,
    incorporated lots of drm fixes inspired by patches sent by Redhat, made
    DRM(realloc) usage check for NULL allocations, restructure driver init
    routines to export dev_priv only when initialized and to check for all
    error conditions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51e38d96ead5700c25c4fddd8017dc7992e96f5a

Git commit 938a637d1fc33bc8ef14210d655c27d646ddc2d2 by Jeff Hartmann on 07/08/2001 at 18:22..
Avoid compiler warning about r_list being used uninitialized.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/938a637d1fc33bc8ef14210d655c27d646ddc2d2

Git commit b6923b39539c34c2a589197def5eee72a9d719bf by Jeff Hartmann on 08/08/2001 at 16:10..
Update to the code I sent Linus and Alan this morning. Added some missing
    agp chipsets to drm_agpsupport.h, redid the card detection common code
    to use a structure (avoids endian porting issues), changed the tdfx
    driver to use the kernel pci id '#defines'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6923b39539c34c2a589197def5eee72a9d719bf

Git commit 97b8aa52bba602d5babe225983f7e4c7cb4d7492 by Jeff Hartmann on 10/08/2001 at 16:29..
Commit Keith Owens kernel Makefile changes, merge and commit alpha patch
    set from Jay Estabrook (sans some mga modifications which broke other
    arch's.)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97b8aa52bba602d5babe225983f7e4c7cb4d7492

Git commit 2d4b2cf6f69de2ceaf0c2b00ccbb24aad412b202 by Alan Hourihane on 11/08/2001 at 15:48..
new multihead code was missing Voodoo3 2000 and Voodoo4 support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d4b2cf6f69de2ceaf0c2b00ccbb24aad412b202

Git commit aa09e3611490d6a2f12f211c3c834f1237126313 by Jeff Hartmann on 13/08/2001 at 23:23..
Sync with Linus 2.4.9-pre2 + make all nopage routines more alike
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa09e3611490d6a2f12f211c3c834f1237126313

Git commit 8aaf82d45c406220d5f18168e4350827a9e038e2 by Jeff Hartmann on 14/08/2001 at 00:35..
A few warning fixes when actually building under 2.4.9-pre2 + some
    reformating
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8aaf82d45c406220d5f18168e4350827a9e038e2

Git commit f4c2f1400203434d9a5392b990aaa4fa32dce9c5 by Alan Hourihane on 19/08/2001 at 15:20..
No one's maintaining 2.2.x support - so remove all the cruft.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4c2f1400203434d9a5392b990aaa4fa32dce9c5

Git commit 063fe900aa895ff2b342843d68c003650b83c8c3 by Jeff Hartmann on 21/08/2001 at 21:54..
file drm_ioctl_table.h was initially added on branch mesa-3-5-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/063fe900aa895ff2b342843d68c003650b83c8c3

Git commit 2f060f44e0eb617059bf9301e62a0d2c202ddee1 by David Dawes on 22/08/2001 at 18:00..
Import of XFree86 4.1.99.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f060f44e0eb617059bf9301e62a0d2c202ddee1

Git commit c6bf9bae8ec49987c66dadd5f9313cc13eb5832e by David Dawes on 22/08/2001 at 18:24..
First part of XFree86 4.1.99.1 merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6bf9bae8ec49987c66dadd5f9313cc13eb5832e

Git commit 27e24cbc0ad561b8dabad08dfd89ca0dfaa7449d by Alan Hourihane on 24/08/2001 at 11:09..
file convert.c was initially added on branch bsd-2-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27e24cbc0ad561b8dabad08dfd89ca0dfaa7449d

Git commit 9e69d0dac61cc20ed20281bfa5b7e12124fa3989 by David Dawes on 25/08/2001 at 03:13..
- Remove the rest of the unneeded client-side libraries.
- Use installed libraries that are not built here.
- Don't build/install client-library related file and headers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e69d0dac61cc20ed20281bfa5b7e12124fa3989

Git commit 2fabe808274e5769fbc2b871e36e06fab2364208 by Alan Hourihane on 17/09/2001 at 10:30..
Use CCE for 2D acceleration (Gerd Knorr)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fabe808274e5769fbc2b871e36e06fab2364208

Git commit b1c44c8ac1cfd7927d96fdd9dce15a9996c14073 by Alan Hourihane on 17/09/2001 at 21:12..
bumped the DRM versions (already done in ddx and client side drivers).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1c44c8ac1cfd7927d96fdd9dce15a9996c14073

Git commit 390440c9399a3c01811f3b37c2628d6e905656e8 by Alan Hourihane on 18/09/2001 at 11:00..
remove Linux 2.3.x cruft.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/390440c9399a3c01811f3b37c2628d6e905656e8

Git commit ca820fca877faf4776be142417795a5945c606e6 by Alan Hourihane on 25/09/2001 at 09:32..
merge with 2.4.10 kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca820fca877faf4776be142417795a5945c606e6

Git commit bdd84e895838328d5a7f20e7063c49cd6f300fd0 by Alan Hourihane on 08/10/2001 at 12:58..
commit Abraham vd Merwe fix.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdd84e895838328d5a7f20e7063c49cd6f300fd0

Git commit 87ec138e1421f408c0fa86fa3567544dd488711e by Manuel Teira on 21/10/2001 at 21:08..
file mach64.h was initially added on branch mach64-0-0-2-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87ec138e1421f408c0fa86fa3567544dd488711e

Git commit 92ad1b60e109170e1fa7d22a4627efa7fa77aa71 by Alan Hourihane on 22/10/2001 at 19:15..
merge kernel 2.4.13-pre6.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92ad1b60e109170e1fa7d22a4627efa7fa77aa71

Git commit 05fb3e93f2f99a1ace1444c8f0669067f553504b by Alan Hourihane on 02/11/2001 at 17:40..
wrap the MODULE_LICENSE definition.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05fb3e93f2f99a1ace1444c8f0669067f553504b

Git commit 13e11e1f94ce2fcf2ce86be1400b644560cb066c by Keith Whitwell on 26/11/2001 at 13:28..
Put drm version back from 3.0 to 2.2; XFree86 4.1 is the baseline for
    versioning information.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13e11e1f94ce2fcf2ce86be1400b644560cb066c

Git commit 727abee235478a66c90a8cd097f85307e232524a by Keith Whitwell on 27/11/2001 at 11:43..
Put back i810 major version number (same reasons as for r128)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/727abee235478a66c90a8cd097f85307e232524a

Git commit f18a6d836b5e0081dff9217b44e88e74c421c576 by Alan Hourihane on 10/12/2001 at 23:29..
merge with linux kernel 2.4.15
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f18a6d836b5e0081dff9217b44e88e74c421c576

Git commit 16bd14926e02e4dbc6e74689bdb3eb90f30a0233 by David Dawes on 27/01/2002 at 18:23..
Initial revision
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/16bd14926e02e4dbc6e74689bdb3eb90f30a0233

Git commit 14945ada16218e9f918c24e0d702979fae9b07f6 by David Dawes on 27/01/2002 at 18:23..
Import of XFree86 4.2.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14945ada16218e9f918c24e0d702979fae9b07f6

Git commit 44aa4d6297874022a4f5a49ea24f2d052584d3dc by David Dawes on 27/01/2002 at 20:05..
First pass merge of XFree86 4.2.0 import.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44aa4d6297874022a4f5a49ea24f2d052584d3dc

Git commit 65d25572deec33b7da13c211bf0aa78c361f535a by Michel Daenzer on 02/02/2002 at 17:03..
wrapper for ioremap_nocache() like for ioremap() (Paul Mundt)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65d25572deec33b7da13c211bf0aa78c361f535a

Git commit ab87c5d0d1b5c35006ce8b99a9260e3116c732dc by David Dawes on 14/02/2002 at 02:00..
First pass of mesa-4-0 branch merge into trunk.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab87c5d0d1b5c35006ce8b99a9260e3116c732dc

Git commit 46cacdca855a99c1ffe0ccf7a7f88134bca9bade by Alan Hourihane on 06/03/2002 at 19:30..
first pass at merging mesa 4.0 kernel drivers into new bsd-3-0-0 branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46cacdca855a99c1ffe0ccf7a7f88134bca9bade

Git commit 5e734a7ac85f7bd8b333a28cf26745d1960a3a43 by Alan Hourihane on 06/03/2002 at 19:31..
i830 & mga contain minor changes from 4.2.0 for mesa 4.0 bsd merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e734a7ac85f7bd8b333a28cf26745d1960a3a43

Git commit 271830e9b6f32f66ffa62d55fafb21b5892ab122 by Alan Hourihane on 06/03/2002 at 20:14..
fixup the radeon driver (not tested)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/271830e9b6f32f66ffa62d55fafb21b5892ab122

Git commit 6a1941aa2431f3f4febb0f7aa3df127976eea33f by Alan Hourihane on 08/03/2002 at 09:00..
missing file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a1941aa2431f3f4febb0f7aa3df127976eea33f

Git commit baef086c324769010f0d164c0fe03105d9e474e1 by Keith Whitwell on 08/03/2002 at 16:03..
Fix backwards compatibility bug, add tests for good numbers of
    vertices/prim.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baef086c324769010f0d164c0fe03105d9e474e1

Git commit 2ab6ff71900ad068f6d5b8ee42743e13c928cedf by Alan Hourihane on 11/03/2002 at 11:26..
fixups for *BSD
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ab6ff71900ad068f6d5b8ee42743e13c928cedf

Git commit f0e215d3f946321fadad62cbc4e380b9f30ceb49 by Alan Hourihane on 18/03/2002 at 19:21..
file trident.h was initially added on branch trident-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0e215d3f946321fadad62cbc4e380b9f30ceb49

Git commit 31c885bafb47e24b8523dcc2850ce4acc8ef1004 by Alan Hourihane on 18/03/2002 at 19:21..
file trident_drv.c was initially added on branch trident-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31c885bafb47e24b8523dcc2850ce4acc8ef1004

Git commit a820c741374743065540546c92b1d5e1a2089225 by Jens Owen on 29/03/2002 at 16:31..
file xf86drmCompat.c was initially added on branch drmcommand-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a820c741374743065540546c92b1d5e1a2089225

Git commit 3903e5ac94c07cf31f0bc24eff5011ef8cc7afba by Jens Owen on 09/04/2002 at 21:54..
Merged drmcommand-0-0-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3903e5ac94c07cf31f0bc24eff5011ef8cc7afba

Git commit 9e67da5626b683df58f2041fdb0f743eb4da7036 by Keith Whitwell on 16/05/2002 at 23:47..
Allow drm to build under 2.4 and 2.5(.14)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e67da5626b683df58f2041fdb0f743eb4da7036

Git commit 91d7b17e82e8d8659405832a3cd1e7a904ad283f by Alan Hourihane on 17/05/2002 at 08:21..
same udelay fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91d7b17e82e8d8659405832a3cd1e7a904ad283f

Git commit cd375832813a66491f43c3f5e56ed74670955e43 by Alan Hourihane on 17/05/2002 at 08:35..
Remove some older Linux 2.3.99 code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd375832813a66491f43c3f5e56ed74670955e43

Git commit 69e99d05a29d91e87f32affdc4776f76552b5783 by Eric Anholt on 29/05/2002 at 08:44..
file radeon_state.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69e99d05a29d91e87f32affdc4776f76552b5783

Git commit c12d19453954dd2ade830fac50bd4669954c7aab by Eric Anholt on 29/05/2002 at 08:44..
file radeon_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c12d19453954dd2ade830fac50bd4669954c7aab

Git commit 731dbf2dfccbf44f375f58d7dda91d9b2f1ab9ce by Eric Anholt on 29/05/2002 at 08:44..
file radeon_cp.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/731dbf2dfccbf44f375f58d7dda91d9b2f1ab9ce

Git commit 3e15d0e63c67158742f2c5434333213923f7b0fe by Eric Anholt on 29/05/2002 at 08:44..
file radeon.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e15d0e63c67158742f2c5434333213923f7b0fe

Git commit 47d39609fe713e57ab9c1391f5ac2c2be71594df by Eric Anholt on 29/05/2002 at 08:44..
file r128_state.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47d39609fe713e57ab9c1391f5ac2c2be71594df

Git commit eea2997098406bfd5a9dd4f93034e5715d5a641e by Eric Anholt on 29/05/2002 at 08:44..
file r128_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eea2997098406bfd5a9dd4f93034e5715d5a641e

Git commit c57397bf62734000673411231c8ac2b35f731e39 by Eric Anholt on 29/05/2002 at 08:44..
file r128_cce.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c57397bf62734000673411231c8ac2b35f731e39

Git commit 3ddd3c649de865d44ad737b8510d46ce273bd728 by Eric Anholt on 29/05/2002 at 08:44..
file r128.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ddd3c649de865d44ad737b8510d46ce273bd728

Git commit 49a57237e029892ee788f059c99bad5ccf9df1a1 by Eric Anholt on 29/05/2002 at 08:44..
file mga_warp.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49a57237e029892ee788f059c99bad5ccf9df1a1

Git commit 8797372f642018de3b5d7142e9c9f51d4eab999d by Eric Anholt on 29/05/2002 at 08:44..
file mga_ucode.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8797372f642018de3b5d7142e9c9f51d4eab999d

Git commit abbe04f64fab2a9fa2099756b776ec634df9fd82 by Eric Anholt on 29/05/2002 at 08:44..
file mga_state.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abbe04f64fab2a9fa2099756b776ec634df9fd82

Git commit c5b8f939db83d8de9c983b622c6003eca36ea4d2 by Eric Anholt on 29/05/2002 at 08:44..
file mga_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5b8f939db83d8de9c983b622c6003eca36ea4d2

Git commit d10db84928384084d9ab17bcca3d2880ecd611de by Eric Anholt on 29/05/2002 at 08:44..
file mga_dma.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d10db84928384084d9ab17bcca3d2880ecd611de

Git commit 073cf3ae4818f8f1b720dbc58bdcf61ce62d11e0 by Eric Anholt on 29/05/2002 at 08:44..
file mga.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/073cf3ae4818f8f1b720dbc58bdcf61ce62d11e0

Git commit 76c315e7e09e84b135033c7bad74b1297ee72fe6 by Eric Anholt on 29/05/2002 at 08:44..
file gamma.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76c315e7e09e84b135033c7bad74b1297ee72fe6

Git commit 8afc2de290e1aed0377c097d05077d9aac2e4897 by Eric Anholt on 29/05/2002 at 08:44..
file i810.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8afc2de290e1aed0377c097d05077d9aac2e4897

Git commit 8fc7367069eaf14e30010f5a56fc4cbac15e39da by Eric Anholt on 29/05/2002 at 08:44..
file i810_drv.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fc7367069eaf14e30010f5a56fc4cbac15e39da

Git commit f6126878dce5bc800252c9a8d095e9ac30f4d5ca by Eric Anholt on 29/05/2002 at 08:44..
file i810_dma.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6126878dce5bc800252c9a8d095e9ac30f4d5ca

Git commit e8ba43d3ac7982cc16b4cdc81671375f41e66a6f by Eric Anholt on 29/05/2002 at 08:44..
file radeon_drv.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8ba43d3ac7982cc16b4cdc81671375f41e66a6f

Git commit 205e33909d26b587e36527b3fae6c4ed9cddab34 by Eric Anholt on 29/05/2002 at 08:44..
file i810_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/205e33909d26b587e36527b3fae6c4ed9cddab34

Git commit dbf4b0aecb2d6efd9f9fafd3fd7c7eae6c59f3ba by Eric Anholt on 29/05/2002 at 08:44..
file i830_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbf4b0aecb2d6efd9f9fafd3fd7c7eae6c59f3ba

Git commit 8a0fe9be3463e9244055847e5cd4f8df485526e8 by Eric Anholt on 29/05/2002 at 08:44..
file i830_drv.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a0fe9be3463e9244055847e5cd4f8df485526e8

Git commit d1c2922d76ab81bde00e504b179a7afb39b6fc78 by Eric Anholt on 29/05/2002 at 08:44..
file i830.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1c2922d76ab81bde00e504b179a7afb39b6fc78

Git commit ba9503de430f8e0a34bf9ed8c2dc9a635959eeb0 by Eric Anholt on 29/05/2002 at 08:44..
file i830_dma.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba9503de430f8e0a34bf9ed8c2dc9a635959eeb0

Git commit 468b72512aa0e70de60506e4f03ea6d365e56267 by Eric Anholt on 29/05/2002 at 08:44..
file tdfx.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/468b72512aa0e70de60506e4f03ea6d365e56267

Git commit 8e2b1e79da105a406cc33d8bb3b8cab35337647e by Eric Anholt on 29/05/2002 at 08:44..
file mga_drv.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e2b1e79da105a406cc33d8bb3b8cab35337647e

Git commit 96b22f57ea9fa0dca36062d56c8f205e5b08fd84 by Eric Anholt on 29/05/2002 at 08:44..
file r128_drv.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96b22f57ea9fa0dca36062d56c8f205e5b08fd84

Git commit 6ac48cddd0a074c77de0ab3dfc1661352b6f0c26 by Jeff Hartmann on 29/05/2002 at 21:21..
Import Mesa 4.0 port of I830M/I845G 3D driver funded by 2d3d. Import
    Lastest i810 ddx driver changes from XFree86 CVS to support the I845G.
    Fixup warnings in I830M kernel driver.
-Jeff
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ac48cddd0a074c77de0ab3dfc1661352b6f0c26

Git commit 5676a2a6105afdfc343e7f36f3c87e528a9d14b3 by Michel Daenzer on 02/06/2002 at 16:00..
fixes for big endian in general and powerpc in particular
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5676a2a6105afdfc343e7f36f3c87e528a9d14b3

Git commit 2dcada361db7db00bf0796e399b4188578e3efbe by Keith Whitwell on 12/06/2002 at 15:50..
merged tcl-0-0-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dcada361db7db00bf0796e399b4188578e3efbe

Git commit 1cb07189420a529a43ad390731f8365a0805a9bd by Eric Anholt on 17/06/2002 at 22:18..
file drm_os_netbsd.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cb07189420a529a43ad390731f8365a0805a9bd

Git commit 063d0a30c2a9899ae52d50ad5d37d6171e37e3f8 by Michel Daenzer on 18/06/2002 at 22:40..
endianness fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/063d0a30c2a9899ae52d50ad5d37d6171e37e3f8

Git commit 5465239b0c422b4f8c1ef13e4353877fa9229993 by Eric Anholt on 19/06/2002 at 04:01..
file r128_drm.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5465239b0c422b4f8c1ef13e4353877fa9229993

Git commit 2015f551378e19bc3a1727de2c3f68cec4ac1a42 by Eric Anholt on 19/06/2002 at 04:01..
file r128.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2015f551378e19bc3a1727de2c3f68cec4ac1a42

Git commit 89181b9c599988e9b46f2a3d1de5ec47b8cc8c43 by Eric Anholt on 19/06/2002 at 04:01..
file r128_cce.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89181b9c599988e9b46f2a3d1de5ec47b8cc8c43

Git commit c4f11163699b1046ec51b27440154fd3ad4bb727 by Eric Anholt on 19/06/2002 at 04:01..
file r128_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4f11163699b1046ec51b27440154fd3ad4bb727

Git commit 9e3d3c9541bc167831841156b99f31cfa5cb39be by Eric Anholt on 19/06/2002 at 04:01..
file r128_state.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e3d3c9541bc167831841156b99f31cfa5cb39be

Git commit a3ddb601df69116be8e40481471b523e163bf65b by Eric Anholt on 21/06/2002 at 06:08..
file radeon_cp.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3ddb601df69116be8e40481471b523e163bf65b

Git commit 5dd77d6e49205ff5ac71d832de270681ba186558 by Eric Anholt on 21/06/2002 at 06:08..
file mga_drm.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dd77d6e49205ff5ac71d832de270681ba186558

Git commit 1c9c08717a09cdb5fa9b40e7ed43efa7f76b82f3 by Eric Anholt on 21/06/2002 at 06:08..
file radeon_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c9c08717a09cdb5fa9b40e7ed43efa7f76b82f3

Git commit d29446a3002a8f60736ab3bcb7a1f22a8f2818f0 by Eric Anholt on 21/06/2002 at 06:08..
file mga_state.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d29446a3002a8f60736ab3bcb7a1f22a8f2818f0

Git commit 0ca7468d0602e46aead3e645de714345cb75c5f3 by Eric Anholt on 21/06/2002 at 06:08..
file mga.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ca7468d0602e46aead3e645de714345cb75c5f3

Git commit 2a0545aa19db1d861290df07709cbd58a2a820f3 by Eric Anholt on 21/06/2002 at 06:08..
file mga_warp.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a0545aa19db1d861290df07709cbd58a2a820f3

Git commit df6e570e4de5e57173d4b3b63ddaa0ba1a11e15e by Eric Anholt on 21/06/2002 at 06:08..
file mga_ucode.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df6e570e4de5e57173d4b3b63ddaa0ba1a11e15e

Git commit baf55c1b8b5560104e29e5f4089ccdde4bb111db by Eric Anholt on 21/06/2002 at 06:08..
file mga_drv.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baf55c1b8b5560104e29e5f4089ccdde4bb111db

Git commit 1942da19d46f67afbdf3da8103f3260377bbbe89 by Eric Anholt on 21/06/2002 at 06:08..
file mga_dma.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1942da19d46f67afbdf3da8103f3260377bbbe89

Git commit f8794f23f6d9318a9797949f1761119706baae42 by Eric Anholt on 21/06/2002 at 06:08..
file radeon_drm.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8794f23f6d9318a9797949f1761119706baae42

Git commit 3fe7fb316c6f160ec8b6ef2a8ebf159e71cd2283 by Eric Anholt on 21/06/2002 at 06:08..
file radeon.h was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fe7fb316c6f160ec8b6ef2a8ebf159e71cd2283

Git commit 663c9a152a868ca9e1dbd6ab000f2da273d737ea by Eric Anholt on 21/06/2002 at 06:08..
file radeon_state.c was initially added on branch bsd-3-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/663c9a152a868ca9e1dbd6ab000f2da273d737ea

Git commit 978136f2f4dd12d1828ab41db5343ce5fccd52a9 by Max Lingua on 25/06/2002 at 11:20..
file s3v_regs.h was initially added on branch s3virge-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/978136f2f4dd12d1828ab41db5343ce5fccd52a9

Git commit 688082d6564644f2f64a44105c872cc57476a1f6 by Max Lingua on 25/06/2002 at 11:20..
file s3v_drv.h was initially added on branch s3virge-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/688082d6564644f2f64a44105c872cc57476a1f6

Git commit 5f8b0028a26cdbe0996abc243602010ae8af755e by Max Lingua on 25/06/2002 at 11:20..
file s3v_drv.c was initially added on branch s3virge-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f8b0028a26cdbe0996abc243602010ae8af755e

Git commit 4073aa694c2de2f65f37afef93abeab139c1aa30 by Max Lingua on 25/06/2002 at 11:20..
file s3v_drm.h was initially added on branch s3virge-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4073aa694c2de2f65f37afef93abeab139c1aa30

Git commit 4cdcbd6c2f8f7026fbf2435001fc1e90de01505c by Max Lingua on 25/06/2002 at 11:20..
file s3v_dma.c was initially added on branch s3virge-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4cdcbd6c2f8f7026fbf2435001fc1e90de01505c

Git commit f626cf76e61313152e57334c7f172de97235d169 by Max Lingua on 25/06/2002 at 11:20..
file s3v.h was initially added on branch s3virge-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f626cf76e61313152e57334c7f172de97235d169

Git commit 8aecdbea7660ae184827a0812fc4bbd953279c5b by Alan Hourihane on 25/06/2002 at 12:13..
gamma_alloc -> DRM(alloc)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8aecdbea7660ae184827a0812fc4bbd953279c5b

Git commit bb91bc0879ccc1981c49fa761e9bd58bceb1e5cd by Keith Whitwell on 27/06/2002 at 17:56..
Set pfCurrentPage on cleanup_pageflip
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb91bc0879ccc1981c49fa761e9bd58bceb1e5cd

Git commit cc45cc060963356edd832d1bbdf21da46e01c8fb by Tim Smith on 02/07/2002 at 21:34..
Fix lockup on faster machines when drawing in multiple clip rectangles
    (e.g. when part of a 3D window is obscured by another window)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc45cc060963356edd832d1bbdf21da46e01c8fb

Git commit ca81e1334edebb90b0528baad089fbc6df937fb6 by Keith Whitwell on 04/07/2002 at 11:55..
Revert SET_SCISSORS change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca81e1334edebb90b0528baad089fbc6df937fb6

Git commit 24025ca5f78c15ced14490532b4410730353d2c1 by Keith Whitwell on 04/07/2002 at 12:03..
Fix some more pageflipping issues -- existing code was doing MMIO writes
    while ring was active. There is still an MMIO read in there, but I
    haven't seen any lockups that could be attributed to it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24025ca5f78c15ced14490532b4410730353d2c1

Git commit 74ef13fd009b9e37956e4207d0a5ed92f4b5e39a by Alan Hourihane on 05/07/2002 at 08:31..
merged bsd-3-0-0-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74ef13fd009b9e37956e4207d0a5ed92f4b5e39a

Git commit 59c07e447b18708757375d969f8eef5abd3c9a93 by Alan Hourihane on 05/07/2002 at 08:58..
remove files missed by merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59c07e447b18708757375d969f8eef5abd3c9a93

Git commit 9ceabc585a20a3f992f2b3852d476df81855967a by Alan Hourihane on 06/07/2002 at 09:43..
remove obsolete files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ceabc585a20a3f992f2b3852d476df81855967a

Git commit 2ec9c15d8ce45d95ef395a4fff114109c908a572 by Eric Anholt on 09/07/2002 at 02:40..
Increase the linux-compatibility max ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ec9c15d8ce45d95ef395a4fff114109c908a572

Git commit fd86ac9561dc77ef23e19d28723b40c72bdf1e97 by Michel Daenzer on 11/07/2002 at 20:31..
Don't read scratch registers directly, obtain the values via the GET_PARAM
    ioctl. The DRM reads them from memory addresses the chip writes to on
    updates. Fall back to reading the registers directly with an old DRM.
(Tim Smith, cleanups by myself)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd86ac9561dc77ef23e19d28723b40c72bdf1e97

Git commit 9a3a3143ce41c72b4de2721cf16025f11ca334ca by Michel Daenzer on 14/07/2002 at 20:26..
bump DRM minor and check it before using the GETPARAM ioctl to obtain
    scratch register values
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a3a3143ce41c72b4de2721cf16025f11ca334ca

Git commit 8fa8db126a6aa180fd44ae0be0e720722af69e1d by Tim Smith on 17/07/2002 at 08:30..
Workaround for Radeon lockups on fast machines
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fa8db126a6aa180fd44ae0be0e720722af69e1d

Git commit 881a9b214d033a1e153f61996645bdaa37eb87d8 by Michel Daenzer on 18/07/2002 at 23:17..
fix off-by-one error for right bottom corner in radeon_emit_clip_rect()
    (Jacek Rosik)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/881a9b214d033a1e153f61996645bdaa37eb87d8

Git commit 977b420d5dc66db3d4335132861a1eff3747b49a by Rik Faith on 06/08/2002 at 18:00..
Updates from Rusty Russell to:
1) Remove redundant header inclusion
2) Silence bitop on non-long argument warnings (change int to long)
3) Move to ISO C (gcc 2.6) initializers (accepted by older gccs also) All
    of these are syntax changes that should not impact functionality.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/977b420d5dc66db3d4335132861a1eff3747b49a

Git commit d2f2b42f1d206fd248ada48ce2c498e31351ab33 by Eric Anholt on 08/08/2002 at 21:23..
Try to open the /dev/dri/cardX device once, then only if it fails check the
    device number and recreate it if necessary. Fixes xf86drm.c to allow
    linux binaries to be used for emulation on FreeBSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2f2b42f1d206fd248ada48ce2c498e31351ab33

Git commit d0ac4e5ad0481eb634b3b811a94f4a2b6587e479 by Michel Daenzer on 11/08/2002 at 15:56..
test scratch register writeback before using it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0ac4e5ad0481eb634b3b811a94f4a2b6587e479

Git commit 33d57137daece1bc5b1e8cc0a11e45a9d5974939 by Keith Whitwell on 12/08/2002 at 07:26..
zero-cliprect case patch from Jacek
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33d57137daece1bc5b1e8cc0a11e45a9d5974939

Git commit 3165128fc461fdadf34b7f4bbd393fa076c1ae14 by Michel Daenzer on 21/08/2002 at 00:09..
TRUE and FALSE don't seem to be defined everywhere...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3165128fc461fdadf34b7f4bbd393fa076c1ae14

Git commit 8eedac58332094c72caf1fc6c41312e8ce1728b7 by Leif Delgass on 21/08/2002 at 01:14..
add missing include (for udelay), remove unused counter.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8eedac58332094c72caf1fc6c41312e8ce1728b7

Git commit 77c35c043a8d50244d4fbaa4f2b5d0b7d4fd856f by Eric Anholt on 21/08/2002 at 07:14..
Remove drm_linux.h, move the two useful defines into drm_drv.h (the only
    place they're used). Use fd locking on -current. Actually copy in data
    from userspace to kernel in the linux-compat ioctl path. Make sure
    ioctl sizes are as expected in the ioctl handler functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77c35c043a8d50244d4fbaa4f2b5d0b7d4fd856f

Git commit 18d3fac990b9f3b5820306129feb5563b5d207f4 by Jose Fonseca on 21/08/2002 at 14:09..
Change the linux kernel version condition in the i810 driver (according to
    Alan Cox)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18d3fac990b9f3b5820306129feb5563b5d207f4

Git commit 2febcafd66adfe0728f93e4b9b2954d793f71459 by Leif Delgass on 22/08/2002 at 18:43..
SetPageLocked only defined in 2.5.x (x=?), use LockPage for 2.4.x (x>=9).
    Also apply build fixes from i810_dma.c to i830_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2febcafd66adfe0728f93e4b9b2954d793f71459

Git commit a697941d4c35e0287c51f1a5cad5c2aa32ae9159 by Leif Delgass on 22/08/2002 at 19:35..
Don't (re)define vmalloc_to_page for kernel >= 2.4.19, as it has been
    backported from 2.5.x. Also fix a couple of incorrect
    LINUX_VERSION_CODE tests and fix header dependency for r128, radeon
    when building without AGP.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a697941d4c35e0287c51f1a5cad5c2aa32ae9159

Git commit 48cc350e21acd2b4b03c76937e2861af5271435a by Keith Whitwell on 26/08/2002 at 22:16..
merged r200-0-1-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48cc350e21acd2b4b03c76937e2861af5271435a

Git commit 5e81d590d557672376795011b9d78e93d10e2f7f by Eric Anholt on 27/08/2002 at 01:22..
Include non-radeon modules in the build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e81d590d557672376795011b9d78e93d10e2f7f

Git commit e4830ba553eda00783261073cf4082176b4c2fe2 by Eric Anholt on 27/08/2002 at 03:56..
Remove drm_linux.h, it's no longer used.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4830ba553eda00783261073cf4082176b4c2fe2

Git commit fa560b4847fc89aa68251236d3843b97518b1853 by Keith Whitwell on 27/08/2002 at 12:16..
file radeon_mem.c was initially added on branch r200-0-2-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa560b4847fc89aa68251236d3843b97518b1853

Git commit 8a8cfd38df9a48069c4ca56006d219e0eb8ca59c by Eric Anholt on 28/08/2002 at 04:33..
Remove i8x0 files from the BSD side. These were not actually ported, and
    when they do get ported most of them won't live in these directories.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a8cfd38df9a48069c4ca56006d219e0eb8ca59c

Git commit 22c1ca1fd5116d55c81bbfdeccd995dc19572a8f by Keith Whitwell on 28/08/2002 at 08:47..
Turn boxes off.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22c1ca1fd5116d55c81bbfdeccd995dc19572a8f

Git commit 4fcde1efc16ef0849c7aa61d568ef5577e2f1920 by Keith Whitwell on 29/08/2002 at 07:34..
standardize use of __FUNCTION__ (Linus)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4fcde1efc16ef0849c7aa61d568ef5577e2f1920

Git commit be88ab60dfbacddbc424c7e6bc558abf13eafa9d by Keith Whitwell on 30/08/2002 at 07:55..
file radeon_irq.c was initially added on branch r200-0-2-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be88ab60dfbacddbc424c7e6bc558abf13eafa9d

Git commit d51ec6b9728e8da473fb06e23424a1f6c0ee8e9b by Eric Anholt on 30/08/2002 at 21:06..
Remove compat functions for FreeBSD for drivers which weren't available in
    X4.2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d51ec6b9728e8da473fb06e23424a1f6c0ee8e9b

Git commit b248c02c4ffaaaef4c91d8024808c35bcbfa303b by Eric Anholt on 30/08/2002 at 21:34..
Remove this one too: it'll be used from the linux version (if ever)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b248c02c4ffaaaef4c91d8024808c35bcbfa303b

Git commit 9797f0fd172c7d87e009dbfe7603c9df48509394 by Eric Anholt on 30/08/2002 at 23:49..
Remove some extra symlinking for kernel module building that hasn't been
    needed since 2000.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9797f0fd172c7d87e009dbfe7603c9df48509394

Git commit c4318a5c642d15ad3847a0b7a3185abf0c1ca219 by David Dawes on 11/09/2002 at 00:57..
- Fix various bugs in the DRI support for the i830 and i845G (Keith
    Whitwell).
- Major rework of the 2D i830/i845G support, including:
- Improve VESA mode selection, and fix refresh rate selection.
- Don't duplicate functions provided in the vbe modules.
- Don't duplicate functions provided in the vgahw module.
- Rewrite memory allocation.
- Rewrite initialisation and save/restore state handling.
- Decouple the i810 support from i830 and later.
- Remove various unnecessary hacks and workarounds.
- Fix an 845G problem with the ring buffer not in pre-allocated memory.
- Fix screen blanking.
- Fix some HW cursor glitches, and turn HW cursor off at VT switch and
    exit.
- Don't attempt to use the i830's function 1 entity.
- Fix problems with option handling. (David Dawes).
- Add mode VBE-aware mode handling functions to the vbe module (David
    Dawes).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4318a5c642d15ad3847a0b7a3185abf0c1ca219

Git commit cfa1a918b6d6b2d0fd9ae0f58f5b86a15c443dcb by Michel Daenzer on 21/09/2002 at 23:18..
make sure we never oops because the hardware lock pointer in the sigdata
    structure is out of date
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfa1a918b6d6b2d0fd9ae0f58f5b86a15c443dcb

Git commit f1c8fe95578e15d5eece6ad52540ce2c7c671f70 by Keith Whitwell on 23/09/2002 at 17:26..
merged r200-0-2-branch to trunk
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1c8fe95578e15d5eece6ad52540ce2c7c671f70

Git commit 55acd0d5a64a2ee6b0cecc75872fbf8c4bb42a0c by Michel Daenzer on 25/09/2002 at 17:18..
common ioctl to wait for vertical blank IRQs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55acd0d5a64a2ee6b0cecc75872fbf8c4bb42a0c

Git commit f40674ea9f3e3c17d632de90d7e35da5640a55b2 by Michel Daenzer on 25/09/2002 at 19:48..
change RADEON_PARAM_IRQ_ACTIVE to RADEON_PARAM_IRQ_NR
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f40674ea9f3e3c17d632de90d7e35da5640a55b2

Git commit 770d045d25728be51534b930afdfa36f3ffddbfc by Eric Anholt on 26/09/2002 at 07:21..
Fix one warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/770d045d25728be51534b930afdfa36f3ffddbfc

Git commit 97961e2c65773328fe9c2e1d66e4a0b8a253d54d by Eric Anholt on 26/09/2002 at 07:45..
BSD vblank framework.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97961e2c65773328fe9c2e1d66e4a0b8a253d54d

Git commit cc9a169d08c00975f623d717737b499defb4938e by Michel Daenzer on 26/09/2002 at 12:49..
DRM(vblank_wait) is driver specific
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc9a169d08c00975f623d717737b499defb4938e

Git commit a33d42e2ba08a97a434c25980449f4e027d0072b by Michel Daenzer on 27/09/2002 at 21:47..
make SW interrupts more robust: write sequence number to scratch register,
    acknowledge any lost interrupts before waiting
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a33d42e2ba08a97a434c25980449f4e027d0072b

Git commit ec48dfa83599fa6061bb9cc566f8d8dc1727aced by Michel Daenzer on 29/09/2002 at 00:12..
add support for 16K and 64K page sizes (Bjorn Helgaas)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec48dfa83599fa6061bb9cc566f8d8dc1727aced

Git commit e6901cad696cf58ee9f1a48bdc7e9fa047824f8a by Eric Anholt on 29/09/2002 at 20:48..
Fix up BSD irq handling.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6901cad696cf58ee9f1a48bdc7e9fa047824f8a

Git commit 9243e642dabc30ddf4b1743acb8cd4e9e905f351 by Keith Whitwell on 29/09/2002 at 21:19..
Move os-dependent stuff out of radeon_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9243e642dabc30ddf4b1743acb8cd4e9e905f351

Git commit 899df4f53009d8484648ca12133a6ef8b1bd2d52 by Keith Whitwell on 29/09/2002 at 21:22..
Turn boxes off again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/899df4f53009d8484648ca12133a6ef8b1bd2d52

Git commit 33a51d8518c37833a83225b47ad0b435050edeae by Eric Anholt on 29/09/2002 at 22:39..
Fix some of my silliness in DRM_WAIT_ON (not returning EINTR).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33a51d8518c37833a83225b47ad0b435050edeae

Git commit efda4ce3539c9adf5fc798bb5e0ba5e8ce804afb by Eric Anholt on 29/09/2002 at 22:47..
warnings cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efda4ce3539c9adf5fc798bb5e0ba5e8ce804afb

Git commit 506c1c02a43970e8ae891c9015eba7ab581d08f3 by Eric Anholt on 29/09/2002 at 23:21..
Make our set_bit and friends match linux better (cleans up some warnings)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/506c1c02a43970e8ae891c9015eba7ab581d08f3

Git commit 537f2208f00069913c161750baef82964d0e870e by Eric Anholt on 29/09/2002 at 23:56..
Remove some noise being spit to the console.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/537f2208f00069913c161750baef82964d0e870e

Git commit 8c14585fc33f2af781261303780c0df70fbe0db2 by Michel Daenzer on 01/10/2002 at 17:31..
fix wait condition for vertical blank IRQs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c14585fc33f2af781261303780c0df70fbe0db2

Git commit 381e0fe7f8ee5a9500fdb91d83ce45915b64db5f by Keith Whitwell on 02/10/2002 at 07:55..
Free correct block in free_block (K. Rasche)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/381e0fe7f8ee5a9500fdb91d83ce45915b64db5f

Git commit a653224403a9c85b1406697e725226e0d477042a by Keith Whitwell on 08/10/2002 at 08:29..
Call pci_enable_device() in DRM(irq_busid).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a653224403a9c85b1406697e725226e0d477042a

Git commit aa1ca406d637a1eabbff272c0508bed5eb1147a1 by Keith Whitwell on 08/10/2002 at 08:32..
Fix error condition...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa1ca406d637a1eabbff272c0508bed5eb1147a1

Git commit 2af90a581d20c983446d354051f0f098a5d4eacb by Brian Paul on 09/10/2002 at 16:29..
replaced max() macro with conditional expression
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2af90a581d20c983446d354051f0f098a5d4eacb

Git commit 3d69766ea6df4ab1837f5270beafb13c70ec61e6 by Keith Whitwell on 10/10/2002 at 08:25..
Jonny Strom's mga_dma.c patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d69766ea6df4ab1837f5270beafb13c70ec61e6

Git commit 5e9fad35880e89d428ba917d842d0e9ed9a1be6b by Eric Anholt on 14/10/2002 at 23:35..
Fix reversed test that broke vblank waiting on FreeBSD.
Pointy hat to: anholt
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e9fad35880e89d428ba917d842d0e9ed9a1be6b

Git commit ff4baa69da278b7f616063f37fbd27febf3eb211 by Alan Hourihane on 22/10/2002 at 13:43..
Import of XFree86 4.2.99.2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff4baa69da278b7f616063f37fbd27febf3eb211

Git commit b3a20ce219b353aa3e2b7f3b47ffd28b279557c7 by Alan Hourihane on 22/10/2002 at 23:38..
final part of XFree86 4.2.99.2 merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3a20ce219b353aa3e2b7f3b47ffd28b279557c7

Git commit 9f21f02217dd8b81886f042ce1af99d61de9a218 by Eric Anholt on 27/10/2002 at 05:24..
Catch up to -current.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f21f02217dd8b81886f042ce1af99d61de9a218

Git commit 516392beff156f87b466ff7931e5573a3a931ca0 by Eric Anholt on 27/10/2002 at 05:25..
s/udelay/DRM_UDELAY/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/516392beff156f87b466ff7931e5573a3a931ca0

Git commit ff25e7016c74ed0be5d47be5bf1937335da2bbf4 by Brian Paul on 28/10/2002 at 19:05..
merge from mesa-4-1-branch to get cube-map registers. bumped version to 1.7
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff25e7016c74ed0be5d47be5bf1937335da2bbf4

Git commit 10900dab7caa593a54d76e5f6abdc3df9bdd0a04 by Eric Anholt on 29/10/2002 at 03:20..
Use bus_alloc_resource/bus_release_resource more properly: save the rid
    returned by alloc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10900dab7caa593a54d76e5f6abdc3df9bdd0a04

Git commit 5e1b8ed88ae8fb8b697515140f7a00d022ac2db0 by Michel Daenzer on 29/10/2002 at 13:49..
preserve CRTC{,2}_OFFSET_CNTL in 2D driver to avoid bad effects when
    pageflipping after a mode switch
take current page into account in AdjustFrame(); writing the CRTC offset
    via the CP was probably a bad idea as this can happen asynchronously,
    reverted
take frame offset into account when flipping pages
handle CRTC2 as well for pageflipping (untested)
preserve GEN_INT_CNTL on mode switches to prevent interrupts from getting
    disabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e1b8ed88ae8fb8b697515140f7a00d022ac2db0

Git commit 344c7f6b412c19c963c33709f0d4a3a7205e1d79 by Jens Owen on 29/10/2002 at 20:29..
updated e-mail addresses for Keith, Alan and Jens
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/344c7f6b412c19c963c33709f0d4a3a7205e1d79

Git commit e656655a361acf73c5652fcef8cf6ba61dfe7a50 by Eric Anholt on 30/10/2002 at 06:10..
Kernel support for vblank syncing on Rage 128 and Matrox.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e656655a361acf73c5652fcef8cf6ba61dfe7a50

Git commit b96f48a89c8962343ee75b0961a06453d0f8b355 by Michel Daenzer on 23/11/2002 at 11:58..
allow unprivileged clients to use the GETPARAM ioctl (Wang WenRui)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b96f48a89c8962343ee75b0961a06453d0f8b355

Git commit a654424ca16dca5d27e91592e2082d1381f6d5f5 by Keith Whitwell on 25/11/2002 at 09:34..
Silence the radeon_freelist_get 'returning NULL' message. It's not an error
    & just confuses people.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a654424ca16dca5d27e91592e2082d1381f6d5f5

Git commit c869f4a1e59c4fa0bed5681cad5ad49e685603eb by Brian Paul on 25/11/2002 at 16:03..
added missing return fd (Alexander Stohr)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c869f4a1e59c4fa0bed5681cad5ad49e685603eb

Git commit 40891ac190fb74f389ea1a9758249a2f642fd99b by Michel Daenzer on 30/11/2002 at 14:24..
vertical blank ioctl can send signal instead of blocking
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40891ac190fb74f389ea1a9758249a2f642fd99b

Git commit 4acba63bb7045e6bf665580cf6cea111f0786f77 by Michel Daenzer on 03/12/2002 at 00:43..
vertical blank interrupt cleanups: use spinlock instead of semaphore, send
    signal directly from interrupt handler instead of using a taskqueue
    (based on feedback by Linus Torvalds)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4acba63bb7045e6bf665580cf6cea111f0786f77

Git commit 85025d4f2ad25258fb7678395b8c7ce1be1f0063 by Michel Daenzer on 04/12/2002 at 15:39..
further vertical blank interrupt cleanups: remove unused variable,
    non-ambiguous variable names, don't express subtraction in
    unnecessarily complicated ways
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85025d4f2ad25258fb7678395b8c7ce1be1f0063

Git commit a885d6786f40fd0c4dbcb09a17f6e103d0949ed7 by Eric Anholt on 06/12/2002 at 02:27..
Add vblank signal code for BSD DRM. Untested so far, but working with a
    4.2.0 userland at least.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a885d6786f40fd0c4dbcb09a17f6e103d0949ed7

Git commit b03fa556b2c7e19d7021c017e35aaacaf24e5694 by Keith Whitwell on 06/12/2002 at 12:22..
Rewrite radeon_cp_dispatch_texture() to avoid pingponging back to userspace
    when issue large (multi-buffer) uploads.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b03fa556b2c7e19d7021c017e35aaacaf24e5694

Git commit fd621fd4a0c0033365353b6d33f132c7ef49b359 by Keith Whitwell on 11/12/2002 at 13:40..
remove agpgart informational
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd621fd4a0c0033365353b6d33f132c7ef49b359

Git commit 786228bd26d56c13fc2655431ee5ca2d4d0c9863 by Keith Whitwell on 12/12/2002 at 16:45..
bring in jantorial changes from 2.5.51
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/786228bd26d56c13fc2655431ee5ca2d4d0c9863

Git commit 05f761fa4fe6d9b34b44e7cfe57a8e11263b0e3c by David Dawes on 12/12/2002 at 22:20..
enums should be ints
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05f761fa4fe6d9b34b44e7cfe57a8e11263b0e3c

Git commit ab9eb685c002bc875e9a7d81b7ac7bd5fd0be1d4 by David Dawes on 16/12/2002 at 19:18..
file i830_irq.c was initially added on branch mesa-4-0-4-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab9eb685c002bc875e9a7d81b7ac7bd5fd0be1d4

Git commit 208c0779b65242159bbb87153269faef9370670c by Keith Whitwell on 02/01/2003 at 18:38..
Make the radeon drm module better at cleaning up after itself if all the
    clients (particularly the X server) exit without doing so for it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/208c0779b65242159bbb87153269faef9370670c

Git commit 14e831baf4ea2a412c9173cd9ec16b4928284232 by Keith Whitwell on 02/01/2003 at 18:41..
Remove printk
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14e831baf4ea2a412c9173cd9ec16b4928284232

Git commit 7419aa6e3f639ee47879824f387117d28b4de013 by Keith Whitwell on 02/01/2003 at 18:59..
Bump radeon drm version nr on recent interface relaxation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7419aa6e3f639ee47879824f387117d28b4de013

Git commit 320802ebc145c0b821979dc587cd7e90b10b2d55 by Keith Whitwell on 03/01/2003 at 11:22..
more cleanups, free mem heap data on last client exit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/320802ebc145c0b821979dc587cd7e90b10b2d55

Git commit 4b3051d3f606faf1a78ac85236119a1d2e10fdc7 by Rik Faith on 06/01/2003 at 07:38..
[TRIVIAL] [TRIVIAL PATCH 2.5.48] Remove unused function from radeon_mem.c
    Submitted by Rusty Trivial Russell
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b3051d3f606faf1a78ac85236119a1d2e10fdc7

Git commit a1fc6af2d8937fcc4eef25119d777e168e62b2ea by Keith Whitwell on 10/01/2003 at 17:04..
Note that radeon_do_cp_idle() can fail, cope with it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1fc6af2d8937fcc4eef25119d777e168e62b2ea

Git commit 6f940bc3f8aeb09925354445e92e9c0e74515b13 by Jeff Hartmann on 11/01/2003 at 05:42..
file agp_30_symbols.h was initially added on branch agpgart_2_0_branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f940bc3f8aeb09925354445e92e9c0e74515b13

Git commit 826aad0aba648befe09592f154f75db5009a0cd9 by Michel Daenzer on 11/01/2003 at 20:58..
limit number of pending vblank signals to 100 to prevent DoS, and minor
    cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/826aad0aba648befe09592f154f75db5009a0cd9

Git commit 77ea378b09a86a9fe73d0ecef40f5570068c9af0 by Eric Anholt on 16/01/2003 at 06:20..
Fix radeon for BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77ea378b09a86a9fe73d0ecef40f5570068c9af0

Git commit 66f57c403c012f55126817bc21d40346d29d2d35 by Eric Anholt on 24/01/2003 at 00:49..
Fix build on -current: Provide M_WAITOK define.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66f57c403c012f55126817bc21d40346d29d2d35

Git commit 9b9b099471580616e1685bae725f2c297179ae99 by Leif Delgass on 26/01/2003 at 22:25..
Add cast to avoid void * arithmetic warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b9b099471580616e1685bae725f2c297179ae99

Git commit c7d471b6ae936127311a816a8d15b4565746af48 by Michel Daenzer on 02/02/2003 at 03:06..
don't inflate relative vblank sequence numbers on repeated calls (e.g. when
    interrupted by a signal)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7d471b6ae936127311a816a8d15b4565746af48

Git commit f3751850c8b5b4216c460474147e0dcfc26a144e by Keith Whitwell on 03/02/2003 at 14:30..
Fix size of VERTEX2 ioctl struct (Egbert Eich)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3751850c8b5b4216c460474147e0dcfc26a144e

Git commit f13af50838a2a207269ef46c3561ca1250dc6c12 by Michel Daenzer on 04/02/2003 at 15:56..
only acknowledge interrupts we handle - others could be used outside the
    DRM
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f13af50838a2a207269ef46c3561ca1250dc6c12

Git commit 73bf29a6c14d12f86fbce48f6f6bace0de6732a6 by Michel Daenzer on 04/02/2003 at 19:20..
fix PCI and AGP posting problems (based on testing by Chris Ison and
    suggestions by Benjamin Herrenschmidt and Arjan van de Ven)
remove radeon_flush_write_combine() which has been unused for a while
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73bf29a6c14d12f86fbce48f6f6bace0de6732a6

Git commit b88cc5da26cf1478e425a6398456b52e27f53626 by Michel Daenzer on 04/02/2003 at 19:28..
disable strict aliasing for building the DRM
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b88cc5da26cf1478e425a6398456b52e27f53626

Git commit fac2ed4d10e4d8283f818989df5d5722a447aac4 by Michel Daenzer on 06/02/2003 at 18:20..
fix EAGAIN handling in radeon_cp_dispatch_texture() (fixes corruption of
    large textures), and get rid of superfluous local y variable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fac2ed4d10e4d8283f818989df5d5722a447aac4

Git commit 639c2d813f91c80aca66b13242b8d45a1ea986e8 by Michel Daenzer on 08/02/2003 at 18:02..
reclaim DMA buffers in DRIVER_RELEASE() (Felix K�hling)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/639c2d813f91c80aca66b13242b8d45a1ea986e8

Git commit 314d1d2cbee3fe0851d914c57cc09bf388e8ac37 by Eric Anholt on 16/02/2003 at 19:03..
file mach64.h was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/314d1d2cbee3fe0851d914c57cc09bf388e8ac37

Git commit afcfefa6dc296b4863b1c83ebcf8143750af65ad by Eric Anholt on 16/02/2003 at 19:03..
file mach64_dma.c was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afcfefa6dc296b4863b1c83ebcf8143750af65ad

Git commit bd6120a28c30fa0b62c8c07a2fc7a6790834abf3 by Eric Anholt on 16/02/2003 at 19:03..
file mach64_drv.h was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd6120a28c30fa0b62c8c07a2fc7a6790834abf3

Git commit 5bf6a26aeb2a89b4ed599361f60cb68bf45e3956 by Eric Anholt on 16/02/2003 at 19:03..
file mach64_state.c was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bf6a26aeb2a89b4ed599361f60cb68bf45e3956

Git commit a64472d18493de575a7636704b45babe7b4b4572 by Eric Anholt on 16/02/2003 at 19:03..
file mach64_drm.h was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a64472d18493de575a7636704b45babe7b4b4572

Git commit cfa778af9c70faea8c13e5cb7f80029eee0d074e by Eric Anholt on 21/02/2003 at 23:23..
Merge from bsd-4-0-0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfa778af9c70faea8c13e5cb7f80029eee0d074e

Git commit b487f30ea5c129eed1dd85f7ad79db3d2485b1f8 by Eric Anholt on 22/02/2003 at 18:40..
Fix build on NetBSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b487f30ea5c129eed1dd85f7ad79db3d2485b1f8

Git commit 40bae8bec876086a61763012508298398b27b7c4 by Leif Delgass on 26/02/2003 at 09:49..
file mach64_irq.c was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40bae8bec876086a61763012508298398b27b7c4

Git commit 1c3f7049057fcbc05a1c64e92329daf754c64691 by Jose Fonseca on 27/02/2003 at 12:52..
file savage.h was initially added on branch savage-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c3f7049057fcbc05a1c64e92329daf754c64691

Git commit 40de83c52cab6d343533ca0879a062b75ae7d096 by Jose Fonseca on 27/02/2003 at 12:52..
file savage_drv.c was initially added on branch savage-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40de83c52cab6d343533ca0879a062b75ae7d096

Git commit eb0fd431c82b494cf62012b43306fa7a836f3865 by Leif Delgass on 28/02/2003 at 19:39..
Update object targets
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb0fd431c82b494cf62012b43306fa7a836f3865

Git commit ef6838e92e53530077f3fa946434306b8addde3e by Jose Fonseca on 02/03/2003 at 21:44..
file savage_bci.c was initially added on branch savage-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef6838e92e53530077f3fa946434306b8addde3e

Git commit 2254ac21b8087c60fbf7d479ba3de2a1e7ac3d17 by Jose Fonseca on 02/03/2003 at 21:44..
file savage_drm.h was initially added on branch savage-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2254ac21b8087c60fbf7d479ba3de2a1e7ac3d17

Git commit 708ecd0e4b4b1bc2f78dbb4e004bb4d5ec3effe8 by Jose Fonseca on 02/03/2003 at 21:44..
file savage_drv.h was initially added on branch savage-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/708ecd0e4b4b1bc2f78dbb4e004bb4d5ec3effe8

Git commit 51e5f73d2a4020a1bae860057bae2b0eff8e9c70 by Keith Whitwell on 04/03/2003 at 11:41..
DRM_FREE/2 patch from Philip Brown
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51e5f73d2a4020a1bae860057bae2b0eff8e9c70

Git commit 1434bfe4a8e5fb7b6e8f52d3a732582e61216f68 by Eric Anholt on 05/03/2003 at 04:14..
Remove a paste-o in DRM_SPINUNINIT and add a volatile to the compatibility
    atomic_cmpset_int.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1434bfe4a8e5fb7b6e8f52d3a732582e61216f68

Git commit 3f786dbd1827d4f399bdf71e57d970ea8124bb0c by Eric Anholt on 05/03/2003 at 06:04..
Update mmap handling for FreeBSD-current (Based on r1.3 of FreeBSD CVS).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f786dbd1827d4f399bdf71e57d970ea8124bb0c

Git commit a01d26f39d7e1fcf0ffafc04df832f72ae3d3896 by Eric Anholt on 05/03/2003 at 06:06..
Put cdevsw initialization in line with FreeBSD-current. (From r1.10,r1.11
    of FreeBSD CVS)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a01d26f39d7e1fcf0ffafc04df832f72ae3d3896

Git commit bf4b8ba753807eac22e7b14a5581c3c883d9473c by Eric Anholt on 06/03/2003 at 19:21..
Remove the vbl signal code because it's untested (and has lock issues on
    -current).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf4b8ba753807eac22e7b14a5581c3c883d9473c

Git commit 638d45d2a0f5101e0b10a4f2761f9e25d2872055 by Eric Anholt on 08/03/2003 at 05:05..
Make dma_addr_t an unsigned long not a uint32, don't try to use memrange
    functions on FreeBSD non-x86, and remove a dead define.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/638d45d2a0f5101e0b10a4f2761f9e25d2872055

Git commit 0bd0dd2300e91707ae5a41a83eb37217fd8ad295 by Eric Anholt on 11/03/2003 at 20:51..
Merge back from FreeBSD-current, adding FreeBSD ID tags to aid future
    merging. Also includes an update to radeon PCI IDs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bd0dd2300e91707ae5a41a83eb37217fd8ad295

Git commit c14006ba9f0522875327998215150067d8ca6ea7 by Alan Hourihane on 25/03/2003 at 00:29..
XFree86 4.3.0 merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c14006ba9f0522875327998215150067d8ca6ea7

Git commit b3eb34e0ea0ec7c550df5fd6b25efcf9e35c53cd by Alan Hourihane on 25/03/2003 at 11:36..
linux merge for drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3eb34e0ea0ec7c550df5fd6b25efcf9e35c53cd

Git commit 37cb114bd92a17112033f4838e86857bcd466024 by Keith Whitwell on 26/03/2003 at 16:37..
Add 2nd arg for DRM_FREE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37cb114bd92a17112033f4838e86857bcd466024

Git commit 1728bc637df023cce7b5abfeab2796ea481ca7e9 by Keith Whitwell on 28/03/2003 at 14:27..
merged drm-filp-0-1-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1728bc637df023cce7b5abfeab2796ea481ca7e9

Git commit e27d2f8c7cacf1e9994e9030c7ebb15dc4f4efff by Eric Anholt on 29/03/2003 at 03:30..
buf->filp is a pointer, so make printf format args be %p not %d
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e27d2f8c7cacf1e9994e9030c7ebb15dc4f4efff

Git commit 6ef79263b68402687ccc2b7447dd908c00e35057 by Eric Anholt on 29/03/2003 at 03:38..
Add DRMFILE definitions and supply filp for BSD in the
    post-drm-filp-0-1-branch world. The filp is a void * cast from the
    current pid. This is a temporary solution which maintains the status
    quo until a proper solution is implemented.
What is really needed is a unique pointer per open, hopefully with a device
    private area. This can be done in FreeBSD for all entry points except
    mmap, but is difficult (sys/dev/streams/streams.c is an example). I
    have partially completed code for this but have not had time to debug,
    so this is a temporary fix.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ef79263b68402687ccc2b7447dd908c00e35057

Git commit aea0418d0db3338b81f83abf26df99dfd7ac85bc by Eric Anholt on 29/03/2003 at 18:22..
Remove dead vma code and remove the unused devstate struct definition.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aea0418d0db3338b81f83abf26df99dfd7ac85bc

Git commit 8926acac37025cd89dae2308c566c778fa1cc406 by Eric Anholt on 30/03/2003 at 07:23..
Spelling fixes in comments.
Submitted by: Linus Torvalds <torvalds at transmeta.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8926acac37025cd89dae2308c566c778fa1cc406

Git commit 8e51112fe06cc92a7e4d415c897d53008a935554 by Leif Delgass on 31/03/2003 at 04:14..
Warning fix (use %p format for filp)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e51112fe06cc92a7e4d415c897d53008a935554

Git commit 6f88a5351c3f0b8e657708b64060adb833c8a919 by Eric Anholt on 01/04/2003 at 18:53..
Whitespace and remove a dead commented line.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f88a5351c3f0b8e657708b64060adb833c8a919

Git commit 3f7769921bd414f489d4487a5760a8d814efd51d by Leif Delgass on 05/04/2003 at 19:49..
add 'SG' map type identifier string (pci scatter/gather) to /proc vm info
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f7769921bd414f489d4487a5760a8d814efd51d

Git commit 10444e06d4f4edaf8e8cd9370f450ce7c047efac by Leif Delgass on 08/04/2003 at 01:30..
Use list_entry() to get container struct from struct list_head pointers.
    Build fix for RedHat 9 kernel (5 args to remap_page_range()).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10444e06d4f4edaf8e8cd9370f450ce7c047efac

Git commit 12a52fd8269a07103b6328483577f2487fd7cd01 by Eric Anholt on 08/04/2003 at 04:09..
file drm_linux_list.h was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12a52fd8269a07103b6328483577f2487fd7cd01

Git commit 353c84d2ddd2b4aff288a5ffd4a766e928322b28 by Eric Anholt on 08/04/2003 at 04:23..
file Makefile was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/353c84d2ddd2b4aff288a5ffd4a766e928322b28

Git commit 244d4faa1d537a01292c4d2cf6c025b41710908d by Eric Anholt on 08/04/2003 at 04:43..
file mach64_drv.c was initially added on branch mach64-0-0-6-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/244d4faa1d537a01292c4d2cf6c025b41710908d

Git commit 48e389f3a5109383ca71c6c7f743b5107965f1d9 by Jose Fonseca on 10/04/2003 at 14:58..
file drm_pci.h was initially added on branch mach64-0-0-5-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48e389f3a5109383ca71c6c7f743b5107965f1d9

Git commit d1b7f551e6d582cd9c44d23883de1f6121907627 by David Dawes on 17/04/2003 at 15:27..
Fix DRM module build on 2.5.41 and later kernels (tqueue -> workqueue).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1b7f551e6d582cd9c44d23883de1f6121907627

Git commit c2d7ff1bf98f92add98fb76b63d2bdb190f3cf2c by David Dawes on 17/04/2003 at 18:41..
Bring some drm module changes over from the XFree86 trunk:
- Reset 'bound' flag for an agp entry after undbind succeeded in
    drm_agpsupport.h (Egbert Eich).
- Ignore hw_lock for drm device if lock was set by a different instance (ie
    Xserver) to prevent second server from spinning in driver release
    function (currently only relevant for i8xx drm drivers) (David Dawes).
- Use the agpgart "key" for the unique handle for bindings rather than the
    memory address (the key is guaranteed to be unique) (David Dawes).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2d7ff1bf98f92add98fb76b63d2bdb190f3cf2c

Git commit dbb7beb51d8adb4b5616fbcca7999b00d760b839 by David Dawes on 17/04/2003 at 18:44..
Rework the Linux drm kernel module build to leverage off the standard
    kernel build system. This is based on suggestions and examples from
    David Woodhouse. This approach has the advantage that the build
    requirements of a wider range of standard kernels are now supported
    transparently, but the disadvantage of some extra complexity to handle
    building against clean vendor-distributed kernel source trees. This has
    been tested with some recent Red Hat and SuSE distributions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbb7beb51d8adb4b5616fbcca7999b00d760b839

Git commit 21af3202874b5938e9c262a906f1eaba08e74b6e by David Dawes on 17/04/2003 at 18:48..
Make Config.in look more like a recent 2.4.x kernel version.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21af3202874b5938e9c262a906f1eaba08e74b6e

Git commit da35a90d99cf56a8ffc48f87754013d13e1cafcd by David Dawes on 17/04/2003 at 18:52..
Add a Kconfig file as used in recent 2.5.x kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da35a90d99cf56a8ffc48f87754013d13e1cafcd

Git commit 46e06192a88834a97257d2be5ab3aa7c325a1cfe by Leif Delgass on 21/04/2003 at 16:07..
Check for NULL map before calling DRM(ioremapfree) on cleanup. Prevents an
    oops if a map wasn't found (e.g. XFree86 Bugzilla #108)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46e06192a88834a97257d2be5ab3aa7c325a1cfe

Git commit fc4fb6b51b50e37ff697e872b297b6460c3617af by Keith Whitwell on 22/04/2003 at 08:06..
remove DRM read, poll and write_string
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc4fb6b51b50e37ff697e872b297b6460c3617af

Git commit 13211ad82c184e3daf68c06203412d3f1c949291 by Keith Whitwell on 22/04/2003 at 09:49..
add more get_param queries for embedded project
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13211ad82c184e3daf68c06203412d3f1c949291

Git commit 5141da97f680235d10d74737d5444963d2080072 by Keith Whitwell on 22/04/2003 at 10:13..
Move a bunch of gamma-specific code into a gamma-specific file. Restore the
    kooky DRM(write_string) code for gamma.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5141da97f680235d10d74737d5444963d2080072

Git commit 056762a9104997569b09416c35d9a0bfef175e1f by Keith Whitwell on 22/04/2003 at 10:18..
remove unused dma histogram code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/056762a9104997569b09416c35d9a0bfef175e1f

Git commit a1780925fb461c736bae7e51de0d3a1e909548f2 by Keith Whitwell on 22/04/2003 at 11:31..
Move a chunk of gamma-specific code out of drm_dma.h. Remove unused
    'DRM_FLAG_NOCTX' option.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1780925fb461c736bae7e51de0d3a1e909548f2

Git commit aba6bf7eb3cd53137fab4424ff39e2d68b83dc2a by Keith Whitwell on 22/04/2003 at 11:39..
remove unused __HAVE_KERNEL_CTX_SWITCH code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aba6bf7eb3cd53137fab4424ff39e2d68b83dc2a

Git commit 928c25d14f76ff537bd56f135b91cf681dee326b by Keith Whitwell on 22/04/2003 at 12:07..
Move the excitingly named DRM(flush_block_and_flush) and friends to
    gamma-specific code.
Fix templates so i8x0 drivers don't have to define __HAVE_DMA_WAITLIST.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/928c25d14f76ff537bd56f135b91cf681dee326b

Git commit 700e880c3dbaf3532287ad423f3158adbac85fb7 by Keith Whitwell on 22/04/2003 at 12:07..
new file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/700e880c3dbaf3532287ad423f3158adbac85fb7

Git commit 73e20998b46bd8aa6ac903bc4701711d9a527f63 by Keith Whitwell on 22/04/2003 at 12:14..
Rename drm_lists.h to gamma_lists.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73e20998b46bd8aa6ac903bc4701711d9a527f63

Git commit 0782f0df60b0544a8fb784aa253a4f57f9dfdeeb by Alan Hourihane on 22/04/2003 at 12:41..
fix gamma headers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0782f0df60b0544a8fb784aa253a4f57f9dfdeeb

Git commit 9c5d16216d35d4b815471ff62de79f7fff2b2a2c by Alan Hourihane on 22/04/2003 at 12:42..
remove unused variable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c5d16216d35d4b815471ff62de79f7fff2b2a2c

Git commit 879e3d335c09bfe069948754600543291e8f8475 by Alan Hourihane on 22/04/2003 at 12:52..
change PREINSTALL/POSTINSTALL/UNINSTALL irq code to real functions as per
    the other drivers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/879e3d335c09bfe069948754600543291e8f8475

Git commit 22608a414d7b7ef32ca51b9123be8341ddd5e8ce by Leif Delgass on 22/04/2003 at 19:42..
Only mga, i810, i830 require AGP (should mga define __MUST_HAVE_AGP?)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22608a414d7b7ef32ca51b9123be8341ddd5e8ce

Git commit 5ee61c18f4866bd9257bdc5eddefe6e58e0a1849 by Leif Delgass on 22/04/2003 at 21:30..
Remove AGP dependency in kernel config for radeon, sis. Remove
    PCIGART_ENABLED define for radeon, pcigart support now included for any
    arch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ee61c18f4866bd9257bdc5eddefe6e58e0a1849

Git commit d5db1144dd5cb96b7e25d0e08a209b38e0afdc9b by Michel Daenzer on 22/04/2003 at 21:45..
get rid of superfluous fields in struct drm_radeon_ring_buffer
use correct address for ring read pointer writeback (yes, we seem to have
    been running with bogus values for the ring read pointer, which
    'worked' because the return value of radeon_wait_ring() is never
    checked and the ring usually never fills up)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5db1144dd5cb96b7e25d0e08a209b38e0afdc9b

Git commit 23a76c37594d3d423963c7b8610b64367e3ff9d8 by Michel Daenzer on 23/04/2003 at 14:21..
deal correctly with read() from the DRM failing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23a76c37594d3d423963c7b8610b64367e3ff9d8

Git commit e15b0b6a1b95e4145363b15e1a581ee230b2f9a2 by Keith Whitwell on 23/04/2003 at 23:42..
Install dummy/noop read & poll fops unless the driver has replacements.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e15b0b6a1b95e4145363b15e1a581ee230b2f9a2

Git commit 1fc0a5e1e4c43a0e9fe8b0d9860f22ae8e820d46 by Eric Anholt on 24/04/2003 at 00:25..
Make DRM(read) and DRM(poll) stubs and remove DRM(write) and
    DRM(write_string). This is the first part of removing much of the
    support code for gamma from the BSD DRM, since it appears that no new
    drivers are using it and nobody has ever shown interest in gamma on
    BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1fc0a5e1e4c43a0e9fe8b0d9860f22ae8e820d46

Git commit e21473c88853bb6f539ecca1c76e692d748bb722 by Eric Anholt on 24/04/2003 at 00:37..
Remove DRM_DMA_HISTOGRAM and associated code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e21473c88853bb6f539ecca1c76e692d748bb722

Git commit 9b2b2337b3caa006fa95eecb966b8a68eed83b90 by Eric Anholt on 24/04/2003 at 00:46..
Move one definition to drm_drv.h and remove the rest of drm_init.h which
    was all unused.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b2b2337b3caa006fa95eecb966b8a68eed83b90

Git commit 9d603b0abe3d1ab2a383ee9f33f27900f9eb1d5e by David Dawes on 24/04/2003 at 02:56..
break long line
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d603b0abe3d1ab2a383ee9f33f27900f9eb1d5e

Git commit 00522cedd6ee3027d2858909d34e862fa21e6e28 by David Dawes on 24/04/2003 at 03:01..
Single/dual rasterizer quiescence patch for the glint/gamma DRI driver
    (#5685, Sven Luther).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00522cedd6ee3027d2858909d34e862fa21e6e28

Git commit bcd527ee71043478d27ec3e5b611c9f34bf4f191 by Eric Anholt on 24/04/2003 at 04:50..
Remove a bunch of dead code and fix spelling of a couple of comments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcd527ee71043478d27ec3e5b611c9f34bf4f191

Git commit af3bfdef26b2d02ea4877e3d57601e57ffa4e95a by Eric Anholt on 24/04/2003 at 05:14..
Remove the ioctl_count variable from the device. A reference is held to the
    fp throughout the ioctl syscall, so the device can't be closed out from
    under us.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af3bfdef26b2d02ea4877e3d57601e57ffa4e95a

Git commit c6d2af70cb30a5cc65aebae2637313158a95346e by Eric Anholt on 24/04/2003 at 05:56..
Move some common code from addbufs_<type> to addbufs. Make buf_alloc be
    protected by the count_lock and make it non-atomic.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6d2af70cb30a5cc65aebae2637313158a95346e

Git commit 01178567ebc428fcf8eb53a62b5ca9c449980491 by Eric Anholt on 24/04/2003 at 06:19..
Remove more gamma DMA code. This isn't all of it, but it's a major portion.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01178567ebc428fcf8eb53a62b5ca9c449980491

Git commit a41594e8dfa029cfba9c518d6c21551f5e0857bc by Keith Whitwell on 24/04/2003 at 09:41..
Remove #if 0'd code and some unused string functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a41594e8dfa029cfba9c518d6c21551f5e0857bc

Git commit 57406077e554d29e56a8a82c54ec7d41cdc07b79 by Keith Whitwell on 24/04/2003 at 10:02..
Move the debug versions of the DRM memory functions to a new file and
    implement non-debug ones as standard.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57406077e554d29e56a8a82c54ec7d41cdc07b79

Git commit cd3d6090b79ad5583494938a231cfc4da610ca9b by Leif Delgass on 24/04/2003 at 15:29..
Remove unused variables
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd3d6090b79ad5583494938a231cfc4da610ca9b

Git commit 2dc672a7908817f43391703a8341cb873fbb1543 by Leif Delgass on 24/04/2003 at 16:47..
Minor cleanups for dri/drmstat test progs (Both still need targets for new
    Makefile)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dc672a7908817f43391703a8341cb873fbb1543

Git commit d6a82ff9c160acbb7db5bee2cde45818d1e8548e by Leif Delgass on 24/04/2003 at 16:55..
Remove unused dev->map_count. We always iterate the maplist with
    list_for_each() and the count is not updated or used for stats.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6a82ff9c160acbb7db5bee2cde45818d1e8548e

Git commit a147df879b3b850612222759c14f4142d2406e74 by Eric Anholt on 24/04/2003 at 19:09..
Remove more gamma DMA infrastructure. Most of this code was copied straight
    from linux, so it could be added back if some driver needed it in the
    future.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a147df879b3b850612222759c14f4142d2406e74

Git commit 16fda821eb457818414faa57bf9ccfba93c3a350 by Leif Delgass on 24/04/2003 at 23:18..
Pass dma handle from pci_alloc_consistent to the card for status page,
    rather than using virt_to_bus() on the virtual address.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/16fda821eb457818414faa57bf9ccfba93c3a350

Git commit 781828b26e35e8347e461d2097563823e8f76c88 by Eric Anholt on 24/04/2003 at 23:57..
Clean up the style of the linux-compat code and use ioctl() directly rather
    than reimplementing it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/781828b26e35e8347e461d2097563823e8f76c88

Git commit 58650c3a9d53044a0ab463df41864ddb39238bab by Eric Anholt on 25/04/2003 at 00:02..
Clean up the DRM_COPY_TO_USER()ing of DRM(infobufs), making it more
    legible.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58650c3a9d53044a0ab463df41864ddb39238bab

Git commit c3092ead6427d04b7067c1d7d95163c7aa7b75b1 by David Dawes on 25/04/2003 at 00:57..
Targets for building dristat and drmstat.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3092ead6427d04b7067c1d7d95163c7aa7b75b1

Git commit 77ee73f8cd92aa136488e23424282afba9977160 by Eric Anholt on 25/04/2003 at 02:27..
Merge from FreeBSD-current.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77ee73f8cd92aa136488e23424282afba9977160

Git commit cb32dde3be831096e98c66398159f7d7ddf3d672 by Leif Delgass on 25/04/2003 at 19:42..
Fix potential oops and memory leaks when allocations fail in
    addbufs_agp/pci. Add support for buffer private structs with PCI DMA
    buffers. Also some debug format string fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb32dde3be831096e98c66398159f7d7ddf3d672

Git commit acb5d6b2732cccfa3734b25dc808ecdc5a6c556c by Eric Anholt on 26/04/2003 at 06:39..
Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
    setting for AGP cards on SMP machines.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/acb5d6b2732cccfa3734b25dc808ecdc5a6c556c

Git commit e60eb69bc029c04b39ef0de620002d5ba2433d04 by Eric Anholt on 26/04/2003 at 06:53..
Replace the C atomic_cmpset_int compatibility function for -stable with the
    real i386 atomic_cmpset_int from -current. FreeBSD-stable won't ever
    have DRM support for non-i386.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e60eb69bc029c04b39ef0de620002d5ba2433d04

Git commit 2142b7840a5e0c2b6342ef94f285ac9fcf4a87ce by Keith Whitwell on 26/04/2003 at 21:21..
Remove #if 0'd code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2142b7840a5e0c2b6342ef94f285ac9fcf4a87ce

Git commit 2c40a56393102bb0fb21e183bf5a08b0eea35c57 by Keith Whitwell on 26/04/2003 at 21:22..
move prototypes for gamma functions to gamma_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c40a56393102bb0fb21e183bf5a08b0eea35c57

Git commit f5844cea13ba330beaeebb171eca1580efba62c6 by Keith Whitwell on 26/04/2003 at 21:33..
2.5.x sync patch from Linus Torvalds
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5844cea13ba330beaeebb171eca1580efba62c6

Git commit 79a0c5757e400c236b4c365761a377d52393606a by Eric Anholt on 26/04/2003 at 21:57..
Remove #if 0'ed code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79a0c5757e400c236b4c365761a377d52393606a

Git commit 8621ae310b496a5d5db10236083f3f3d38362719 by Eric Anholt on 26/04/2003 at 22:18..
Move the memory functions with debugging info to drm_memory_debug.h, and
    remove a couple of dead functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8621ae310b496a5d5db10236083f3f3d38362719

Git commit a79adaab72bde726ce4c08184997f34b31014d9e by Eric Anholt on 26/04/2003 at 22:21..
Missed files in the last commit: Remove memory debugging sysctl unless
    MEMORY_DEBUG is set.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a79adaab72bde726ce4c08184997f34b31014d9e

Git commit f2a0c5438dc83171de1007a68e4f98e35b5a8fbe by Leif Delgass on 26/04/2003 at 22:28..
Ensure driver has been initialized (dev_private != NULL) before installing
    irq handler in DRM(irq_install). Modify all drivers to ensure irq
    handler is removed before cleanup and cleanup is called at takedown.
    Remove unused buffer private struct fields in i810, i830. Check for
    lock on init/cleanup in all drivers except i810/i830. The current DDX
    for i810 and i830 doesn't hold the lock on kernel init (FIXME?).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2a0c5438dc83171de1007a68e4f98e35b5a8fbe

Git commit ce514e08aa8fdbdf52da2ac2cbdace68e0b25210 by Eric Anholt on 26/04/2003 at 22:52..
Add PCI DMA memory functions and make addbufs_pci and associated code use
    it. To do this we need to save the bus address along with the virtual
    address in the seglist. Also fix some error handling and a few bits of
    whitespace.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce514e08aa8fdbdf52da2ac2cbdace68e0b25210

Git commit a172ee2a18b715a6de9b8e914aecd8414a4f3b2d by Eric Anholt on 26/04/2003 at 23:04..
MFL: Don't install irq handler unless the driver has been initialized.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a172ee2a18b715a6de9b8e914aecd8414a4f3b2d

Git commit 766a1da2e5841959246abab9cf27c79d75636129 by Eric Anholt on 26/04/2003 at 23:32..
Remove the map argument from DRM_*MEMORYBARRIER. Not all of the uses of
    DRM_*MEMORYBARRIER we had were related to an MMIO space. This means
    arch-specific code on the BSDs, unfortunately. Also add
    DRM_MEMORYBARRIER() and change the DRM_READMEMORYBARRIER()s that used
    to be read/write barriers to it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/766a1da2e5841959246abab9cf27c79d75636129

Git commit 9828bd24c8f7b9d115acf94e422fa34ec8627b92 by Eric Anholt on 26/04/2003 at 23:55..
Fix formatting of hw.dri sysctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9828bd24c8f7b9d115acf94e422fa34ec8627b92

Git commit 22b9b720d572ba6fec288e2a13537aec069cec7f by Eric Anholt on 27/04/2003 at 00:43..
Use real endian conversion functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22b9b720d572ba6fec288e2a13537aec069cec7f

Git commit c584292e30f1f3fc22da32117dfbb72bb79cdbe2 by Keith Whitwell on 27/04/2003 at 09:53..
Put back __HAVE_KERNEL_CTX_SWITCH for David Miller's sparc drm driver
    (which doesn't live in our cvs).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c584292e30f1f3fc22da32117dfbb72bb79cdbe2

Git commit 6eb5364eb81474a6ceac8b44c3283cb0327b2a82 by Alan Hourihane on 28/04/2003 at 15:29..
DRM_READ/WRITEMEMORYBARRIER was given an argument in the bsd tree, fix for
    linux
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6eb5364eb81474a6ceac8b44c3283cb0327b2a82

Git commit a57d3204613922ee07e56209169e4b4ce1f17754 by Leif Delgass on 28/04/2003 at 16:20..
Only free original pagelist in addbufs_pci if one already exists (fixes
    oops).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a57d3204613922ee07e56209169e4b4ce1f17754

Git commit 5f1e2399eb5b76537c91fc9aba2569f2c289a284 by Leif Delgass on 28/04/2003 at 17:49..
Restore Eric Anholt's DRM_*MEMORYBARRIER changes from rev 1.11
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f1e2399eb5b76537c91fc9aba2569f2c289a284

Git commit 87ed795ff354eb6e9431c87ab315349326c1af79 by Eric Anholt on 28/04/2003 at 23:18..
Fix a typo: On takedown the mtrr operation is MEMRANGE_SET_REMOVE, not
    _UPDATE.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87ed795ff354eb6e9431c87ab315349326c1af79

Git commit 7e1a4bfab3648a83cf2f8eed01c6ac346829aa3c by Leif Delgass on 29/04/2003 at 16:59..
remove unused variables
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e1a4bfab3648a83cf2f8eed01c6ac346829aa3c

Git commit 285b1cdc39d9cc47e3ff74b9f9b56c24317beec5 by Ian Romanick on 30/04/2003 at 01:51..
Merged texmem-0-0-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/285b1cdc39d9cc47e3ff74b9f9b56c24317beec5

Git commit 1d5bf7a7de35f87e68cce740151fd46cd8fa2ff3 by Michel Daenzer on 06/05/2003 at 21:10..
fix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d5bf7a7de35f87e68cce740151fd46cd8fa2ff3

Git commit e5d3c7f260d18168eec755c73f01ac617390d96c by Michel Daenzer on 16/05/2003 at 23:41..
Support AGP bridges where the AGP aperture can't be accessed directly by
    the CPU (David Mosberger, Benjamin Herrenschmidt, myself, Paul
    Mackerras, Jeff Wiedemeier)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5d3c7f260d18168eec755c73f01ac617390d96c

Git commit b942999b5915cbad75f16f6c242bab03c33f0c8b by Michel Daenzer on 17/05/2003 at 00:37..
do allow reading from read only mappings...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b942999b5915cbad75f16f6c242bab03c33f0c8b

Git commit 2134577e314d1dac4b48b78e5b6d6e92f2c76ea8 by David Dawes on 20/05/2003 at 22:42..
Support for building DRM module on OpenBSD (Wilbern Cobb, Matthieu Herrb).
    (resync with XFree86 trunk)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2134577e314d1dac4b48b78e5b6d6e92f2c76ea8

Git commit c0efa1a777baf90561a31957014d760f89146e4f by David Dawes on 20/05/2003 at 22:43..
DRM part of Radeon DRI suspend/resume support (Charl Botha).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0efa1a777baf90561a31957014d760f89146e4f

Git commit aeb4bc3f5b991d7970dca9417e04df06c0bf008a by Leif Delgass on 26/05/2003 at 20:04..
Add support to r128 for MESA_ycbcr_texture (Ian Romanick, Leif Delgass)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aeb4bc3f5b991d7970dca9417e04df06c0bf008a

Git commit d2443b2186712dd7c977b47e06444396e1e493ff by Jose Fonseca on 27/05/2003 at 00:37..
Merged DRM documentation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2443b2186712dd7c977b47e06444396e1e493ff

Git commit ccf6d6a5136af3d59a9d93566f55058e9c8480b4 by Leif Delgass on 28/05/2003 at 01:44..
Restore DRM_*MEMORYBARRIER change reverted with documentation merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccf6d6a5136af3d59a9d93566f55058e9c8480b4

Git commit 518db771de1fd1ac26721197833d33147740edae by Leif Delgass on 28/05/2003 at 02:03..
Restore change to _DRM_VBLANK_SIGNAL from rev. 1.41, which was reverted
    with the documentation merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/518db771de1fd1ac26721197833d33147740edae

Git commit 89463947581a5aad25abd22f36e95391c42972b6 by Keith Whitwell on 30/05/2003 at 12:07..
file i830_compat.c was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89463947581a5aad25abd22f36e95391c42972b6

Git commit a709d4c97c2de9d75ba845da41d61f8734ee573b by Keith Whitwell on 03/06/2003 at 11:23..
file i830_mem.c was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a709d4c97c2de9d75ba845da41d61f8734ee573b

Git commit 6611a5fb7f41f81e38391c77903d98a29937ceed by Jose Fonseca on 03/06/2003 at 23:27..
Split declarations/definitions in drm_scatter.h into drm_sg.h/drm_sg_tmp.h
    respectively. Splited the work out of the ioctls and renamed (with the
    _ioctl prefix). Added some more documentation. Did the same for
    drm_sgpsupport.h.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6611a5fb7f41f81e38391c77903d98a29937ceed

Git commit 8e7cd92f35629a6f6d904346b09883173a7bda29 by Jose Fonseca on 03/06/2003 at 23:50..
Added the Doxygen configuration file. Minor documentation fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e7cd92f35629a6f6d904346b09883173a7bda29

Git commit 8eaa2d245077d5e949679e48897b57f8dc505a25 by Dave Airlie on 05/06/2003 at 23:31..
add page flipping support to the DRM, up version number to 1.3.0...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8eaa2d245077d5e949679e48897b57f8dc505a25

Git commit f723f743c55156039525a5f49dfe6e0fd141c8df by Dave Airlie on 07/06/2003 at 01:44..
fix pitch compile error
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f723f743c55156039525a5f49dfe6e0fd141c8df

Git commit e3a149f08095f1a7321fce890b1337098485f254 by Jose Fonseca on 07/06/2003 at 12:30..
Check that the AGPGART "drm_agp" symbol pointer is valid before
    initializing the DRM device - this was causing a kernel oops when the
    AGPGART module wasn't loaded.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3a149f08095f1a7321fce890b1337098485f254

Git commit 1a2bb4332972c57c0d810e879e251d74a538f13b by Jose Fonseca on 07/06/2003 at 12:45..
Verify 'drm_agp' is not NULL for all its wrappers - this causes no overhead
    and must be done if in future a driver tries to talk to the AGP
    directly from kernelspace instead of userspace, and the AGP is not
    present.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a2bb4332972c57c0d810e879e251d74a538f13b

Git commit 1062b9930f2c0ddb9f5f0db29796aba0e247c80d by Keith Whitwell on 09/06/2003 at 23:11..
Don't activate blend fallbacks unless blending is enabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1062b9930f2c0ddb9f5f0db29796aba0e247c80d

Git commit 98840144b120691423038a29e1f0afdc8606cce7 by Keith Whitwell on 09/06/2003 at 23:12..
Revert bogus last commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98840144b120691423038a29e1f0afdc8606cce7

Git commit 0b01c70d59f6e038b8f90f7be98fb77d771ecc1a by Keith Whitwell on 10/06/2003 at 18:54..
Texture rectangle support for r100
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b01c70d59f6e038b8f90f7be98fb77d771ecc1a

Git commit fdf320a1b8025dd4b33670fddae9df2890ee6c5b by Jose Fonseca on 14/06/2003 at 15:18..
Move the linux AGP includes into drm_agp.h and only define the AGP data
    structures if AGP support is enabled in the kernel (__REALLY_HAVE_AGP).
    This fixes the compile errors on kernels without AGP support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdf320a1b8025dd4b33670fddae9df2890ee6c5b

Git commit 9e7d6177d1e57f8ab08da3232568597d5005709c by Keith Whitwell on 16/06/2003 at 10:40..
Possibly fix stanford checker complaints about sarea
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e7d6177d1e57f8ab08da3232568597d5005709c

Git commit fbde3dc0e6649f83173a6f39a01338288e8e56f1 by Keith Whitwell on 18/06/2003 at 15:07..
file i830_mem.c was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fbde3dc0e6649f83173a6f39a01338288e8e56f1

Git commit 4d0e244f8f6fbc710703413cf358942a06cbe843 by Keith Whitwell on 18/06/2003 at 15:07..
file i830_irq.c was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d0e244f8f6fbc710703413cf358942a06cbe843

Git commit cf840e71f2e7d8b8814a605020ca3b0d03964295 by Keith Whitwell on 18/06/2003 at 15:07..
file i830_drv.h was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf840e71f2e7d8b8814a605020ca3b0d03964295

Git commit 900bd6e4377d70cb6a26905d5310304c6c1a4d71 by Keith Whitwell on 18/06/2003 at 15:07..
file i830_drv.c was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/900bd6e4377d70cb6a26905d5310304c6c1a4d71

Git commit a9611f09037e3966aace29fdfff296dae82e642f by Keith Whitwell on 18/06/2003 at 15:07..
file i830_drm.h was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9611f09037e3966aace29fdfff296dae82e642f

Git commit 2efebc956c68e5b5ef28690ea1829d9d993dd33f by Keith Whitwell on 18/06/2003 at 15:07..
file i830_dma.c was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2efebc956c68e5b5ef28690ea1829d9d993dd33f

Git commit 22e5f8d765745ff3f41d1b8016e1c0b889bb52d1 by Keith Whitwell on 18/06/2003 at 15:07..
file i830.h was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22e5f8d765745ff3f41d1b8016e1c0b889bb52d1

Git commit 0a995b624d325055abf5ba09d39ac8d85866d85a by Keith Whitwell on 18/06/2003 at 15:07..
file i830_compat.c was initially added on branch i865-agp-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a995b624d325055abf5ba09d39ac8d85866d85a

Git commit 93522f6d3ad6924cbf413915491e4f8228502d98 by Jose Fonseca on 19/06/2003 at 00:09..
Revert the janitorial - that works is now on the new branch
    newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93522f6d3ad6924cbf413915491e4f8228502d98

Git commit e7334f927f1f5fc6ed1df1abf2c345be1682c3f8 by Jose Fonseca on 19/06/2003 at 00:14..
file drm_bufs_tmp.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7334f927f1f5fc6ed1df1abf2c345be1682c3f8

Git commit d64200e830586990cb1ae5436bdfec9127f2a731 by Jose Fonseca on 21/06/2003 at 12:27..
file drm_lock_tmp.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d64200e830586990cb1ae5436bdfec9127f2a731

Git commit b816fa625fc05afd0ffa62a2a5d0784c024c3319 by Jose Fonseca on 21/06/2003 at 12:49..
file drm_dma_tmp.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b816fa625fc05afd0ffa62a2a5d0784c024c3319

Git commit 7014016e08c3d98aa348e21f7ce1937535db2e13 by Jose Fonseca on 21/06/2003 at 13:09..
file drm_vm_tmp.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7014016e08c3d98aa348e21f7ce1937535db2e13

Git commit b568f838490ef2558e7297a1950e6e9e26093d24 by Jose Fonseca on 21/06/2003 at 13:18..
file drm_memory_tmp.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b568f838490ef2558e7297a1950e6e9e26093d24

Git commit dab537cbb1817f6a229640cf2584e64495b7a186 by Jose Fonseca on 21/06/2003 at 14:01..
file drm_stub_tmp.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dab537cbb1817f6a229640cf2584e64495b7a186

Git commit 1b0eb5e3561f3cdabae73c8152fe0b5b72863922 by Jose Fonseca on 21/06/2003 at 15:27..
file drm_pci_tmp.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b0eb5e3561f3cdabae73c8152fe0b5b72863922

Git commit 5640adddc896c89ae25c7db38c796bde21a37bdc by Alan Hourihane on 23/06/2003 at 16:34..
file savage_state.c was initially added on branch savage-1_0_0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5640adddc896c89ae25c7db38c796bde21a37bdc

Git commit 66d39b549eef3bdaaa3b6a99992659e0b381b4aa by Alan Hourihane on 23/06/2003 at 16:34..
file savage_dma.c was initially added on branch savage-1_0_0-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66d39b549eef3bdaaa3b6a99992659e0b381b4aa

Git commit 8ec900afb4ea0d0ab3f7f1e7e71f41de210da3bf by Jose Fonseca on 01/07/2003 at 18:56..
file drm_sg.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ec900afb4ea0d0ab3f7f1e7e71f41de210da3bf

Git commit 43d3934ac86bdd7319b140b7dae823579a3bc43c by Jose Fonseca on 01/07/2003 at 18:56..
file drm_pci.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43d3934ac86bdd7319b140b7dae823579a3bc43c

Git commit 7c565e4961c194d9b432d4a6790883ac5c061867 by Jose Fonseca on 01/07/2003 at 18:56..
file drm_mem.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c565e4961c194d9b432d4a6790883ac5c061867

Git commit a145363ee175757ff0309a50157a9d75e97fda26 by Jose Fonseca on 01/07/2003 at 18:56..
file drm_bufs.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a145363ee175757ff0309a50157a9d75e97fda26

Git commit 01d6ae90d6a8b5ed32739b39334079d5f1c3d95e by Jose Fonseca on 01/07/2003 at 18:56..
file drm_agp.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01d6ae90d6a8b5ed32739b39334079d5f1c3d95e

Git commit 39e1c534c0730e451062a9dbcbdf5ab95d1c5c50 by Leif Delgass on 04/07/2003 at 18:31..
Don't need to include linux/wrapper.h - we only use Set/ClearPageReserved
    from linux/mm.h now and wrapper.h has been removed in 2.5.69 and later.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39e1c534c0730e451062a9dbcbdf5ab95d1c5c50

Git commit 2daf14765214c50088c16e3538d24e157578d000 by Keith Whitwell on 08/07/2003 at 17:10..
Removed unused __HAVE_KERNEL_CTX_SWITCH, whatever that was.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2daf14765214c50088c16e3538d24e157578d000

Git commit cf6e7980c913b0b78cbf020052d9135fc2da0417 by Jose Fonseca on 09/07/2003 at 09:26..
file drm_vm.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf6e7980c913b0b78cbf020052d9135fc2da0417

Git commit c7f9545482223eb01d9b4c76212305615483150a by Jose Fonseca on 09/07/2003 at 09:26..
file drm_stub.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7f9545482223eb01d9b4c76212305615483150a

Git commit 6a0e4854574732ed301a1aa7fb8753b37666def1 by Jose Fonseca on 09/07/2003 at 09:26..
file drm_lock.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a0e4854574732ed301a1aa7fb8753b37666def1

Git commit 49d152544e64b9d3802f5efd6e5f53cb93756a10 by Jose Fonseca on 09/07/2003 at 09:26..
file drm_fops.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49d152544e64b9d3802f5efd6e5f53cb93756a10

Git commit 7dc959ed2114f4b92b7e0cb8b067f2a182e9a4d8 by Jose Fonseca on 09/07/2003 at 09:26..
file drm_dma.c was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dc959ed2114f4b92b7e0cb8b067f2a182e9a4d8

Git commit f4188a751829926f5901d18a0d95774c8cdecbf8 by Jose Fonseca on 09/07/2003 at 09:28..
file drm_mem.h was initially added on branch newdrm-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4188a751829926f5901d18a0d95774c8cdecbf8

Git commit 1654bc5752740e54a5e6cfd18021a9f66d7b7df2 by Dave Airlie on 09/07/2003 at 23:21..
DA: fix for bug 484 in Bugzilla, originally from me, reworked by David
    Dawes to avoid backword incompatibilities...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1654bc5752740e54a5e6cfd18021a9f66d7b7df2

Git commit 3669639b2162d0ec0d3f9b47b2e443b6d89d1cee by Keith Whitwell on 11/07/2003 at 15:27..
Restore __HAVE_KERNEL_CTX_SWITCH, required for the sparc drm module in the
    kernel tree. Added comments to that effect.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3669639b2162d0ec0d3f9b47b2e443b6d89d1cee

Git commit 32ef0f59a8d62460da338568af347286aa450146 by Michel Daenzer on 25/07/2003 at 10:31..
Fail in DRM(agp_acquire) if the AGP aperture can't be used, such that the X
    server falls back to PCI GART or disables the DRI gracefully
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32ef0f59a8d62460da338568af347286aa450146

Git commit bef7017749c9d3af733bdca4863a012f5d6506d3 by Michel Daenzer on 25/07/2003 at 10:50..
Compile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't break
    the i830 driver or the BSDs. :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bef7017749c9d3af733bdca4863a012f5d6506d3

Git commit 983db58a26c37237acf54af60f28a4243467079a by Eric Anholt on 26/07/2003 at 03:18..
Fix FreeBSD build after IRQ changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/983db58a26c37237acf54af60f28a4243467079a

Git commit aaf2105be967ad7f99c643b4be09cf6d3d063b65 by Eric Anholt on 26/07/2003 at 03:25..
Add Rage 128 pageflipping support, defaults to off. DRM version bump to
    2.5.0. It still has some issues, including a flicker in the fps meter
    in tuxracer and I've seen garbage left behind after moving/closing
    windows. However, it's usable. Add the Option "EnablePageFlip" "YES" to
    use it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aaf2105be967ad7f99c643b4be09cf6d3d063b65

Git commit c26ffeafca30332520660d2bef1106b56d0ef5e1 by Michel Daenzer on 26/07/2003 at 15:59..
Degrade uninformative error message to debug message, as in other drivers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c26ffeafca30332520660d2bef1106b56d0ef5e1

Git commit 4b60cae90e0f689f68167c2e3419df7574cae1ab by Michel Daenzer on 29/07/2003 at 10:11..
IRQ code cleanup suggested by Linus Torvalds
i830 build fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b60cae90e0f689f68167c2e3419df7574cae1ab

Git commit da16867c8433516c361944e6e4265bd511ac72c8 by Michel Daenzer on 06/08/2003 at 11:46..
Fix maplist entries being used after they were freed; thanks to Benjamin
    Herrenschmidt for tracking this down
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da16867c8433516c361944e6e4265bd511ac72c8

Git commit e7944efc4550416ee53e2f570f759d4e6078834b by Michel Daenzer on 07/08/2003 at 10:13..
build fix for kernels >= 2.6
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7944efc4550416ee53e2f570f759d4e6078834b

Git commit c99acb597fe430305b6bba62467cd3c85a36b8f5 by Ian Romanick on 08/08/2003 at 21:06..
Added some information as to when (which DRM version) various queries were
    added.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c99acb597fe430305b6bba62467cd3c85a36b8f5

Git commit 447d8c56bb8db6c8139c4c4cb3e99f6674069e09 by Dave Airlie on 11/08/2003 at 01:46..
DA: code cleanups for i810_dma.c from 2.4 kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/447d8c56bb8db6c8139c4c4cb3e99f6674069e09

Git commit 02675a470e9fde770418748b14d0a69a7f562d3b by Eric Anholt on 12/08/2003 at 21:18..
Merge from FreeBSD r1.11: We have memset in the kernel, no need to define
    it to bzero (which it was always used for).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02675a470e9fde770418748b14d0a69a7f562d3b

Git commit fbdadde0079120d49ca719781817a342bb62801d by Eric Anholt on 12/08/2003 at 21:34..
Document the changes in interface version 2.5.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fbdadde0079120d49ca719781817a342bb62801d

Git commit 4c9daf6847b4e263d006154ac1e523c091308a6b by Eric Anholt on 12/08/2003 at 21:47..
Document change in interface version 1.9.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c9daf6847b4e263d006154ac1e523c091308a6b

Git commit 03e6674c13f8e7033c891ae8979e7f996fe9a6c1 by Eric Anholt on 12/08/2003 at 21:48..
Whitespace cleanup from the pageflipping commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03e6674c13f8e7033c891ae8979e7f996fe9a6c1

Git commit 428cbe0b91b1b446b0878544f30121df9b5bb2ac by Dave Airlie on 13/08/2003 at 23:35..
DA: patch from Matthew upgraded to latest DRI head to solve issue with i810
    compatibility
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/428cbe0b91b1b446b0878544f30121df9b5bb2ac

Git commit a073ff7dc73dc98e81e2ae26e8c500ea7141084b by Dave Airlie on 15/08/2003 at 01:05..
DA: loads of whitespace .. some from Linus, some from me
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a073ff7dc73dc98e81e2ae26e8c500ea7141084b

Git commit 9d7b01ebbe71ff6ca3ea421d5bff64f403b592ba by Michel Daenzer on 15/08/2003 at 10:31..
Merge from 2.6 kernel (Linus Torvalds)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d7b01ebbe71ff6ca3ea421d5bff64f403b592ba

Git commit 6298d1a1e0deccf085970e12922430dbde09e5da by Eric Anholt on 18/08/2003 at 23:41..
Remove an unnecessary #define __NO_VERSION__
Noticed by: CScout
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6298d1a1e0deccf085970e12922430dbde09e5da

Git commit 0f094c33da5054e6be9ccf8bf0f6282c9aed5791 by Eric Anholt on 18/08/2003 at 23:42..
Make r128_do_wait_for_idle static, as it's only used in this file.
Noticed by: CScout
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f094c33da5054e6be9ccf8bf0f6282c9aed5791

Git commit 07a9b30082d6a64d39964f504e3afc4317e22ef7 by Michel Daenzer on 18/08/2003 at 23:46..
Clean up Radeon DRI resume code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07a9b30082d6a64d39964f504e3afc4317e22ef7

Git commit ad78a613a49daea936372c75423ac17f9f83b092 by Eric Anholt on 19/08/2003 at 00:41..
- Remove $FreeBSD$ tags as they weren't too useful and merges are now being
    done through perforce.
- Add copyright headers to drm_os_*bsd.h, still need to research the other
    copyright-less files better.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad78a613a49daea936372c75423ac17f9f83b092

Git commit 963ad33cb6b85189f3385bcba46905b6d4d329db by Eric Anholt on 19/08/2003 at 02:22..
Fix the debug build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/963ad33cb6b85189f3385bcba46905b6d4d329db

Git commit 062751ac472b2721bed0cd1ee48a3ae7d327ff07 by Michel Daenzer on 26/08/2003 at 15:44..
Remove artificial PCI GART limitations, rename AGP to GART where
    appropriate
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/062751ac472b2721bed0cd1ee48a3ae7d327ff07

Git commit b83d2f909e03c7c4a95f19a04d717f7ea8dc288e by Michel Daenzer on 26/08/2003 at 16:49..
Rename agp to gart for radeon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b83d2f909e03c7c4a95f19a04d717f7ea8dc288e

Git commit ba804e7864eef2fd1d92cfe75b0bc868302da084 by Michel Daenzer on 28/08/2003 at 12:14..
Remove superfluous TLB flush
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba804e7864eef2fd1d92cfe75b0bc868302da084

Git commit bd3bc9f23d7a1895b2bf87d39346c5d4c9615020 by Eric Anholt on 29/08/2003 at 19:07..
This PCI header has been living in dev/pci/ for a while now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd3bc9f23d7a1895b2bf87d39346c5d4c9615020

Git commit db781291164dfa10538776748df7af901c6b20a2 by Eric Anholt on 29/08/2003 at 19:08..
Update radeon PCI IDs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db781291164dfa10538776748df7af901c6b20a2

Git commit a7aebb6dac3287374721dd2101a4584f12c63c82 by Eric Anholt on 29/08/2003 at 19:16..
Add DRM(calloc), which is convenient, used by the new sis code, and takes
    advantage of M_ZERO on BSDs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7aebb6dac3287374721dd2101a4584f12c63c82

Git commit fabc64dd573f01a2160be474b4abc65a3a9aa5ea by Eric Anholt on 29/08/2003 at 19:24..
Port the SiS DRM to FreeBSD. This includes the ability for the DRM to
    allocate framebuffer memory without sisfb, and a new ioctl to be used
    by the X Server which tells the DRM what region of framebuffer memory
    to allocate from. Also fixes a possibility to panic the kernel I
    believe. Tested on linux with sisfb and FreeBSD (without sisfb) with
    new DRI only.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fabc64dd573f01a2160be474b4abc65a3a9aa5ea

Git commit f634f687592bca690a9bc045661005c77854647b by Eric Anholt on 29/08/2003 at 20:54..
These files were missed in the SiS DRM commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f634f687592bca690a9bc045661005c77854647b

Git commit ebca51d8da42e7e4882694bc3233bf0f8dbdf301 by Eric Anholt on 29/08/2003 at 21:41..
Update to reflect renaming of SIS ioctls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebca51d8da42e7e4882694bc3233bf0f8dbdf301

Git commit 6f563cd513bfcd35643ebc4f0d5c58f0193cc163 by Eric Anholt on 07/09/2003 at 23:27..
Fix for older -stable.
Obtained from: FreeBSD CVS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f563cd513bfcd35643ebc4f0d5c58f0193cc163

Git commit 4d6d3572029414419289fd512416effb9a9ad832 by Eric Anholt on 07/09/2003 at 23:56..
Correct format in debug printfs (free is a pointer, not an int).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d6d3572029414419289fd512416effb9a9ad832

Git commit 6fc41e25e5acbbfae4d2e93a0d9e6f980f8ae477 by Keith Whitwell on 09/09/2003 at 07:45..
Use spldrm/splx around tsleep() in DRM_WAIT_ON
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6fc41e25e5acbbfae4d2e93a0d9e6f980f8ae477

Git commit 85c16d962d8f6011b670d74d0669402ec4708f6f by Alan Hourihane on 12/09/2003 at 14:24..
resolve merge conflicts
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85c16d962d8f6011b670d74d0669402ec4708f6f

Git commit c5168016cc028f59b417df77f1f169bf06e40271 by Alan Hourihane on 12/09/2003 at 20:00..
linux drm fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5168016cc028f59b417df77f1f169bf06e40271

Git commit dc17c4cdc358213340947ec0e7e7f4caf7664232 by Alan Hourihane on 12/09/2003 at 20:03..
bsd drm fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc17c4cdc358213340947ec0e7e7f4caf7664232

Git commit decf9e2297d87d646a4259f5d70290f105a487cd by Alan Hourihane on 13/09/2003 at 00:25..
compatibility layer still uses agp (not gart)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/decf9e2297d87d646a4259f5d70290f105a487cd

Git commit b0a928557c91fec527f41ae8b2441174889bf32c by Alan Hourihane on 24/09/2003 at 14:39..
post merge fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0a928557c91fec527f41ae8b2441174889bf32c

Git commit a0a38f8bd68792206491a51e708d2d1bd2db8b26 by Eric Anholt on 25/09/2003 at 19:08..
Fix Kconfig for SiS DRM now that it doesn't require sisfb.
Submitted by: Linus Torvalds <torvalds at osdl.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0a38f8bd68792206491a51e708d2d1bd2db8b26

Git commit b0fab09c4df5075ebfae3637f39ef595a8a37066 by Eric Anholt on 25/09/2003 at 19:08..
Whitespace cleanup.
Submitted by: Linus Torvalds <torvalds at osdl.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0fab09c4df5075ebfae3637f39ef595a8a37066

Git commit 28aee7fb1c5b7a7e59aed8ed8e9dc1e3d4b88561 by Eric Anholt on 25/09/2003 at 23:04..
Whitespace cleanup (spaces before tabs or instead of tabs).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28aee7fb1c5b7a7e59aed8ed8e9dc1e3d4b88561

Git commit 5d4b13707666701506dcb86e7fc2dfe79ee056ea by Leif Delgass on 28/09/2003 at 21:27..
Fix typo in SiS help message (and testing cvs commit to
    dri.freedesktop.org)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d4b13707666701506dcb86e7fc2dfe79ee056ea

Git commit d04d1cf313be536dc69d4b807a6503aef1204c6d by Jose Fonseca on 30/09/2003 at 22:43..
file via_mm.h was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d04d1cf313be536dc69d4b807a6503aef1204c6d

Git commit 8d9d81680779ce40b96cdfbd83067b797876a981 by Jose Fonseca on 30/09/2003 at 22:43..
file via_mm.c was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d9d81680779ce40b96cdfbd83067b797876a981

Git commit 097d0a51e2c6e8bc1d77b46afe15b1068d6c9a94 by Jose Fonseca on 30/09/2003 at 22:43..
file via_map.c was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/097d0a51e2c6e8bc1d77b46afe15b1068d6c9a94

Git commit 53e11840a54b7b252d56cc8909846a24d53d2366 by Jose Fonseca on 30/09/2003 at 22:43..
file via_ds.h was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53e11840a54b7b252d56cc8909846a24d53d2366

Git commit 37ff4d7ddeff8dfd303b6dedd591f21e4962745e by Jose Fonseca on 30/09/2003 at 22:43..
file via_ds.c was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37ff4d7ddeff8dfd303b6dedd591f21e4962745e

Git commit 215a05721bc08eea804c6790a43666ceb297e5d8 by Jose Fonseca on 30/09/2003 at 22:43..
file via_drv.h was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/215a05721bc08eea804c6790a43666ceb297e5d8

Git commit 64828b7fe36f771e124d0a69e022c5d8177b4564 by Jose Fonseca on 30/09/2003 at 22:43..
file via_drv.c was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64828b7fe36f771e124d0a69e022c5d8177b4564

Git commit 87c04835df1ab427c003c5f3d716dbd12a5f4294 by Jose Fonseca on 30/09/2003 at 22:43..
file via.h was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87c04835df1ab427c003c5f3d716dbd12a5f4294

Git commit e5546d2f26db3eb15b2be1f33a0b07c7ca497337 by Jose Fonseca on 30/09/2003 at 22:43..
file via_drm.h was initially added on branch cle266-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5546d2f26db3eb15b2be1f33a0b07c7ca497337

Git commit 8fe6a0d6c9aae796cc1217794644b314a9960a43 by Eric Anholt on 02/10/2003 at 03:51..
MTRR issue with SMP and -stable seems to be resolved. Re-enable MTRRs on
    4.x
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fe6a0d6c9aae796cc1217794644b314a9960a43

Git commit 4a55e75e97e39256d5cdb561cf01ff7df73fe664 by Eric Anholt on 02/10/2003 at 04:07..
Allow the DRM to attach to a "drmsub" device. This will be provided by the
    i810 AGP module, working around the limitation of one driver per
    device.
Obtained from: i865-0-1-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a55e75e97e39256d5cdb561cf01ff7df73fe664

Git commit 4dee75ff58a50559cb8a92c276c0b952c2776154 by Eric Anholt on 02/10/2003 at 04:12..
Wrap sys/endian.h usage with __FreeBSD_version >= 480000.
Obtained from: i865-agp-0-1-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4dee75ff58a50559cb8a92c276c0b952c2776154

Git commit a6b84f73e18d88524a906a319c6c8e3c44bd7dea by Eric Anholt on 02/10/2003 at 04:48..
Mostly whitespace cleanups and style(9) fixes focused on "if(" -> "if ("
    Change some nearby memset()s to bzero()s or to calloc allocations to
    take advantage of M_ZERO). Reverse some error tests to reduce high
    levels of indentation. Move the sg_cleanup() call out of the maplist
    loop in DRM(takedown)-- I can't see any need for it to be inside.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6b84f73e18d88524a906a319c6c8e3c44bd7dea

Git commit 89dd7be3dd7f73d3bae54a01865e5605a707f823 by Eric Anholt on 02/10/2003 at 07:02..
Axe more old gamma DMA infrastructure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89dd7be3dd7f73d3bae54a01865e5605a707f823

Git commit e187d665e4ffee4990d096d8d3722630b2ba2d46 by Eric Anholt on 02/10/2003 at 20:52..
Add an MIT-style copyright, assigned to myself, to these files. I think
    I've touched enough of the code here, and there was no previous
    copyright. Do some drive-by style fixes while I'm here.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e187d665e4ffee4990d096d8d3722630b2ba2d46

Git commit 929536172cda4288857cdc29b272e61e02fd47bd by Eric Anholt on 03/10/2003 at 07:02..
Stylistic preparation for SMPng locking work: DRM_LOCK/DRM_UNLOCK have side
    effects, so make them look like functions (add parenthesis).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/929536172cda4288857cdc29b272e61e02fd47bd

Git commit 9fbfb7ca6a7da93fda0d086a712108e1b14c99d1 by Eric Anholt on 03/10/2003 at 08:08..
Some code cleanups done while working on locking. Reduces always-true
    tests, excessive indenation, convoluted handling of errors, or code
    duplication.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fbfb7ca6a7da93fda0d086a712108e1b14c99d1

Git commit a9e1a57d6d03f9fc52357db8af7ac2e7b8a488e4 by Eric Anholt on 16/10/2003 at 03:19..
Debug printf format fix.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9e1a57d6d03f9fc52357db8af7ac2e7b8a488e4

Git commit a64dab132375b4bf5d4e8aeecc1bf341879482fa by Eric Anholt on 16/10/2003 at 03:20..
Try that again. It's a long.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a64dab132375b4bf5d4e8aeecc1bf341879482fa

Git commit 355b204de0dbc01308bebc77c4c1c0a9a402cded by Michel Daenzer on 16/10/2003 at 14:18..
Introduce COMMIT_RING() as in radeon DRM, stop using error prone writeback
    for ring read pointer (Paul Mackerras)
Get rid of some superfluous stuff, minor fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/355b204de0dbc01308bebc77c4c1c0a9a402cded

Git commit ff58476011ba8fe72d65e884380d3d86710bfdd4 by Eric Anholt on 17/10/2003 at 03:14..
- Converted Linux drivers to initialize DRM instances based on PCI IDs, not
    just a single instance. Moved the PCI ID lists from <card>_drv.c in BSD
    to <card>.h. The PCI ID lists include a driver private field, which may
    be used by drivers for chip family or other information. Based on work
    by jonsmirl.
- Make tdfx_drv.c and tdfx.h match other drivers.
- Fixed up linking of sis shared files.
Tested with Radeon and SiS on Linux and FreeBSD, including a Linux setup
    with
2 SiS cards in a machine, but only one head being used (with DRI)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff58476011ba8fe72d65e884380d3d86710bfdd4

Git commit 2950f9e6823d43abae151966ae808d1a63e6659c by Eric Anholt on 17/10/2003 at 05:13..
- Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them
    from __HAVE_DMA. This will be useful for adding vblank sync support to
    sis and tdfx. Rename dma_service to irq_handler, which is more
    accurately what it is.
- Fix the #if _HAVE_DMA_IRQ in radeon, r128, mga, i810, i830, gamma to have
    the right number of underscores. This may have been a problem in the
    case that the server died without doing its DRM_IOCTL_CONTROL to
    uninit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2950f9e6823d43abae151966ae808d1a63e6659c

Git commit 63ce8af5550950b19db432230910e7a2424fa16f by Eric Anholt on 19/10/2003 at 20:06..
Fix probing on 2.5+ kernels, which require that drivers have .id_table set.
    We use PCI_ANY_ID to ask that our probe is called for every available
    device.
Submitted by: jonsmirl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63ce8af5550950b19db432230910e7a2424fa16f

Git commit 59fbe01fea8f77fc3810643c14a1738d197d4291 by Eric Anholt on 19/10/2003 at 22:29..
Clean up extra zeroing of dev->dma, and use calloc to take advantage of
    M_ZERO.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59fbe01fea8f77fc3810643c14a1738d197d4291

Git commit 0cf1887139eb1ce18d09f7be0567aa93d802040d by Eric Anholt on 19/10/2003 at 23:35..
- SMPng lock the DRM. This is only partial -- there are a few code paths
    used by root (the X Server) which are not locked. However, it should
    deal with lost-IRQ issues on -current which I think people have been
    experiencing but I am unable to reproduce (though I understand why they
    would occur, because of a bug of mine). Note that most of the locking
    (DRM_LOCK()/UNLOCK()) is all covered by Giant still, so it doesn't
    matter yet.
- Remove locking on FreeBSD-stable and NetBSD. These are covered by the
    fact that there is no reentrancy of the kernel except by interrupts,
    which are locked using spldrm()/splx() instead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cf1887139eb1ce18d09f7be0567aa93d802040d

Git commit 6b0424fdcdec9d12943718e4542659c8bca019da by Eric Anholt on 20/10/2003 at 00:55..
Clean up BSD MTRR handling. The NetBSD code is untested, but it's my best
    shot.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b0424fdcdec9d12943718e4542659c8bca019da

Git commit ea7b4fdc225ebbbfd77f875fd3bfcfbdcfa9a1f7 by Eric Anholt on 20/10/2003 at 05:09..
Fix the possibility of sleeping with locks held in sysctls by copying the
    data into temporary variables with the lock held then outputting to
    sysctls with the lock released. Rearranged a little extra code to aid
    this. Note that drm_memory_debug.h hasn't had this fix applied, but I
    consider that code to be just about dead anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea7b4fdc225ebbbfd77f875fd3bfcfbdcfa9a1f7

Git commit 4e6ddcbb698c029b407d5dc43348c6e422a36705 by Eric Anholt on 22/10/2003 at 21:50..
Fix warning about static DRM(bufs_info) defined but not used in the
    !__HAVE_DMA case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e6ddcbb698c029b407d5dc43348c6e422a36705

Git commit 86e6325e5ab848c15c422f20133445fe6c1caa09 by Eric Anholt on 22/10/2003 at 22:08..
- Add DRM_GET_PRIV_WITH_RETURN macro. This can be used in shared code to
    get the drm_file_t * based on the filp passed in ioctl handlers.
- Use this macro on BSD for simplification and improve its error reporting.
    Make failure to find the drm_file_t * print as an error, not debug.
    This failure may be part of the problem with KDE.
- Make debug and error print macros include the pid on BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86e6325e5ab848c15c422f20133445fe6c1caa09

Git commit 06cb132e86dc4a04044c3c76725ba3037008ab34 by Eric Anholt on 23/10/2003 at 02:23..
- Introduce a new ioctl, DRM_IOCTL_SET_VERSION. This ioctl allows the
    server or client to notify the DRM that it expects a certain version of
    the device dependent or device independent interface. If the major
    doesn't match or minor is too large, EINVAL is returned. A major of -1
    means that the requestor doesn't care about that portion of the
    interface. The ioctl returns the actual versions in the same struct.
- Introduce DRM DI interface version 1.1. If the server requests version
    1.1, then the DRM sets the unique itself according to the busid of the
    device it probed, which may then be accessed as normal using getunique.
- Request version 1.1 in libdrm's drmOpenByBusID, allowing the X Server to
    request based on a BusID. Introduce a wrapper for DRM_IOCTL_SET_VERSION
    and bump libdrm minor version.
- Pass the busid in DRIScreenInit if libdrm can handle both a busid and
    name. This allows drmOpenByBusID to be used to find the DRM instead of
    just the driver name, which allows us in the future to tie a DRM more
    strongly to the device it probed to. Introduce a function
    DRICreatePCIBusID which creates a busid in the form pci:oooo:bb:dd.f
    similar to linux's pci_name() function. This matches the format used by
    the DRM in version 1.1. libdrm knows how to match both this format and
    the old PCI:b:d:f format.
- Use the new DRICreatePCIBusID function in the *_dri.c to request the new,
    more exact busid format.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06cb132e86dc4a04044c3c76725ba3037008ab34

Git commit 92429f6ebea629e8884eb53cb0c64aad555a4d76 by Eric Anholt on 23/10/2003 at 05:51..
The SiS300 pci id also covers the 305, so make the name reflect that.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92429f6ebea629e8884eb53cb0c64aad555a4d76

Git commit 69d038eb4989772b9b21736c821dd5abe8232260 by Eric Anholt on 23/10/2003 at 05:52..
Missed the sis.h header in Makefile.linux in the move to shared/.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69d038eb4989772b9b21736c821dd5abe8232260

Git commit b79d1b341f876c982c1cde02e8aff6c675688b49 by Eric Anholt on 23/10/2003 at 05:56..
Move to "old-style" probing as documented in linux/Documentation/pci.txt.
    This should resolve the probe problems with radeon framebuffer due to
    pci_driver attachment being exclusive.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b79d1b341f876c982c1cde02e8aff6c675688b49

Git commit 451a1d3f69a8d19c24382ef2b483517e9ef2c9f6 by Eric Anholt on 24/10/2003 at 00:59..
Move the REALLY_HAVE_AGP endif above the mtrr functions. Broke tdfx module.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/451a1d3f69a8d19c24382ef2b483517e9ef2c9f6

Git commit e4a2a9c04024972f21cdf0620f6faa6de157686d by Jon Smirl on 24/10/2003 at 17:40..
Switch pci enumeration call to work on both 2.4 and 2.6 pci_for_each_dev is
    not supported on 2.6
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4a2a9c04024972f21cdf0620f6faa6de157686d

Git commit 2423fedcc8d57d02ccf7aa1209a4b31f248792a7 by Eric Anholt on 24/10/2003 at 21:49..
Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL)
    in bufs_info sysctl handler. dev->dma and dev->dma_lock existence are
    protected by DRM_LOCK(). Fixes panic on sysctl hw.dri when the device
    is uninitialied (when you aren't in X).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2423fedcc8d57d02ccf7aa1209a4b31f248792a7

Git commit 3f7279cb8ec1d4e65028df955ae17b8081940b4f by Eric Anholt on 27/10/2003 at 22:05..
Add a DRM_PUT_USER_UNCHECKED, which will be used by an upcoming radeon
    change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f7279cb8ec1d4e65028df955ae17b8081940b4f

Git commit 84dfe702e27e0ef22801f8fe366120bea90adf4f by Eric Anholt on 03/11/2003 at 05:11..
Add i852/i855 PCI ID. Also fix whitespace in the other ID definitions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84dfe702e27e0ef22801f8fe366120bea90adf4f

Git commit 2655ccddf4c026f37dcc76754cdfde6f0a4a4c86 by Michel Daenzer on 04/11/2003 at 00:46..
Memory layout transition:
the 2D driver initializes MC_FB_LOCATION and related registers sanely
the DRM deduces the layout from these registers
clients use the new SETPARAM ioctl to tell the DRM where they think the
    framebuffer is located in the card's address space
the DRM uses all this information to check client state and fix it up if
    necessary
This is a prerequisite for things like direct rendering with IGP chips and
    video capturing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2655ccddf4c026f37dcc76754cdfde6f0a4a4c86

Git commit 27f9c5f01659bb643db00ffb17c140ae3bd99df8 by Michel Daenzer on 04/11/2003 at 00:59..
build fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27f9c5f01659bb643db00ffb17c140ae3bd99df8

Git commit e5cad7fced023e9ad6395147d6fff7ba28f11d17 by Eric Anholt on 05/11/2003 at 00:49..
Remove buf_alloc which is unused since the locking commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5cad7fced023e9ad6395147d6fff7ba28f11d17

Git commit 5864101ab4400aad6ca936bc94000a4607851bb3 by Eric Anholt on 05/11/2003 at 01:43..
Repo-copy linux/drm/kernel/drm.h to shared/drm/kernel/drm.h and use it on
    both Linux and *BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5864101ab4400aad6ca936bc94000a4607851bb3

Git commit e8f5b01a4087fac1e44f9f34894dc20a1cbf1e49 by Eric Anholt on 05/11/2003 at 02:08..
__linux__ is spelled with a lowercase 'l'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8f5b01a4087fac1e44f9f34894dc20a1cbf1e49

Git commit 8feb046d8c3c9d531e25c3f854b94593f0a1964b by Eric Anholt on 05/11/2003 at 02:41..
Args for the BSD DRM_PUT_USER_UNCHECKED were swapped.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8feb046d8c3c9d531e25c3f854b94593f0a1964b

Git commit 19ee64add26773f4436440f8fa405a1011eea4c4 by Eric Anholt on 05/11/2003 at 02:42..
Use int64_t instead of s64 -- fixes FreeBSD compile, works on linux.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19ee64add26773f4436440f8fa405a1011eea4c4

Git commit 66c9e3053f857df340a982edaa8ea57b229efeed by Eric Anholt on 05/11/2003 at 08:13..
- Tie the DRM to a specific device: setunique no longer succeeds when given
    a busid that doesn't correspond to the device the DRM is attached to.
    This is a breaking of backwards-compatibility only for the
    multiple-DRI-head case with X Servers that don't use interface 1.1.
- Move irq_busid to drm_irq.h and make it only return the IRQ for the
    current device. Retains compatibility with previous X Servers, cleans
    up unnecessary code. This means no irq_busid on !__HAVE_IRQ, but can be
    changed if necessary.
- Bump interface version to 1.2. This version when set signifies that the
    control ioctl should ignore the irq number passed in and enable the
    interrupt handler for the attached device. Otherwise it errors out when
    the passed-in irq is not equal to the device's.
- Store the highest version the interface has been set to in the device.
- Fix a recursion on DRM_LOCK in irq_uninstall on FreeBSD. This leaves
    irq_uninstall being done without the lock in some cases, but it was
    racey anyways.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66c9e3053f857df340a982edaa8ea57b229efeed

Git commit a41a479f74f3fadf1539d1adaefb933ba9a6112c by Alan Hourihane on 05/11/2003 at 20:47..
Changes to DRM(irq_install)...... wrap dev->dma usage with __HAVE_DMA in
    irq handler, fixes kernel ooops. comment out some setting of flags that
    are done in DRM(setup) (not sure why both of the above is done in the
    irq handler)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a41a479f74f3fadf1539d1adaefb933ba9a6112c

Git commit 2c1172a31794e20f7ba1a2ab234d4dab2f84005b by Eric Anholt on 06/11/2003 at 04:35..
Remove unused variable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c1172a31794e20f7ba1a2ab234d4dab2f84005b

Git commit 1f7598245af7e73b34130a44fbaac230e29d7aad by Eric Anholt on 06/11/2003 at 04:48..
Return EBUSY when attempting to addmap a DRM_SHM area with a lock in it if
    dev->lock.hw_lock is already set. This fixes the case of two X Servers
    running on the same head on different VTs with interface 1.1, by making
    the 2nd head fail to inizialize like before.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f7598245af7e73b34130a44fbaac230e29d7aad

Git commit 6e56c39371a551af1e05e53231162e0fc42c6ce0 by Eric Anholt on 12/11/2003 at 20:30..
Fix a locking nit, and add asserts in some things that should be called
    with locks held.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e56c39371a551af1e05e53231162e0fc42c6ce0

Git commit 64006ef86b329183599b06da7705bb0b294a1c1a by Keith Whitwell on 08/12/2003 at 16:33..
Add i865 pci id
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64006ef86b329183599b06da7705bb0b294a1c1a

Git commit 5285b029876a4d3122ae72cc3d81ca8d184ed9ca by Eric Anholt on 16/12/2003 at 07:39..
Add a collection of Radeon and R128 PCI IDs, including the IGP chipsets.
Submitted by: Donnie Berkholz <spyderous at gentoo.org> (mostly)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5285b029876a4d3122ae72cc3d81ca8d184ed9ca

Git commit 9fb6986e83a84f6b958e8aba2c20b5988676bd55 by Eric Anholt on 16/12/2003 at 08:57..
Don't ioremap the framebuffer area. The ioremapped area wasn't used by
    anything, and took up valuable KVA. While I'm in the area, clean up BSD
    MTRR stuff some more.
Suggested by: jonsmirl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fb6986e83a84f6b958e8aba2c20b5988676bd55

Git commit fb7b802ddaa1440fdba829eff5373c7d9425f582 by Eric Anholt on 06/01/2004 at 04:54..
Fix some misuse of NULL where 0 is intended.
Obtained from: FreeBSD CVS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb7b802ddaa1440fdba829eff5373c7d9425f582

Git commit 7b62ed9aed8794e9efe0059dbf37bc41dc691323 by Michel Daenzer on 10/01/2004 at 12:28..
R200_PP_CUBIC_OFFSET_F1_[0-6] state packets only contain 5 offsets, not 6
    (thanks to Andreas Stenglein for spotting this)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b62ed9aed8794e9efe0059dbf37bc41dc691323

Git commit 0dea4de28873252221d40e3597997f6d0141171d by Michel Daenzer on 10/01/2004 at 20:59..
Make sure that all state packets are handled in
    radeon_check_and_fixup_packets()
Fix state packet IDs of R200 cubic offsets
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dea4de28873252221d40e3597997f6d0141171d

Git commit 2b9c12ef83b8de5acba782918212f7fa250c9e45 by Michel Daenzer on 11/01/2004 at 00:14..
Adapt to nopage() prototype change in Linux 2.6.1.
Reviewed by: Arjan van de Ven <arjanv at redhat.com>, additional feedback from
    William Lee Irwin III and Linus Torvalds.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b9c12ef83b8de5acba782918212f7fa250c9e45

Git commit 213247a4416b959738a658f2217d4d01ae9c1e67 by Michel Daenzer on 18/02/2004 at 20:56..
Fix sisfb header location for 2.6 kernels
Submitted by: Andrew Morton
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/213247a4416b959738a658f2217d4d01ae9c1e67

Git commit 82157579b586c8f1e147250e09f0837214019680 by Keith Whitwell on 20/02/2004 at 22:55..
drm_ctx_dtor.patch Submitted by: Erdi Chen
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82157579b586c8f1e147250e09f0837214019680

Git commit d0031f22cfecc2cce512aae66bedc9fe337f5d97 by Felix Kuehling on 21/02/2004 at 19:54..
Conditionally add definition of list_for_each_entry_safe for kernel
    versions that don't have it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0031f22cfecc2cce512aae66bedc9fe337f5d97

Git commit 3dea36d8437726fd57cc006e351ed8982b091d76 by Felix Kuehling on 22/02/2004 at 16:20..
Merged the Savage DRM driver from the savage-2-0-0-branch into the trunk.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dea36d8437726fd57cc006e351ed8982b091d76

Git commit ce21dca4aaecac73490f26491b8f06a74d0ee0f5 by Felix Kuehling on 24/02/2004 at 14:24..
Use DO_MUNMAP_4_ARGS macro defined in Makefile.linux (Steve Holland).
    Silence a warning about a format-argument mismatch in printk.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce21dca4aaecac73490f26491b8f06a74d0ee0f5

Git commit b61f07def349644ec8077cb12b303d444e223c1b by Michel Daenzer on 28/02/2004 at 11:52..
More differentiated error codes for DRM(agp_acquire)
Obtained from: Linux kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b61f07def349644ec8077cb12b303d444e223c1b

Git commit f47ed991432672b7353e73b9d3194f255b957bee by Michel Daenzer on 28/02/2004 at 14:29..
Remove extraneous code accidentally added with revision 1.86
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f47ed991432672b7353e73b9d3194f255b957bee

Git commit 24115068e465cf0d788d870a3c1c24bb68a9cb14 by Jon Smirl on 12/03/2004 at 21:22..
Fixes need to clean up the mess I made with the mesa merge. This code
    allows the mesa drivers to use a single definition of the DRM
    sarea/IOCTLS located in the drm driver directory. Adjustments were made
    to the 2D drivers to not include these changes. Changes to the mesa
    copy of DRM were copied to the DRI copy. XFree86 bug: Reported by:
    Submitted by: Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24115068e465cf0d788d870a3c1c24bb68a9cb14

Git commit 0b6f155dbdfe661142307a72aa07a52bde6ec08f by Jon Smirl on 16/03/2004 at 00:52..
Add a missing ifdef CTX to get rid of the waring in the gamma driver build.
    XFree86 bug: Reported by: Submitted by: Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b6f155dbdfe661142307a72aa07a52bde6ec08f

Git commit 537ac1a39e16c2fe1d1ac513666a4f95798b3c08 by Jon Smirl on 16/03/2004 at 00:59..
Makefile the makefile really clean everything XFree86 bug: Reported by:
    Submitted by: Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/537ac1a39e16c2fe1d1ac513666a4f95798b3c08

Git commit ab66cbc1c5403129b2510208e02146bb062d7b76 by Jon Smirl on 17/03/2004 at 01:03..
Adjust shared path in makefile XFree86 bug: Reported by: Submitted by:
    Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab66cbc1c5403129b2510208e02146bb062d7b76

Git commit dfc71cbd42fe4b4b445bd16087c05e525c38f509 by Dave Airlie on 23/03/2004 at 11:06..
initial shell script to create linux kernel drm from the DRI one
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfc71cbd42fe4b4b445bd16087c05e525c38f509

Git commit 681da75af9837fd433d4773c86df52de1c8dba60 by Dave Airlie on 23/03/2004 at 11:17..
make sure in DRM toplevel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/681da75af9837fd433d4773c86df52de1c8dba60

Git commit 6cd8831f7accbcc3efb019d7d288c5b6cc28a230 by Thomas Hellstrom on 23/03/2004 at 21:08..
Merged via-1-2-0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6cd8831f7accbcc3efb019d7d288c5b6cc28a230

Git commit 89d67d90873d1baff48fbd671d5b3a4cb354ada5 by Thomas Hellstrom on 23/03/2004 at 21:14..
Merged via-1-2-0: Altered Makefiles in drm/linux
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89d67d90873d1baff48fbd671d5b3a4cb354ada5

Git commit b15deb239213d28f28a50abe44204836f64d7aed by Thomas Hellstrom on 24/03/2004 at 10:07..
Modified linux/Kconfig to include the via drm driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b15deb239213d28f28a50abe44204836f64d7aed

Git commit 1da595d797f797ff071d98ebf6a4eaad38bb1347 by Thomas Hellstrom on 24/03/2004 at 23:22..
Exported symbols cause compilation failure of via_mm.c on 2.4 kernels.
    Added via_mm.o to export-objs:
Reported by: HMX, Via Arena Forum
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1da595d797f797ff071d98ebf6a4eaad38bb1347

Git commit 9b7bf9127e94e0c57a760aacef15db0ae3d6f1b3 by Thomas Hellstrom on 26/03/2004 at 13:42..
Added via driver to drm/linux/Config.in Reported by: Terry Barnaby
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b7bf9127e94e0c57a760aacef15db0ae3d6f1b3

Git commit 20163c2b10f5a1d9c8647f5592ac11e4e9867dfc by Dave Airlie on 26/03/2004 at 15:52..
copy correct Makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20163c2b10f5a1d9c8647f5592ac11e4e9867dfc

Git commit 994fa063cd3ad2f55ea26beef7e31403c68ae78a by Thomas Hellstrom on 31/03/2004 at 22:05..
VIA module fixes:
1. Fixed up PCI-id's.
2. Fixed 2.6 warning in kernel Makefile.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/994fa063cd3ad2f55ea26beef7e31403c68ae78a

Git commit ee2889ec0d2f8b6138f916df3c3d8b7e208cc1f7 by Dave Airlie on 08/04/2004 at 11:26..
patch from lk
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee2889ec0d2f8b6138f916df3c3d8b7e208cc1f7

Git commit bc1428035ceb5300df429d09a64a20a2a7e903b2 by Dave Airlie on 08/04/2004 at 12:05..
fixes from Linux kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc1428035ceb5300df429d09a64a20a2a7e903b2

Git commit 1bc7576474a85b649e2f3291d72890363e6d1483 by Dave Airlie on 08/04/2004 at 12:09..
patch from Linux kernel 2.6.5
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bc7576474a85b649e2f3291d72890363e6d1483

Git commit 3e0f3c1fbb9b10bcc8e037f79f25d5e491dcfd91 by Dave Airlie on 08/04/2004 at 12:20..
more 2.4 compat fns
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e0f3c1fbb9b10bcc8e037f79f25d5e491dcfd91

Git commit 9cff4b45e77c9259a4161ddb55564336f8b99361 by Dave Airlie on 08/04/2004 at 12:22..
2.6 patches for larger dev_t
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9cff4b45e77c9259a4161ddb55564336f8b99361

Git commit c3e2685e822f70976fa57db2955cdd98dc5730f4 by Dave Airlie on 08/04/2004 at 12:25..
long dev_t patches from 2.6 tree
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3e2685e822f70976fa57db2955cdd98dc5730f4

Git commit 13724f032e127fbaf6d47bb2b6ba8933df23ffe8 by Dave Airlie on 08/04/2004 at 13:11..
2.6 sysfs patches + stubs in drmP.h for 2.4 compatibility
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13724f032e127fbaf6d47bb2b6ba8933df23ffe8

Git commit c47597b484866deb7698eb5575348ecd83088314 by Dave Airlie on 08/04/2004 at 14:15..
big whitespace .. this aligns all the whitespace in this file with the bk
    checkout linux tree
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c47597b484866deb7698eb5575348ecd83088314

Git commit ce601f364723ad361706be59fb7e09d9f6ca444a by Alan Hourihane on 08/04/2004 at 23:19..
disable PCI DMA ioctls as they are not used currently until SAVAGE_CMD_DMA
    is made to work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce601f364723ad361706be59fb7e09d9f6ca444a

Git commit 596cf634ae9be821c90688f982ae84b6145696c9 by Alan Hourihane on 08/04/2004 at 23:22..
fix build problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/596cf634ae9be821c90688f982ae84b6145696c9

Git commit f673c9280c2691063534062fb9fdea74ad85b18a by Alan Hourihane on 09/04/2004 at 00:21..
remove Imakefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f673c9280c2691063534062fb9fdea74ad85b18a

Git commit fd473357980b9ba40bef089aadb78136faaa2008 by Dave Airlie on 10/04/2004 at 07:36..
update from linux kernel for ia64
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd473357980b9ba40bef089aadb78136faaa2008

Git commit 6aad146173e2442eb0dbb10d02ddcd8a62808937 by Dave Airlie on 10/04/2004 at 07:39..
remove unused code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6aad146173e2442eb0dbb10d02ddcd8a62808937

Git commit 23ec8875fce631e4554a72161937dca735c2d675 by Dave Airlie on 10/04/2004 at 07:41..
align code with Linux kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23ec8875fce631e4554a72161937dca735c2d675

Git commit e375a3dc10eb8945e05577df8b40072dfffaba81 by Dave Airlie on 10/04/2004 at 08:15..
patch from Andrew Morton tree from Arjan van de Ven fixes some oopses seen
    with 4G/4G split
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e375a3dc10eb8945e05577df8b40072dfffaba81

Git commit 2b0292c73995a4892812fe632abdaf46c49279e0 by Dave Airlie on 10/04/2004 at 12:58..
update gamma_dma with patch from davej in 2.6
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b0292c73995a4892812fe632abdaf46c49279e0

Git commit 7e0f883501ad11d16762763a555a9502f76ffba3 by Dave Airlie on 10/04/2004 at 13:25..
include highmem.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e0f883501ad11d16762763a555a9502f76ffba3

Git commit 3306abbde7565596528e863d2cf906a4a49f3271 by Dave Airlie on 10/04/2004 at 13:52..
white space changes to align with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3306abbde7565596528e863d2cf906a4a49f3271

Git commit 7e39628577d7478644c51bba2ef1d5e2e029bbbb by Michel Daenzer on 10/04/2004 at 16:20..
Have CVS ignore some files produced by the build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e39628577d7478644c51bba2ef1d5e2e029bbbb

Git commit 873e1c4d38c78e8b4a5df42d983f285cfb3ae4cc by Dave Airlie on 12/04/2004 at 05:27..
Add mach64 to the trunk
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/873e1c4d38c78e8b4a5df42d983f285cfb3ae4cc

Git commit 6fa5c5d958688fba801bc08e75345edd51bf27c7 by Dave Airlie on 12/04/2004 at 05:44..
more files for mach64
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6fa5c5d958688fba801bc08e75345edd51bf27c7

Git commit 6f6d2a553a776068a53332e409fa19e83f6be964 by Thomas Hellstrom on 12/04/2004 at 10:18..
1. Added a PCI ID.
2. Big change to the XvMC part of the SAREA. OpenGL clients will not suffer
    from this, and via XvMC is still alpha. Needed to make future additions
    to XvMC (More decoders and overlays) possible.
3. Bumped version number to 1.3.0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f6d2a553a776068a53332e409fa19e83f6be964

Git commit 0f32a8852712e405f64c5917bcebefc441aa1ba3 by Michel Daenzer on 18/04/2004 at 22:59..
Move Makefile.linux to Makefile.
Get rid of Makefile juggling hacks which are no longer necessary.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f32a8852712e405f64c5917bcebefc441aa1ba3

Git commit 93bd67ef62e95a32f8b7e2fd7d9dadee52664160 by Dave Airlie on 21/04/2004 at 12:13..
centralise pci ids into one place and use scripts to generate files for
    kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93bd67ef62e95a32f8b7e2fd7d9dadee52664160

Git commit 2d9bbba0e10642a149297498c4e03fc43bac1280 by Dave Airlie on 21/04/2004 at 12:18..
bug from Linux kernel list caught by checker
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d9bbba0e10642a149297498c4e03fc43bac1280

Git commit 0edc2abf8414f6fa414aa4071f4fa9ccbee186a7 by Dave Airlie on 21/04/2004 at 23:45..
add new files to generate pci ids
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0edc2abf8414f6fa414aa4071f4fa9ccbee186a7

Git commit 87812e82f45d5ca81fd0603d6bd54854831c9174 by Dave Airlie on 22/04/2004 at 11:31..
add sparc ffb files from kernel just to keep things in sync
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87812e82f45d5ca81fd0603d6bd54854831c9174

Git commit d40443534c3cab2ea1435556c85ef38503eb63ac by Dave Airlie on 22/04/2004 at 12:41..
Add __user annotations from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d40443534c3cab2ea1435556c85ef38503eb63ac

Git commit 06332524b5c023db2a6952c25c5bc8a905b093cb by Dave Airlie on 26/04/2004 at 06:43..
add another tdfx
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06332524b5c023db2a6952c25c5bc8a905b093cb

Git commit a3612f450be04ca73e5acb3afc4eff65194612df by Dave Airlie on 02/05/2004 at 12:27..
better device class support from Jon Smirls patches..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3612f450be04ca73e5acb3afc4eff65194612df

Git commit a9d2438999b79419772a00d0deb1caab30334765 by Dave Airlie on 02/05/2004 at 13:03..
fix 2.4 build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9d2438999b79419772a00d0deb1caab30334765

Git commit 0b481856dd30fce905759e470b0abff4e186782e by Dave Airlie on 03/05/2004 at 00:06..
use drm.. not dri for class...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b481856dd30fce905759e470b0abff4e186782e

Git commit d7e777b696e55def668834d4fcfff94b1a89cc54 by Dave Airlie on 09/05/2004 at 06:36..
make drm pciids
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7e777b696e55def668834d4fcfff94b1a89cc54

Git commit a2f7a9fa5f7a5dacbc9e04d132f26dd70201fb45 by Dave Airlie on 09/05/2004 at 06:45..
Commit sysfs and drm PCI changes for 2.6 kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2f7a9fa5f7a5dacbc9e04d132f26dd70201fb45

Git commit 29f2b1c1cfc13ffc3176d049eb7f235604c70cb1 by Eric Anholt on 09/05/2004 at 21:56..
drm_hw_lock_t is now defined in drm.h, remove from here.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29f2b1c1cfc13ffc3176d049eb7f235604c70cb1

Git commit b9dcb5b18713e6fe12130f780535d1b56b8b89cf by Eric Anholt on 09/05/2004 at 21:57..
No /bin/bash on BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9dcb5b18713e6fe12130f780535d1b56b8b89cf

Git commit 7bfce0c357360ef3035b6782d48d93a2ad40bd22 by Eric Anholt on 09/05/2004 at 21:59..
Remove after repocopy to Makefile, now that we don't have to worry about
    conflicting with imake's output.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bfce0c357360ef3035b6782d48d93a2ad40bd22

Git commit c093a03d47a50c5f178caff6dd20f7c03cddeb40 by Eric Anholt on 09/05/2004 at 22:07..
Catch up with sis's DRM tag change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c093a03d47a50c5f178caff6dd20f7c03cddeb40

Git commit d477cc007cacbf95d7db295f579e23fafb423f02 by Eric Anholt on 09/05/2004 at 22:14..
- Link in shared files as necessary and clean them up.
- Generate drm_pciids.h automatically.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d477cc007cacbf95d7db295f579e23fafb423f02

Git commit 51ed2f593703164b7bb7f9d0522f273f3f628c03 by Eric Anholt on 09/05/2004 at 22:16..
Warning fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51ed2f593703164b7bb7f9d0522f273f3f628c03

Git commit dfdf8e14d3f8e4ceb0cad396efc8b4ecb587d5f6 by Eric Anholt on 09/05/2004 at 22:29..
Add .cvsignore files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfdf8e14d3f8e4ceb0cad396efc8b4ecb587d5f6

Git commit c47b611b08327da4a5249d222079be07c26fb2ff by Eric Anholt on 09/05/2004 at 22:36..
Add mach64 DRM module for BSD (untested, but compiles).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c47b611b08327da4a5249d222079be07c26fb2ff

Git commit a1160ba2793b6c17a8aeb31b0d4cc17f3439cf9a by Dave Airlie on 10/05/2004 at 11:16..
do some real testing and fix the DRM initialising and unloading
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1160ba2793b6c17a8aeb31b0d4cc17f3439cf9a

Git commit 485b259b4492ed6b7abdf063d1d5cefe01d3a3b0 by Eric Anholt on 11/05/2004 at 04:23..
Add missing DRM_ERR()s.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/485b259b4492ed6b7abdf063d1d5cefe01d3a3b0

Git commit 853adb8be338de113301d7db3c10058476f3bff7 by Eric Anholt on 11/05/2004 at 04:43..
Merge from FreeBSD-current. Mostly 64-bit cleanliness fixes, but a few
    driver interface changes from -current.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/853adb8be338de113301d7db3c10058476f3bff7

Git commit 13894755a74454187f2c84f553b5b9d4a83fb7e3 by Erdi Chen on 14/05/2004 at 23:54..
Add PCI id entry for VIA CN400 (UnichromePro) chip. XFree86 bug: Reported
    by: Submitted by: Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13894755a74454187f2c84f553b5b9d4a83fb7e3

Git commit df6c37fc88c659691230d1f589aff93e69e6c63e by Dave Airlie on 18/05/2004 at 09:42..
2.4 compat fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df6c37fc88c659691230d1f589aff93e69e6c63e

Git commit 8350382cb1a5aba150c411be3b662dfe444cb84a by Dave Airlie on 18/05/2004 at 09:46..
another 2.4 fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8350382cb1a5aba150c411be3b662dfe444cb84a

Git commit aa142ff1b5ac1488221830bb9b512c2d22f6675f by Roland Scheidegger on 18/05/2004 at 23:03..
add R200_EMIT_RB3D_BLENDCOLOR state packet to support GL_EXT_blend_color,
    GL_EXT_blend_func_separate and GL_EXT_blend_equation_separate on r200
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa142ff1b5ac1488221830bb9b512c2d22f6675f

Git commit 43c244ebbad842d0ebf3756376bfc6ab1fd11b9f by Roland Scheidegger on 18/05/2004 at 23:30..
fix whitespace issue in previous patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43c244ebbad842d0ebf3756376bfc6ab1fd11b9f

Git commit 412f9909c6127db1ab03716f74cc51c4ac3a603e by Dave Airlie on 30/05/2004 at 23:34..
fixes from kernel: Make users of page->count use the provided macros
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/412f9909c6127db1ab03716f74cc51c4ac3a603e

Git commit 024fd4b15022236fe3f79eba23fec5d6177d0cb4 by Dave Airlie on 30/05/2004 at 23:38..
2.4 compat
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/024fd4b15022236fe3f79eba23fec5d6177d0cb4

Git commit f994b1f31bb64f0fb56a778c350b6ff05c93501f by Ian Romanick on 01/06/2004 at 16:17..
Replace size_t with an ugly, ugly hack. This was done so that code in the
    core X-server would compile. Hopefully, this will soon be replaced with
    explicitly sized types (i.e., uint32_t) and everyone will be happy.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f994b1f31bb64f0fb56a778c350b6ff05c93501f

Git commit 52e3a8a5d9ac8e91eb66872a008d1f7d5d67a326 by Ian Romanick on 02/06/2004 at 17:41..
Added some comments copied from xf86drm.h.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52e3a8a5d9ac8e91eb66872a008d1f7d5d67a326

Git commit cfa5bf31290edad723e1ce388d3840f495f3ccff by Dave Airlie on 07/06/2004 at 01:42..
The dev->devname being passed to request_irq in drm_irq.h is null. With the
    old DRM interface, the devname was set in DRM(setunique), but with the
    current DRM interface >=1.1 the devname is not being set in
    DRM(set_busid).
From: Alan Swanson Approved-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfa5bf31290edad723e1ce388d3840f495f3ccff

Git commit 78d0fd6526bb725151d8dce86006af7616ee4758 by Dave Airlie on 10/06/2004 at 09:43..
gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
    and/or d->send_sizes. When these functions are called from gamma_dma,
    these pointers are user pointers and are thus not safe to deref. This
    patch copies over the pointers inside gamma_dma_priority and
    gamma_dma_send_buffers.
Submitted-by: Robert T. Johnson <rtjohnso at eecs.berkeley.edu> Signed-off-by:
    Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78d0fd6526bb725151d8dce86006af7616ee4758

Git commit 291ffeae9a2b95cf35835ddd0f25e434e4c26f44 by Keith Whitwell on 10/06/2004 at 12:45..
i915.o drm driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/291ffeae9a2b95cf35835ddd0f25e434e4c26f44

Git commit 0faa00ae648647b93202b1726864787e383a2ede by Keith Whitwell on 10/06/2004 at 12:47..
i915 drm module
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0faa00ae648647b93202b1726864787e383a2ede

Git commit 373d67702c1fd6c6258ce03d3fb4fc167ff947cb by Keith Whitwell on 10/06/2004 at 12:48..
A few changes for recent redhat.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/373d67702c1fd6c6258ce03d3fb4fc167ff947cb

Git commit 1ee210e3b5b2d0b9101e371ec1401cdc34b2f25d by Dave Airlie on 12/06/2004 at 02:30..
dirty hack to make mach64 work, (don't worry I'll get around to fixing it
    asap..)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ee210e3b5b2d0b9101e371ec1401cdc34b2f25d

Git commit 87832bc81a56ad8abb135628ac906ba9aa4a155b by Dave Airlie on 21/06/2004 at 11:46..
fix bug with pci_disable_device in the wrong place (Paul Mackerras) remove
    hack code from me..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87832bc81a56ad8abb135628ac906ba9aa4a155b

Git commit 4cfd0d5ceed49f834a09b22756c100b77bcfa327 by Dave Airlie on 05/07/2004 at 11:44..
whitespace align with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4cfd0d5ceed49f834a09b22756c100b77bcfa327

Git commit 3c9fb37e655f5556c9c002535f1a85c4f248fb2c by Dave Airlie on 05/07/2004 at 11:56..
fixes from kernel for 0 vs NULL - mika
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c9fb37e655f5556c9c002535f1a85c4f248fb2c

Git commit f3527e9256ab6494e3bffebfa29d870891266c4c by Dave Airlie on 05/07/2004 at 12:10..
align with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3527e9256ab6494e3bffebfa29d870891266c4c

Git commit 694291fbd39e0e6ad9a9698794485003648c7fd0 by Eric Anholt on 06/07/2004 at 00:23..
MFC as of 20040705: dev_t -> struct cdev * change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/694291fbd39e0e6ad9a9698794485003648c7fd0

Git commit eaccc05b267670a0934675064e37bbd590e1028e by Eric Anholt on 06/07/2004 at 00:25..
Fix module loading on alpha by not referencing MTRR symbols on
    !__REALLY_HAVE_MTRR.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eaccc05b267670a0934675064e37bbd590e1028e

Git commit deed1eca099eab19f48e40a5b0e7c15c2304b3d4 by Jon Smirl on 07/07/2004 at 04:22..
Add xf86drm.h back to drm/libdrm until it's true home can be found.
    mesa-solo needs this file to build. XFree86 bug: Reported by: Submitted
    by: Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/deed1eca099eab19f48e40a5b0e7c15c2304b3d4

Git commit 8696e71db2d79eb318c00abde625d7b61d6800a1 by Jon Smirl on 07/07/2004 at 04:36..
Make drm/libdrm/xf86drm.c match
    xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c so
    that it matches the prototypes in xf86drm.h XFree86 bug: Reported by:
    Submitted by: Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8696e71db2d79eb318c00abde625d7b61d6800a1

Git commit 6e4bf5ead5a342426020a1d48d93b8deae2a9e73 by Jon Smirl on 08/07/2004 at 20:18..
Add two items to Makefile clean XFree86 bug: Reported by: Submitted by:
    Reviewed by: Obtained from:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e4bf5ead5a342426020a1d48d93b8deae2a9e73

Git commit f9e2fe84700c155a744d7ae3db4ebe12d5db9b10 by Dave Airlie on 11/07/2004 at 09:58..
fix issue in 2.4 kernels with returning NULL from this function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9e2fe84700c155a744d7ae3db4ebe12d5db9b10

Git commit 6c16cbd40469d2690b293ef854de7a1f7246b998 by Dave Airlie on 11/07/2004 at 10:17..
split out backwards compat into a separate file makes it easier for merging
    to 2.6
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c16cbd40469d2690b293ef854de7a1f7246b998

Git commit e86fc9f47f05f47375d5a306fe979012e3b7e8e4 by Dave Airlie on 14/07/2004 at 12:14..
allow O= usage for Linux 2.6 kernel building in another directory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e86fc9f47f05f47375d5a306fe979012e3b7e8e4

Git commit bb5112b616080033ab9f09092098527f2aa09b70 by Dave Airlie on 14/07/2004 at 12:34..
Fix reference counting for stub for new Linux PCI probe
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb5112b616080033ab9f09092098527f2aa09b70

Git commit 8efddd01e8a2254b4ed00dff0d55827b6f2b35ce by Dave Airlie on 15/07/2004 at 13:03..
sparse cleanups from kernel: Al Viro
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8efddd01e8a2254b4ed00dff0d55827b6f2b35ce

Git commit 7ee263b94f77cadab659207344c82d5528d498cb by Dave Airlie on 20/07/2004 at 10:59..
attempt to clean up stub_register, register_chrdev isn't good enough to
    make the decision for multiple cards with one drm ..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ee263b94f77cadab659207344c82d5528d498cb

Git commit fdb6ae31cb721a928d058d7419444f55eb60a542 by Dave Airlie on 20/07/2004 at 11:22..
fix some more NULLs from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdb6ae31cb721a928d058d7419444f55eb60a542

Git commit b20b00d4bc49534ba6e3695fb05cfc240bd3f0af by Dave Airlie on 20/07/2004 at 11:26..
add x86_64 architecture defines from kernel (leave AMD64 defines in for
    backwards compat)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b20b00d4bc49534ba6e3695fb05cfc240bd3f0af

Git commit 9266bf53019b29a92c7e6c65e7b89bdae365b70d by Dave Airlie on 20/07/2004 at 11:35..
Kconfig update add i915 bring over some stuff from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9266bf53019b29a92c7e6c65e7b89bdae365b70d

Git commit b35cba47d5e927c3ff1944fadef1816b9b1e1dd7 by Dave Airlie on 20/07/2004 at 11:48..
Add NULLs instead of 0 for i915
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b35cba47d5e927c3ff1944fadef1816b9b1e1dd7

Git commit a776c5ec0464e264bba3f3a4794a067d3c667097 by Dave Airlie on 20/07/2004 at 12:43..
first set of __user annotations from kernel (Al Viro)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a776c5ec0464e264bba3f3a4794a067d3c667097

Git commit c9911beb0957c7ccf93c73f77f349f3f8788b526 by Dave Airlie on 21/07/2004 at 09:30..
add some more debugging fix ++ and --
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9911beb0957c7ccf93c73f77f349f3f8788b526

Git commit ea2155a2e1c31f634d80701a00fb19af6d3402c3 by Dave Airlie on 21/07/2004 at 09:36..
ATI Rage 128 and Radeon DRM unconditionally depend on PCI
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea2155a2e1c31f634d80701a00fb19af6d3402c3

Git commit 6ed7e36f4c6933cc29b0f5c8cb810490dd93a8fc by Dave Airlie on 22/07/2004 at 12:07..
another logic error returns 0 or greater for success
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ed7e36f4c6933cc29b0f5c8cb810490dd93a8fc

Git commit 1e5354e867d1dde8c86273e7434f49b57779ef36 by Keith Whitwell on 23/07/2004 at 16:12..
Correct a couple of packet length calculations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e5354e867d1dde8c86273e7434f49b57779ef36

Git commit 6ba31fb4813116e94f8fc94574ffd81743cf8832 by Dave Airlie on 25/07/2004 at 05:36..
Patch from Tom Arbuckle for missing bus_address
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ba31fb4813116e94f8fc94574ffd81743cf8832

Git commit c54ba5691a573ba273498217323f19c35b1637d8 by Dave Airlie on 25/07/2004 at 05:41..
if the driver has already register don't do another intermodule register
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c54ba5691a573ba273498217323f19c35b1637d8

Git commit 1f132b7849c453d3aebd227866f743cbcf7f3881 by Dave Airlie on 25/07/2004 at 05:52..
whitespace merge with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f132b7849c453d3aebd227866f743cbcf7f3881

Git commit 02df04d71d373f1f779ebfd5d383a704ebb397ee by Dave Airlie on 25/07/2004 at 08:47..
sync up with current 2.6 kernel bk tree - mostly __user annotations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02df04d71d373f1f779ebfd5d383a704ebb397ee

Git commit 862fcee057a4602a0a9fdc54266f63fe33b0fd8b by Dave Airlie on 25/07/2004 at 08:57..
check for __user if not there define it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/862fcee057a4602a0a9fdc54266f63fe33b0fd8b

Git commit 0b02bf9d45b70af3b7e236526143c7b78a6fca8b by Dave Airlie on 29/07/2004 at 11:09..
initial port of i915 to BSD, not finished doesn't work.. no idea why...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b02bf9d45b70af3b7e236526143c7b78a6fca8b

Git commit b1cf4ca7e540bcf28beaf3f5a70915a810a75b1b by Dave Airlie on 29/07/2004 at 12:49..
change to agp not pci ... still not working
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1cf4ca7e540bcf28beaf3f5a70915a810a75b1b

Git commit 1cec18a5cd3bcd37aab71c255d63fd394143bc5e by Dave Airlie on 29/07/2004 at 13:00..
add read/write 16
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cec18a5cd3bcd37aab71c255d63fd394143bc5e

Git commit dc4508c33845602e4c94c3e125536d01fe9110b1 by Dave Airlie on 31/07/2004 at 07:25..
athe patch below optimises the drm code to not do put_user() on memory the
    kernel allocated and then mmap-installed to userspace, but instead
    makes it use the kernel virtual address directly instead.
From: Arjan van de Ven <arjanv at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc4508c33845602e4c94c3e125536d01fe9110b1

Git commit eb3d0635d4830969d10d5fe8aef17cebb2f3fd15 by Dave Airlie on 31/07/2004 at 07:26..
fixes for using userspace pointers found by sparse utility
From: Dave Airlie
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb3d0635d4830969d10d5fe8aef17cebb2f3fd15

Git commit cc4d03930ce753302a88fc9722473a5d9fac7b44 by Dave Airlie on 31/07/2004 at 08:12..
Patch picked up from Redhat xorg release:
Patch by John Dennis <jdennis at redhat.com> which fixes DRI locking bug on
    ia64 architecture.
    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104338
    http://bugs.xfree86.org/show_bug.cgi?id=778
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc4d03930ce753302a88fc9722473a5d9fac7b44

Git commit bd71ba642890856aff339482a9422ecea1ef55d1 by Dave Airlie on 31/07/2004 at 08:38..
patch from RH xorg-x11 tree ported to drm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd71ba642890856aff339482a9422ecea1ef55d1

Git commit 5e7e41819eb4d4b18201bbb46d0c6e359c4039cd by Jon Smirl on 31/07/2004 at 15:45..
Add a hotplug event to DRM. Parameters match the ones from the general PCI
    hotplug event plus the addition of one requesting RESET. Put your
    scripts in /etc/hotplug.d/drm to run. kernel class_simple generates the
    ADD/REMOVE events. No cards currently request RESET, the flag is there
    to stop you from resetting your boot display.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e7e41819eb4d4b18201bbb46d0c6e359c4039cd

Git commit 33b740ad9946ce6fdedeed45287e488f95fb7b42 by Dave Airlie on 02/08/2004 at 11:45..
forgot to check these in.. thanks to Jon for reminding me ..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33b740ad9946ce6fdedeed45287e488f95fb7b42

Git commit 4f8f02a1922653b2ce5c115c4469e927b5d826fa by Dave Airlie on 03/08/2004 at 09:21..
fix for drm in /proc - from Jon Smirl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f8f02a1922653b2ce5c115c4469e927b5d826fa

Git commit 6c9715eaf502587c58acfaea420a4fdf29bd7221 by Dave Airlie on 03/08/2004 at 11:26..
bring over fix from i865-agp branch, it now probes the driver, X hangs
    box..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c9715eaf502587c58acfaea420a4fdf29bd7221

Git commit be3e54bc15aadf26743a8d0150b8fa38952863b4 by Dave Airlie on 04/08/2004 at 10:53..
2.4 hotplug compat
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be3e54bc15aadf26743a8d0150b8fa38952863b4

Git commit 42e91874608f28246367207815eb7334574d7aa7 by Dave Airlie on 04/08/2004 at 10:56..
2.4 compat
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42e91874608f28246367207815eb7334574d7aa7

Git commit 9277f9eef388ffef26000ab455d30260bdf41c93 by Dave Airlie on 10/08/2004 at 11:14..
Patch from Jon Smirl to add attribute field to the pciids, and use this for
    certain radeon combinations - intel drivers can probably use this for
    dual head capable devices etc..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9277f9eef388ffef26000ab455d30260bdf41c93

Git commit ecf1458b2ce431227807b07844b44e8c9171636d by Dave Airlie on 11/08/2004 at 09:07..
minor patch from Jon Smirl : sets up some things for later use
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ecf1458b2ce431227807b07844b44e8c9171636d

Git commit fd62869a0f600f2fd477d5aa365f7732686f5542 by Adam Jackson on 11/08/2004 at 23:23..
Bug #979: Don't include <sys/sysmacros.h> on linux, it occasionally emits
    makedev() as a function call that elfloader can't resolve. Originally
    Gentoo Bug #41962, reported by Ryan Breen, fix feedback from Ryan
    Lortie.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd62869a0f600f2fd477d5aa365f7732686f5542

Git commit d78db7c930c4652f45584098747efa8feb4cd280 by Eric Anholt on 13/08/2004 at 23:17..
Enable MTRR usage on AMD64, and use DELAY() instead of rolling our own
    udelay code.
Submitted by: Jung-uk Kim <jkim at niksun.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d78db7c930c4652f45584098747efa8feb4cd280

Git commit 211c37e250af6f8645a247ef1cce4dee041f3fd1 by Eric Anholt on 13/08/2004 at 23:32..
Fix apparent copy'n'paste-o of the card attributes commit that broke the
    FreeBSD build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/211c37e250af6f8645a247ef1cce4dee041f3fd1

Git commit 2376ec4ef8d280cf6fba44ba0163989eff739187 by Eric Anholt on 14/08/2004 at 00:03..
Hopefully proper fix for corrupted driver name in memcontrol list.
Reported by: Jung-uk Kim <jkim at niksun.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2376ec4ef8d280cf6fba44ba0163989eff739187

Git commit dd83f39f034756e7eb8e002dbfb0047f88aa79e4 by Eric Anholt on 14/08/2004 at 00:46..
Add a "dev" argument to DRIVER_CTX_[CD]TOR. This will be used in an
    upcoming commit for the SiS driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd83f39f034756e7eb8e002dbfb0047f88aa79e4

Git commit 740ddb9c5d5506bc921d10742cf41b5aa143f84e by Eric Anholt on 14/08/2004 at 00:56..
Remove unused pcigart/sg header stuff from i915 driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/740ddb9c5d5506bc921d10742cf41b5aa143f84e

Git commit 23bbff24aa427d6d0c16707dbe99c28ba2075894 by Jon Smirl on 15/08/2004 at 15:35..
Add dev to DRIVER_CTX_DTOR( dev, pos->handle) so that sis driver will
    compile #if 0 get_pci_driver use in hotplug function until fbdev work
    around is written
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23bbff24aa427d6d0c16707dbe99c28ba2075894

Git commit c360d6f4f2075c90d42b109e3da932ac5d69699c by Jon Smirl on 15/08/2004 at 15:46..
Fix warning about unused ddev variable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c360d6f4f2075c90d42b109e3da932ac5d69699c

Git commit 02ef96053ccbe4c20827ec8006455906e7fb2360 by Dave Airlie on 17/08/2004 at 10:36..
2.6.8.1 has changed the links in /lib/modules
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02ef96053ccbe4c20827ec8006455906e7fb2360

Git commit 93e8c201afac565942f9d3523ac808d3220d6d0e by Dave Airlie on 17/08/2004 at 11:24..
preparation patch for radeon permanent mapping registers/framebuffer makes
    dev_priv live always, and add AGP detection in kernel patch:
    radeon-pre-2.patch From: Jon Smirl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93e8c201afac565942f9d3523ac808d3220d6d0e

Git commit 5c9ed8309493acb099463d25b32fabb5b7c004af by Dave Airlie on 17/08/2004 at 13:10..
Merged drmfntbl-0-0-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c9ed8309493acb099463d25b32fabb5b7c004af

Git commit 7fe4f607681e9a5593e91915953a9b6c45e5f08c by Dave Airlie on 23/08/2004 at 10:05..
set pointers to NULL after freeing, remove some extra debugging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fe4f607681e9a5593e91915953a9b6c45e5f08c

Git commit 25e319c1ef5b6c002ddfe55338cd920240cc1dad by Erdi Chen on 24/08/2004 at 01:44..
This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver:
    DRM_IOCTL_VIA_DMA_INIT DRM_IOCTL_VIA_CMDBUFFER DRM_IOCTL_VIA_FLUSH
The first ioctl sets up an area in AGP memory that will be used as the ring
    buffer. The second ioctl copies a command buffer from user space memory
    to the ring buffer. The third ioctl waits for engine idle until it
    returns.
The motivation for this patch is to avoid the wait for engine idle call
    before each buffer flush in the current DRI driver. With this patch,
    the DRI driver can continue to flush its buffer as long as there is
    free space in the ring buffer.
This patch adds an additional copy operation on the command buffer. This
    buffer copying is necessary to support multiple DRI clients rendering
    simultaneously. Otherwise, more CPU time will be spent in the busy loop
    waiting for engine idle between DRI context switch. Even in the single
    client case, the tradeoff is reasonable in comparision to the kernel
    call to check for free buffer space for the client to render directly
    to the ring buffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25e319c1ef5b6c002ddfe55338cd920240cc1dad

Git commit eac498baeaf9b57b448065b0fb9f4eeadbb9aa6b by Dave Airlie on 24/08/2004 at 10:43..
addmap-base-2 patch from Jon Smirl:
sets up the DRM to have the ability to have permanent maps while the driver
    is loaded...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eac498baeaf9b57b448065b0fb9f4eeadbb9aa6b

Git commit d4dbf457813e97531ded3bf24f3b6ad421189c69 by Dave Airlie on 24/08/2004 at 11:15..
Merged drmfntbl-0-0-2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4dbf457813e97531ded3bf24f3b6ad421189c69

Git commit e068fcbfddaf95e96be7999e1a66062fab6fcb46 by Jon Smirl on 26/08/2004 at 03:54..
Rearrange things so that via_dma.c will compile with inline via_check_dma
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e068fcbfddaf95e96be7999e1a66062fab6fcb46

Git commit 60f23ebc5cd5d78f594b20b2ddb330b5158c0902 by Jon Smirl on 27/08/2004 at 02:26..
Make DRM detect vesafb and revert to stealth mode to avoid resource
    conflicts
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60f23ebc5cd5d78f594b20b2ddb330b5158c0902

Git commit 019fd38a3c032774a1e80b3aed7de3710ba84e0a by Dave Airlie on 27/08/2004 at 09:11..
__NO_VERSION__ hasn't been needed since 2.3 days ditch it...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/019fd38a3c032774a1e80b3aed7de3710ba84e0a

Git commit 73e606753fcece20f905281d44067504d5f2fabc by Dave Airlie on 27/08/2004 at 09:14..
run i915 through lindent
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73e606753fcece20f905281d44067504d5f2fabc

Git commit 4a89c75456b1d7d0dd20bae0e0f5dd47bdc5417e by Jon Smirl on 28/08/2004 at 23:59..
Initialize pdev to NULL correctly so that pci_get_subsys() will work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a89c75456b1d7d0dd20bae0e0f5dd47bdc5417e

Git commit 6916572c1c32cd030258ab917f0a568517d5006b by Dave Airlie on 29/08/2004 at 10:09..
fixup issue caused by fntbl-2 merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6916572c1c32cd030258ab917f0a568517d5006b

Git commit 1430163b4bbf7b00367ea1066c1c5fe85dbeefed by Dave Airlie on 29/08/2004 at 12:04..
Drop GAMMA DRM from a great height ...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1430163b4bbf7b00367ea1066c1c5fe85dbeefed

Git commit 55c6e72306efd960eb28870c8f7520360275d444 by Dave Airlie on 29/08/2004 at 12:17..
remove hacky context thing that was gamma only
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55c6e72306efd960eb28870c8f7520360275d444

Git commit b9c82926bc5fe91cac9091a5af3f68b797bd95d1 by Dave Airlie on 29/08/2004 at 12:37..
fix up some small things ffb (no idea if it works or not ..)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9c82926bc5fe91cac9091a5af3f68b797bd95d1

Git commit 0844f3e9f37bacf650fab4953482923e9480aae3 by Dave Airlie on 29/08/2004 at 12:39..
add context include so fn are defined
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0844f3e9f37bacf650fab4953482923e9480aae3

Git commit 08de6e5b04c1950a5f396315e59d2476726e26d8 by Erdi Chen on 30/08/2004 at 04:58..
Fix copy_from_user return value ignored warning at via_dma.c:168.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08de6e5b04c1950a5f396315e59d2476726e26d8

Git commit 7809efc8c32520e6b25c143ee3276edbf534ed14 by Dave Airlie on 30/08/2004 at 09:01..
drm-memory patch, cleans up alloc/free and makes calloc look more libc like
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7809efc8c32520e6b25c143ee3276edbf534ed14

Git commit da6b44849763fac5ccb7d7511128454c6c2a92c7 by Dave Airlie on 30/08/2004 at 11:34..
implement drm_core_check_feature and use it .. looks lots nicer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da6b44849763fac5ccb7d7511128454c6c2a92c7

Git commit 244b3e6c7cf61d3de56267e5813b0a1821ca0ac0 by Dave Airlie on 31/08/2004 at 05:02..
Apply patch from Bryan Stine bugzilla #1227
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/244b3e6c7cf61d3de56267e5813b0a1821ca0ac0

Git commit a070d15b530da87b835f4a439886eea3c606ac2f by Jon Smirl on 02/09/2004 at 04:11..
Fix ref count problem in stealth mode. pci_get_subsys() with last parameter
    set does the pci_dev_put for you.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a070d15b530da87b835f4a439886eea3c606ac2f

Git commit 838bb7af71b5730de55549a74c8198215c1f1475 by Dave Airlie on 02/09/2004 at 12:33..
oops called ctor instead of dtor.. found this on the kernel merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/838bb7af71b5730de55549a74c8198215c1f1475

Git commit 9ed4e7854bb2e785412488a88a41df5659faad56 by Dave Airlie on 03/09/2004 at 14:54..
file drmcore_exports.c was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ed4e7854bb2e785412488a88a41df5659faad56

Git commit 02ab8dd7f7edaf6626ebb61320380fec3cb4da77 by Dave Airlie on 03/09/2004 at 14:54..
file drm_proc.c was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02ab8dd7f7edaf6626ebb61320380fec3cb4da77

Git commit b13574a0f38537958fb08006088ef3d9009a3ff7 by Dave Airlie on 03/09/2004 at 14:54..
file drm_memory_debug.c was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b13574a0f38537958fb08006088ef3d9009a3ff7

Git commit 91be7bd6de6a7958780bdb6886205ffe0287e7c3 by Dave Airlie on 03/09/2004 at 14:54..
file drm_memory.c was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91be7bd6de6a7958780bdb6886205ffe0287e7c3

Git commit be11d2b18561fa4a3e55d178b925820c244a1b54 by Dave Airlie on 03/09/2004 at 14:54..
file drm_headers.h was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be11d2b18561fa4a3e55d178b925820c244a1b54

Git commit 0c955c00c7722bb611eac7876433f66e7d1d0e83 by Dave Airlie on 03/09/2004 at 14:54..
file drm_core_memory.h was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c955c00c7722bb611eac7876433f66e7d1d0e83

Git commit fba81d4482303ba0f88c07871635c8a6583257cb by Dave Airlie on 03/09/2004 at 14:54..
file drm_agpsupport.c was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fba81d4482303ba0f88c07871635c8a6583257cb

Git commit 8825579f1c23f5165270fa284e11efd62437e34a by Dave Airlie on 03/09/2004 at 14:54..
file drm_core.h was initially added on branch drmlib-0-0-1-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8825579f1c23f5165270fa284e11efd62437e34a

Git commit 3d9e16aa6e074fdaa7a74f2fb6b0c46f1dd04172 by Dave Airlie on 04/09/2004 at 13:15..
doh.. that makes no sense.. thinko in removal of OS_HAS_AGP
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d9e16aa6e074fdaa7a74f2fb6b0c46f1dd04172

Git commit 4499ea42eae887c45403cd9ea364fccf311fee8e by Dave Airlie on 04/09/2004 at 23:21..
Fixup OS_HAS_AGP/OS_HAS_MTRR along lines of patches going to kernel, as
    suggested by Arjan..
Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4499ea42eae887c45403cd9ea364fccf311fee8e

Git commit 3dcbc1f4a13e2f8d5ddb2a9ae8bc83c48a30a2b7 by Dave Airlie on 05/09/2004 at 02:36..
make the AMD64 check a compat thing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dcbc1f4a13e2f8d5ddb2a9ae8bc83c48a30a2b7

Git commit f96e00595dff85e18697205686f568042e0b083b by Dave Airlie on 05/09/2004 at 10:10..
bad code copy for alpha.. fix the member names
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f96e00595dff85e18697205686f568042e0b083b

Git commit eeae6a0a3885f9af9efba7c1e1bcb1e633635717 by Dave Airlie on 05/09/2004 at 10:54..
merge back bunch of whitespace and misc changes from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeae6a0a3885f9af9efba7c1e1bcb1e633635717

Git commit c33f4449fc893d5478d9541bc6a80124c8f96ea5 by Dave Airlie on 05/09/2004 at 23:33..
missed fix as part of last checkin
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c33f4449fc893d5478d9541bc6a80124c8f96ea5

Git commit b0c73b7fcb3f2504f2ab747bae75a98112071491 by Thomas Hellstrom on 07/09/2004 at 16:48..
Added IOCTL for writing 2D DMA command buffers over PCI. Bumped minor
    version number.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0c73b7fcb3f2504f2ab747bae75a98112071491

Git commit 3bf785c9126a0bbc38b794096dbbddab5682c251 by Jon Smirl on 08/09/2004 at 01:49..
Adjust permanent mapping code to account for more than one framebuffer map
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3bf785c9126a0bbc38b794096dbbddab5682c251

Git commit 1fb27632c3338ff974c27fd88e2098a5193bb145 by Jose Fonseca on 08/09/2004 at 20:57..
Update doxygen configuration file. Minor documentation updates/fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1fb27632c3338ff974c27fd88e2098a5193bb145

Git commit e6d468ad7f398a72e8be227564f3a450de873cc6 by Jon Smirl on 10/09/2004 at 16:44..
More general patch to mark resources in use by all DRM drivers. Makes the
    code Linux specific.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6d468ad7f398a72e8be227564f3a450de873cc6

Git commit 36050cc958596ca81d667d8a51e124e9ea9eb866 by Jon Smirl on 12/09/2004 at 03:23..
Fix DRM to compile cleanly with recent kernel changes in PCI IO and
    DRM_COPY_FROM_USER. PCI IO changes in 2.6.9-rc1 bk currently.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36050cc958596ca81d667d8a51e124e9ea9eb866

Git commit 15407efd468b8745354a346544aba5f25448103a by Jon Smirl on 12/09/2004 at 03:30..
Make the comment match the code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15407efd468b8745354a346544aba5f25448103a

Git commit 13cb3f1b006d24e4578aca25522fd224aed5cd9c by Jon Smirl on 12/09/2004 at 19:24..
Fix error path in probe() to release resources if there is an error.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13cb3f1b006d24e4578aca25522fd224aed5cd9c

Git commit 03c2e674e43db5fcf4cb4b641005c329c7b343a9 by Jon Smirl on 14/09/2004 at 03:59..
Add chip family names to the radeon driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03c2e674e43db5fcf4cb4b641005c329c7b343a9

Git commit 64ef12c55cfca7885108950eb975c4d6625a0570 by Jon Smirl on 15/09/2004 at 00:20..
Dynamic device minor support. Minor device numbers will be reused if the
    device is hotplugged in/out of the system
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64ef12c55cfca7885108950eb975c4d6625a0570

Git commit 941d2cf431d0534ec53f90e627bb0445b6f0260e by Jon Smirl on 15/09/2004 at 16:06..
Don't use module_param if it isn't defined in older kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/941d2cf431d0534ec53f90e627bb0445b6f0260e

Git commit eeb0ef1a7076e7744655954e95a65532eb4b7ebe by Jon Smirl on 15/09/2004 at 17:44..
Back dyn-minor patch out for now. fops handling is broken on some cards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeb0ef1a7076e7744655954e95a65532eb4b7ebe

Git commit 5dfd89ae0a4894a3b9de17c17bb75c47e6509b8e by Jon Smirl on 16/09/2004 at 14:32..
Fix drm_scatter to properly report it's availability
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dfd89ae0a4894a3b9de17c17bb75c47e6509b8e

Git commit c7c9d3ef7b82215696c007415a018c670d54041e by Jon Smirl on 16/09/2004 at 18:42..
Let's try adding the dyn-minor patch again. This patch will reuse minor
    numbers if a card is hotplugged in/out instead of just having them
    increase.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7c9d3ef7b82215696c007415a018c670d54041e

Git commit 0c6fb0fbe1fff43af60634b785cd5b7196c8dd03 by Jon Smirl on 17/09/2004 at 04:02..
Add linux sysfs i2c support to radeon driver. This patch adds GPL licensed
    files to the linux build but not to the BSD directories.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c6fb0fbe1fff43af60634b785cd5b7196c8dd03

Git commit f10f8821014bc7a05e8bbc9f199e0f60b1541a0e by Jon Smirl on 17/09/2004 at 04:25..
Add the two GPL licensed I2C support files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f10f8821014bc7a05e8bbc9f199e0f60b1541a0e

Git commit 993a75a5d148cb0a93bbed677b550bfb4d57fe4a by Jon Smirl on 17/09/2004 at 20:01..
Makefile and missing file to build libxf86drm.a
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/993a75a5d148cb0a93bbed677b550bfb4d57fe4a

Git commit c15b1d15ffbf41ed60cd807d13f031c8f270f887 by Jon Smirl on 18/09/2004 at 16:44..
Fix from: Nishanth Aravamudan replace direct assignment with
    __set_current_state()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c15b1d15ffbf41ed60cd807d13f031c8f270f887

Git commit fa75a81c9acbae7282e2ea5596f04a6b359c95e9 by Dave Airlie on 20/09/2004 at 10:45..
another fix after the macro stuff
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa75a81c9acbae7282e2ea5596f04a6b359c95e9

Git commit 5654880eeed0646a53655b093f4d3bf5608ebcc7 by Dave Airlie on 20/09/2004 at 11:29..
remove HAVE_COUNTERS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5654880eeed0646a53655b093f4d3bf5608ebcc7

Git commit 59cc1d8256fb3b6e2374e52eb24da12b046aea91 by Jon Smirl on 20/09/2004 at 17:09..
Felix's fix for map request smaller than permanent map size
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59cc1d8256fb3b6e2374e52eb24da12b046aea91

Git commit 6f31c42fe923ff3f79a55d8c859e6ccfd3bd322d by Jon Smirl on 20/09/2004 at 19:23..
Remove size restriction on permanent addmap
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f31c42fe923ff3f79a55d8c859e6ccfd3bd322d

Git commit 2ad068005aa9785dd86e0023354f68e970f04e9f by Jon Smirl on 21/09/2004 at 05:13..
Make DRM permanent maps match broken X behavior. X is mapping regions that
    are both smaller and larger than what the hardware supports. If DRM
    tries to fix these requests X will fail.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ad068005aa9785dd86e0023354f68e970f04e9f

Git commit 184a50368505bb74f3efac3cf48e72db41487342 by Eric Anholt on 22/09/2004 at 16:45..
Add *.flags to cvsignore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/184a50368505bb74f3efac3cf48e72db41487342

Git commit 27fc998f7d16e7197f38b2d7d1ce65938e06423d by Jon Smirl on 22/09/2004 at 19:13..
Remove hotplug reset support from DRM driver. This will be handled by the
    VGA driver when it gets written.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27fc998f7d16e7197f38b2d7d1ce65938e06423d

Git commit af326f6f0c26191b4aef2183fb485e58495b29a5 by Felix Kuehling on 22/09/2004 at 22:51..
Create permanent maps of framebuffer, aperture and MMIO registers. Added
    chipset-type information in driver data field of Savage PCI-IDs. Added
    missing PCI-ID 0x8d03 (ProSavageDDR on Pentium boards). Don't require
    AGP.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af326f6f0c26191b4aef2183fb485e58495b29a5

Git commit c158a36c4cfef024ba1be05a163cfd4b00ebea21 by Jon Smirl on 23/09/2004 at 05:39..
1) switches from class_sysfs to drm sysfs implementation to allow
    customization
2) compiles again on 2.4, but doesn't work
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c158a36c4cfef024ba1be05a163cfd4b00ebea21

Git commit 55c5e240892bb9673cce602e7deb323f29aa8031 by Jon Smirl on 23/09/2004 at 05:40..
Add new sysfs support files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55c5e240892bb9673cce602e7deb323f29aa8031

Git commit 36a257cfe9e45e7a2022f19100a193eb73e30d4b by Jon Smirl on 23/09/2004 at 17:22..
Remove 2.6 code that allow DRM major device number to be shared. We can add
    it back later if needed. Checked DRM on both 2.4 and
2.6 to ensure that it builds and runs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36a257cfe9e45e7a2022f19100a193eb73e30d4b

Git commit 74f063fc9d445f263242063e7acab1864ff75205 by Jon Smirl on 24/09/2004 at 03:12..
Create new linux-2.6 build. Move all gpl files into the 2.6 build. If you
    edit files for 2.6 be sure and break the link to the 2.4 directory and
    copy the cvs history.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74f063fc9d445f263242063e7acab1864ff75205

Git commit 1d6392f1fdcd8ed7e2936af815387d12ee124cab by Jon Smirl on 24/09/2004 at 04:21..
Makefile reminder to build in 2.6 when on 2.6
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d6392f1fdcd8ed7e2936af815387d12ee124cab

Git commit edbfb46c0bfcc2a5a20d9f23d7088a4acce52b8d by Jon Smirl on 24/09/2004 at 04:31..
README with hints on how to make a 2.6 specific version of a 2.4/2.6 shared
    file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edbfb46c0bfcc2a5a20d9f23d7088a4acce52b8d

Git commit 77fa7b9548bf7a5bf5e49515f1a478c27ede07a7 by Jon Smirl on 27/09/2004 at 15:42..
Flip the 2.4 check so that it looks for 2.6 instead. This will allow builds
    where we can't determine the version through.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77fa7b9548bf7a5bf5e49515f1a478c27ede07a7

Git commit fa6b1d129e7bf8acf41e66c9c665ae9f9c1d5b0d by Jon Smirl on 27/09/2004 at 19:51..
First check in for DRM that splits core from personality modules
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa6b1d129e7bf8acf41e66c9c665ae9f9c1d5b0d

Git commit 6d6526fdf9a4390fab3edbca79d6a0b80b84ddd1 by Jon Smirl on 27/09/2004 at 19:53..
core needs three new files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d6526fdf9a4390fab3edbca79d6a0b80b84ddd1

Git commit 9e421181ddfc2d91859e9959487baf2df851e743 by Jon Smirl on 27/09/2004 at 20:14..
Fix the shared directory I accidentally stomped on
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e421181ddfc2d91859e9959487baf2df851e743

Git commit 0bff0d9eb6317ccccafc79cac7b235b4cb4c9161 by Jon Smirl on 28/09/2004 at 22:25..
Getting the AGP module is a global resource. Make sure a dual PCI/AGP
    driver doesn't release it on unload since an AGP driver may also be
    loaded.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bff0d9eb6317ccccafc79cac7b235b4cb4c9161

Git commit 3aef3841d0c8099a97a56a285f0a21d9147405bd by Jon Smirl on 30/09/2004 at 18:13..
Make fops per driver instead of global, remove default flush, poll, read
    functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3aef3841d0c8099a97a56a285f0a21d9147405bd

Git commit 1c0a437fa20e8c3fb971cd8947754a9b274bea76 by Jon Smirl on 30/09/2004 at 19:26..
Move things around to reduce public symbols and even out files. Switch to
    get_order from drm_order.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c0a437fa20e8c3fb971cd8947754a9b274bea76

Git commit b3d70ad6a7b6f4bd1216929200ddfc8e348529cb by Jon Smirl on 30/09/2004 at 20:25..
Remove unused drm_module.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3d70ad6a7b6f4bd1216929200ddfc8e348529cb

Git commit e1d74a98994963b0427486391fad4f6473d39c9f by Jon Smirl on 30/09/2004 at 20:46..
core ffb.h is not used anymore
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1d74a98994963b0427486391fad4f6473d39c9f

Git commit 368493edc9e47ce63edf955e9fa9d096500c4e8e by Jon Smirl on 30/09/2004 at 21:06..
savage.h not used in core builds
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/368493edc9e47ce63edf955e9fa9d096500c4e8e

Git commit 9f9a8f1382711a05ec000b639d971b619d8bc305 by Jon Smirl on 30/09/2004 at 21:12..
Lindent of core build. Drivers checked for no binary diffs. A few files
    weren't Lindent's because their comments didn't convert very well. A
    bunch of other minor clean up with no code implact included.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f9a8f1382711a05ec000b639d971b619d8bc305

Git commit a36a6a291d3627bf1ad036fa4a7a33ea99e8ed5d by Jon Smirl on 30/09/2004 at 21:27..
Remove DRM() macros from core ffb driver. DaveA says he'll make it compile
    someday.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a36a6a291d3627bf1ad036fa4a7a33ea99e8ed5d

Git commit e17abf5d5dc7c9895ed9aea0efb4ac501171fa54 by Jon Smirl on 30/09/2004 at 23:47..
Make the debug memory functions compile for the core model.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e17abf5d5dc7c9895ed9aea0efb4ac501171fa54

Git commit aba12cfc0e80694457347dc9d0ed78cd78192ea3 by Jon Smirl on 02/10/2004 at 19:11..
janitor-list_for_each-drivers-char-drm-radeon_memc.patch from mm kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aba12cfc0e80694457347dc9d0ed78cd78192ea3

Git commit 6dee8401a65c2b976dad8937985439fb8f0887be by Jon Smirl on 05/10/2004 at 02:58..
enable the device in the right order, remove __devinit from drm_int
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dee8401a65c2b976dad8937985439fb8f0887be

Git commit 4dbc1e87288987f0506087c7971639c33af8fe3e by Dave Airlie on 05/10/2004 at 12:12..
Patch for Kconfig for making i830/i915 not build together
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4dbc1e87288987f0506087c7971639c33af8fe3e

Git commit 61d36f6179f535de4a37c58cb7dade2b6035883d by Jon Smirl on 06/10/2004 at 16:27..
Revert back to drm_order() instead of using kernel get_order(). The
    functions are not identical.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61d36f6179f535de4a37c58cb7dade2b6035883d

Git commit 6619c5d941b86452405222a5b44a546dd0aa45c7 by Jon Smirl on 07/10/2004 at 00:40..
Fix drm_exit to allow for DRM(global) being deleted when framebuffer is
    loaded.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6619c5d941b86452405222a5b44a546dd0aa45c7

Git commit 3981f17227aa72b263d27e79aede307b1e2980a8 by Jon Smirl on 08/10/2004 at 14:31..
Fix refcount bug in stealth mode
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3981f17227aa72b263d27e79aede307b1e2980a8

Git commit d24194e904cbfc85147efae6922e497e0102b2eb by Thomas Hellstrom on 08/10/2004 at 21:11..
Changed unsigned to uint32_t in some ioctl parameters. Introduced first
    rudimentary command verifier for dma buffers. Changed the decoder futex
    ioctl parameters. Bumped the via major version number.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d24194e904cbfc85147efae6922e497e0102b2eb

Git commit e09229d6c85bcb8b899f09fd70f264b4e1d6d0bd by Dave Airlie on 09/10/2004 at 10:58..
remove unused dma remnants that were gamma only - these could cause an oops
    on via
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e09229d6c85bcb8b899f09fd70f264b4e1d6d0bd

Git commit fec94a82748b3603da7239e39d247a9654765659 by Dave Airlie on 09/10/2004 at 11:12..
Lindent the via stuff so I can include it in kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fec94a82748b3603da7239e39d247a9654765659

Git commit efcb9fb7ae3caad341bd8c82febf9d65b2a73933 by Dave Airlie on 09/10/2004 at 11:16..
fix up whitespacing in Kconfig
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efcb9fb7ae3caad341bd8c82febf9d65b2a73933

Git commit 8727326371621c8c2b9f794532ca543a708ed71f by Dave Airlie on 09/10/2004 at 12:42..
cleanup VIA driver to look a bit like others before kernel merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8727326371621c8c2b9f794532ca543a708ed71f

Git commit b5e02f8eb3b9c178014e510e5999fab671031a6c by Jon Smirl on 10/10/2004 at 00:09..
Make the test programs build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5e02f8eb3b9c178014e510e5999fab671031a6c

Git commit 5654a78547d0903c0ea2c290cbfac6ea9e777b9a by Jon Smirl on 10/10/2004 at 02:49..
Forgot to add the new Makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5654a78547d0903c0ea2c290cbfac6ea9e777b9a

Git commit 3f02a793514a866401119efc74c20512f4732703 by Dave Airlie on 10/10/2004 at 05:52..
Vladimir requested support so we can at least load r300 microcode for
    helping
2D operations.
Ups radeon to version 1.12.0, Vladimir, you might want to add any extra
    pciids...
Approved-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f02a793514a866401119efc74c20512f4732703

Git commit ad549c5ae62fd75aa2bdb8bf5efc4913c476cb02 by Jon Smirl on 10/10/2004 at 22:54..
Rename fn_tbl to driver. Core driver now uses pci_driver name which
    reflects the personality name.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad549c5ae62fd75aa2bdb8bf5efc4913c476cb02

Git commit ad70dc676ebf8f2f86d171dccb873a04a3e5b87b by Jon Smirl on 12/10/2004 at 03:59..
Breakout heads into their own data structures.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad70dc676ebf8f2f86d171dccb873a04a3e5b87b

Git commit bbfe18e3bf7b45543c9f59f7363c1ed5b6bca719 by Thomas Hellstrom on 12/10/2004 at 18:46..
Via updates. Fixed unlikely but possible uint32_t overflow in ring-buffer
    code. bumped patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbfe18e3bf7b45543c9f59f7363c1ed5b6bca719

Git commit 5e8838fd115879174567c4c2db8ad25331619994 by Jon Smirl on 13/10/2004 at 16:40..
Add a poll function that alternates between zero and normal poll return to
    bring DRM into conformance with normal poll().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e8838fd115879174567c4c2db8ad25331619994

Git commit fa50e2b5132b84353ae964a39c3b10ea270d15e8 by Jon Smirl on 15/10/2004 at 02:59..
Switch linux-core over to 2.6 parameter model to enable debug use
    drm_debug=1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa50e2b5132b84353ae964a39c3b10ea270d15e8

Git commit 91aa32742c49db0c553b5836afd28c8ea2436014 by Jon Smirl on 15/10/2004 at 20:36..
Move drm_cpu_valid out of drm_init. drm_init is empty now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91aa32742c49db0c553b5836afd28c8ea2436014

Git commit a8b2c94c181a8f398a824aa3267144a29ffaca33 by Jon Smirl on 15/10/2004 at 20:37..
Remove drm_init.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8b2c94c181a8f398a824aa3267144a29ffaca33

Git commit 52fdf10fd79c2223c05e2146431343132b4db964 by Ville Syrjala on 16/10/2004 at 10:54..
Fixed bad formatting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52fdf10fd79c2223c05e2146431343132b4db964

Git commit d403173005fd345ba8b83f19497a8aaf07e7eee6 by Ville Syrjala on 16/10/2004 at 11:21..
Fixed off by one errors in clipping.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d403173005fd345ba8b83f19497a8aaf07e7eee6

Git commit 0d89b19325d533a7c1817fcb568a1879fd28a865 by Jose Fonseca on 18/10/2004 at 14:16..
Update Doxygen configuration & comments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d89b19325d533a7c1817fcb568a1879fd28a865

Git commit ca1ec9268f9de783daf3f2db86a4fb47108d609a by Jon Smirl on 19/10/2004 at 02:50..
drm-core, Clean up bug error path on stealth mode exit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca1ec9268f9de783daf3f2db86a4fb47108d609a

Git commit bcfbd73536e8e44b028953e4e04c83d143612a10 by Jon Smirl on 19/10/2004 at 16:30..
Fix missing I2C busses to be non-fatal error.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcfbd73536e8e44b028953e4e04c83d143612a10

Git commit 157a814be6f3065a2463141f1592fa8948765334 by Jon Smirl on 19/10/2004 at 18:18..
Add a protective check against a possible buffer overflow
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/157a814be6f3065a2463141f1592fa8948765334

Git commit 5ae6c5af751780fbf424b848aa2355bc303a5b73 by Jon Smirl on 20/10/2004 at 04:41..
Fix dd vs di version typo in drm_setversion
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ae6c5af751780fbf424b848aa2355bc303a5b73

Git commit 7ebbebf3d3a3af3c363a1396d737d5a61634124b by Jon Smirl on 20/10/2004 at 05:11..
Switch linux-core from using dev->pdev->driver->name to
    dev->driver->pci_driver.name. This avoids the stealth mode case where
    pdev is pointing to the wrong driver or no driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ebbebf3d3a3af3c363a1396d737d5a61634124b

Git commit 17ce33835a0b582d87343fab331d80342f268d4d by Jon Smirl on 20/10/2004 at 16:23..
Don't release an i2c channel that has not initialized correctly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17ce33835a0b582d87343fab331d80342f268d4d

Git commit d76f734f68eeea32c94de6ad4979a94ca8e320db by Jon Smirl on 21/10/2004 at 16:58..
Fix up the radeon i2c error handing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d76f734f68eeea32c94de6ad4979a94ca8e320db

Git commit ad87dd8427b6142c42d7b97c7a4170c89b6728ec by Jon Smirl on 22/10/2004 at 16:03..
Bring in patch from kernel for remap_pfn_range
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad87dd8427b6142c42d7b97c7a4170c89b6728ec

Git commit 9ea6fe7aa6ba27cc7003c9cd141e9146a492416d by Jon Smirl on 23/10/2004 at 04:21..
Prepare to eliminate inter_module_get("agp")
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ea6fe7aa6ba27cc7003c9cd141e9146a492416d

Git commit 8d7e798d4c73650ed240a3ad194744b94043e31f by Dave Airlie on 23/10/2004 at 06:25..
Apply radeon r300 microcode patch to non-core
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d7e798d4c73650ed240a3ad194744b94043e31f

Git commit 182a0e5dac5e2ae3751abc2eaa0398aa0150a131 by Dave Airlie on 23/10/2004 at 06:59..
fix pfn vs page for older kernels (2.6.9-rc kernels many not work..)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/182a0e5dac5e2ae3751abc2eaa0398aa0150a131

Git commit 1473556e065b1970196b8bb542574cd1e275bb00 by Dave Airlie on 23/10/2004 at 07:02..
actually 2.6.10 introduced pfn range so it should work now..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1473556e065b1970196b8bb542574cd1e275bb00

Git commit 4b29f857685e4fc6c8901a061c6de7b86ee3e993 by Dave Airlie on 23/10/2004 at 14:00..
fix inter module put/get
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b29f857685e4fc6c8901a061c6de7b86ee3e993

Git commit 43cbf43a5f9e54decbfd837d0b5984454f2d61bf by Jon Smirl on 23/10/2004 at 14:43..
Revert symbol_get() changes from drm_drv
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43cbf43a5f9e54decbfd837d0b5984454f2d61bf

Git commit b37efdadca5da66cfd442a88353fa92c9e7aec24 by Jon Smirl on 23/10/2004 at 18:12..
Round 2 of getting rid of inter_module_get()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b37efdadca5da66cfd442a88353fa92c9e7aec24

Git commit 486a84d70c31423a849cd88dbd91ced2dcf83742 by Dave Airlie on 28/10/2004 at 09:50..
fix for 2.4 build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/486a84d70c31423a849cd88dbd91ced2dcf83742

Git commit b974e2cd683fa798970cd1bdc5e20acfb7a34a9c by Jon Smirl on 28/10/2004 at 15:52..
Break poll() to make it match the Xserver's broken expectations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b974e2cd683fa798970cd1bdc5e20acfb7a34a9c

Git commit c611cb9f171df3b9ad19e57e614f35c67e73ceb1 by Jon Smirl on 29/10/2004 at 14:38..
Add include of moduleparam.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c611cb9f171df3b9ad19e57e614f35c67e73ceb1

Git commit 816a2917099b3ff214dc357c5b41984f34902cf3 by Jon Smirl on 29/10/2004 at 17:09..
Switch SPIN_LOCK_UNLOCKED to spin_lock_init()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/816a2917099b3ff214dc357c5b41984f34902cf3

Git commit 8264e2c8aa6b2811bca0e45c50ac3328d14bfbf7 by Thomas Hellstrom on 30/10/2004 at 13:01..
Some stabilizing work to the DMA ring-buffer code. Temporarily replaced the
    rewind jump with a reinitialization. This makes the code stable on
    CLE266 and KM400.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8264e2c8aa6b2811bca0e45c50ac3328d14bfbf7

Git commit 5128542814215b26ed342e3a4ac2217606fe5e76 by Felix Kuehling on 31/10/2004 at 15:16..
Allow drivers to override reclaim_buffers in an OS-independent way by
    passing drm_device_t* as first parameter, like in the BSD version.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5128542814215b26ed342e3a4ac2217606fe5e76

Git commit 08758b2fb76bc4e862f25d0164ae9f523d2dec20 by Keith Whitwell on 01/11/2004 at 10:52..
correct historic mis-attribution of copyright
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08758b2fb76bc4e862f25d0164ae9f523d2dec20

Git commit 9409d8231c3be346ce7148275ce0ee86ec171716 by Thomas Hellstrom on 01/11/2004 at 20:48..
Reworked the jump-code in via_dma.c. The command regulator now seems to
    pause correctly after a jump. Removed the debug message from within the
    interrupt handler of via_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9409d8231c3be346ce7148275ce0ee86ec171716

Git commit f08a01c0e21431e1b7990584ce2f61f0e711c093 by Thomas Hellstrom on 03/11/2004 at 13:37..
Fixed bug in via_dma.c. The code didn't check that the lock was held by the
    caller. Just that it was held.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f08a01c0e21431e1b7990584ce2f61f0e711c093

Git commit 39a23640b2de9e59e99d48e6de8c9edae0231856 by Jon Smirl on 05/11/2004 at 17:29..
Move ati_pcigart shared routines into drm-core module
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39a23640b2de9e59e99d48e6de8c9edae0231856

Git commit c9202c89653b8dac2ac322c3d3a7389945e1c94c by Eric Anholt on 06/11/2004 at 01:41..
Commit WIP of BSD conversion to core model. Compiles for r128, radeon, but
    doesn't run yet. Moves the ioctl definitions for these two drivers back
    to the shared code -- they aren't OS-specific.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9202c89653b8dac2ac322c3d3a7389945e1c94c

Git commit cf259f10aa8dbd83a4c086963fee7138280a9688 by Eric Anholt on 06/11/2004 at 02:00..
Remove the vestiges of the memory-debug code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf259f10aa8dbd83a4c086963fee7138280a9688

Git commit d7510ea4136a031b16fb25a32bd77970d315707a by Eric Anholt on 06/11/2004 at 11:16..
Commit first pieces of port to OpenBSD, done by Martin Lexa (martin at
    martinlexa dot cz). Now that we've got porting for all three major BSDs
    (and the fourth being very similar to FreeBSD), move the
    mostly-duplication drm_os_* files into drmP.h. Remove some cruft from
    linux heritage and from pieces of the DRM that have since been removed.
Note that things are still not quite working for even FreeBSD, but these
    are first steps at cleanup, and just a WIP checkpoint.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7510ea4136a031b16fb25a32bd77970d315707a

Git commit 7adee84064d55207dbf7893cc8cb579bfa1a7631 by Eric Anholt on 06/11/2004 at 11:19..
Add file missed in last commit: Commit first pieces of port to OpenBSD,
    done by Martin Lexa (martin at martinlexa dot cz). Now that we've got
    porting for all three major BSDs (and the fourth being very similar to
    FreeBSD), move the mostly-duplication drm_os_* files into drmP.h.
    Remove some cruft from linux heritage and from pieces of the DRM that
    have since been removed.
Note that things are still not quite working for even FreeBSD, but these
    are first steps at cleanup, and just a WIP checkpoint.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7adee84064d55207dbf7893cc8cb579bfa1a7631

Git commit b2f275b46e575766c7b5dab22ba30a367a182c9e by Eric Anholt on 06/11/2004 at 11:50..
Hook the debug output up to a sysctl, so you can choose to enable at
    runtime.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2f275b46e575766c7b5dab22ba30a367a182c9e

Git commit 000c8eb18ef7ee9cecb34909be52281ec88a5486 by Jon Smirl on 06/11/2004 at 16:41..
Fix Linux build. Why won't this complile? extern int const foo; static
    struct drm_driver driver = { .var = foo }; error says foo is not
    constant
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/000c8eb18ef7ee9cecb34909be52281ec88a5486

Git commit 642a8106d270e74ec8ee1a809657d66f4fe6f542 by Jon Smirl on 06/11/2004 at 16:51..
Export missing r128 ioctl symbol
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/642a8106d270e74ec8ee1a809657d66f4fe6f542

Git commit 069f53a93b2c47c55c54dc8092ef23a9e7461033 by Jon Smirl on 06/11/2004 at 16:55..
Move radeon i2c include to top of file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/069f53a93b2c47c55c54dc8092ef23a9e7461033

Git commit cca29ac9becffc7d5fc8204c706621b842c3557d by Eric Anholt on 06/11/2004 at 20:21..
Connect up r128_ioctls in driver config.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cca29ac9becffc7d5fc8204c706621b842c3557d

Git commit ae7a1713139f1eacec9cc1629cacef0394e270cc by Eric Anholt on 06/11/2004 at 20:27..
Move the lock/unlock ioctls to a more logical place, in drm_lock.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae7a1713139f1eacec9cc1629cacef0394e270cc

Git commit 7bdccfd0bb192200ba022c368f85f73e5a989e7a by Eric Anholt on 06/11/2004 at 21:18..
Get r128 basically working: Hook up the driver's dma ioctl, use the proper
    offset into the driver ioctl array, and don't make the ctx bitmap
    conditional.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bdccfd0bb192200ba022c368f85f73e5a989e7a

Git commit 7ddbd38dde5dc5566ba14f2b1c449611a6d0224f by Eric Anholt on 06/11/2004 at 21:44..
Remove some core stuff that ended up being unnecessary.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ddbd38dde5dc5566ba14f2b1c449611a6d0224f

Git commit cb5aaa89871c051098ae8067d0e386840b7bdc59 by Eric Anholt on 06/11/2004 at 23:02..
Convert more drivers for bsd-core, moving the ioctl definitions to shared
    code. Remove the "drv" from sisdrv, as it's unnecessary. Use the
    drm_pci functions in i915 instead of per-os implementations of the
    same. Avoid whitespace within fields in drm_pciids.txt (one of the r300
    definitions), since it breaks the bsd pciids script. Tested on sis,
    mga, r128. i915 needs more work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb5aaa89871c051098ae8067d0e386840b7bdc59

Git commit d37457b5996c09d1965f8906501cd1fde6aa9499 by Eric Anholt on 06/11/2004 at 23:05..
Add the drm Makefile and update .cvsignores.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d37457b5996c09d1965f8906501cd1fde6aa9499

Git commit fa3fdbd99c6b6e5cec59f1044ce6ce1105b5e8dd by Eric Anholt on 07/11/2004 at 00:25..
Now that the memory debug code is gone, and all 3 BSDs have M_ZERO, stop
    using drm_alloc/drm_free in the core and instead use plain malloc/free.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa3fdbd99c6b6e5cec59f1044ce6ce1105b5e8dd

Git commit 67f6c5e36a93a9cdb18df133f6c31bab521c152a by Eric Anholt on 07/11/2004 at 00:30..
Don't link in files which no longer exist.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67f6c5e36a93a9cdb18df133f6c31bab521c152a

Git commit c21cdee38a6b9124d01662b36207450aa5fbb626 by Dave Airlie on 07/11/2004 at 02:15..
respect cc and cflags
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c21cdee38a6b9124d01662b36207450aa5fbb626

Git commit c5bededa5130a58273448188c04c15bc9c1097f3 by Dave Airlie on 07/11/2004 at 02:19..
add some more r300 pci ids
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5bededa5130a58273448188c04c15bc9c1097f3

Git commit a1d9e5abafe60ca2b7f96cadd1013695ada4ac41 by Eric Anholt on 07/11/2004 at 04:11..
Refine the locking of the DRM. Most significant is covering the driver
    ioctls with dev_lock, which is a major step toward being able to remove
    Giant. Covers some new pieces (dev->unique*) in the core, and avoids
    one call down into system internals with the drm lock held, which is
    usually bad (FreeBSD LOR #23, #27).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1d9e5abafe60ca2b7f96cadd1013695ada4ac41

Git commit 6483e7a1ac8395828eb3a13f763cf99d6ef89535 by Roland Scheidegger on 09/11/2004 at 00:54..
add missing CHIP_RV350 to radeon_enums
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6483e7a1ac8395828eb3a13f763cf99d6ef89535

Git commit 76b1a7f2b423eef828e911f93f1ef38927a5507e by Jon Smirl on 09/11/2004 at 03:36..
make linux-core build again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76b1a7f2b423eef828e911f93f1ef38927a5507e

Git commit 4b4df875b26bd08ae62f26b8ced6a050425752ac by Jon Smirl on 09/11/2004 at 16:58..
Fix more build problems on linux-core
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b4df875b26bd08ae62f26b8ced6a050425752ac

Git commit f0a86288fa4d7b951f33f7b1a6ef36106c7df788 by Dave Airlie on 11/11/2004 at 11:09..
patch from bug 1803 - will try and push to kernel soon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0a86288fa4d7b951f33f7b1a6ef36106c7df788

Git commit 4f8fa6028631fa1d799e9a68ed710fbc98976656 by Thomas Hellstrom on 27/11/2004 at 22:55..
Reworked PCI MMIO command buffer parser, and imported code from the Mesa
    driver. It can now handle the 3D OpenGL commands from the Mesa
    unichrome driver.
Added vsync frequency detection support. This will be used in the future
    for XvMC and better frame timing.
Bumped minor version number and driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f8fa6028631fa1d799e9a68ed710fbc98976656

Git commit f197110e07b0be03d5d79329779b665ac46433d5 by Dave Airlie on 03/12/2004 at 10:22..
Make 1-bit fields be unsigned (no sign bit :). sparse complains about them:
    drivers/char/drm/sis_ds.h:88:12: warning: dubious one-bit signed
    bitfield drivers/char/drm/sis_ds.h:89:16: warning: dubious one-bit
    signed bitfield
Signed-off-by: Randy Dunlap <rddunlap at osdl.org> Signed-off-by: Dave Airlie
    <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f197110e07b0be03d5d79329779b665ac46433d5

Git commit 267e0645272720344eb7556a948e72112edbe2ec by Thomas Hellstrom on 03/12/2004 at 23:03..
Added 3D functionality to the via command verifier. Modified the via
    ring-buffer code somewhat to workaround hardware problems. Bumped via
    minor version number.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/267e0645272720344eb7556a948e72112edbe2ec

Git commit 1fbfd9eb32220a10d66373b77172965cfeccd4f7 by Thomas Hellstrom on 06/12/2004 at 11:19..
Security and optimization fixes for the via drm:
1. The command verifier was never initialized in the non-core source tree.
2. Check added that the AGP ring buffer has been initialized before
    accepting command buffer.
3. Free space check in the AGP buffer is moved to after command
    verification, which is more optimal in most cases.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1fbfd9eb32220a10d66373b77172965cfeccd4f7

Git commit bf6eb1c0d47e670658c42e439434c0c25caabcfb by Thomas Hellstrom on 07/12/2004 at 12:09..
Fix up linux 2.4 series Makefiles for via_verifier.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf6eb1c0d47e670658c42e439434c0c25caabcfb

Git commit 98d01f9542d7f70aa10d68c0e41e631b5f156770 by Thomas Hellstrom on 07/12/2004 at 12:18..
Patch from Jon Smirl from Nov. 2nd that makes older X servers behave well
    with linux-core. Without this, they will fail on their second
    invocation since the drm already has a busID assigned.
Submitted by: Jon Smirl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98d01f9542d7f70aa10d68c0e41e631b5f156770

Git commit c4a87c6883ede7bbf486743efe3e9325d96f8e54 by Roland Scheidegger on 08/12/2004 at 16:43..
(Stephane Marchesin, me) add hyperz support to radeon drm. Only fast z
    clear and z buffer compression are working correctly, hierarchical-z is
    not.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4a87c6883ede7bbf486743efe3e9325d96f8e54

Git commit b4782ba76b8ee48dca9948abe8ba5cd1f42617e7 by Dave Airlie on 10/12/2004 at 11:53..
Use wbinvd macro instead of assembly for it,
From: Stefan Dirsch <sndirsch at suse.de> Signed-off-by: Dave Airlie
    <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4782ba76b8ee48dca9948abe8ba5cd1f42617e7

Git commit aff0a2548561ecbe3411b57cd31f46cbb1b4f6b8 by Thomas Hellstrom on 13/12/2004 at 13:53..
VIA drm updates:
1. Improved security check of AGP texture adresses.
2. Hopefully last fix of ring-buffer jump oddities.
3. Added ioctl to check available space and command regulator lag in
    ring-buffer. This is needed for 3D application responsiveness.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aff0a2548561ecbe3411b57cd31f46cbb1b4f6b8

Git commit 3e65f52bda674bec43b807d50b41a537c9e93959 by Eric Anholt on 15/12/2004 at 03:34..
Use SYSCTL_ADD_OID macro instead of calling function directly.
Submitted by: reffie at FreeBSD.org
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e65f52bda674bec43b807d50b41a537c9e93959

Git commit ebd3b867deed789bd4b3fe98f88c20a9454f0061 by Alan Hourihane on 16/12/2004 at 11:07..
drm_pciids.h should only 'cleaned' when the shared/ directory exists. Which
    the Makefile already knows about, but it was cleaning this file anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebd3b867deed789bd4b3fe98f88c20a9454f0061

Git commit eaaf0a5211883608e2e698cde04bcb0da4c4a4ee by Keith Whitwell on 17/12/2004 at 14:11..
Add the 'Auto' pageflipping command to the verifier. I don't think any
    verification is required for the arguments of this packet from a
    security point of view.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eaaf0a5211883608e2e698cde04bcb0da4c4a4ee

Git commit ae0db704b4ada67f9df81e208308c7d92c29396e by Thomas Hellstrom on 19/12/2004 at 19:13..
via changes: Fixed typecasting bug in via_dma.c, and possible short-circuit
    bug in the cmdbuf_size ioctl. Modified ring-buffer jump code AGAIN, due
    to new oddities discovered on the Unichrome Pro with faster processors.
    Bumped patchlevel and driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae0db704b4ada67f9df81e208308c7d92c29396e

Git commit c4c48a8a5bb27cee0592aebcc032abe7858604c8 by Keith Whitwell on 20/12/2004 at 11:57..
Add a very simple install target. I expect there are more correct ways to
    do this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4c48a8a5bb27cee0592aebcc032abe7858604c8

Git commit 47c178da08c01501890e23219cbac8319992a453 by Keith Whitwell on 20/12/2004 at 12:03..
Copy HC_ParaType_Auto change to shared-core. Bump version numbers and
    dates.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47c178da08c01501890e23219cbac8319992a453

Git commit 02c35ec0a28b4fffcfc09ca444f7dc0c0912216d by Thomas Hellstrom on 21/12/2004 at 17:13..
via DRM: Tightened the security for some functions of the
    DRM_IOCTL_VIA_DMA_INIT IOCTL. Bumped patchlevel and driver date.
XFree86 bug: 2119
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02c35ec0a28b4fffcfc09ca444f7dc0c0912216d

Git commit 590b23011910e27664c8bc6ebac4b2b150d81519 by Thomas Hellstrom on 31/12/2004 at 11:27..
VIA DRM: Stability enhancements and cleanups in via_dma.c Added explicit
    licence notice in via_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/590b23011910e27664c8bc6ebac4b2b150d81519

Git commit e19fa7ada122a68d6bedf3d678e96545ed41a39f by Thomas Hellstrom on 31/12/2004 at 11:44..
VIA DRM: verifier: Added verbose palette error reporting, and support for
    stipple palettes together with rudimentary checks for texture palette
    sizes.
other: Bumped version patchlevel and driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e19fa7ada122a68d6bedf3d678e96545ed41a39f

Git commit fe4ade81bb7a1242b18b84e012c1a293eea0420b by Dave Airlie on 01/01/2005 at 12:07..
i810/i830 bug with Jon's file operations changes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe4ade81bb7a1242b18b84e012c1a293eea0420b

Git commit ed165a25292740d5d3ef7e78dc04a6a3402562aa by Felix Kuehling on 01/01/2005 at 20:03..
Added a new DRM map type _DRM_CONSISTENT for consistent PCI memory. It uses
    drm_pci_alloc/free for allocating/freeing the memory. Only implemented
    in the Linux DRM so far.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed165a25292740d5d3ef7e78dc04a6a3402562aa

Git commit 04842e8bcf0cc1b3553ba380c450ad1f22b8b463 by Felix Kuehling on 01/01/2005 at 20:22..
Completeley rewritten Savage DRM which can be considered secure (modulo
    implementation errors). Direct hardware (MMIO, BCI) access is no longer
    needed in the Mesa driver. Bumped version to 2.0.0. Corresponding
    changes to the DDX and Mesa drivers are being committed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04842e8bcf0cc1b3553ba380c450ad1f22b8b463

Git commit 094f02c568fb2096a93b30adf291f82e0b87bbce by Felix Kuehling on 05/01/2005 at 14:34..
Fixed the DMA buffer age test. Should fix occasional "soft" lockups. Bumped
    patch level and driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/094f02c568fb2096a93b30adf291f82e0b87bbce

Git commit e34b5601912ce4b611d429304d5271fcf6f9f457 by Thomas Hellstrom on 05/01/2005 at 17:44..
VIA update:
Release video futexes when context is destroyed (This was previously done
    by the X server).
Added New Unichrome Pro VIDEO DMA commands to the verifier.
Added Quiescent heavyweight lock mode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e34b5601912ce4b611d429304d5271fcf6f9f457

Git commit 4818014ab10e5ab27fe7c87f7936a932526612a6 by Thomas Hellstrom on 05/01/2005 at 17:46..
Bumped driver date and minor version.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4818014ab10e5ab27fe7c87f7936a932526612a6

Git commit ae1bc4a6da92ab31c933baa0b3f6c17c9bd16eb5 by Felix Kuehling on 05/01/2005 at 23:45..
3D scissor regs are now managed by the DRM to iterate over clip rects
    passed to the cmdbuf ioctl (try xeyes on top of glxgears ;-)
Tightened the texture state check
Bumped Savage DRM version to 2.1.0 so that DRI driver can (theoretically)
    depend on the DRM to manage the scissor registers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae1bc4a6da92ab31c933baa0b3f6c17c9bd16eb5

Git commit 50a6ffa8789ca12029da1db86ad8c90ce62cd241 by Thomas Hellstrom on 06/01/2005 at 15:53..
via DRM: Updated the verifier to check the vertex lists more thorough. This
    should hopefully stop it from getting out of sync.
The PCI command parser is still not updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50a6ffa8789ca12029da1db86ad8c90ce62cd241

Git commit c6c7496ca090dd56599de5bb1398f69762569d5e by Jon Smirl on 06/01/2005 at 17:09..
Adjust drm-memory for 4 level page tables in 2.6.10 ifdef'd to use 3 levels
    in kernels older than 2.6.10
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6c7496ca090dd56599de5bb1398f69762569d5e

Git commit fcece3cf34ed5cc7e82d324362a40b3dd5493bbe by Alan Hourihane on 06/01/2005 at 17:51..
Add i915GM support Add resume functionality (must be used with later DDX)
    Bump to 1.2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fcece3cf34ed5cc7e82d324362a40b3dd5493bbe

Git commit ca2b94cfa2f07c4fd1188d85d8d916318e15e7f2 by Thomas Hellstrom on 07/01/2005 at 08:21..
Updated via DRM with check for stray FIRE commands primitive list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca2b94cfa2f07c4fd1188d85d8d916318e15e7f2

Git commit fb6a4d0a7dfd8e996dca6d45bb820979f231c82c by Thomas Hellstrom on 07/01/2005 at 11:37..
via updates: moved the verifier state struct to dev_priv. Implemented AGP
    alignment check.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb6a4d0a7dfd8e996dca6d45bb820979f231c82c

Git commit e7ba83bd6f3a1ab9981948a64e9a09940d25e281 by Felix Kuehling on 08/01/2005 at 23:28..
Fixed off-by-one error in savage_bci_wait_fifo_shadow.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7ba83bd6f3a1ab9981948a64e9a09940d25e281

Git commit 6e38fd357625ef002cf1f4570296dc66ba2631c6 by Jon Smirl on 09/01/2005 at 17:30..
Adjust 4 level page check for <= 2.6.10
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e38fd357625ef002cf1f4570296dc66ba2631c6

Git commit d6af902ff74d4a384c2dd9acb9540d637f588bc6 by Felix Kuehling on 09/01/2005 at 19:49..
Improved workaround for Savage3D DMA lockup to emit NOPs only before the
    first indexed drawing command of a cmdbuf or if a wait command was
    emitted since the last indexed drawing command.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6af902ff74d4a384c2dd9acb9540d637f588bc6

Git commit 17d893f567787914add42c221996c631455cdb25 by Felix Kuehling on 10/01/2005 at 22:46..
Only try to find the agp_buffer_map if dma_type is AGP. This is all that's
    needed on the DRM side to support PCI Savages. Bumped patch level and
    driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17d893f567787914add42c221996c631455cdb25

Git commit 9904319b95794088fe1db34e86ed62bc20f863e7 by Keith Whitwell on 11/01/2005 at 10:42..
import Thomas' shared-core via changes up to 2.4.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9904319b95794088fe1db34e86ed62bc20f863e7

Git commit ee576367632b582e29f2b3d42f2eb9250cfdf219 by Keith Whitwell on 11/01/2005 at 10:59..
Import Thomas' changes upto 2.4.3 to shared. Small tweak to install target.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee576367632b582e29f2b3d42f2eb9250cfdf219

Git commit d4a8f16eb6a2fe13f2576f224e6c1a8b3ba89719 by Felix Kuehling on 12/01/2005 at 16:07..
Use virt_to_page instead of vmalloc_to_page in drm_do_vm_shm_nopage for
    consistent pages allocated with drm_pci_alloc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4a8f16eb6a2fe13f2576f224e6c1a8b3ba89719

Git commit 6c8a3194f40fc673b1055f1f2b70b45209881e7f by Dave Airlie on 13/01/2005 at 01:26..
due to backways compat crap for IRQ_HANDLED etc.. this wouldn't build on
    2.4
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c8a3194f40fc673b1055f1f2b70b45209881e7f

Git commit ffc51f1f32c57a99f2a8b02c0a9aa211362ec9b2 by Felix Kuehling on 15/01/2005 at 16:55..
Setup MTRRs for frame buffer and aperture manually on Savage3D and
    Savage4-based cards. Automatic setup in drm_initmap doesn't work due to
    the weird alignment and size of the aperture.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ffc51f1f32c57a99f2a8b02c0a9aa211362ec9b2

Git commit 9514ee39f7e5063383b99de580e7e3115645e886 by Felix Kuehling on 16/01/2005 at 01:22..
Fixed a bug that prevented the driver from ever emitting triangle strips or
    fans. Bumped patchlevel and driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9514ee39f7e5063383b99de580e7e3115645e886

Git commit 354dd17d2505fd3b9754f6ccc960671e1f9363d9 by Dave Airlie on 16/01/2005 at 05:40..
The patch makes drmAddBufs/drmMapBufs can handle buffers in video memory
The attached patch adds a new buffer type DRM_FB_BUFFER. It works like AGP
    memory but uses video memory.
From: austinyuan at viatech.com.cn (fd.o bug 1668) Signed-off-by: Dave Airlie
    <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/354dd17d2505fd3b9754f6ccc960671e1f9363d9

Git commit 0867ce78f6ec31b718f58ce80c56822c40cb68ca by Dave Airlie on 16/01/2005 at 06:41..
This table is in radeon_drv.h along with the version number so remove it
    from here
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0867ce78f6ec31b718f58ce80c56822c40cb68ca

Git commit 37318f167511248315675ac45ba7d4c8fc4efcfc by Dave Airlie on 16/01/2005 at 07:49..
remove duplicate drm_sysfs.o
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37318f167511248315675ac45ba7d4c8fc4efcfc

Git commit e5cc0b8f6f561b6eab91ab653cdce38dc160398f by Adam Jackson on 16/01/2005 at 23:50..
Shared libdrm work:
- create libdrm.so target
- build it by default
- drop xf86drmCompat.c from the build
- make 'clean' target never fail
- use pattern rules for .c -> .o for parallelism
- add 'install' target
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5cc0b8f6f561b6eab91ab653cdce38dc160398f

Git commit c74052cfae9cf3929e692551ce657f8fb55b6f08 by Adam Jackson on 17/01/2005 at 00:02..
Add xf86drm.h to the install target.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c74052cfae9cf3929e692551ce657f8fb55b6f08

Git commit 7d0cb01cbf620e090230978ccee6cf7a882c832c by Eric Anholt on 17/01/2005 at 20:24..
Add detection of whether the device is AGP by walking the capabilities
    list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d0cb01cbf620e090230978ccee6cf7a882c832c

Git commit d29e2369be1a8643d12ab93997757fe3aafaa655 by Jose Fonseca on 17/01/2005 at 21:46..
Some code commenting concerning the FIFO & DMA engine.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d29e2369be1a8643d12ab93997757fe3aafaa655

Git commit f5914ad67bd87db8128a47fd74da3573b1306f27 by Alan Hourihane on 19/01/2005 at 08:55..
Fix a cut & paste problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5914ad67bd87db8128a47fd74da3573b1306f27

Git commit 9620a0b8bb2447bc17bf9a5aa9174720bf2ced68 by Alan Hourihane on 19/01/2005 at 10:03..
Fix cut & paste problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9620a0b8bb2447bc17bf9a5aa9174720bf2ced68

Git commit 858e68fbdc4597f6c0dce9dd092a85078d1fb6c6 by Felix Kuehling on 20/01/2005 at 12:23..
Corrected some confusion of vb_stride and vtx_size
Implemented SAVAGE_CMD_DMA_IDX and SAVAGE_CMD_VB_IDX for ELTs support in
    the _savage_render_stage of the 3D driver
Bumped minor version and driver date
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/858e68fbdc4597f6c0dce9dd092a85078d1fb6c6

Git commit 36ec8d82e73215cb49034c5ec540dee170752ee0 by Adam Jackson on 20/01/2005 at 19:05..
Add a Savage3D PCI ID
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36ec8d82e73215cb49034c5ec540dee170752ee0

Git commit 39d5c831a01dbffca268e5938c255e26a860bab1 by Felix Kuehling on 20/01/2005 at 23:33..
Removed one bogus Savage3D PCI ID. Corrected another one. Restored
    numerical ordering.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39d5c831a01dbffca268e5938c255e26a860bab1

Git commit 3df805bd4ab492537e3aa0b9ac5ae99491ee38d6 by Adam Jackson on 22/01/2005 at 08:24..
Add drm.h to the install target.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3df805bd4ab492537e3aa0b9ac5ae99491ee38d6

Git commit 311da0f2124104dfac5fe59bf0ffd7fd88280945 by Dave Airlie on 24/01/2005 at 01:05..
hopefully fix drm_core setversion ioctl... pointed out by Eric on irc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/311da0f2124104dfac5fe59bf0ffd7fd88280945

Git commit 310abb39b24159be9839156b4034426cea6a7449 by Dave Airlie on 24/01/2005 at 08:39..
use libdrm after it was updated
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/310abb39b24159be9839156b4034426cea6a7449

Git commit 408376b2031cf301f1a8e35e89ceefc72f2fdc94 by Roland Scheidegger on 26/01/2005 at 14:19..
replace magic number with macro constant RADEON_ZBLOCK16
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/408376b2031cf301f1a8e35e89ceefc72f2fdc94

Git commit 43c3223de690b892759901386d8dc936b0dfbad1 by Roland Scheidegger on 26/01/2005 at 17:48..
(Stephane Marchesin,me) Add radeon framebuffer tiling support to radeon
    drm. Add new ioctls to manage surfaces which cover the tiled areas
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43c3223de690b892759901386d8dc936b0dfbad1

Git commit 77045dc51672715115f179c099dfb8d7b4d304d4 by Dave Airlie on 27/01/2005 at 09:13..
fix incorrect PCI id for ATI radeon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77045dc51672715115f179c099dfb8d7b4d304d4

Git commit cd9ef39c769202f161619ee7a95674371c57cd48 by Thomas Hellstrom on 27/01/2005 at 22:48..
Fixed multiple devices DMA bug. Fixed PCI path FIRE command detection
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd9ef39c769202f161619ee7a95674371c57cd48

Git commit 41cbbb47afa898cd4bfe5f39fad57199088a5727 by Dave Airlie on 29/01/2005 at 23:05..
fix radeon drv
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41cbbb47afa898cd4bfe5f39fad57199088a5727

Git commit 4b23b5fc3ebe5660ad8d5eed8057877a9c7592ea by Adam Jackson on 30/01/2005 at 03:30..
Final pass of libdrm.so work:
- Add $(DESTDIR) for distributors doing package creation
- Remove OS-specific include path from build
- Add /usr/include/drm for driver-kernel API
- Install all of shared-core/*.h in /usr/include/drm
- Rename xf86drm.h to libdrm.h since we're not X biased anymore
- Include backwards compat for xf86drm.h name, with a warning
- Fix libdrm source to account for drm.h living in /usr/include/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b23b5fc3ebe5660ad8d5eed8057877a9c7592ea

Git commit 8d4c731aa1e0936d8187ad77b5c779a79e22566d by Dave Airlie on 01/02/2005 at 10:18..
make more functions static in i810 and fix pageflip cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d4c731aa1e0936d8187ad77b5c779a79e22566d

Git commit 62e0a58ecf03fe85de6e671fe2fc7f613ba39b37 by Dave Airlie on 01/02/2005 at 10:33..
update i830 similiar to the kernel, add statics
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62e0a58ecf03fe85de6e671fe2fc7f613ba39b37

Git commit 1dd948f280b52645b320ea0745ec48b8d98c9d9b by Dave Airlie on 01/02/2005 at 10:43..
make functions static in i915, remove unused functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1dd948f280b52645b320ea0745ec48b8d98c9d9b

Git commit 0d6b7fcb79e9bf6f823b5802f8317056015faeec by Dave Airlie on 01/02/2005 at 11:08..
cleanup patch from Adrian Bunk <bunk at stusta.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d6b7fcb79e9bf6f823b5802f8317056015faeec

Git commit caa4212faa659a30d543a15781428bd8b4c2c882 by Adam Jackson on 01/02/2005 at 22:09..
momentary revert. libdrm build may be broken now, but no one uses it yet...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/caa4212faa659a30d543a15781428bd8b4c2c882

Git commit ed31275144b9d322f7339700a5f5cf1167ee8322 by Eric Anholt on 03/02/2005 at 01:05..
Cast user data to correct type in radeon_surface_free's copyin.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed31275144b9d322f7339700a5f5cf1167ee8322

Git commit 7f7bbdcbed4f752bb2063fd1c650121e368797fc by Eric Anholt on 03/02/2005 at 01:06..
Declare r128_do_cleanup_pageflip static since it's only used here and its
    prototype went away.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f7bbdcbed4f752bb2063fd1c650121e368797fc

Git commit 270ca5f3cee387c10a06a4d58e50c5d0e1cea837 by Thomas Hellstrom on 03/02/2005 at 10:51..
Via driver: Add missing drm_poll function to via driver in core.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/270ca5f3cee387c10a06a4d58e50c5d0e1cea837

Git commit 080a547d4d42d42e08a525aca9a62b5ece7616d5 by Eric Anholt on 05/02/2005 at 08:00..
- Implement drm_initmap, and extend it with the resource number to help
    FreeBSD. Add drm_get_resource_{start|len} so linux-specific stuff
    doesn't need to be in shared code.
- Fix mach64 build by using __DECONST to work around passing a const
    pointer to useracc, which is unfortunately not marked const.
- Get rid of a lot of maplist code by not having dev->maplist be a pointer,
    and by sticking the link entries directly in drm_local_map_t rather
    than having a separate structure for the linked list.
- Factor out map uninit and removal into its own routine, rather than
    duplicating in both drm_takedown() and drm_rmmap().
- Hook up more driver functions, and correct FreeBSD-specific bits of
    radeon_cp.c, making radeon work.
- Baby steps towards using bus_space as we should.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/080a547d4d42d42e08a525aca9a62b5ece7616d5

Git commit 2239c55a304416dbf83e7fd545df5c3dde3ff058 by Eric Anholt on 07/02/2005 at 01:14..
Remove some annoying trailing whitespace.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2239c55a304416dbf83e7fd545df5c3dde3ff058

Git commit 5a332a0f61760d8c13a01ba9f9208fafcafc3bb4 by Eric Anholt on 07/02/2005 at 03:10..
Restore a debugging message to DRM_DEBUG instead of DRM_ERROR.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a332a0f61760d8c13a01ba9f9208fafcafc3bb4

Git commit 300e0866d68d40af9271a588bd93522e4e7a339c by Dave Airlie on 07/02/2005 at 10:44..
fix agp detection on linux
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/300e0866d68d40af9271a588bd93522e4e7a339c

Git commit 03ddea5b274a515528ea58db62f7b5f779430c5b by Dave Airlie on 07/02/2005 at 11:20..
change DRIVER_ to CORE_ makes things look nicer, also change it so the
    driver name is marked on resource allocations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03ddea5b274a515528ea58db62f7b5f779430c5b

Git commit a36d5b33aaa7731621a288a6a9a02bf86c8c80e4 by Roland Scheidegger on 07/02/2005 at 21:11..
Cast user data to correct type in radeon_surface_free's copyin.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a36d5b33aaa7731621a288a6a9a02bf86c8c80e4

Git commit dc4defe742387dc3081557111b67a1ab99455dbb by Dave Airlie on 07/02/2005 at 22:55..
Invalid bound check of driver defined ioctls in drm_ioctl
Bug 2489 Reporter: Aapo Tahkola <aet at rasterburn.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc4defe742387dc3081557111b67a1ab99455dbb

Git commit 81459d6e50a02b87ed95073659536eefa1e09fdf by Eric Anholt on 08/02/2005 at 04:17..
Close a race which could allow for privilege escalation by users with DRI
    privileges on Radeon hardware. Essentially, a malicious program could
    submit a packet containing an offset (possibly in main memory) to be
    rendered from/to, while a separate thread switched that offset in
    userspace rapidly between a valid value and an invalid one.
    radeon_check_and_fixup_offset() would pull the offset in from user
    space, check it, and spit it back out to user space to be copied in
    later by the emit code. It would sometimes catch the bad value, but
    sometimes the malicious program could modify it after the check and get
    an invalid offset rendered from/to.
Fix this by allocating a temporary buffer and copying the data in at once.
    While here, make the cliprects stuff not do the VERIFYAREA_READ and
    COPY_FROM_USER_UNCHECKED gymnastics, avoiding a lock order reversal on
    FreeBSD. Performance impact is negligible -- no difference on r200 to
    ~1% improvement on rv200 in quake3 tests (P4 1Ghz, demofour at
    1024x768, n=4 or 5).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81459d6e50a02b87ed95073659536eefa1e09fdf

Git commit 2cdfb2cc8527a6a805b159006885268607383448 by Roland Scheidegger on 08/02/2005 at 22:46..
fix incorrect PCI id for ATI radeon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2cdfb2cc8527a6a805b159006885268607383448

Git commit 08790293b13bb4562307309461400dad22c72eaf by Keith Whitwell on 10/02/2005 at 11:02..
Stephane's port of Eric's race fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08790293b13bb4562307309461400dad22c72eaf

Git commit 732cdc5cef25b1ea518fec9c9028d3a9806b690a by Roland Scheidegger on 10/02/2005 at 19:22..
add support for texture micro tiling on radeon/r200. Add support for r100
    cube maps (since it also requires a version bump) at the same time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/732cdc5cef25b1ea518fec9c9028d3a9806b690a

Git commit 5d5acf28d8225a4a8a440e63abba8136e344b852 by Roland Scheidegger on 10/02/2005 at 19:29..
add support for texture micro tiling for radeon/r200. Add support for cube
    maps for r100. (Stephane Marchesin's port of the core version).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d5acf28d8225a4a8a440e63abba8136e344b852

Git commit ba18d68ff512f672520b0c78aa955ad1f9a9d7d0 by Eric Anholt on 13/02/2005 at 01:08..
Add the first bits necessary for a port of savage to FreeBSD. More to
    follow later.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba18d68ff512f672520b0c78aa955ad1f9a9d7d0

Git commit 0d2eb2b90c092eaef00c95a9403ed7f0c8f7b3a6 by Eric Anholt on 13/02/2005 at 01:18..
Fix bad copy'n'pastage of copyrights -- don't disclaim anything for VA
    Linux or PI in my copyrights when I should be doing it for myself.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d2eb2b90c092eaef00c95a9403ed7f0c8f7b3a6

Git commit 650c0fe391b09479afd787e0b1db0a3e22cc4fcd by Thomas Hellstrom on 13/02/2005 at 23:03..
Fixed Futex release bug. Bumped driver date and patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/650c0fe391b09479afd787e0b1db0a3e22cc4fcd

Git commit 2f7cd38c122b2f7f790e51b78a51cc935c9b2f18 by Eric Anholt on 14/02/2005 at 03:22..
Initialize kbuf to NULL to quiet the compiler about uninit variables
    (wasn't an issue). Don't forget to free kbuf if the copyin fails.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f7cd38c122b2f7f790e51b78a51cc935c9b2f18

Git commit ed082798f481b43d9745aaae15306e94a9acb169 by Eric Anholt on 14/02/2005 at 03:26..
Use the proper API to get PCI vendor/device number for a dev.
PR: ports/76879 Submitted by: Alex, lesha at intercaf dot ru.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed082798f481b43d9745aaae15306e94a9acb169

Git commit 3e8792e7051090b442d29444fa2e5dfe46847c34 by Eric Anholt on 14/02/2005 at 03:28..
Use fuword32 for DRM_GET_USER_UNCHECKED when available. May help on 64-bit
    platforms.
Submitted by: Jung-uk Kim, jkim at niksun dot com
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e8792e7051090b442d29444fa2e5dfe46847c34

Git commit 80d844d99250e7bc26fbae7ca4a274ad46f7676f by Keith Whitwell on 15/02/2005 at 13:15..
Run depmod after installing new modules
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80d844d99250e7bc26fbae7ca4a274ad46f7676f

Git commit b646515d6124b906f5a0c2cf76f8fda590884ef0 by Adam Jackson on 18/02/2005 at 16:40..
Bug #2567: Fix reversed memset arguments. (David Krause)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b646515d6124b906f5a0c2cf76f8fda590884ef0

Git commit 49e19c8d001c34f675b8d81ffde8f0792292f6ff by Michel Daenzer on 18/02/2005 at 20:06..
fd.o bug #2576: Add support for ATI RN50/ES1000. (ATI Technologies Inc.)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49e19c8d001c34f675b8d81ffde8f0792292f6ff

Git commit baeb76076e79dae0ed78f12e294336deaa3af9e7 by Eric Anholt on 19/02/2005 at 20:00..
Merge r1.26 from FreeBSD: Now that mem(4) is a kernel module, we need to
    depend on it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baeb76076e79dae0ed78f12e294336deaa3af9e7

Git commit 56cdeff23181772142a56268e50ceff691c7934d by Eric Anholt on 19/02/2005 at 22:07..
Fix a couple of gcc warnings in DRM_INFOs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56cdeff23181772142a56268e50ceff691c7934d

Git commit f3cf4bc5f2bd556689ef197877de596b83dbd3d9 by Thomas Hellstrom on 20/02/2005 at 00:05..
Fix VIA K8M800 PCI ID.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3cf4bc5f2bd556689ef197877de596b83dbd3d9

Git commit bc54ede0a865d55b3cc39db79aae3a8bc12bbcc0 by Felix Kuehling on 23/02/2005 at 16:34..
Use wrap counter to extend 16-bit hardware event tags to 32-bit logical
    event counters in the SAVAGE_EVENT_EMIT/WAIT ioctls. This is needed for
    reliable client-side texture heap aging. Slightly simplified DMA buffer
    aging while at it. Bumped minor version and driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc54ede0a865d55b3cc39db79aae3a8bc12bbcc0

Git commit 26f04a16645edb366fce16060f6d5d01f2ff54b3 by Dave Airlie on 04/03/2005 at 03:04..
add some idct type 3 packets for reference
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26f04a16645edb366fce16060f6d5d01f2ff54b3

Git commit 15995234b4d6cb848d919b0342b5697fffe80c89 by Felix Kuehling on 06/03/2005 at 01:41..
Added support for command DMA on Savage4-based hardware. Unfortunately
    command and vertex DMA don't work at the same time. Command DMA
    performance is superior and works with all vertex formats. Bumped minor
    version and driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15995234b4d6cb848d919b0342b5697fffe80c89

Git commit 32b6823a2540da83553f49a1daf89159c425c93e by Dave Airlie on 07/03/2005 at 09:40..
minor pointer cast typo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32b6823a2540da83553f49a1daf89159c425c93e

Git commit 95fa851769b2a3461fb710f6d035bc5b2bf164e0 by Felix Kuehling on 07/03/2005 at 12:19..
Tracked down random lockups related to command DMA that occurred in Quake3
    after ~5min: buffer aging was subtly broken. Part of this may have also
    affected vertex DMA buffer aging and client-side texture heap aging,
    though with less fatal consequences. Bumped minor version and driver
    date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95fa851769b2a3461fb710f6d035bc5b2bf164e0

Git commit 7d3c42b58940b56efa9bfc13a08b5e67797fc771 by Dave Airlie on 08/03/2005 at 23:47..
Fix for bug 2673 from Egbert Eich - memset the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d3c42b58940b56efa9bfc13a08b5e67797fc771

Git commit a396617dbc15abafdc172b972a02c04007ad579f by Felix Kuehling on 13/03/2005 at 02:16..
Command DMA optimizations:
- don't waste DMA memory when small command buffers are flushed
- minimized padding with noops
- slightly simplified faked DMA flushing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a396617dbc15abafdc172b972a02c04007ad579f

Git commit d2fd9200956a94cfd91a39e76994f326bdfc6ac0 by Thomas Hellstrom on 14/03/2005 at 22:50..
via changes:
1. Initialize futex locks to zero on device init.
2. Remove some stray defines from via_drm.h
3. Prepare via_drm.h for drm client inclusion. The goal is to share a
    common file with common definitions.
4. Sync shared / shared-core via_drm.h
5. Bump minor, because of the futex lock initialization.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2fd9200956a94cfd91a39e76994f326bdfc6ac0

Git commit 34563921dd0b41d4ccf08374227e31d765b40353 by Roland Scheidegger on 15/03/2005 at 22:12..
add R200_EMIT_PP_TRI_PERF_CNTL packet to support brilinear filtering on
    r200
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34563921dd0b41d4ccf08374227e31d765b40353

Git commit ab396776fbf2777d31c4253001e882d2faee0c3b by Michel Daenzer on 18/03/2005 at 22:51..
Add support for production version of ATI RN50/ES1000. (ATI Technologies
    Inc.)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab396776fbf2777d31c4253001e882d2faee0c3b

Git commit df6ef4836ead254487a834e889d4595d915c4818 by Dave Airlie on 25/03/2005 at 09:01..
For 2.6.12 and 2.6.11.x:
Remove incorrect "drm_"-prefix from parameter description.
Signed-off-by: Magnus Damm <damm at opensource.se>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df6ef4836ead254487a834e889d4595d915c4818

Git commit c8d2d5d41901ba8072b4f03617c39cbb52f9224b by Dave Airlie on 25/03/2005 at 09:02..
3dfx DRM depends on PCI
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8d2d5d41901ba8072b4f03617c39cbb52f9224b

Git commit ca04fbc7bad746b5f323a36407b4d99a3a2afd02 by Dave Airlie on 25/03/2005 at 09:05..
fix bug with XFree86 4.3 on core drm
Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca04fbc7bad746b5f323a36407b4d99a3a2afd02

Git commit 2ad83874287622875f6979da3cd505d18b697704 by Dave Airlie on 25/03/2005 at 09:47..
verify_area is deprecated, replaced by access_ok. Seems I missed this one
    when I did the big overall conversion.
Signed-off-by: Jesper Juhl <juhl-lkml at dif.dk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ad83874287622875f6979da3cd505d18b697704

Git commit 956a701544d22c7885e53678531448cd04aba5f5 by Dave Airlie on 25/03/2005 at 09:48..
fix up AGP multi-head support for kernel 2.6.12
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/956a701544d22c7885e53678531448cd04aba5f5

Git commit 20dce568dced6cb38a9bab850b45989e86b0f1e6 by Dave Airlie on 25/03/2005 at 13:06..
use linux-core for 2.6 not this stuff..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20dce568dced6cb38a9bab850b45989e86b0f1e6

Git commit 9182891b26f1847664f4a797db12c63ec065df7a by Dave Airlie on 25/03/2005 at 13:16..
From Xorg CVS realign the i915_drv.h
From: Tungsten Graphics Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9182891b26f1847664f4a797db12c63ec065df7a

Git commit 459ef4862978800f3dbff76af134593350cad6aa by Alan Hourihane on 25/03/2005 at 13:44..
Don't know who set the i915GM PCI ID incorrectly but it should be 0x2592
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/459ef4862978800f3dbff76af134593350cad6aa

Git commit 385f927692beb395ae3866538b2b0f8f8e436eba by Dave Airlie on 27/03/2005 at 06:58..
Some ia64 platforms may not support write combining on all type of memory,
    so we need to consult the EFI memory map before we try to set the write
    combine attribute of a page. This patch will try to map a page write
    combined if it's not an AGP page and the EFI memory map says it's ok,
    otherwise it falls back to a regular, uncached mapping. Can someone
    please apply this to the drm tree?
From: Jesse Barnes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/385f927692beb395ae3866538b2b0f8f8e436eba

Git commit c6161eff86b250f3113791edcc162dc97322c401 by Dave Airlie on 27/03/2005 at 07:05..
Description: Rather than use custom code in DRM_WAIT_ON() to do exactly
    what wait_event_interruptible_timeout() does, use the function and just
    change the return values appropriately.
Signed-off-by: Nishanth Aravamudan <nacc at us.ibm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6161eff86b250f3113791edcc162dc97322c401

Git commit 532ccb98b5f2946f574a747b90c39edbe783f888 by Thomas Hellstrom on 28/03/2005 at 21:21..
Via updates:
New PCI command parser. Moved from via_dma.c to via_verifier.c so functions
    with similar functionality are close to eachother.
Moved video related functions to via_video.c, which might be extended in
    the future, as new video functionality is added.
New device-specific generic IRQ IOCTL, similar to the general VBLANK IOCTL,
    but with support for multiple device IRQ sources and functionality.
Support for Unichrome Pro PM800/CN400 video DMA commands in verifier and
    PCI parser.
Support for Unichrome Pro PM800/CN400 HQV IRQs in the new generic IRQ
    IOCTL.
Bumped minor. New version 2.6.0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/532ccb98b5f2946f574a747b90c39edbe783f888

Git commit 0a5e02c7b5fbbc7a7cc3654f5820d0dd50381de9 by Adam Jackson on 29/03/2005 at 01:47..
Add skeletal imagine driver (but don't build it yet).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a5e02c7b5fbbc7a7cc3654f5820d0dd50381de9

Git commit cb5f6c22b5a0190c845029a772a2eb2a3faa5d1c by Thomas Hellstrom on 29/03/2005 at 09:48..
Missing file via_video.c commited.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb5f6c22b5a0190c845029a772a2eb2a3faa5d1c

Git commit a0454aba714ba0314b85faad2801f7b047fa3b02 by Dave Airlie on 04/04/2005 at 04:08..
mirror changes made in main tree.. just happened to be doing this myself
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0454aba714ba0314b85faad2801f7b047fa3b02

Git commit 926298e8220b43158c433c75ffca74909a33c42b by Eric Anholt on 13/04/2005 at 04:20..
Fix build on FreeBSD-current, thanks to jhb at .
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/926298e8220b43158c433c75ffca74909a33c42b

Git commit 10ddbc8c8c9e540cf4802cab36d0c46f0aa0b6d8 by Eric Anholt on 16/04/2005 at 03:02..
Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD
    CVS.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10ddbc8c8c9e540cf4802cab36d0c46f0aa0b6d8

Git commit a08343e3e053d5ab27398013781f489cdf7f60de by Thomas Hellstrom on 18/04/2005 at 08:26..
VIA:
1) Security fix: Stopped possible MMIO access to PCI DMA area for the
    unichrome Pro.
2) Fixed an odd cpu usage problem by padding small AGP DMA submissions.
    Bumped patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a08343e3e053d5ab27398013781f489cdf7f60de

Git commit b0c461c8e374d7e92e5013a03fc6096595a74700 by Dave Airlie on 19/04/2005 at 00:31..
Revert last commit, it affect via things
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0c461c8e374d7e92e5013a03fc6096595a74700

Git commit 2b8dc25dc549533f1567093fb7dffc06d6f55268 by Thomas Hellstrom on 20/04/2005 at 10:16..
VIA: Interrupt handler bugfixes. Bumped patchlevel to 2.6.2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b8dc25dc549533f1567093fb7dffc06d6f55268

Git commit 699d4ad53a62e46344b672365dda0be4001edd99 by Thomas Hellstrom on 20/04/2005 at 18:50..
A fix for a locking bug which is triggered when a client tries to lock with
    flag DMA_QUIESCENT (typically the X server), but gets interrupted by a
    signal. The locking IOCTL should then return an error, but if
    DMA_QUIESCENT succeeds it returns 0, and the client falsely thinks it
    has the lock. In addition The client waits for DMA_QUISCENT and
    possibly DMA_READY without having the lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/699d4ad53a62e46344b672365dda0be4001edd99

Git commit be9e67a927ed9583380107b2fb9ddf3bd8a5f128 by Eric Anholt on 24/04/2005 at 19:09..
Fix a panic on startup with non-initmapping drivers by assigning the
    drm_ioremap return value to the map handle again.
Submitted by: Tor Egge, tegge at freebsd dot org
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be9e67a927ed9583380107b2fb9ddf3bd8a5f128

Git commit 31a06d0baca9e378a773ca8bd350860546dd8a79 by Eric Anholt on 26/04/2005 at 05:11..
Use msleep instead of tsleep to drop the DRM device lock and avoid a
    sleep-with- mutex held. This probably ought to be an os-independent
    sleep function ala DRM_USLEEP.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31a06d0baca9e378a773ca8bd350860546dd8a79

Git commit ec111d70fee0647c4c68a02c723d4a3729c93b56 by Eric Anholt on 26/04/2005 at 05:19..
Convert BSD code to mostly use bus_dma, the dma abstraction for dealing
    with IOMMUs and such. There is one usage of the forbidden vtophys()
    left in drm_scatter.c which will be fixed up soon. This required a KPI
    change for drm_pci_alloc/free() to return/use a drm_dma_handle_t that
    keeps track of os-specific bits, rather than just passing around the
    vaddr/busaddr/size.
Submitted by: Tonnerre Lombard (partially) Tested on: FreeBSD: Rage128
    AGP/PCI Linux: Savage4 AGP/PCI
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec111d70fee0647c4c68a02c723d4a3729c93b56

Git commit 2fcf66a02fb0f6f31c0d02026c8c7a4d36b45f58 by Eric Anholt on 26/04/2005 at 06:03..
Clean up some const qualifier cast warnings.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fcf66a02fb0f6f31c0d02026c8c7a4d36b45f58

Git commit 6aae7bd5b061c6a8130787ba3ea5aa07c744eda9 by Eric Anholt on 26/04/2005 at 15:27..
Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6aae7bd5b061c6a8130787ba3ea5aa07c744eda9

Git commit e0fc400b681cb6b04ba0769c58f279a2aa4326a5 by Thomas Hellstrom on 08/05/2005 at 20:33..
VIA: Fix for oops when AGP ring-buffer initialization is called and there
    is no AGP memory acquired.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0fc400b681cb6b04ba0769c58f279a2aa4326a5

Git commit bd72c6990f22381af61f62bffe70619f726d5923 by Dave Airlie on 15/05/2005 at 10:19..
wrap config.h include with defined for KERNEL
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd72c6990f22381af61f62bffe70619f726d5923

Git commit e051cd19c00ed28997ff6fece0d1d4308b171229 by Ian Romanick on 16/05/2005 at 17:37..
Added device_is_agp callback to drm_driver. This function is called by the
    platform-specific drm_device_is_agp function. Added implementation of
    this function the the Linux-specific portion of the MGA driver to
    detect PCI G450 cards. Added code to the Linux-specific portion of the
    generic DRM layer to not initialize AGP infrastructure if the card is
    not AGP (this matches what already existed in BSD).
Bumped the driver date and the driver patch-level for MGA.
This mostly fixes bugzilla #3248. The BSD side still needs an
    implementation of mga_driver_device_is_agp.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e051cd19c00ed28997ff6fece0d1d4308b171229

Git commit 6d4b9a830bb5678460621b652e914cbcb16d8c4c by Felix Kuehling on 17/05/2005 at 02:08..
Savage doesn't require AGP any more. Enable build even without CONFIG_AGP.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d4b9a830bb5678460621b652e914cbcb16d8c4c

Git commit 4ca48cb4d8341b699ffffc8ccd8d70006733936a by Dave Airlie on 18/05/2005 at 06:35..
Add i945G pci ids to drm
From: Christopher Allen Wing <wingc at engin.umich.edu> Signed-off-by: Dave
    Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ca48cb4d8341b699ffffc8ccd8d70006733936a

Git commit fced784140c7b347ea9d3091a8bc0c06c1a760f7 by Ian Romanick on 20/05/2005 at 00:17..
Refactor common, boilerplate ioctl code from drm_addbufs_* functions into
    drm_addbufs. This makes the code more like the BSD code, and makes the
    drm_addbufs_* functions callable in-kernel.
Reviewed by: Dave Airlie
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fced784140c7b347ea9d3091a8bc0c06c1a760f7

Git commit a686be5bc8c5d8a260513b680f322e3b790aadf7 by Ian Romanick on 21/05/2005 at 02:27..
Change the MGA initialization and cleanup a bit. The dev_private structure
    is now allocated (and partially filled in) by the new
    mga_driver_preinit function.
This allows the driver to detect the type of card (i.e., G200 class vs.
    G400 class) on its own. The chipset value passed to mga_dma_init is now
    ignored. This same technique is used by the radeon DRM.
As a result of this, mga_driver_pretakedown was converted to
    mga_driver_postcleanup. This routine gets called in some other places
    than might be expected, and it sets the dev_private pointer to NULL.
    That little gem took over an hour to track down. :(
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a686be5bc8c5d8a260513b680f322e3b790aadf7

Git commit 75cb43ccd73dd2c8c196d209862b8a3ea4e433cb by Ian Romanick on 21/05/2005 at 02:31..
Forgot to bump the patchlevel and driver date on last commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75cb43ccd73dd2c8c196d209862b8a3ea4e433cb

Git commit 955791f0645d4b61bd20d817c532dda3a40aaddd by Ian Romanick on 22/05/2005 at 04:36..
Refactor the routines for "calculating" the size of the WARP microcode. The
    two routines (one for G200 and one for G400) were replaced with static
    const variables and a single function that returns the correct size.
    The code to generate an error if the allocated WARP region is too small
    was refactored from mga_warp_install_{g200,g400}_microcode to
    mga_wrap_install_microcode.
mga_warp_microcode_size is global to the MGA DRM because it will soon be
    used by code in another file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/955791f0645d4b61bd20d817c532dda3a40aaddd

Git commit e1fd79b31e130e9e4bafcab914491973147b7f86 by Thomas Hellstrom on 23/05/2005 at 20:56..
VIA:
64-bit fixes. Bumped driver date and patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1fd79b31e130e9e4bafcab914491973147b7f86

Git commit c9abd2fec509c271339d1ca3addd95df884df80a by Dave Airlie on 27/05/2005 at 07:23..
add radeon registers from VHA code these are the "unknown" registers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9abd2fec509c271339d1ca3addd95df884df80a

Git commit 4a84416c458027462ee6112a5fa442415597f6c2 by Ian Romanick on 27/05/2005 at 23:42..
Modify drm_driver::device_is_agp to return a tri-state value to indicate
    that a device absolutely is, absolutely is not, or may or may not be
    AGP. Modify the i915 DRM to use this to force all i9x5 devices to be
    "AGP" (even the PCI-e devices).
Reported by: Lukas Hejtmanek
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a84416c458027462ee6112a5fa442415597f6c2

Git commit 45f1db8db9d1280dff51cdfb680bff2754195483 by Alan Hourihane on 28/05/2005 at 00:00..
Re-implement the power management.
There's two choices when fb is or isn't loaded as we treat ourselves as a
    PCI driver in the latter case.
If we are a PCI driver, then register the suspend/resume functions
    directly. If not, then we register as a sysdev and pick up the
    suspend/resume actions and pump them down into a generic *power
    function.
It'll be nice when this little mess is sorted out with regard to being a
    real PCI driver ;-/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45f1db8db9d1280dff51cdfb680bff2754195483

Git commit 54fbf85125ef231f77b333d9e72cbc56b5bc012d by Alan Hourihane on 28/05/2005 at 00:08..
Actually check for drm_fb_loaded before trying to initialize the sysdev
    approach.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54fbf85125ef231f77b333d9e72cbc56b5bc012d

Git commit d7756397d695e5573647258f8412e9ecfb2645d4 by Eric Anholt on 28/05/2005 at 20:25..
Bugzilla #3217: The size field in the new dma handle structure was
    uninitialized, and its use in drm_pci_free later resulted in panics.
Signed-off-by: Sergey Vlasov <vsu at altlinux.ru>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7756397d695e5573647258f8412e9ecfb2645d4

Git commit 9cad6fb4e043ba6140d4c61f09ca0cf0ba8d18c0 by Eric Anholt on 28/05/2005 at 20:36..
Bugzilla #3217: Create a new __drm_pci_free which is used internally in
    linux-core to free pci memory without freeing the structure. Linux-core
    internals often create pci dma handle structures on the stack due to
    the lack of a drm_local_map_t to store them in properly. Fix the
    original drm_pci_free to actually free the dma handle structure instead
    of leaking it.
Signed-off-by: Sergey Vlasov <vsu at altlinux.ru>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9cad6fb4e043ba6140d4c61f09ca0cf0ba8d18c0

Git commit 8e7c130ef71b6300a99f6404d23e7ff8646066be by Ian Romanick on 03/06/2005 at 22:45..
Move the deallocation of dev_private. Since dev_private is allocated when
    the driver is loaded and is always expected to be around, it should
    only be deallocated when the driver is unloaded.
Xorg bug: #3408 Reported by: Chris Rankin
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e7c130ef71b6300a99f6404d23e7ff8646066be

Git commit 1d678a518ee97fef3a3f9816cddf199ad7e37509 by Ian Romanick on 03/06/2005 at 22:53..
Minor clean-ups. The drm_mga_fullscreen_t stuff has been dead for a looong
    time. Remove it and an out-dated comment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d678a518ee97fef3a3f9816cddf199ad7e37509

Git commit 83cb1504498ad2ca327bc8341bc21ed6cdb54756 by Dave Airlie on 04/06/2005 at 06:14..
Remove warnings about code mixed with declerations..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83cb1504498ad2ca327bc8341bc21ed6cdb54756

Git commit 805a07714f05833a1ed4e4a01f8086fafd46e849 by Dave Airlie on 04/06/2005 at 06:18..
misc cleanup patch from Adrian Bunk
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/805a07714f05833a1ed4e4a01f8086fafd46e849

Git commit 751765dba5b15f431a12308e09237d895c65e471 by Eric Anholt on 06/06/2005 at 06:45..
Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the
    device attachment).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/751765dba5b15f431a12308e09237d895c65e471

Git commit 246c617c87a5407f0bb8375e217443fc38aee405 by Alan Hourihane on 06/06/2005 at 09:18..
Fix copyrights
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/246c617c87a5407f0bb8375e217443fc38aee405

Git commit 9f2f010763170890c69e1d2f9dd1f550db0400b1 by Dave Airlie on 06/06/2005 at 11:35..
fix some issues with radeon interrupt handling
From: Dave Airlie + Benjamin Herrenschmidt
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f2f010763170890c69e1d2f9dd1f550db0400b1

Git commit 1252890ff1d62544a250560f0c2985454bf888b5 by Jon Smirl on 09/06/2005 at 13:22..
drm_mem_init should be done at core load, not driver init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1252890ff1d62544a250560f0c2985454bf888b5

Git commit dfc650bd80da28b430b65cd26a1bf418074e2086 by Ian Romanick on 09/06/2005 at 21:18..
Completely re-initialize DMA settings
There were two problems. First, the 'warp' and 'primary' pointers weren't
    cleared, so mga_do_cleanup_dma, which gets called multiple times, would
    try to ioremapfree them multiple times. This resulted in the new error
    messages to syslog. The second problem was the, since the dev_private
    structure isn't reallocated and cleaned out in mga_do_init_dma, when
    the server is reloaded idle-waits would wait for impossible values.
I have given this patch some more riggorous testing. This includes:
- Load module, start server, run GL app, stop server, unload module.
- Load module, start server, run GL app, stop server, unload module, reload
    module, restart server, run GL app.
- Load module, start server, run GL app, stop server, restart server, run
    GL app, stop server, unload module.
In all three cases, everything worked as expected. Please let me know if
    there are any further regressions with this patch.
Xorg bug: 3408 Reported by: Chris Rankin
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfc650bd80da28b430b65cd26a1bf418074e2086

Git commit 28759fd872842c41f38edaf77a140a798609dd20 by Ian Romanick on 09/06/2005 at 21:24..
Synchronize with the shared-core version.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28759fd872842c41f38edaf77a140a798609dd20

Git commit f4aa8ab715cdb2382609f51dda4d832de417894a by Dave Airlie on 10/06/2005 at 01:21..
add dragonfly #define from Xorg CVS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4aa8ab715cdb2382609f51dda4d832de417894a

Git commit 3585bdf7d81a92c729bb5bcbc7cfca6048d640ce by Dave Airlie on 11/06/2005 at 10:08..
fix up drm.h for C++ include as this can be included in user programs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3585bdf7d81a92c729bb5bcbc7cfca6048d640ce

Git commit 72cfc797b51e59ecf8a2787c6a176838241cc94b by Ian Romanick on 14/06/2005 at 22:34..
Adds support for PCI cards to MGA DRM
This patch adds serveral new ioctls and a new query to get_param query to
    support PCI MGA cards.
Two ioctls were added to implement interrupt based waiting. With this
    change, the client-side driver no longer needs to map the primary DMA
    region or the MMIO region. Previously, end-of-frame waiting was done by
    busy waiting in the client-side driver until one of the MMIO registers
    (the current DMA pointer) matched a pointer to the end of primary DMA
    space. By using interrupts, the busy waiting and the extra mappings are
    removed.
A third ioctl was added to bootstrap DMA. This ioctl, which is used by the
    X-server, moves a *LOT* of code from the X-server into the kernel. This
    allows the kernel to do whatever needs to be done to setup DMA buffers.
    The entire process and the locations of the buffers are hidden from
    user-mode.
Additionally, a get_param query was added to differentiate between G4x0
    cards and G550 cards. A gap was left in the numbering sequence so that,
    if needed, G450 cards could be distinguished from G400 cards. According
    to Ville Syrjälä, the G4x0 cards and the G550 cards handle
    anisotropic filtering differently. This seems the most compatible way
    to let the client-side driver know which card it's own. Doing this very
    small change now eliminates the need to bump the DRM minor version
    twice.
http://marc.theaimsgroup.com/?l=dri-devel&m=106625815319773&w=2
A number of ioctl handlers in linux-core were also modified so that they
    could be called in-kernel. In these cases, the in-kernel callable
    version kept the existing name (e.g., drm_agp_acquire) and the ioctl
    handler added _ioctl to the name (e.g., drm_agp_acquire_ioctl).
This patch also replaces the drm_agp_do_release function with
    drm_agp_release. drm_agp_release (drm_core_agp_release in the previous
    patch) is very similar to drm_agp_do_release, and I saw no reason to
    have both.
This commit *breaks the build* on BSD. Eric said that he would make the
    required updates to the BSD side soon.
Xorg bug: 3259 Reviewed by: Eric Anholt
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72cfc797b51e59ecf8a2787c6a176838241cc94b

Git commit 1567753415d420c626ae145457539bfee1414df8 by Ian Romanick on 15/06/2005 at 17:47..
Re-sync (and correct!) shared/mga_drm.h with shared-core/mga_drm.h.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1567753415d420c626ae145457539bfee1414df8

Git commit 53e950b344d84a98fda4cff6d03b90651a625f18 by Alan Hourihane on 16/06/2005 at 19:58..
Force AGP always for Intel chipsets.
Fixes bug #3552
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53e950b344d84a98fda4cff6d03b90651a625f18

Git commit 0569fe7a528e5e0753d9f72807a8f4310c6c9782 by Jon Smirl on 17/06/2005 at 04:47..
Fix 810/830 build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0569fe7a528e5e0753d9f72807a8f4310c6c9782

Git commit 71df0eed3476d4430a59ce21ca641ac8eecf54e2 by Dave Airlie on 17/06/2005 at 09:09..
fix up drm_alloc_agp to take a dev arg and not pass crappy agpgart around
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71df0eed3476d4430a59ce21ca641ac8eecf54e2

Git commit ae2264d3c9a4938b1202c4301587c7214c2c4293 by Jon Smirl on 19/06/2005 at 04:15..
Remove I2C support from radeon driver. Same support is available from
    radeonfb.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae2264d3c9a4938b1202c4301587c7214c2c4293

Git commit 298b6fcedbc3a521c2218404a96de0754dbb4f02 by Jon Smirl on 20/06/2005 at 15:40..
Change initialization of radeon register access to _DRM_READ_ONLY. Flags of
    zero does not mean no privs, instead it grants write access
    _DRM_READ_ONLY only applies to non-root users. Problem is only in CVS,
    initmaps are not in the kernel yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/298b6fcedbc3a521c2218404a96de0754dbb4f02

Git commit 9fb77e869f530f3c9679dd63db07514e2f45efc7 by Jon Smirl on 21/06/2005 at 02:20..
Change initialization of savage register access to _DRM_READ_ONLY. Flags of
    zero does not mean no privs, instead it grants write access
    _DRM_READ_ONLY only applies to non-root users. Problem is only in CVS,
    initmaps are not in the kernel yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fb77e869f530f3c9679dd63db07514e2f45efc7

Git commit 4152605ea174291f469c0c8a6fc433fd90194e71 by Jon Smirl on 22/06/2005 at 05:49..
Get the power management hooks into the right place so that everything gets
    freed correctly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4152605ea174291f469c0c8a6fc433fd90194e71

Git commit 7586a655fc7d8e89a4fe37ec7926f4fbc13f358d by Jon Smirl on 23/06/2005 at 05:29..
Fix drm_memory_debug.c to compile, doesn't seem to be working Clean up
    error return path in drm_stub.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7586a655fc7d8e89a4fe37ec7926f4fbc13f358d

Git commit cdc50eba6ac666447a93471fb2db25959f9c2775 by Alan Hourihane on 24/06/2005 at 08:56..
Fix suspend problem when i915 private hasn't been initialized yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdc50eba6ac666447a93471fb2db25959f9c2775

Git commit fe42d43a63d95243fa911f88bb01c383d5e6716e by Alan Hourihane on 24/06/2005 at 09:28..
Fix the sysdev approach for power management.
We need to use the container_of() call to access our device private.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe42d43a63d95243fa911f88bb01c383d5e6716e

Git commit 5b0e93de32e9da390702df13d95ab63274294233 by Jon Smirl on 24/06/2005 at 19:31..
More err path clean up for drm_pm Add mandatory sysdev shutdown function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b0e93de32e9da390702df13d95ab63274294233

Git commit 2b845f25c5c3a36ed6e49b9145e38a4738ce2572 by Jon Smirl on 24/06/2005 at 21:50..
Make sysdev class only register when fbdev detected
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b845f25c5c3a36ed6e49b9145e38a4738ce2572

Git commit 9deb276a0680a79540f05c1547a9d703e9c08190 by Jon Smirl on 24/06/2005 at 22:48..
Ref count the sysdev class to support multiple DRM cards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9deb276a0680a79540f05c1547a9d703e9c08190

Git commit afdabdabf588267c8c8d4f1378a8e9824d58d2d0 by Jon Smirl on 26/06/2005 at 13:31..
removed dev->sysdev_registered
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afdabdabf588267c8c8d4f1378a8e9824d58d2d0

Git commit d6af2016635ced096812030547a930433e9382eb by Alan Hourihane on 27/06/2005 at 11:39..
Save state of registers for suspend/resume.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6af2016635ced096812030547a930433e9382eb

Git commit fa24ccccf4beeef41d8de23a345408b7b047ae3f by Alan Hourihane on 27/06/2005 at 11:41..
Check dev_priv
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa24ccccf4beeef41d8de23a345408b7b047ae3f

Git commit 1a6780348c9e61833ca240ce6fb80aaa6e75fb92 by Alan Hourihane on 27/06/2005 at 12:39..
Check for 2.6.12 suspend/resume changes (pm_message_t)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a6780348c9e61833ca240ce6fb80aaa6e75fb92

Git commit e2d76b0642d88c4f47ace52ee5eb3163c4e478d5 by Alan Hourihane on 27/06/2005 at 15:17..
Reverse the pm_message_t patch for now, it appears that the 2.6.12 release
    didn't have it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2d76b0642d88c4f47ace52ee5eb3163c4e478d5

Git commit 75ba453365380851d3297a9d553302021af923b2 by Alan Hourihane on 28/06/2005 at 07:34..
Comment out the .resume function as without programming their dependent
    registers things tend to lock up in certain situations.
The BIOS repost will fix things up.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75ba453365380851d3297a9d553302021af923b2

Git commit b6b270a2607088997a0ec74cb1d618f140a382f7 by Alan Hourihane on 28/06/2005 at 08:03..
Given that BenH says using the sysdev approach for DRM is bogus, I'll yank
    the code for it, rather than introducing something that isn't going to
    work 100% of the time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6b270a2607088997a0ec74cb1d618f140a382f7

Git commit 170bf94a367935046d72f7d2a21872bb88543a04 by Dave Airlie on 28/06/2005 at 12:50..
Add drm and radeon 32/64-bit compat code from Paul Mackerras
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/170bf94a367935046d72f7d2a21872bb88543a04

Git commit 827806f697855c65a8c9821ad410467c48e25d35 by Dave Airlie on 28/06/2005 at 12:52..
Add compat to Makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/827806f697855c65a8c9821ad410467c48e25d35

Git commit 6397722f1990856a9ee268cadd65d78b44b24835 by Dave Airlie on 28/06/2005 at 13:02..
add compat code from Paul Mackerras
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6397722f1990856a9ee268cadd65d78b44b24835

Git commit 5d96c74ff1fe9b2d37e22dbea9882791aae389bf by Eric Anholt on 28/06/2005 at 20:58..
- Remove drm_initmap and replace its usage with drm_addmap. This reduces
    code duplication, and it also hands you the map pointer so you don't
    need to re-find it.
- Remove the permanent maps flag. Instead, for register and framebuffer
    maps, we always check whether there's already a map of that type and
    offset around. Move the Radeon map initialization into presetup (first
    open) so it happens again after every takedown.
- Remove the split cleanup of maps between driver takedown (last close) and
    cleanup (module unload). Instead, always tear down maps on takedown,
    and drivers can recreate them on first open.
- Make MGA always use addmap, instead of allocating consistent memory in
    the PCI case and then faking up a map for it, which accomplished nearly
    the same thing, in a different order. Note that the maps are exposed to
    the user again: we may want to expose a flag to avoid this, but it's
    not a security concern, and saves us a lot of code.
- Remove rmmaps in the MGA driver. Since the function is only called during
    takedown anyway, we can let them die a natural death.
- Make removal of maps happen in one function, which is called by both
    drm_takedown and drm_rmmap_ioctl.
Reviewed by: idr (previous revision) Tested on: mga (old/new/pci dma),
    radeon, savage
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d96c74ff1fe9b2d37e22dbea9882791aae389bf

Git commit c798a382f1e11a0fd60a78924db0663f8e988a1b by Eric Anholt on 29/06/2005 at 02:54..
Get the BSD DRM compiling again after MGA and mapping changes. Note that
    i915 has been disabled for the moment, rather than working around
    linux-specific code in the shared dir.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c798a382f1e11a0fd60a78924db0663f8e988a1b

Git commit 2ce5ddec833195bc17c8ed062ce622460ffe0d6a by Dave Airlie on 29/06/2005 at 02:57..
Bug in conversion from old DRM to core DRM....
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ce5ddec833195bc17c8ed062ce622460ffe0d6a

Git commit ae7d8d8a85a4465fe641d28a7f5d8d64146f8d97 by Dave Airlie on 29/06/2005 at 03:06..
these don't need reclaim buffers their release functions handle it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae7d8d8a85a4465fe641d28a7f5d8d64146f8d97

Git commit 964c57e71f641da854636c3f9549ef8cc2f5a143 by Dave Airlie on 29/06/2005 at 11:22..
add mga and r128 32/64 bits
This is Egberts code, ported to Pauls framework by me..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/964c57e71f641da854636c3f9549ef8cc2f5a143

Git commit 2b427bee9bb4de9dba6ab96b68c66d22144669a5 by Alan Hourihane on 29/06/2005 at 11:36..
Move to linux specific directory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b427bee9bb4de9dba6ab96b68c66d22144669a5

Git commit 62b55eb433a211c565367b8ae717666e0acaf8fe by Dave Airlie on 29/06/2005 at 11:56..
make r128/mga compile properly on sparc cross-compiler
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62b55eb433a211c565367b8ae717666e0acaf8fe

Git commit 6975571c3b740e3a3813058a856fc6bd8b7fbd14 by Dave Airlie on 29/06/2005 at 12:02..
fix some warnings from cross compiler
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6975571c3b740e3a3813058a856fc6bd8b7fbd14

Git commit 6496c5d1e74532d8208774653a3a2a477d7fc50c by Alan Hourihane on 29/06/2005 at 13:00..
silence warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6496c5d1e74532d8208774653a3a2a477d7fc50c

Git commit fc83d76e5a5ce2700d2b95aa177d3eec57dc1bec by Alan Hourihane on 29/06/2005 at 13:13..
add i915_ioc32.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc83d76e5a5ce2700d2b95aa177d3eec57dc1bec

Git commit eeaeefca54b2f8299fbe8f99b5ca71e695430ba7 by Alan Hourihane on 29/06/2005 at 13:19..
add remaining calls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeaeefca54b2f8299fbe8f99b5ca71e695430ba7

Git commit 1b4ce02506afa65494956468afb0eb7f93b74fbc by Ian Romanick on 29/06/2005 at 23:20..
Remove the AGP requirement from Makefile and Kconfig for MGA. Remove the
    AGP requirement from Kconfig for SIS. There never was a requirement in
    Makefile, and Eric Anholt confirms that the Makefile was correct.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b4ce02506afa65494956468afb0eb7f93b74fbc

Git commit e2ba08d28335b43515ccbefcc21052ed0d5a7e47 by Jon Smirl on 30/06/2005 at 16:00..
release can happen before dev->ctxlist is allocated
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2ba08d28335b43515ccbefcc21052ed0d5a7e47

Git commit d41af11ee30413f90064cfffb5687be92a28021c by Jon Smirl on 03/07/2005 at 17:16..
Add sysfs attribute dri_library_name on Linux. code in share-core/via_drv.c
    is ok to be shared, it will be passive on BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d41af11ee30413f90064cfffb5687be92a28021c

Git commit 04fea060023a539c6c6766ec184b59f32c97d474 by Jon Smirl on 03/07/2005 at 18:07..
Simplify the sysfs code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04fea060023a539c6c6766ec184b59f32c97d474

Git commit 07d23f9c60f9358f064eab7d944f3b28484b51ef by Adam Jackson on 10/07/2005 at 22:42..
autoconfiscate libdrm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07d23f9c60f9358f064eab7d944f3b28484b51ef

Git commit 7130662aa0c476a56a4a053c6dda19bc3a91060a by Jon Smirl on 11/07/2005 at 18:27..
IRQ must be assigned and enabled or this will hang
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7130662aa0c476a56a4a053c6dda19bc3a91060a

Git commit 5a5478de7ab4ee2eef0308d8b4ce5c53222cd55e by Adam Jackson on 13/07/2005 at 00:13..
distcheck fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a5478de7ab4ee2eef0308d8b4ce5c53222cd55e

Git commit 567113788c030b367a28ea9253fbf34beef2789e by Thomas Hellstrom on 15/07/2005 at 21:22..
VIA: Fix sparse warnings (Alexey Dobriyan)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/567113788c030b367a28ea9253fbf34beef2789e

Git commit d6d67dbf92d64a4c662dcad52d720883da9d5e19 by Dave Airlie on 16/07/2005 at 02:03..
Egbert noticed this issue, but changing the IOW to IOWR mess up
    compatiblity with userspace..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6d67dbf92d64a4c662dcad52d720883da9d5e19

Git commit 9803eb179c8edd8d62b038f550c63a4aa589615e by Dave Airlie on 16/07/2005 at 02:07..
up the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9803eb179c8edd8d62b038f550c63a4aa589615e

Git commit d3d3184fe4b2fa72ed55813bd7eac72659f2375e by Dave Airlie on 16/07/2005 at 03:11..
revert last change due to me bring up too early
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3d3184fe4b2fa72ed55813bd7eac72659f2375e

Git commit 026e12ea937865748d54d3b8a7a3b77ccc4e3efb by Eric Anholt on 19/07/2005 at 20:59..
Add .cvsignore file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/026e12ea937865748d54d3b8a7a3b77ccc4e3efb

Git commit ab59dd285c4ccdec92adadfcb869fc83edd96e86 by Eric Anholt on 20/07/2005 at 21:17..
Add latest r300 support from r300.sf.net CVS. Patch submitted by volodya,
    with BSD fix from jkim and the r300_reg.h license from Nicolai Haehnle.
    Big thanks to everyone involved!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab59dd285c4ccdec92adadfcb869fc83edd96e86

Git commit 096e0349eaa56f1941edddf10ab3915b785d8281 by Roland Scheidegger on 27/07/2005 at 18:19..
fix driver date and drm minor version for r300 support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/096e0349eaa56f1941edddf10ab3915b785d8281

Git commit fccd351c8f17f69dd4ce986f0a626b42bbcb4ef0 by Eric Anholt on 27/07/2005 at 20:19..
Link in the savage files from shared-core.
Submitted by: jkim
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fccd351c8f17f69dd4ce986f0a626b42bbcb4ef0

Git commit 942545721f9bf14941f7e2ed81c79c4f0709749a by Eric Anholt on 27/07/2005 at 20:20..
Correct a couple of descriptions of files in comments (were just
    copy'n'pasted).
Submitted by: jkim
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/942545721f9bf14941f7e2ed81c79c4f0709749a

Git commit 1cc1f49825e7fc157f8cfecfb4c5168056f5f738 by Eric Anholt on 28/07/2005 at 01:44..
Fix issues with buffer aging when more than one dma buffer is discarded in
    a cmdbuf, which could lead to hangs.
Submitted by: Aapo Tahkola
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cc1f49825e7fc157f8cfecfb4c5168056f5f738

Git commit 8b4691ee13cc30893f694103e8a90c33655e5cf1 by Adam Jackson on 01/08/2005 at 20:31..
Fix the pkgconfig info. (Donnie Berkholz)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b4691ee13cc30893f694103e8a90c33655e5cf1

Git commit 40515fc93c479599f32485630b4063422106358f by Adam Jackson on 01/08/2005 at 20:36..
version bump
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40515fc93c479599f32485630b4063422106358f

Git commit 49bbb6d86178890a03040d618a8c9c76c96d3d3f by Eric Anholt on 04/08/2005 at 07:31..
Add a debugging error message from testing new MGA code on BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49bbb6d86178890a03040d618a8c9c76c96d3d3f

Git commit b0da5df90a76e4e79c356fdbc90211a8e21f095c by Eric Anholt on 04/08/2005 at 07:42..
Fix the MGA driver on BSD by passing in the proper chipset flags to the
    driver's preinit routine, and by using DRM_COPY_TO_USER_IOCTL when
    copying out to an ioctl's data pointer. Pulled from the latest version
    of my drm-hook-rename.diff and only compile-tested after that.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0da5df90a76e4e79c356fdbc90211a8e21f095c

Git commit 3ffd0c188bc35263f0b53345a0a4a261f4ae1b71 by Eric Anholt on 04/08/2005 at 07:46..
Whitespace fixups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ffd0c188bc35263f0b53345a0a4a261f4ae1b71

Git commit ea2c7a895d6456c83ee8489e1db7ae5a800f0abf by Jon Smirl on 04/08/2005 at 13:15..
Split the control of master vs root priv. Everything is still marked as
    needing root.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea2c7a895d6456c83ee8489e1db7ae5a800f0abf

Git commit bb9502ab01e7258c021f161b3caac8a508979dd8 by Jon Smirl on 04/08/2005 at 13:59..
Mark some radeon init variables deprecated. These used to be passed in but
    the driver already knew their correct value. For example the physical
    address of the framebuffer and registers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb9502ab01e7258c021f161b3caac8a508979dd8

Git commit 28e123eb3af21b1ea73bdc2176220bb669118e09 by Jon Smirl on 04/08/2005 at 14:39..
Tighten up AGP security. Verify that all uses of AGP are done inside
    buffers that have been allocated from AGP. This includes some new
    capable(CAP_SYS_ADMIN) checks, these functions are also protected by
    the root requirement on the IOCTL macros.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28e123eb3af21b1ea73bdc2176220bb669118e09

Git commit 143622a987745ca2084f7a188e9993ffd5f28fe3 by Jon Smirl on 04/08/2005 at 14:48..
Implement permanent sarea maps
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/143622a987745ca2084f7a188e9993ffd5f28fe3

Git commit c789ea1521ac9e935f2a1c6c043619d89bae9c16 by Eric Anholt on 05/08/2005 at 03:50..
Rename the driver hooks in the DRM to something a little more
    understandable: preinit -> load postinit -> (removed) presetup ->
    firstopen postsetup -> (removed) open_helper -> open prerelease ->
    preclose free_filp_priv -> postclose pretakedown -> lastclose
    postcleanup -> unload release -> reclaim_buffers_locked version ->
    (removed)
postinit and version were replaced with generic code in the Linux DRM
    (drivers now set their version numbers and description in the driver
    structure, like on BSD). postsetup wasn't used at all. Fixes the savage
    hooks for initializing and tearing down mappings at the right times.
    Testing involved at least starting X, running glxgears, killing
    glxgears, exiting X, and repeating.
Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c789ea1521ac9e935f2a1c6c043619d89bae9c16

Git commit 99c3f88c69e5a9ac7cddd0bb24e8be3415616656 by Dave Airlie on 05/08/2005 at 13:04..
Fix bug in return to userspace resctx code
From: Egbert Eich <eich at suse.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99c3f88c69e5a9ac7cddd0bb24e8be3415616656

Git commit fcdb53867df4937a55e4a771328fa5a9388aee44 by Dave Airlie on 07/08/2005 at 04:38..
remove bus address
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fcdb53867df4937a55e4a771328fa5a9388aee44

Git commit 1cbe97eea1a7ffcbf19767e83dce09da56c454f6 by Dave Airlie on 07/08/2005 at 05:32..
fix ioctl in r128 drm direction from Egbert Eich.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cbe97eea1a7ffcbf19767e83dce09da56c454f6

Git commit 3a61e9f96ce50101f05a5ca2cb0e34b2aa001b55 by Dave Airlie on 07/08/2005 at 05:37..
make some functions static in the savage drm driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a61e9f96ce50101f05a5ca2cb0e34b2aa001b55

Git commit 0d81954b0e4430428eddc00c6097e614e51ba0b1 by Jon Smirl on 09/08/2005 at 01:40..
Make sure savage has 3rd ioctl parameter
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d81954b0e4430428eddc00c6097e614e51ba0b1

Git commit d5e8ab13ff5399531eb1927dcd4535aeeed18c94 by Thomas Hellstrom on 10/08/2005 at 19:46..
Security fix on via: Checking that the specified context belongs to the
    caller on fb / agp memory alloc and free. Otherwise malicious clients
    can register allocations on other clients or free memory used by other
    clients which will lead to severe memory manager inconsistensies.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5e8ab13ff5399531eb1927dcd4535aeeed18c94

Git commit 4931d785ed0bf9f75200ed530c4061efe2d24a63 by Thomas Hellstrom on 11/08/2005 at 13:05..
Missing symbol export from previous via context check commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4931d785ed0bf9f75200ed530c4061efe2d24a63

Git commit cdf49e57329803709fe26cbc103c318bc9292ddb by Thomas Hellstrom on 12/08/2005 at 14:19..
Reverting the previous via security-fix commit, since the assumption of
    contexts registered with the callers filp was wrong.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdf49e57329803709fe26cbc103c318bc9292ddb

Git commit 4050f5066a706bda74ed93ab858bbc9fc0b1477b by Eric Anholt on 12/08/2005 at 17:18..
Fix build after linux-side checkin of master/root-only split. Still only
    cares about root on the BSD side, but should be secure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4050f5066a706bda74ed93ab858bbc9fc0b1477b

Git commit 4f5961eeeee806a2d6e08e159c56262d4f060cba by Thomas Hellstrom on 14/08/2005 at 09:52..
VIA bugvixes by Joris van Rantwijk Initial commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f5961eeeee806a2d6e08e159c56262d4f060cba

Git commit 8c21b783c3e38aa2c2d16e11ec01cf695f8e7f8a by Eric Anholt on 15/08/2005 at 18:07..
Port the VIA DRM to FreeBSD. Original patch by Jake, with some cleanup by
    me to match other drivers and avoid ifdeffing. The linux via_drv.c will
    be moved from shared-core to linux-core soon by repocopy.
Submitted by: Jake Burkholder <jake at FreeBSD.org> Tested by: unichrome
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c21b783c3e38aa2c2d16e11ec01cf695f8e7f8a

Git commit 7af0186f4ccef285c2158770781ebfc3a26ddd66 by Dave Airlie on 16/08/2005 at 12:51..
add Egberts 32/64 bit patch (its in kernel already...)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7af0186f4ccef285c2158770781ebfc3a26ddd66

Git commit 91c9c847299a1f27c92f8663902fcee72a65f9e4 by Eric Anholt on 16/08/2005 at 17:20..
Remove the long-stale BSD non-core bits.
Prodded by: CVS breakage resulting in complaints about this directory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91c9c847299a1f27c92f8663902fcee72a65f9e4

Git commit 279e7c113ced4f2f4dcc14801aa3084698a417bd by Dave Airlie on 17/08/2005 at 00:14..
commit toggle switch to make Linux drm_handle_t unsigned int
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/279e7c113ced4f2f4dcc14801aa3084698a417bd

Git commit 7779659390afc5608655e617aa3f2c88b7e071c5 by Dave Airlie on 17/08/2005 at 10:48..
revert reversion of a part of a patch from Jon, that I did last night while
    checking things in in my sleep
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7779659390afc5608655e617aa3f2c88b7e071c5

Git commit 8ac2fcb193c79ea8b2bd4d99b595d56f557c15f3 by Dave Airlie on 17/08/2005 at 22:59..
add agp buffer token
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ac2fcb193c79ea8b2bd4d99b595d56f557c15f3

Git commit 1abd165f5bd627a6eebf333135d5a1b5a32d7aa3 by Adam Jackson on 19/08/2005 at 20:14..
Add r300_reg.h. Bump to 1.0.2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1abd165f5bd627a6eebf333135d5a1b5a32d7aa3

Git commit 017174085f162484277b2f798d35d3436a26e005 by Adam Jackson on 20/08/2005 at 03:32..
Fix silly install issue by moving the header install rules for shared-core
    into shared-core/Makefile.am. Bump to 1.0.3.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/017174085f162484277b2f798d35d3436a26e005

Git commit 2e9bd9ac18e17e91bec4e3b777503a53a3faf952 by Dave Airlie on 20/08/2005 at 07:12..
add powerpc64 to the list of archs that this test doesn't make sense on
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e9bd9ac18e17e91bec4e3b777503a53a3faf952

Git commit d12768f79ac2dbf9e31a32107f6e5379cb9484e4 by Dave Airlie on 20/08/2005 at 07:33..
remove checks that make ppc64 not work properly... also fix ppc64 check..
    we should be safe doing this..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d12768f79ac2dbf9e31a32107f6e5379cb9484e4

Git commit 5c4ce6d93c93032dad7f5a60f8b7867980d3f7f5 by Dave Airlie on 20/08/2005 at 07:38..
add x86_64 to the list as well
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c4ce6d93c93032dad7f5a60f8b7867980d3f7f5

Git commit e2dc70593f0d12cecac747c9044c6fb130ad6af8 by Dave Airlie on 21/08/2005 at 03:04..
We don't need to install all the internal headers files only drm.h and
    *_drm.h have user space interfaces
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2dc70593f0d12cecac747c9044c6fb130ad6af8

Git commit 54947504ac70e135a38f303420b7b66eed8c23a3 by Dave Airlie on 21/08/2005 at 11:07..
allocating the PCIE table from GFP_DMA seems to stop it NMI'ing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54947504ac70e135a38f303420b7b66eed8c23a3

Git commit 01e4364a8fec6cb2c11de4e5cb7def10b58348ae by Alan Hourihane on 22/08/2005 at 09:50..
remove i915_pm code as it causes too many issues with current software
    suspend, and the DDX driver re-inits the board successfully anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01e4364a8fec6cb2c11de4e5cb7def10b58348ae

Git commit 1163975f090725a0f2cddb313cc23d7e424f766f by Alan Hourihane on 22/08/2005 at 09:52..
remove the README in the linux-2.6 directory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1163975f090725a0f2cddb313cc23d7e424f766f

Git commit 5a52e533e1f42072b91544fdbca785ed2c9ad76b by Dave Airlie on 23/08/2005 at 04:10..
add options for x86_64 and amd will small letters
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a52e533e1f42072b91544fdbca785ed2c9ad76b

Git commit 7d5130d8fb24538e555689fb8e98f767406e0a2c by Eric Anholt on 25/08/2005 at 02:59..
Include appropriate CFLAGS to find X headers, needed to build libdrm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d5130d8fb24538e555689fb8e98f767406e0a2c

Git commit 9942cad1f6078c24bb69a126795635b2f34d65b5 by Eric Anholt on 25/08/2005 at 23:11..
Add missing .cvsignore files for autotoolery.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9942cad1f6078c24bb69a126795635b2f34d65b5

Git commit 55bea952b326b88f2fa6502321f605f96ee9be66 by Eric Anholt on 26/08/2005 at 00:16..
[1] Fix BSD DRM for the nonroot changes. [2] Don't attempt to acquire the
    DMA lock in a non-DMA driver, as it will be uninitialized.
Submitted by: [1] jkim (minor changes by me)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55bea952b326b88f2fa6502321f605f96ee9be66

Git commit 5105f9ea59179c7129d3bf97734eb37e26ec68b0 by Eric Anholt on 26/08/2005 at 19:07..
Fix a lack of parenthesis in macro usage that showed up with INVARIANTS
    turned on, i.e. in a kernel build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5105f9ea59179c7129d3bf97734eb37e26ec68b0

Git commit c425ad1a34439d019edd589c32a7161d01b4d822 by Eric Anholt on 26/08/2005 at 20:56..
Previously, drm_get_resource_start() and drm_get_resource_len() would
    allocate the resource RF_ACTIVE, pull out the appropriate value, and
    return it. However, allocating large framebuffers RF_ACTIVE would run
    the system out of KVA, and this also left open the possibility of the
    resource getting moved after getting the offset. Instead, when either
    of these are called, allocate the resource if it isn't allocated
    already (non-RF_ACTIVE) and store it in the DRM device, to be cleaned
    up on lastclose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c425ad1a34439d019edd589c32a7161d01b4d822

Git commit 22ec8ebb17d959486e4a865b17115e609eb688ee by Eric Anholt on 26/08/2005 at 23:27..
- Don't try to allocate mappings of less than a PAGE_SIZE in MGA DMA code.
- Comment out the "is this mapping/bufs in allocated AGP" bits in BSD
    because they break mga (which uses AGP allocation that doesn't track
    entries). It's not a security issue when we still have the related
    ioctls marked root-only.
- Apply some power-of-two alignment restrictions to hopefully avoid some
    panicing in bad cases of drm_pci_alloc() on FreeBSD.
- Add verbosity to some error handling that I found useful while debugging.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22ec8ebb17d959486e4a865b17115e609eb688ee

Git commit 80ed93c7bf9f8c8d42cbcc26e82020cfcd92fb77 by Dave Airlie on 03/09/2005 at 02:21..
check is the map containing the lock
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80ed93c7bf9f8c8d42cbcc26e82020cfcd92fb77

Git commit 0d346a07a87ef7bf6b77adda7c776e2ac5849266 by Dave Airlie on 03/09/2005 at 03:27..
convert ioctl flags to use flags instead of separate ints
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d346a07a87ef7bf6b77adda7c776e2ac5849266

Git commit c8b5a9f8cc3f55faf135be70e7ff0f7f062ca408 by Vladimir Dergachev on 09/09/2005 at 12:53..
Add another R300 PCI id. Submitted by: Daniel Estévez
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8b5a9f8cc3f55faf135be70e7ff0f7f062ca408

Git commit 53c8037786a64eede00a8944ccaa42768609b66b by Roland Scheidegger on 09/09/2005 at 22:35..
Add support for GL_ATI_fragment_shader, new packets R200_EMIT_PP_AFS_0/1,
    R200_EMIT_PP_TXCTLALL_0-5 (replaces R200_EMIT_PP_TXFILTER_0-5, 2 more
    regs) and R200_EMIT_ATF_TFACTOR (replaces R200_EMIT_TFACTOR_0 (8 consts
    instead of 6)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53c8037786a64eede00a8944ccaa42768609b66b

Git commit 29326c1a8990ffb512a891d8deecf4cd4046915c by Dave Airlie on 11/09/2005 at 07:08..
fix makefile bug
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29326c1a8990ffb512a891d8deecf4cd4046915c

Git commit 5565a00916122bb131ce89a2ca8f7f81ddc9387c by Dave Airlie on 11/09/2005 at 08:51..
Add GART in FB support for ati pcigart, and PCIE support for r300
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5565a00916122bb131ce89a2ca8f7f81ddc9387c

Git commit 3f6fcbc6766e3032bfb0421675169cc2e732e399 by Dave Airlie on 11/09/2005 at 09:58..
back out change as gart is now in framebuffer for PCIE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f6fcbc6766e3032bfb0421675169cc2e732e399

Git commit ba8f4fb778e88dfa275e35f0d2e01e4ca99e65bd by Dave Airlie on 12/09/2005 at 04:35..
make PCI Express work on 64-bit machines, thanks to Alex Deucher (agd5f)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba8f4fb778e88dfa275e35f0d2e01e4ca99e65bd

Git commit f1276d3b4338bdfd2173bb76e931334da6075784 by Dave Airlie on 12/09/2005 at 04:37..
add some pci express chips
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1276d3b4338bdfd2173bb76e931334da6075784

Git commit 4b2a94db46dc4814e03d14e25ab0aed41e28a375 by Eric Anholt on 12/09/2005 at 05:35..
Fix the spelling of DRM_AUTH so that the bsd core stuff builds again. Next
    up is pcigart.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b2a94db46dc4814e03d14e25ab0aed41e28a375

Git commit acb6abcc6d862224f3e91ede82909c099efdfb1f by Dave Airlie on 12/09/2005 at 06:21..
update autogen from xserver tree
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/acb6abcc6d862224f3e91ede82909c099efdfb1f

Git commit f5c81b262020200d4b7970d12b6c202ae0f8faee by Dave Airlie on 17/09/2005 at 04:16..
compat for pci_pretty_name
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5c81b262020200d4b7970d12b6c202ae0f8faee

Git commit cd16d9685678dbb7e3d1442e62357d0b5bb98008 by Dave Airlie on 18/09/2005 at 09:31..
remove pci_find_class use for alpha
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd16d9685678dbb7e3d1442e62357d0b5bb98008

Git commit 3a0230ef9c933e07246e65a542681fc9549514f8 by Dave Airlie on 25/09/2005 at 03:09..
use linux kernel macros don't make our own
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a0230ef9c933e07246e65a542681fc9549514f8

Git commit c1b7df95be1194efcfd0d9ffd63da1ce27272565 by Dave Airlie on 25/09/2005 at 05:19..
add __ATTR
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1b7df95be1194efcfd0d9ffd63da1ce27272565

Git commit d4dec1db808095f42b6fd776b2582c6f27bebb9a by Dave Airlie on 25/09/2005 at 08:54..
hopefully fix server recycling on PCIE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4dec1db808095f42b6fd776b2582c6f27bebb9a

Git commit 903e5701ffbc613373f3ad3c3b7e14d493ec9dbe by Thomas Hellstrom on 25/09/2005 at 12:54..
Add the via PCI DMA blit code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/903e5701ffbc613373f3ad3c3b7e14d493ec9dbe

Git commit 9d24d951f7894aacf589892b5a6848d9961339b1 by Thomas Hellstrom on 25/09/2005 at 14:38..
via: fix stray error printout message.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d24d951f7894aacf589892b5a6848d9961339b1

Git commit 68b4ad3cce6e184549988d48e85985507c8dc5ed by Dave Airlie on 30/09/2005 at 03:14..
Add Bens fix for radeon maps on ppc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68b4ad3cce6e184549988d48e85985507c8dc5ed

Git commit 856bdf0f673510c33a23b4c4d4fff91d95eb149e by Dave Airlie on 30/09/2005 at 03:39..
fixup bens fix so it works..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/856bdf0f673510c33a23b4c4d4fff91d95eb149e

Git commit 6ff57e2d7cd0b9b513070f72ffd894e8d6f57149 by Dave Airlie on 30/09/2005 at 06:35..
fix pci overriding from userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ff57e2d7cd0b9b513070f72ffd894e8d6f57149

Git commit f42cdc8dcb4ae85c15580dd0bc2a07495d8f049e by Dave Airlie on 30/09/2005 at 06:41..
Add support to turn writeback off via radeon module option
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f42cdc8dcb4ae85c15580dd0bc2a07495d8f049e

Git commit 483dc9bb9298588ccd3521c8f95a8032939fbd08 by Dave Airlie on 30/09/2005 at 07:10..
now I've lindented kernel it might be useful again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/483dc9bb9298588ccd3521c8f95a8032939fbd08

Git commit ace8b912fbeaae9195892762a375f0ae1fbf558f by Dave Airlie on 30/09/2005 at 09:09..
fix header this is now a c file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ace8b912fbeaae9195892762a375f0ae1fbf558f

Git commit 908ad0ed96c6d1be567bff7332ec38d6b4b8db0a by Dave Airlie on 06/10/2005 at 23:08..
remove version not used anymore
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/908ad0ed96c6d1be567bff7332ec38d6b4b8db0a

Git commit 62a467303408286deef97b288ec286e21dda3761 by Adam Jackson on 06/10/2005 at 23:31..
Skeleton nv drm driver, to enable DMA in EXA. (Lars Knoll, minor updates by
    me)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62a467303408286deef97b288ec286e21dda3761

Git commit 308b40ea094d89660c25bf1dc16d70f5d3cc66c2 by Ian Romanick on 11/10/2005 at 17:34..
The Linux 2.6.9 (and earlier) fops structure does not contain a
    .compat_ioctl field. This change makes the DRM build on those kernels.
Signed-off-by: Ian Romanick <idr at us.ibm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/308b40ea094d89660c25bf1dc16d70f5d3cc66c2

Git commit 0a24095cd6dff3f4934c87feb34cee4f0350c07d by Dave Airlie on 13/10/2005 at 11:21..
Add X300 RV370
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a24095cd6dff3f4934c87feb34cee4f0350c07d

Git commit 725e329cb2aa93812e3e622a6cf2c92c0fffde9d by Adam Jackson on 13/10/2005 at 21:03..
Better pkgconfig-fu: -ldrm in Libs:
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/725e329cb2aa93812e3e622a6cf2c92c0fffde9d

Git commit 1505e316afc68da0167c1d2db1a862ac580c65f1 by Ian Romanick on 14/10/2005 at 01:25..
Fixed a cut-and-paste bug that could cause an oops in mga_do_cleanup_dma
    when mga_do_init_dma fails. Still trying to determine why
    mga_do_init_dma is failing.
Signed-off-by: Ian Romanick <idr at us.ibm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1505e316afc68da0167c1d2db1a862ac580c65f1

Git commit 4b3ee6c50ed8b9382d3f253669470a5c82e8f0bc by Ian Romanick on 14/10/2005 at 05:01..
Doig a full clean up from mga_do_dma_bootstrap when
    mga_do_agp_dma_bootstrap fails causes problems if
    mga_do_pci_dma_bootstrap succeeds. This commit makes it possible to do
    a "minimal" clean up instead. I'm still trying to figure out what is
    causing the failures in mga_do_agp_dma_bootstrap...
Signed-off-by: Ian Romanick <idr at us.ibm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b3ee6c50ed8b9382d3f253669470a5c82e8f0bc

Git commit 727e88c4f4e55be435e47759bb3b1e75fc42d43d by Dave Airlie on 20/10/2005 at 01:54..
the old init path needs to set WAGP_ENABLE by default
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/727e88c4f4e55be435e47759bb3b1e75fc42d43d

Git commit 763d726c439537ad3f8b1b668cf55b799a6f36db by Dave Airlie on 20/10/2005 at 02:35..
dma access also needs some work
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/763d726c439537ad3f8b1b668cf55b799a6f36db

Git commit b3631ba02cc55e0f4a4212d7075de62689bd1f43 by Adam Jackson on 20/10/2005 at 17:32..
Remove bogus Xlib dependency.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3631ba02cc55e0f4a4212d7075de62689bd1f43

Git commit cf8ce0888acf34afb5705faf1b6cb8d2f2945402 by Thomas Hellstrom on 20/10/2005 at 17:37..
via: PCI DMA bugfixes and DOS due to too many mapped pages checks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf8ce0888acf34afb5705faf1b6cb8d2f2945402

Git commit ea83db57e3625d54ee206561803a966d074d8296 by Adam Jackson on 20/10/2005 at 17:51..
via and r300 still need installed reg headers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea83db57e3625d54ee206561803a966d074d8296

Git commit d74376779f0b421478072fa7657d4f31a5e16c12 by Adam Jackson on 20/10/2005 at 17:53..
Remove the remaining references to Xlib. libdrm is totally independent now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d74376779f0b421478072fa7657d4f31a5e16c12

Git commit 419fc9930b5145e61c5b77c6e8f76c40af62fbc4 by Adam Jackson on 20/10/2005 at 17:55..
Bump to 1.0.4.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/419fc9930b5145e61c5b77c6e8f76c40af62fbc4

Git commit 6cd0282f6440fac661dd92a6e96e4fd82e4489b4 by Dave Airlie on 20/10/2005 at 22:41..
fix G550 cards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6cd0282f6440fac661dd92a6e96e4fd82e4489b4

Git commit 00d4957d62607873c2bf0c506fab4ff6c384b414 by Alan Hourihane on 21/10/2005 at 08:59..
Don't set MTRR's for intel hardware
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00d4957d62607873c2bf0c506fab4ff6c384b414

Git commit 79f30e79ec5b05b2052988e3e6edba8624e3d1c5 by Adam Jackson on 22/10/2005 at 05:50..
Bug #328: Silence read-from-uninitialized warnings in DRM_CAS on Alpha.
    (David Dawes)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79f30e79ec5b05b2052988e3e6edba8624e3d1c5

Git commit b63b771285a91e85c2dc7daf77191c423fb4d2a5 by Thomas Hellstrom on 22/10/2005 at 15:12..
via: Sync via_drm.h with 3D driver. Bump via patchlevel and date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b63b771285a91e85c2dc7daf77191c423fb4d2a5

Git commit bcbf5ff797f061e84223556bdcf5f6a045516355 by Dave Airlie on 23/10/2005 at 04:07..
we don't use this stuff anymore .. remove 1k buffer from driver ..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcbf5ff797f061e84223556bdcf5f6a045516355

Git commit 10ec05793f9b0ca47ce0a07aa445f8799d2ceba1 by Adam Jackson on 31/10/2005 at 17:48..
Bump to 1.0.5 for new via header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10ec05793f9b0ca47ce0a07aa445f8799d2ceba1

Git commit 39615ec06e8ca9280b4feefc42e008c9795541bd by Ian Romanick on 03/11/2005 at 00:38..
Converts the remaining drm_agp_foo functions to be a drm_agp_foo and
    drm_agp_foo_ioctl pair. Modifies the MGA DRM to use the drm_agp_foo
    functions instead of the drm_foo_agp functions. The drm_foo_agp
    functions are no longer exported by drm.ko.
Ensures that dma->seg_count and dma->page_count are properly set in
    drm_addbufs_{agp,sg,fb}. drm_addbufs_pci was already correct.
Ensures that mga_do_agp_dma_bootstrap correctly sets agp_buffer_token.
At this point PCI DMA is still broken.
Xorg bug: #4797 Reviewed by: Dave Airlie, Eric Anholt Signed-off-by: Ian
    Romanick <idr at us.ibm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39615ec06e8ca9280b4feefc42e008c9795541bd

Git commit 900a7e4c364d86a10dcce535f0533dac7a7a97aa by Eric Anholt on 06/11/2005 at 06:32..
Re-disable the via driver while it's broken on BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/900a7e4c364d86a10dcce535f0533dac7a7a97aa

Git commit 3fce085e13d6559adaed98420c35a1313636cff5 by Alan Hourihane on 07/11/2005 at 13:17..
Fix bug #4908 for now. Alternative is highlighted in this bug report as the
    better future direction.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fce085e13d6559adaed98420c35a1313636cff5

Git commit 145b23b55220bdfc6639d3279ad96310faa650a3 by Eric Anholt on 08/11/2005 at 01:12..
Correct a recursion on non-recursive mutex in drm_addmap from radeon's
    firstopen, by making drm_addmap require the drm device lock to be held.
    Also, make matching of kernel maps match linux by requiring shm matches
    to have the contains_lock flag set if the offset doesn't match.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/145b23b55220bdfc6639d3279ad96310faa650a3

Git commit 1a256df4804e4e987f81226a5d8e0573363607ee by Eric Anholt on 08/11/2005 at 02:38..
Catch FreeBSD up to the pcie gart changes. Required minor modification to
    radeon_cp.c to use a drm_local_map_t-type mapping (drm_core_ioremap
    rather than drm_ioremap), which contains private device mapping
    information on BSD. I also changed the ati_pcigart interface to use
    "void *" for pointers to kva rather than "unsigned long". While PCIGART
    support appears to be broken on FreeBSD currently, I think this is not
    new, and BusType PCI remains working on my r100 in Linux.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a256df4804e4e987f81226a5d8e0573363607ee

Git commit 71f9b7357cb3d4ea7bb5b396840de3985bc13ad4 by Eric Anholt on 08/11/2005 at 05:29..
Fix FreeBSD DRM for latest MGA changes to agp support, which cleans things
    up a good bit, I think. Also, remove the agp_uninit() function which
    has lain around as a noop for years now. The FreeBSD DRM is now all
    compiling, with the exception of via. One known sleeping-with-lock-held
    issue remains.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71f9b7357cb3d4ea7bb5b396840de3985bc13ad4

Git commit 4b2235d2e089a512b26ecd66ae42ea279fbb1df2 by Eric Anholt on 08/11/2005 at 06:11..
Correct a LOR related to the PCI resource allocations by simply moving the
    uninit to unload time rather than lastclose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b2235d2e089a512b26ecd66ae42ea279fbb1df2

Git commit 2c6308fe54c10075379cb00506d5519e0ced1076 by Eric Anholt on 08/11/2005 at 09:02..
Correct a LOR on FreeBSD by allocating a temporary buffer and doing a
    single COPY_FROM_USER into it, rather than VERIFYAREA followed by many
    COPY_FROM_USER_UNCHECKEDs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c6308fe54c10075379cb00506d5519e0ced1076

Git commit a10d8178e32528e0fd8a7afa24e71a35b1c0582d by Eric Anholt on 08/11/2005 at 20:25..
Initial port of savage to FreeBSD for the AGP and !ShadowStatus case. Adds
    drm_mtrr_{add,del} for handling the MTRR setup. Still has a LOR issue
    with DRM_VERIFYAREA_READ/DRM_COPY_FROM_USER_UNCHECKED in savage_bci.c
    -- this won't work with the fine-grained locking in use, and just doing
    a single copyin to a temporary will probably work fine. Also note that
    the module leaks approximately 4 kb on unload.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a10d8178e32528e0fd8a7afa24e71a35b1c0582d

Git commit c7af46cf7d464ff89c64ab864fcd2af51d462812 by Eric Anholt on 08/11/2005 at 21:36..
Correct another LOR issue with resource allocation. This leaves the
    drm_get_resource_* resource allocation a little racy, but they're
    getting called at either X Server startup or driver load, so it's
    serialized anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7af46cf7d464ff89c64ab864fcd2af51d462812

Git commit 6481a2e4cda67732ce7c6fe30aa4dc50d3cc7ed0 by Eric Anholt on 08/11/2005 at 21:40..
Correct a LOR issue on FreeBSD by allocating temporary space and doing a
    single DRM_COPY_FROM_USER rather than DRM_VERIFYAREA_READ followed by
    tons of DRM_COPY_FROM_USER_UNCHECKED. I don't like the look of the
    temporary space allocation, but I like the simplification in the rest
    of the file. Tested with glxgears, tuxracer, and q3 on a savage4.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6481a2e4cda67732ce7c6fe30aa4dc50d3cc7ed0

Git commit fb22dfbfc1cf04bc5f54603a88c244ec018bced6 by Dave Airlie on 10/11/2005 at 10:13..
cleanup / whitespace align with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb22dfbfc1cf04bc5f54603a88c244ec018bced6

Git commit b84daa8f326c1120728bb912cdf6a80524b0a8fa by Dave Airlie on 10/11/2005 at 10:14..
Fix cpu_to_le32 same as kernel not sure it is correct for ppc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b84daa8f326c1120728bb912cdf6a80524b0a8fa

Git commit 9a91674d453fab1fbddc6225f5aa4f7ff7484f91 by Dave Airlie on 11/11/2005 at 07:45..
cleanup ioctl/max_ioctl to use header file for extern symbols
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a91674d453fab1fbddc6225f5aa4f7ff7484f91

Git commit 33fbf8b7e2a75237d9d8f4faa71d1776f8a6bbc3 by Dave Airlie on 11/11/2005 at 08:07..
whitespace align closer with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33fbf8b7e2a75237d9d8f4faa71d1776f8a6bbc3

Git commit ea07fefcbf6a07048bde6e25af6b891d51bd6f9e by Dave Airlie on 11/11/2005 at 08:42..
convert to use __set_current_state, align some header includes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea07fefcbf6a07048bde6e25af6b891d51bd6f9e

Git commit 36356df3cbca8e7e703afadf91046214d7755a07 by Dave Airlie on 11/11/2005 at 08:59..
A bunch of create_proc_dir_entry() calls creating directories had crept in
    since the last sweep; converted to proc_mkdir().
From: Al Viro (via kernel)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36356df3cbca8e7e703afadf91046214d7755a07

Git commit cec83bf6d3fc42a83705e72b02dda0a3001ecaca by Dave Airlie on 11/11/2005 at 09:07..
remove extra spaces
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cec83bf6d3fc42a83705e72b02dda0a3001ecaca

Git commit a204d5acb224eec2a9abcac73fb48f20819ea593 by Dave Airlie on 11/11/2005 at 09:09..
realign whitespace with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a204d5acb224eec2a9abcac73fb48f20819ea593

Git commit 59924b2f409ac2e6d48c0903f858d208d30097e6 by Dave Airlie on 11/11/2005 at 09:10..
copy correct Kconfig
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59924b2f409ac2e6d48c0903f858d208d30097e6

Git commit 3eb577c7c52b560cc3fa9dcf5d5a02b8b3edcef7 by Dave Airlie on 11/11/2005 at 09:20..
mixing breaks in r128 driver.. fixed in kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3eb577c7c52b560cc3fa9dcf5d5a02b8b3edcef7

Git commit cd4a9ad8e2d7667ea5eff9f1f54c0aca68d40a9e by Dave Airlie on 11/11/2005 at 09:21..
whitespace align with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd4a9ad8e2d7667ea5eff9f1f54c0aca68d40a9e

Git commit cc1a4dd856a00a041d9321ca2dd6f996f90cfdd8 by Eric Anholt on 11/11/2005 at 09:36..
Fix breakage from the move of driver ioctl externs to header files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc1a4dd856a00a041d9321ca2dd6f996f90cfdd8

Git commit 97528041dfaa26b95c1ff8c86e66f7071d5eb9f7 by Dave Airlie on 11/11/2005 at 10:02..
fix up radeon whitespace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97528041dfaa26b95c1ff8c86e66f7071d5eb9f7

Git commit eff1b8fbdf7a4251998a75a93069c56f7fc1fd78 by Dave Airlie on 11/11/2005 at 10:52..
i810 should be fine with i810.. no idea what this crack is ..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eff1b8fbdf7a4251998a75a93069c56f7fc1fd78

Git commit 224ebd2c8d5916bdc782a60542ac04b86320a624 by Dave Airlie on 11/11/2005 at 10:56..
RV200 < R200
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/224ebd2c8d5916bdc782a60542ac04b86320a624

Git commit b5d71f63cdced53a8b492c3269e966088b8a3b45 by Dave Airlie on 11/11/2005 at 12:23..
enable i915 32/64 bit ioctls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5d71f63cdced53a8b492c3269e966088b8a3b45

Git commit 19c5c56779250e5615a88e3581dc3bd89598b9be by Eric Anholt on 15/11/2005 at 04:37..
Fix Savage DRI without ShadowStatus NO by allowing the shadow area to be
    mapped.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19c5c56779250e5615a88e3581dc3bd89598b9be

Git commit c575b7e19ec83e663af91b431ac8c0a9e16a3a5d by Eric Anholt on 15/11/2005 at 09:22..
Fix compiling and reenable build of i915 driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c575b7e19ec83e663af91b431ac8c0a9e16a3a5d

Git commit c8261e3d2486050dcd76fb769f6806982260df96 by Thomas Hellstrom on 15/11/2005 at 11:20..
Loosen via dmablit alignment checks somewhat. Adapt stride check to maximum
    sceen size for EXA.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8261e3d2486050dcd76fb769f6806982260df96

Git commit a5747964ec29ece7cccb981330e073748f2fd447 by Thomas Hellstrom on 16/11/2005 at 10:55..
Fixed long standing 64-bit bug in via memory manager. Bumped via date and
    patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5747964ec29ece7cccb981330e073748f2fd447

Git commit 0472ac5d117908a4ef612722960411c58e824999 by Brian Paul on 28/11/2005 at 17:33..
fix mem leak in HashHash() (bug 5171)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0472ac5d117908a4ef612722960411c58e824999

Git commit 1835dff04a69509c0ea5fdb94abe0eaa61e7ab5a by Eric Anholt on 28/11/2005 at 21:15..
Fix AGP support guessing: Implement the same bridge checking in the MGA
    driver as Linux uses, and actually use the driver's device_is_agp if
    available (hopefully fixing i915).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1835dff04a69509c0ea5fdb94abe0eaa61e7ab5a

Git commit ec0ef9a78d0205ff771fe05d78d7a67462abbfd2 by Adam Jackson on 28/11/2005 at 22:18..
remove xf86drmCompat.*, unused since about XFree86 4.2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec0ef9a78d0205ff771fe05d78d7a67462abbfd2

Git commit c6344e8df5a6f2010c691bcd8aed0241a3426585 by Eric Anholt on 28/11/2005 at 23:10..
Assert an MIT copyright on sis_drm.h, since one was lacking and I created
    that particular file. Its contents have changed a good bit since the
    original sis code, and the original sis code didn't care much about
    attribution since it routinely disclaims Precision Insight/VA Linux
    from responsibility. Also, adjust formatting around license headers
    (have a comment open immediately before the "Copyright" line, not as a
    runon of any previous comments) for automatic processing into FreeBSD,
    where /*- is used to signal the beginning of license headers for
    automatic compilation of license lists.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6344e8df5a6f2010c691bcd8aed0241a3426585

Git commit 645e2d411d4cb79db307351169413004d8b5a2ea by Dave Airlie on 29/11/2005 at 09:19..
fixes from Egbert for 64bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/645e2d411d4cb79db307351169413004d8b5a2ea

Git commit 0db80529d540fabd148275f8f9c999615153edbe by Dave Airlie on 29/11/2005 at 09:46..
Fix from Hugh Dickins for consistent mapping
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0db80529d540fabd148275f8f9c999615153edbe

Git commit 7ede209ce0cbbc65f79d02e2cc43cfcb3abb6e99 by Dave Airlie on 29/11/2005 at 09:50..
fixup xf86drm.c for new headers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ede209ce0cbbc65f79d02e2cc43cfcb3abb6e99

Git commit 48198970ce449165fe1c7294108ca3afc775563d by Adam Jackson on 29/11/2005 at 20:02..
Error checking for drmStrdup (Tilman Sauerbeck)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48198970ce449165fe1c7294108ca3afc775563d

Git commit 6941b375e86542d669366a45553ec536f9d98e48 by Adam Jackson on 29/11/2005 at 20:03..
Remove redundant #ifdef stanza
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6941b375e86542d669366a45553ec536f9d98e48

Git commit b3189730e7b0e574a28bd4947c407457cec4f7c8 by Adam Jackson on 29/11/2005 at 21:10..
Add TODO based on my email from a while ago
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3189730e7b0e574a28bd4947c407457cec4f7c8

Git commit ea08b613bdc496b0e1aa3b723f8462d2c40ed8e5 by Adam Jackson on 30/11/2005 at 02:55..
Resync from Xorg head (Bug #3815, GNU/kFreeBSD hack)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea08b613bdc496b0e1aa3b723f8462d2c40ed8e5

Git commit f28dddb5515cb1c16f8c29e025195ea29d9f01d4 by Adam Jackson on 30/11/2005 at 03:51..
Resync from Xorg head: conditional include of xorg-config.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f28dddb5515cb1c16f8c29e025195ea29d9f01d4

Git commit 7d735a8c9fde5fe4401067791926bdae16473587 by Adam Jackson on 30/11/2005 at 18:44..
Bump package and DSO numbers to 2.0 to reflect 32/64 ABI change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d735a8c9fde5fe4401067791926bdae16473587

Git commit 422002dc8434061729b1558ac846648041c46ab3 by Eric Anholt on 02/12/2005 at 08:47..
FreeBSD PR kern/85479: Restore the enabling of debugging by default by the
    DRM_DEBUG kernel option. It remains controlled by hw.dri.*.debug no
    matter what.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/422002dc8434061729b1558ac846648041c46ab3

Git commit 20fcbae5ac86b2d10b23253245f5e88b78d2c76f by Eric Anholt on 02/12/2005 at 23:41..
Finish the last bits necessary to get the i915 DRM port working on FreeBSD
Submitted by: Alexey Popov <llp at iteranet.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20fcbae5ac86b2d10b23253245f5e88b78d2c76f

Git commit f5a9f27bf6c831f244bc27f82ed49f35d832178e by Eric Anholt on 02/12/2005 at 23:55..
Add RV410 X700PRO PCI ID
Submitted by: Adam K Kirchhoff <adamk at voicenet.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5a9f27bf6c831f244bc27f82ed49f35d832178e

Git commit be16e93537d746365a43479de3a997af7969bb84 by Dave Airlie on 04/12/2005 at 01:24..
Fix from SuSE for issue with context creation failure
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be16e93537d746365a43479de3a997af7969bb84

Git commit 0b4fdc81d15c1ff8acfe6fcdfcdd58a13fb3696e by Dave Airlie on 05/12/2005 at 01:11..
add texrect support for r300
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b4fdc81d15c1ff8acfe6fcdfcdd58a13fb3696e

Git commit 2911edaed70b164c5886ee4f71df769c5e02e0c0 by Eric Anholt on 05/12/2005 at 10:53..
Remove driver.device_is_agp code duplicated in drm_device_find_capability,
    when it really wanted to live in drm_device_is_agp.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2911edaed70b164c5886ee4f71df769c5e02e0c0

Git commit e7b0176584bc116faadcb59b7086a99e24651eb6 by Dave Airlie on 16/12/2005 at 07:59..
Lindent some via files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7b0176584bc116faadcb59b7086a99e24651eb6

Git commit 274fdf482ba5b33167213f76e6c17943ddf51985 by Dave Airlie on 16/12/2005 at 08:02..
fix radeon memory mapping from Ben Herrenschmidt
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/274fdf482ba5b33167213f76e6c17943ddf51985

Git commit d6b57f3213c23902420d3cf671c7a3c4871a8990 by David Nusinow on 20/12/2005 at 03:19..
Update libdrm from 1.0.5 to 2.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6b57f3213c23902420d3cf671c7a3c4871a8990

Git commit 4c988520a851ed42c1dd9e9f7cda2e79f5a23fc7 by Dave Airlie on 28/12/2005 at 22:36..
step back one reported bugs against that patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c988520a851ed42c1dd9e9f7cda2e79f5a23fc7

Git commit b14d15ac41c0af5093e37a47124f0995e10c3016 by Dave Airlie on 28/12/2005 at 23:49..
Add vblank support to i915 DRM..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b14d15ac41c0af5093e37a47124f0995e10c3016

Git commit 780e90e4a265532cf96c887267b80c691f016996 by Dave Airlie on 29/12/2005 at 00:17..
add radeon card type get param so userspace can avoid walking PCI
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/780e90e4a265532cf96c887267b80c691f016996

Git commit 7f2c7f9977d3e62c594d47ca8a5d7fefac2fc4de by Eric Anholt on 30/12/2005 at 02:17..
Merge patch from jhb to catch up with FreeBSD-current vgapci master device
    changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f2c7f9977d3e62c594d47ca8a5d7fefac2fc4de

Git commit bbaaf87287028d365a201787514202e9726ac6d9 by David Nusinow on 30/12/2005 at 20:12..
Update libs to 7.0 release with packaging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbaaf87287028d365a201787514202e9726ac6d9

Git commit 26462b9aa47179e724e78f0b3b1c86fd07f61d8d by Eric Anholt on 31/12/2005 at 11:48..
Initialize sv.drm_dd_minor to "don't care" along with dd_major, to appease
    valgrind.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26462b9aa47179e724e78f0b3b1c86fd07f61d8d

Git commit 42cd50fa905aea4fcdbab9ce39a54551a9a1baa9 by Dave Airlie on 02/01/2006 at 03:25..
Realign via driver with changes in Linux kernel (mainly whitespace)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42cd50fa905aea4fcdbab9ce39a54551a9a1baa9

Git commit 1d86c36655f3c5821e62a24d4a320b5bc0e1be64 by Dave Airlie on 02/01/2006 at 03:30..
complete fix for attribution
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d86c36655f3c5821e62a24d4a320b5bc0e1be64

Git commit fb91c500bfee9777421be5706e0a3b3e5049d6de by Dave Airlie on 02/01/2006 at 03:32..
complete fix for historic attribution
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb91c500bfee9777421be5706e0a3b3e5049d6de

Git commit b2be72c44468f67e37e434a1e30b811963274f9c by Dave Airlie on 02/01/2006 at 03:44..
some fixes from linux kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2be72c44468f67e37e434a1e30b811963274f9c

Git commit 1ad5dfc369a4202d51fc471cd0050b299d1fab8b by Dave Airlie on 02/01/2006 at 05:22..
whitespace cleanup/aligment with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ad5dfc369a4202d51fc471cd0050b299d1fab8b

Git commit dcbcc60864fbe592a949a1c250e1494e73504724 by Dave Airlie on 02/01/2006 at 05:38..
align spacing with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dcbcc60864fbe592a949a1c250e1494e73504724

Git commit bbcba83ef70013ea2e5daad86142d1fdc84939e4 by Dave Airlie on 02/01/2006 at 05:39..
The radeon DRM wasn't passing sparse checking in the kernel, this fixes it
    by adding a new kernel internal cmd buffer type, that has no userspace
    members, and passes it around.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbcba83ef70013ea2e5daad86142d1fdc84939e4

Git commit 8fef6fe4f02838447edbf6e99fd16df31a486772 by Dave Airlie on 02/01/2006 at 05:43..
sparse cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fef6fe4f02838447edbf6e99fd16df31a486772

Git commit 781d96c61fdcc5bafe65053878d351100bf130e1 by Dave Airlie on 02/01/2006 at 05:52..
use common read/write routines
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/781d96c61fdcc5bafe65053878d351100bf130e1

Git commit 92150972e5472cdf039c875dae4afee6613ee915 by Dave Airlie on 02/01/2006 at 05:54..
use drm_cards_limit instead of cards_limit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92150972e5472cdf039c875dae4afee6613ee915

Git commit 2a9dbb2895c4ba78a6e7553fc0fb385f981b3d27 by Dave Airlie on 02/01/2006 at 05:55..
make max minor more rational
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a9dbb2895c4ba78a6e7553fc0fb385f981b3d27

Git commit 3f23f9b99db5d62fac6ab0f1e61f32f23ba5021b by Dave Airlie on 02/01/2006 at 09:17..
nothing from VIA or S3 in this
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f23f9b99db5d62fac6ab0f1e61f32f23ba5021b

Git commit 661004544c004090edfbb8541850303b4780b8b4 by Thomas Hellstrom on 06/01/2006 at 11:19..
via: Combine PCI DMA transfers with stride==width (Idea from Luc
    Verhaegen). A somewhat saner PCI DMA transfer size check. Fix some
    typos. Bump patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/661004544c004090edfbb8541850303b4780b8b4

Git commit a019c10c303bb1b2741a1da5b582ae45977085a5 by Thomas Hellstrom on 06/01/2006 at 11:52..
via: Last commit really required a bump of minor. Fix.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a019c10c303bb1b2741a1da5b582ae45977085a5

Git commit 2e0c281d1aabdf5b775a2f7de804d2f34a500124 by Thomas Hellstrom on 06/01/2006 at 11:57..
via: Version via_drm.h Alter the drm_via_dmablit_t IOCTL arg.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e0c281d1aabdf5b775a2f7de804d2f34a500124

Git commit d394c9fa082407591586856afbaeb0833f5a7534 by Thomas Hellstrom on 12/01/2006 at 19:08..
via: direction bug in get_user_pages call in via_dmablit.c fixed. Bumped
    minor since this causes the via DDX to fail with vlc video player.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d394c9fa082407591586856afbaeb0833f5a7534

Git commit e9732865b7c05f2930a0c8b1751aad7929a2f3a7 by Alan Hourihane on 19/01/2006 at 14:14..
add Intel i945GM support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9732865b7c05f2930a0c8b1751aad7929a2f3a7

Git commit 534bfb3742459af8d9a30579d8f9b6ab18b475d0 by Aapo Tahkola on 20/01/2006 at 21:30..
Sync from r300_reg.h from Mesa.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/534bfb3742459af8d9a30579d8f9b6ab18b475d0

Git commit 9a01593f1aeda40abc5815b70fff9f909702501c by Aapo Tahkola on 20/01/2006 at 21:45..
Add support for texture cache flushes (R300_TX_CNTL)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a01593f1aeda40abc5815b70fff9f909702501c

Git commit 270cffbe43955033a54dd54695ca1108194e087e by Alan Hourihane on 23/01/2006 at 10:05..
Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotation
    (Tungsten Graphics)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/270cffbe43955033a54dd54695ca1108194e087e

Git commit 8a9ecf45fa9be2879c4b0c08c8407a538d1be147 by Thomas Hellstrom on 24/01/2006 at 11:20..
file drm_hashtab.c was initially added on branch drm-ttm-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a9ecf45fa9be2879c4b0c08c8407a538d1be147

Git commit 3e8918adc8ba9405e9f496d50a3f4060b31d1dfb by Thomas Hellstrom on 24/01/2006 at 14:08..
file Makefile.am was initially added on branch drm-ttm-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e8918adc8ba9405e9f496d50a3f4060b31d1dfb

Git commit 788750fc8cb2647d616aad75b3255d497b356f36 by Alan Hourihane on 24/01/2006 at 21:16..
put back some of Dave's code related to vblank support - accidentally
    reverted.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/788750fc8cb2647d616aad75b3255d497b356f36

Git commit f19c9eecd115f5535b62a37a8ab79a2b3f73c5b0 by Alan Hourihane on 24/01/2006 at 21:18..
other part of revert
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f19c9eecd115f5535b62a37a8ab79a2b3f73c5b0

Git commit 1f0da9dacaa8a98958f9922729c0cf597a561399 by Alan Hourihane on 24/01/2006 at 21:24..
fix an error message typo Unkown -> Unknown
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f0da9dacaa8a98958f9922729c0cf597a561399

Git commit 7a14f99cf344e4242b5d0e4eef1e336590a7627f by David Nusinow on 25/01/2006 at 01:34..
Set libs to be uploaded to experimental. Also pull in some libxft fixes from what's in unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a14f99cf344e4242b5d0e4eef1e336590a7627f

Git commit 07e1126bde7c4a9e9737894748822f98e914922f by Alan Hourihane on 26/01/2006 at 12:14..
add missing name, desc, date, major, minor and patchlevel entries
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07e1126bde7c4a9e9737894748822f98e914922f

Git commit f99fc2c12d3cb36706700fb70ff5301f956d1cb8 by Thomas Hellstrom on 01/02/2006 at 12:58..
file drm_mm.c was initially added on branch drm-ttm-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f99fc2c12d3cb36706700fb70ff5301f956d1cb8

Git commit 292d4a5b28af80f24f0db0e85c93f8067ed47b26 by Keith Whitwell on 09/02/2006 at 23:14..
Update the hardware breadcrumb in the sarea on irq reception so that
    clients can avoid an ioctl waiting on fences that have already been
    received. Would be even better if the hardware did the update itself.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/292d4a5b28af80f24f0db0e85c93f8067ed47b26

Git commit 75bf1c268fc56352631ddb10f8bedb5c9b2c8105 by Thomas Hellstrom on 17/02/2006 at 16:54..
file i915_ttm.c was initially added on branch drm-ttm-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75bf1c268fc56352631ddb10f8bedb5c9b2c8105

Git commit 659e9a091d3ea61d291d6e2f0fbfb20e685dbcbf by Thomas Hellstrom on 17/02/2006 at 17:25..
via: Change via_drm.h versioning scheme after lenghty discussion on
    unichrome-users.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/659e9a091d3ea61d291d6e2f0fbfb20e685dbcbf

Git commit ff9ecc09f98a345078554bac2992f96adde9038f by Dave Airlie on 18/02/2006 at 02:34..
Fixup test for memory at end of memory space
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff9ecc09f98a345078554bac2992f96adde9038f

Git commit 585f34c3e533cafd687beba161d6d0379b52bb47 by Dave Airlie on 18/02/2006 at 02:38..
fix card unload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/585f34c3e533cafd687beba161d6d0379b52bb47

Git commit 4791dc885619b1a6460c1fcf48f648945feea4d3 by Dave Airlie on 18/02/2006 at 02:53..
major realigment of DRM CVS with kernel code, makes integration much easier
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4791dc885619b1a6460c1fcf48f648945feea4d3

Git commit 08fafc424a6266fa5e3d6ba755dea22e384e9683 by Dave Airlie on 18/02/2006 at 03:01..
fix build wrong function call
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08fafc424a6266fa5e3d6ba755dea22e384e9683

Git commit 9fad101da95bfd37987b797020f71fe306c6f876 by Dave Airlie on 18/02/2006 at 03:04..
add benh's memory management patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fad101da95bfd37987b797020f71fe306c6f876

Git commit 7c18b2565ed3fc1952356967a1e057d86df6484a by Dave Airlie on 18/02/2006 at 03:21..
add proper checking for bitblt multi
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c18b2565ed3fc1952356967a1e057d86df6484a

Git commit eb5666b089ac0defe9a8ae3d218c9d4a098f683b by Dave Airlie on 18/02/2006 at 04:13..
clear i915 interrupts sources on server exit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb5666b089ac0defe9a8ae3d218c9d4a098f683b

Git commit b2523e7aa103d7d0451ae460d4ab5c7556eebf8e by Dave Airlie on 18/02/2006 at 04:18..
always enable and set master on pci device
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2523e7aa103d7d0451ae460d4ab5c7556eebf8e

Git commit d75fa645ed03ee0e2ffddc629b050626ddde5776 by Dave Airlie on 18/02/2006 at 05:30..
fix brace placement
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d75fa645ed03ee0e2ffddc629b050626ddde5776

Git commit a25667894a8b8cab1dc8a48994cd9a61ecaba152 by Dave Airlie on 18/02/2006 at 05:43..
make some functions static from the kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a25667894a8b8cab1dc8a48994cd9a61ecaba152

Git commit 4c1c05ad96bd174d82ab94da7a0645bc448442f6 by Dave Airlie on 19/02/2006 at 12:06..
missed a piece of benh patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c1c05ad96bd174d82ab94da7a0645bc448442f6

Git commit 0a211db23c0d7e22946aa25f22e9aeab6783b617 by Dave Airlie on 19/02/2006 at 12:08..
experimental PCI DMA fixes use proper Linux interfaces
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a211db23c0d7e22946aa25f22e9aeab6783b617

Git commit 22e41ef08338ae6dd59acbe6d4d8e50d83672816 by Adam Jackson on 20/02/2006 at 23:09..
Formatting cleanup, dead code removal. Remove N() namespacing macro,
    useless. Remove SIGIO handling functions as they're server-only and
    properly belong in libdri.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22e41ef08338ae6dd59acbe6d4d8e50d83672816

Git commit abd3904bf0c5bcbf2f2ec117a3d2216dd5f830ef by Dave Airlie on 21/02/2006 at 10:28..
use coherent memory for PCI allocations with COMP flag
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abd3904bf0c5bcbf2f2ec117a3d2216dd5f830ef

Git commit 9c0634bbadca0216749a336e587fd51b12307637 by Dave Airlie on 21/02/2006 at 11:10..
set dma pages reserved
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c0634bbadca0216749a336e587fd51b12307637

Git commit 06e8bd2a0d668487f4124cde16629610f8f557ff by Roland Scheidegger on 25/02/2006 at 09:51..
Add all radeon pci ids known by ddx, but only r350/rv350 and below (new
    chips may be problematic). Leave the existing entries for new chips in
    though. Remove ids not known by ddx (secondary ids, non-existant,...).
    Correct some entries (name/family). Make the radeon family enum look
    more alike the ddx/dri versions. See #5413
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06e8bd2a0d668487f4124cde16629610f8f557ff

Git commit 0f13b3e1b1765b150ffe42b759355687b040210e by Thomas Hellstrom on 01/03/2006 at 22:22..
file xf86mm.h was initially added on branch drm-ttm-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f13b3e1b1765b150ffe42b759355687b040210e

Git commit 02f76f41b12e1465db4e4a48c0b81977a8bd3d8d by Thomas Hellstrom on 01/03/2006 at 22:22..
file xf86mm.c was initially added on branch drm-ttm-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02f76f41b12e1465db4e4a48c0b81977a8bd3d8d

Git commit b3fdf9bb7acd023060e0dba07d3b439c3b64faef by Aapo Tahkola on 06/03/2006 at 20:08..
Add general-purpose packet for manipulating scratch registers (r300)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3fdf9bb7acd023060e0dba07d3b439c3b64faef

Git commit 4436ab86d8c0e1177bbec276c605d133e7c82ff0 by Aapo Tahkola on 07/03/2006 at 01:08..
ia64 support for r300_scratch. (not tested)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4436ab86d8c0e1177bbec276c605d133e7c82ff0

Git commit ef835973b2f26410f9c9d3abed3b3f4828a716c1 by Dave Airlie on 08/03/2006 at 06:03..
fix some use before NULL check
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef835973b2f26410f9c9d3abed3b3f4828a716c1

Git commit ea40d3dd41cb3c562caf404fead9fdaa0b97565c by Dave Airlie on 08/03/2006 at 23:01..
Fix bug I reintroduced
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea40d3dd41cb3c562caf404fead9fdaa0b97565c

Git commit 14d1219442c679c754fcc4e27460610ae219951a by Adam Jackson on 15/03/2006 at 01:02..
Avoid walking off the end of the hash table. (Coverity report #465)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14d1219442c679c754fcc4e27460610ae219951a

Git commit 38376c7fa66234107ab6d69b828eb4ca8a3ad0ea by Roland Scheidegger on 17/03/2006 at 01:35..
Add missing pci ids for new radeons (most but not all are pcie, r420,
    rv380, rv410), with the exception of the rs400 igps. Hopefully they no
    longer lock up with new ddx, but no guarantees... (bug #5413)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38376c7fa66234107ab6d69b828eb4ca8a3ad0ea

Git commit 8c8f937b3de12185e3c0041726a9f6fd5f3d21ff by Dave Airlie on 19/03/2006 at 07:52..
make some functions static in via driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c8f937b3de12185e3c0041726a9f6fd5f3d21ff

Git commit 6bb92ab086c7e21fe90b835f20e6ba493e988cf6 by Dave Airlie on 19/03/2006 at 07:53..
fix issue in mga from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6bb92ab086c7e21fe90b835f20e6ba493e988cf6

Git commit 9c92b55953836589184f72f5a0c509f72af94786 by Adam Jackson on 20/03/2006 at 21:40..
Bump driver date to reflect airlied's last fix.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c92b55953836589184f72f5a0c509f72af94786

Git commit 985738f203f06aa630feaf4ef15b794ea50d3ee9 by Dave Airlie on 25/03/2006 at 07:16..
radeon fix up the PCI ids for new memory map like the kernel one.. not
    perfect but should be very safe... align some other kernel bits i810
    align with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/985738f203f06aa630feaf4ef15b794ea50d3ee9

Git commit ac5bd25208d2f636edb45b71de11decdde781862 by Dave Airlie on 03/04/2006 at 08:06..
make add context non master...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac5bd25208d2f636edb45b71de11decdde781862

Git commit 4f53bf35454422db7cdd8db52b95016a9ec0dd2e by Dave Airlie on 05/04/2006 at 01:23..
remove stupid init and exit flags..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f53bf35454422db7cdd8db52b95016a9ec0dd2e

Git commit aefd9e874f783a0c7a016ba1570c07c4627b229e by David Nusinow on 05/04/2006 at 03:41..
Vendor drop of libdrm-2.0.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aefd9e874f783a0c7a016ba1570c07c4627b229e

Git commit 959974efb06d3ba654c258201025d6f86200afd8 by David Nusinow on 05/04/2006 at 03:43..
Copy libdrm-2.0.1 vendor drop to working branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/959974efb06d3ba654c258201025d6f86200afd8

Git commit 473e8872d5bc96a426b6b5a5aecfa3f1ff952c07 by David Nusinow on 05/04/2006 at 03:48..
Copy packaging over, update changelog, and remove old version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/473e8872d5bc96a426b6b5a5aecfa3f1ff952c07

Git commit d9708624b8db2c3ed1dd05cc9d02dce6f469743e by David Nusinow on 05/04/2006 at 03:48..
Copy packaging over, update changelog, and remove old version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9708624b8db2c3ed1dd05cc9d02dce6f469743e

Git commit 299aad03c2148bb3e9efdb29b89e70b712a2e055 by Dave Airlie on 05/04/2006 at 08:34..
coverity bugfix from the kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/299aad03c2148bb3e9efdb29b89e70b712a2e055

Git commit 6cb366b5a83996fc7f4ceb6b4af1a89473407866 by Eric Anholt on 08/04/2006 at 09:45..
Compile fixes for FreeBSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6cb366b5a83996fc7f4ceb6b4af1a89473407866

Git commit 63c4d0257616c799d4f0bb84be3f17dbaf867495 by Eric Anholt on 09/04/2006 at 20:10..
Revert a change that accidentally went in with whitespace changes from
    Linux, which broke on FreeBSD. DRM_COPY_*_IOCTL checks for the size
    parameter matching the ioctl's command size there, since the copin/out
    happened earlier.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63c4d0257616c799d4f0bb84be3f17dbaf867495

Git commit 43c2db2476d959a5837a50b3ee329afc1d1b1f7d by David Nusinow on 12/04/2006 at 01:17..
Move xsfbs back to its rightful place
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43c2db2476d959a5837a50b3ee329afc1d1b1f7d

Git commit 7770385a76ddfb208fc6b0f5e8b42b42d6b5a5a0 by David Nusinow on 15/04/2006 at 23:53..
Make us error out if we call patch and don't have quilt installed
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7770385a76ddfb208fc6b0f5e8b42b42d6b5a5a0

Git commit 5a669d90089e7430c41f3e0d72e672aa2be6cbd8 by David Nusinow on 16/04/2006 at 00:19..
Fix the last commit and fix spelling error. Thanks Brice Goglin for the spelling catch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a669d90089e7430c41f3e0d72e672aa2be6cbd8

Git commit 40b70e324430e36f10d6229793acf66d9104aff7 by Eric Anholt on 18/04/2006 at 05:57..
Use __LP64__ instead of checking the linux-specific BITS_PER_LONG.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40b70e324430e36f10d6229793acf66d9104aff7

Git commit 2abd1f270bccfdda6e87021000ba88e07f54c181 by Eric Anholt on 18/04/2006 at 06:08..
Reorder the DRM_*_AGP enum to match linux's numbers (oops). Fixes i915
    attachment. Make our mga_drv.c use them, while I'm here.
Submitted by: Jonathan Fosburgh <jonathan at fosburgh.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2abd1f270bccfdda6e87021000ba88e07f54c181

Git commit 1327222f9b5521c2d98f7550eb335b68e2af3aea by Eric Anholt on 18/04/2006 at 06:12..
Err, use "ifndef" rather than "if !", to avoid compiler warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1327222f9b5521c2d98f7550eb335b68e2af3aea

Git commit 4a49e6c3668dd281f70a13fb382fac93452758e2 by Brian Paul on 20/04/2006 at 14:26..
check for __FreeBSD_kernel__ (bug 3810)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a49e6c3668dd281f70a13fb382fac93452758e2

Git commit 30a5787d3671fba89d14efb638695c2dd61adf03 by Dave Airlie on 23/04/2006 at 08:07..
Fix from Benh for ppc r300 scratch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30a5787d3671fba89d14efb638695c2dd61adf03

Git commit d365f031292d0f50755a3049c410443b1075fff5 by Dave Airlie on 23/04/2006 at 09:05..
fixup GFP_COMP for older kernels and get_page/put_page for newer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d365f031292d0f50755a3049c410443b1075fff5

Git commit 7ea4a88fa30d9608b09dc0052b20e54301db547a by Eric Anholt on 17/05/2006 at 05:41..
Add the workaround that's in the kernel to suppress GCC's warning about
    refusal to inline functions that (in some cases, at least) aren't that
    large.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ea4a88fa30d9608b09dc0052b20e54301db547a

Git commit dcfcf1a84d400f9c1ade36a233f0a18131115921 by Eric Anholt on 17/05/2006 at 05:44..
Add the bits for vblank support on FreeBSD, which most importantly avoids
    chasing a NULL pointer at the first 3d app invocation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dcfcf1a84d400f9c1ade36a233f0a18131115921

Git commit bdd381a7cea814d12d3207a67503cc1a5e353bed by Eric Anholt on 17/05/2006 at 06:07..
Set entry->virtual for sg maps, fixing ATI PCI/PCIE GART support.
PR: kern/97056 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdd381a7cea814d12d3207a67503cc1a5e353bed

Git commit b1a64b8136b3dafb843d9b677becfdb5f2ac1eb8 by Dave Airlie on 18/05/2006 at 07:32..
add consts to radeon microcode.
From: tilman
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1a64b8136b3dafb843d9b677becfdb5f2ac1eb8

Git commit 79e596917290807f11ba6f529abc30b7c6336e52 by Dave Airlie on 19/05/2006 at 04:11..
rip out unneeded back compat code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79e596917290807f11ba6f529abc30b7c6336e52

Git commit e1b627c17e31bb659fe8aeffeaa2e301d5e2a88c by Roland Scheidegger on 20/05/2006 at 09:08..
Do a tcl state flush before accessing tcl vector space. This fixes some
    more problems with flickering (bug #6637). drm may not be appropriate
    place for this, since doing that flush there might both be overkill and
    insufficient in some cases. However, it's hard to figure out when that
    flush is needed, so this has to suffice. There does not seem to be a
    performance penalty associated with it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1b627c17e31bb659fe8aeffeaa2e301d5e2a88c

Git commit 9e0320a0ad926202f1598698ad9bc728949ba0e7 by Roland Scheidegger on 20/05/2006 at 09:20..
add forgotten register define for previous commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e0320a0ad926202f1598698ad9bc728949ba0e7

Git commit f4e6e4499c1b7a26de2bbf36568f75315faec212 by Roland Scheidegger on 24/05/2006 at 18:36..
Add support for r200 vertex programs (R200_EMIT_VAP_PVS_CNTL, and new
    packet type for making it possible to address whole tcl vector space
    and have a larger count)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4e6e4499c1b7a26de2bbf36568f75315faec212

Git commit 31a80d39e52097a599e77b3e52bac70da8315308 by Thomas Hellstrom on 26/05/2006 at 19:33..
file drm_hashtab.h was initially added on branch drm-ttm-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31a80d39e52097a599e77b3e52bac70da8315308

Git commit 36160c80604a4c10c70877afb5be98210096636e by Thomas Hellstrom on 28/05/2006 at 16:20..
file drm_sman.c was initially added on branch drm-sman-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36160c80604a4c10c70877afb5be98210096636e

Git commit 09872c9ab3bb597c37a83edd3bf365db46e6d507 by Thomas Hellstrom on 28/05/2006 at 16:20..
file sis_mm.c was initially added on branch drm-sman-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09872c9ab3bb597c37a83edd3bf365db46e6d507

Git commit 7fbfb53c00c3acd5965badf1e62e8a4bb836ee22 by Thomas Hellstrom on 28/05/2006 at 16:20..
file drm_sman.h was initially added on branch drm-sman-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fbfb53c00c3acd5965badf1e62e8a4bb836ee22

Git commit 838b03f7aad579bcb593c06e44ade02a0583d3ce by Thomas Hellstrom on 28/05/2006 at 16:20..
file via_mm.c was initially added on branch drm-sman-branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/838b03f7aad579bcb593c06e44ade02a0583d3ce

Git commit 6bacb180cef00573fc41a1e79bdd5b89d6f1c1f5 by Thomas Hellstrom on 06/06/2006 at 14:19..
Merge in the drm-sman-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6bacb180cef00573fc41a1e79bdd5b89d6f1c1f5

Git commit 1a9e5bae109b476f9ee34975242c8938aaac4146 by Thomas Hellstrom on 06/06/2006 at 17:46..
Fix drm_remove_magic potential memory leak / corruption. Move drm
    authentication token hashing to new generic hash table implementation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a9e5bae109b476f9ee34975242c8938aaac4146

Git commit 6c7faf5814547169dec2b865abf1f63b83aaeb05 by Thomas Hellstrom on 06/06/2006 at 17:52..
s/list_entry/drm_hash_entry/ for "drm_hash_item"s.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c7faf5814547169dec2b865abf1f63b83aaeb05

Git commit b07ee1042902cef9587a76dcbf1df1ee0bde0770 by Branden Robinson on 06/06/2006 at 18:02..
Set svn:keywords property to "Id" (keyword already present).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b07ee1042902cef9587a76dcbf1df1ee0bde0770

Git commit 64309731c5939687e4492f0d960802d3eeee2ec1 by Branden Robinson on 06/06/2006 at 18:05..
Note probable out-of-dateness of maplink() function body.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64309731c5939687e4492f0d960802d3eeee2ec1

Git commit f64226c1d9c22e2f6d908bf46e059561748d4418 by Branden Robinson on 06/06/2006 at 18:14..
Add high-level documentation to XSFBS shell library, intended to reduce
user confusion when reading X package maintainer scripts outside the source
tree.

Update Vim modeline.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f64226c1d9c22e2f6d908bf46e059561748d4418

Git commit 34afaedccc1aeb05d2c6a3869f51e78b2dd0d210 by David Nusinow on 09/06/2006 at 02:34..
Fix for bug #371152. Thanks Joey Hess.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34afaedccc1aeb05d2c6a3869f51e78b2dd0d210

Git commit ca1a77683d523dc1d2268531b19ea23b3e1ae4f0 by Thomas Hellstrom on 15/06/2006 at 18:37..
via:
-Remove out of memory error message.
-Move sman cleanup from final_context to lastclose.
-Add the P4VM800PRO (?) PCI ID.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca1a77683d523dc1d2268531b19ea23b3e1ae4f0

Git commit 0203edaa21451c2840d3c4116fb0bdbec82cb0fe by Thomas Hellstrom on 16/06/2006 at 15:20..
via: Return the requested size instead of the correct size of the allocated
    regions. The 2D driver and XvMC lib has problems when the returned size
    is not the same as the allocated size.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0203edaa21451c2840d3c4116fb0bdbec82cb0fe

Git commit 96f272884d6caf7940c9bc3c95dcac75b0a8cd3f by Thomas Hellstrom on 19/06/2006 at 09:01..
via: Bump version number and date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96f272884d6caf7940c9bc3c95dcac75b0a8cd3f

Git commit 58b63ee5ccc1427a6835ef5112fe556faa9e1be3 by Thomas Hellstrom on 19/06/2006 at 09:12..
Fix buffer cleanup on close. Move memory manager reset from final_context
    to lastclose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58b63ee5ccc1427a6835ef5112fe556faa9e1be3

Git commit 83f256e60e44d83304df44cead6617212fe437b4 by Keith Packard on 19/06/2006 at 20:15..
Add i915 ioctls to configure pipes for vblank interrupt.
i915 vblanks can be generated from either pipe a or b, however a disabled
    pipe generates no interrupts. This change allows the X server to select
    which pipe generates vblank interrupts.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83f256e60e44d83304df44cead6617212fe437b4

Git commit f8891ef802e3417c4ecda08d597e081485d75060 by Keith Packard on 21/06/2006 at 00:15..
i915: Save vblank pipe configuration to restore on resume
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8891ef802e3417c4ecda08d597e081485d75060

Git commit da143d0606e321e48037d39e0c82355a4695328a by Keith Packard on 22/06/2006 at 21:34..
Remove spurious debug messages from i915 vblank config paths
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da143d0606e321e48037d39e0c82355a4695328a

Git commit aafedbf7c57903949e74fc7123a1f1fc1e94ea47 by Alan Hourihane on 23/06/2006 at 16:29..
Fix compilation problem on 2.6.9 kernels (bug #6211)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aafedbf7c57903949e74fc7123a1f1fc1e94ea47

Git commit 56b073385213d187535fbbd24adaf9ebeb7c752f by Adam Jackson on 27/06/2006 at 21:04..
Disable building static libraries. Bump to 2.0.2 for header updates.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56b073385213d187535fbbd24adaf9ebeb7c752f

Git commit 264f60ded4921e00f83198fa48e82037f26e818c by Thomas Hellstrom on 05/07/2006 at 14:39..
Add missing semaphore release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/264f60ded4921e00f83198fa48e82037f26e818c

Git commit c21a7b763ad31c3473ba2c9a1a01bb729bc13bb5 by Thomas Hellstrom on 05/07/2006 at 15:52..
SiS 315 Awareness.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c21a7b763ad31c3473ba2c9a1a01bb729bc13bb5

Git commit a392349691ec2aa3f83d8a9fc4a485e4dbef4bbe by Thomas Hellstrom on 10/07/2006 at 13:00..
Change drm Map handles to be arbitrary 32-bit hash tokens in the range
    0x10000000 to 0x90000000 in PAGE_SIZE increments.
Implement hashed map lookups.
This potentially breaks both 2D and 3D drivers. If so, the corresponding
2D and 3D driver should be fixed, and it's corresponding drm device driver
    should have its major bumped as soon as possible.
Bump sis and via drm device driver majors.
The SiS and Unichrome 3D drivers are fixed in Mesa CVS HEAD and
    mesa_6_4_branch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a392349691ec2aa3f83d8a9fc4a485e4dbef4bbe

Git commit 126673d62afad6da84e833daa644a352d88a5e37 by Thomas Hellstrom on 11/07/2006 at 14:37..
Keep hashed user tokens, with the following changes:
32-bit physical device addresses are mapped directly to user-tokens. No
    duplicate maps are allowed, and the addresses are assumed to be outside
    of the range 0x10000000 through 0x30000000. The user-token is identical
    to the 32-bit physical start-address of the map.
64-bit physical device addressed are mapped to user-tokens in the range
0x10000000 to 0x30000000 with page-size increments. The user_token should
    not be interpreted as an address.
Other map types, like upcoming TTM maps are mapped to user-tokens in the
    range
0x10000000 to 0x30000000 with page-size increments. The user_token should
    not be interpreted as an address.
This keeps compatibility with buggy drivers, while still implementing a
    hashed map lookup. The SiS and via device driver major bumps are
    reverted.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/126673d62afad6da84e833daa644a352d88a5e37

Git commit b9243ce3d5ed6bd70851a132871387d4d2e886bc by Michel Dänzer on 19/07/2006 at 16:31..
.cvsignore -> .gitignore

Sort the merged file, remove the redundant explicit .ko lines and add
some generated symlinks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9243ce3d5ed6bd70851a132871387d4d2e886bc

Git commit 7dea64677b62418b14d34c41399cdb8bf8b817cd by Michel Dänzer on 19/07/2006 at 17:01..
Some debug output when the getparam ioctl is called with an unknown parameter.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dea64677b62418b14d34c41399cdb8bf8b817cd

Git commit e337eadcec9c1e2cf885167c076ab2407bd6c090 by Michel Dänzer on 19/07/2006 at 17:07..
Implement RADEON_PARAM_SCRATCH_OFFSET getparam.

When this succeeds, userspace can read the scratch register contents from the
mapped writeback page directly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e337eadcec9c1e2cf885167c076ab2407bd6c090

Git commit c91748e702af1c59d88a4b6c2afb20a781dc6660 by Michel Dänzer on 19/07/2006 at 17:13..
When writeback isn't used, actually disable it in the hardware.

Not doing this might waste bus bandwidth or even cause memory corruption or
system crashes on systems that check bus transfers. No such incident has been
reported though.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c91748e702af1c59d88a4b6c2afb20a781dc6660

Git commit 2a47f6bfecea5dabcbf79d5e1aaf271f50070b89 by Michel Dänzer on 19/07/2006 at 17:16..
Make sure CHIP_IS_AGP flag is set when not overriding to PCI mode.

This allows using AGP after overriding to PCI mode in a previous session
without reloading the DRM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a47f6bfecea5dabcbf79d5e1aaf271f50070b89

Git commit d5e0f8bdaf8769642950b8219f0e80f6b523817d by Michel Dänzer on 19/07/2006 at 17:18..
Use RADEON_RB3D_DSTCACHE_CTLSTAT instead of RADEON_RB2D_DSTCACHE_CTLSTAT.

The latter seems to be a read-only mirror of the former.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5e0f8bdaf8769642950b8219f0e80f6b523817d

Git commit af7b89d7246efbed7d05c38fcaa6a13c4b89db90 by Adam Jackson on 19/07/2006 at 19:35..
Make sure busmastering gets disabled on module unload.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af7b89d7246efbed7d05c38fcaa6a13c4b89db90

Git commit 6677e2a10b820a5ccfd375cc627b8e41453a71da by Adam Jackson on 19/07/2006 at 20:19..
Delete the pre-core DRM code with extreme prejudice.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6677e2a10b820a5ccfd375cc627b8e41453a71da

Git commit 5cfbd5dbab4fe9668771377cb22da04c6103459e by Dave Airlie on 24/07/2006 at 00:51..
switch drm to use Linux mutexes instead of semaphore.

I hope the fallback compat code works if not shout at me.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5cfbd5dbab4fe9668771377cb22da04c6103459e

Git commit 09c901e4bdf2bd18110f963ef3759f6759f15317 by Dave Airlie on 24/07/2006 at 01:09..
remove incorrect exit marking on cleanup pci as this is called from other paths
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09c901e4bdf2bd18110f963ef3759f6759f15317

Git commit 645453ce11f819c4e9dd9be95ce9d621dc7d466b by Michel Dänzer on 26/07/2006 at 16:19..
Bug #7629: Fix for CHIP_IS_AGP getting 'restored' with non-AGP cards

Commit 2a47f6bfecea5dabcbf79d5e1aaf271f50070b89 caused the CHIP_IS_AGP flag to
get 'restored' with PCI(e) cards. I can't think of a way to fix this without
introducing a (otherwise redundant) CHIP_IS_PCI flag.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/645453ce11f819c4e9dd9be95ce9d621dc7d466b

Git commit 35066b51efeb0d2ae9b4ba7fba066f80f798539d by Michel Dänzer on 26/07/2006 at 16:21..
Revert "Make sure busmastering gets disabled on module unload."

This reverts af7b89d7246efbed7d05c38fcaa6a13c4b89db90 commit. It causes an oops
on X server shutdown here, and for the reporter of bug #7629 as well.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35066b51efeb0d2ae9b4ba7fba066f80f798539d

Git commit 248d1a32a2462904bcaf040320b490570b4b0be6 by Dave Airlie on 07/08/2006 at 10:56..
drm: fixup whitespace and style for Linux kernel import
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/248d1a32a2462904bcaf040320b490570b4b0be6

Git commit 4b3ea90bc4ceeae440c64e0af8b59cf77ea7b622 by Dave Airlie on 07/08/2006 at 11:00..
drm: remove extra whitespace from drm_mm.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b3ea90bc4ceeae440c64e0af8b59cf77ea7b622

Git commit e524028630013bb0f436bcdca0396289745843cf by Dave Airlie on 07/08/2006 at 11:34..
drm: whitespace cleanup in new files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e524028630013bb0f436bcdca0396289745843cf

Git commit 48cb9aceed782a4e9c557f30429e65f845dd777d by Eric Anholt (on behalf of Alan Hourihane) on 08/08/2006 at 22:05..
Add support for Intel i965G chipsets.

This is a patch prepared by Guangdeng Liao based off of Tungsten Graphics's
final code drop.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48cb9aceed782a4e9c557f30429e65f845dd777d

Git commit 28069ff10f288d06eb15ce0425def3625157187f by Dave Airlie on 10/08/2006 at 04:31..
drm: ati_pcigart cleanup

use NULL instead of 0, cleanup some whitespace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28069ff10f288d06eb15ce0425def3625157187f

Git commit df7378d7fa9d048aea6911a3fe4973050003401b by Dave Airlie on 10/08/2006 at 04:31..
clean up script to create an lk drm directory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df7378d7fa9d048aea6911a3fe4973050003401b

Git commit 5340a7022766f3437fcaf9d8d4d83944befc2fa2 by Dave Airlie on 10/08/2006 at 04:32..
cleanup some whitespace issue and move compat code to compat header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5340a7022766f3437fcaf9d8d4d83944befc2fa2

Git commit 7a46d4139982cc82559ccf9a1bc09a52bdf12223 by Dave Airlie on 10/08/2006 at 04:38..
i965 code and Linux coding style < 0

smack my whitespace up.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a46d4139982cc82559ccf9a1bc09a52bdf12223

Git commit 18a48a9267826a3c81e87a5fa9bba79ea0cd295c by Dave Airlie on 14/08/2006 at 01:49..
remove all TRUE/FALSE no need for this in the drm, use 0 or 1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18a48a9267826a3c81e87a5fa9bba79ea0cd295c

Git commit 0d60cd0036c6bc5383cdc1dad719950afd68cbbf by Dave Airlie on 14/08/2006 at 01:52..
remove all TRUE instances as well
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d60cd0036c6bc5383cdc1dad719950afd68cbbf

Git commit 4daa024918d461ab8d173631fa5187dc50253b67 by Thomas Hellstrom on 14/08/2006 at 15:11..
Avoid kernel oops in some error paths calling drm_lastclose().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4daa024918d461ab8d173631fa5187dc50253b67

Git commit 0316f93d51abc52b816e936e0ece304ac47799c3 by Thomas Hellstrom on 16/08/2006 at 14:36..
Remove hash tables on DRM exit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0316f93d51abc52b816e936e0ece304ac47799c3

Git commit f89a576aece919f2f9bd42b7d36a5df62cb0d68e by Dave Airlie on 19/08/2006 at 06:31..
drm: i810_dma.c: fix pointer arithmetic for 64-bit target

First warning result from open-coded PTR_ERR,
the rest is caused by code like this:

*(u32 *) ((u32) buf_priv->kernel_virtual + used)

I've also fixed a missing PTR_ERR in i830_dma.c

From: Denis Vlasenko <vda.linux at googlemail.com>
Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f89a576aece919f2f9bd42b7d36a5df62cb0d68e

Git commit 4b38f72672c53ed64f016241dcb5d770894657b8 by Dave Airlie on 19/08/2006 at 06:36..
fixup some of the comments in drm_context.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b38f72672c53ed64f016241dcb5d770894657b8

Git commit cc71393559b94ba491059822d7cad388460a0ddf by Dave Airlie on 19/08/2006 at 06:43..
remove some DRM_ARRAY_SIZE from linux core code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc71393559b94ba491059822d7cad388460a0ddf

Git commit 3a681bb4c12ee1042eb31ec565a3eb2ecccddd3d by Dave Airlie on 19/08/2006 at 06:55..
remove local copies of pci domain/bus/slot/num
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a681bb4c12ee1042eb31ec565a3eb2ecccddd3d

Git commit d90a55fe3488020967a4d1b1699ef1f42d50b422 by Dave Airlie on 19/08/2006 at 06:55..
fix const pointer warnings with file_operations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d90a55fe3488020967a4d1b1699ef1f42d50b422

Git commit 78634c14a8f92fbbc404442ce6d7b170e6a6e561 by Dave Airlie on 19/08/2006 at 06:56..
add static function, and remove bad attributions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78634c14a8f92fbbc404442ce6d7b170e6a6e561

Git commit 0afb877a37a33e8493628ddc267fb00650fd1840 by Dave Airlie on 19/08/2006 at 07:59..
drm: lots of small cleanups and whitespace issues fixed up

remove a mach64 warning, align a lot of things from linux kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0afb877a37a33e8493628ddc267fb00650fd1840

Git commit 11f9e404fb66927146de30227fa05c5485aa1726 by Thomas Hellstrom on 21/08/2006 at 15:02..
Avoid using vmalloc for small hash tables.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11f9e404fb66927146de30227fa05c5485aa1726

Git commit 42c2cfcf7d5730a2961d425228e042f533b312fa by Thomas Hellstrom on 21/08/2006 at 18:30..
Generic DRM support base-class support for user-space objects, like
fence objects and buffer objects:
Refcounting,
Inter-process sharing,
Synchronization
Destruction.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42c2cfcf7d5730a2961d425228e042f533b312fa

Git commit 1c787f0d396c309131d5f34939598d657ee2459f by Thomas Hellstrom on 21/08/2006 at 18:38..
Backwards compatibility code for ttms.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c787f0d396c309131d5f34939598d657ee2459f

Git commit 166da9355d95affe427a6cff3525df60e80a99df by Thomas Hellstrom on 21/08/2006 at 19:02..
User / Kernel space fence objects (device-independent part).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/166da9355d95affe427a6cff3525df60e80a99df

Git commit 657bacc3953e8e51a0a15bd872e9818c9dbcbc10 by Thomas Hellstrom on 21/08/2006 at 19:04..
Add missing fence type define.
Add drm_fence.o to Makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/657bacc3953e8e51a0a15bd872e9818c9dbcbc10

Git commit 6571f74a4906ae4f5f92916d64cc2cce3c8e0043 by Thomas Hellstrom on 21/08/2006 at 19:12..
Remove some accidently included TTM code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6571f74a4906ae4f5f92916d64cc2cce3c8e0043

Git commit e089de33e8efd87b30d59c571b9ab9aa302b23e1 by Thomas Hellstrom on 21/08/2006 at 19:36..
i915 fence object driver implementing 2 fence object types:
0x00 EXE fence. Signals when command stream interpreter has reached the point
where the fence was emitted.
0x01 FLUSH fence. Signals when command stream interpreter has reached the point
where the fence was emitted, and all previous drawing operations have been
completed and flushed.
Implements busy wait (for fastest response time / high CPU) and
lazy wait (User interrupt or timer driven).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e089de33e8efd87b30d59c571b9ab9aa302b23e1

Git commit 8d5b7c77f9b31aa9bcf81536d39769f4f3feeb63 by Thomas Hellstrom on 21/08/2006 at 19:37..
Allow longer sequence lifetimes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d5b7c77f9b31aa9bcf81536d39769f4f3feeb63

Git commit d5595eaaa4dc5d692ead5d2889513d325142e4db by David Nusinow on 22/08/2006 at 03:04..
Pull patches from ubuntu for ARCHITECTURE, LAPTOP, RECONFIGURE, FIRSTINST, and UPGRADE variables
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5595eaaa4dc5d692ead5d2889513d325142e4db

Git commit 700bf80ca9fadf2c1404c220addebd92d9ad799d by Thomas Hellstrom on 22/08/2006 at 07:47..
Bring in stripped TTM functionality.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/700bf80ca9fadf2c1404c220addebd92d9ad799d

Git commit b81ca5e031b2fbd9c5c401057c72f5857f7f5a3a by Thomas Hellstrom on 22/08/2006 at 08:09..
AGP backends for TTM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b81ca5e031b2fbd9c5c401057c72f5857f7f5a3a

Git commit 7058d06317e17253d874bf4df7b09d0d52a5fd74 by Thomas Hellstrom on 22/08/2006 at 08:24..
Initial i915 buffer object driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7058d06317e17253d874bf4df7b09d0d52a5fd74

Git commit a6535c8db4614376ce8ecb7d889b92db066a96cc by Thomas Hellstrom on 22/08/2006 at 08:44..
Add a fence object class field for future use (For example VSYNC fence objects)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6535c8db4614376ce8ecb7d889b92db066a96cc

Git commit ca4e34e532e818921f7b2d36fc6886874b7f7924 by Thomas Hellstrom on 22/08/2006 at 09:19..
ttm code cleanup.
Fix the sleep-in-page-table-spinlock bug discovered by Dave Airlie
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca4e34e532e818921f7b2d36fc6886874b7f7924

Git commit e201511a0fbeb177a9ecd7f77d177fc88c1616fb by Thomas Hellstrom on 22/08/2006 at 09:57..
More ttm cleanups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e201511a0fbeb177a9ecd7f77d177fc88c1616fb

Git commit 8dfe917cb26bbeddda0e1b52060d8dce188468f3 by Thomas Hellstrom on 23/08/2006 at 09:21..
Fix hashtab implementation leaking illegal error codes to user space.
(Reported by Dave Airlie)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8dfe917cb26bbeddda0e1b52060d8dce188468f3

Git commit 459b234d79daaa8a003da9ea48775a5587d5ba2a by Thomas Hellstrom on 23/08/2006 at 09:31..
Allow multiple addMaps with the same 32-bit map offset.
(Reported by Dave Airlie)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/459b234d79daaa8a003da9ea48775a5587d5ba2a

Git commit 8fa43d4b2ff4137bab743bfaf6282aa327f16830 by Thomas Hellstrom on 23/08/2006 at 11:31..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into drm-ttm-0-2-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fa43d4b2ff4137bab743bfaf6282aa327f16830

Git commit ea5709997329a6c425261dcc454cf7dd97a81167 by Thomas Hellstrom on 23/08/2006 at 11:49..
Fix previous commit: Only fall back to hashed handles
when there is a duplicate handle error. Not for other errors.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea5709997329a6c425261dcc454cf7dd97a81167

Git commit 4c03030b12bae28dad50d69bd271de632c43ff13 by Thomas Hellstrom on 25/08/2006 at 16:05..
Checkpoint commit
Buffer object code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c03030b12bae28dad50d69bd271de632c43ff13

Git commit 1d3cf107d20cb11ad07667622785ef8341ab9c2a by Thomas Hellstrom on 25/08/2006 at 16:14..
Module protection map access is moving into mainline kernels.
Update drm_compat accordingly.
(Reported by Dave Airlie)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d3cf107d20cb11ad07667622785ef8341ab9c2a

Git commit 35c8ce6c2945ff09dc52dbc2a7382798ba64c1da by Thomas Hellstrom on 25/08/2006 at 17:03..
ttm and buffer objects ioctl stubs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35c8ce6c2945ff09dc52dbc2a7382798ba64c1da

Git commit c488e25ceb421c6f84f110d786d9814ac4dba1b2 by Thomas Hellstrom on 25/08/2006 at 18:03..
More ioctl stubs.
Buffer object locking order documentation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c488e25ceb421c6f84f110d786d9814ac4dba1b2

Git commit b99e332236ca5fcc11e8d7c89566bbf3bcf959ee by Michel Dänzer on 26/08/2006 at 10:23..
Bug #7595: Avoid u32 overflows in radeon_check_and_fixup_offset().

The overflows could cause valid offsets to get rejected under some
circumstances, e.g. when the framebuffer resides at the very end of the card's
address space.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b99e332236ca5fcc11e8d7c89566bbf3bcf959ee

Git commit fef9b30a2b437c0103c33443566604027529b91d by Dave Airlie on 26/08/2006 at 22:55..
initial import of nouveau code from nouveau CVS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fef9b30a2b437c0103c33443566604027529b91d

Git commit 88928380c87e60d22a0a9698c468036f180f0761 by Dave Airlie on 26/08/2006 at 22:59..
add pci ids for nouveau
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88928380c87e60d22a0a9698c468036f180f0761

Git commit 65e7274008446d2059b7fd7cd6d7b1d6b04da0ce by Thomas Hellstrom on 27/08/2006 at 17:03..
ttm create / destroy / ref / unref ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65e7274008446d2059b7fd7cd6d7b1d6b04da0ce

Git commit 4fa58aa15242333a635cb590762c6e6312945745 by Thomas Hellstrom on 27/08/2006 at 17:07..
Add TTM map handle on reference.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4fa58aa15242333a635cb590762c6e6312945745

Git commit ac26b51503dfedf422d6ae49518adcf41dff1af3 by Thomas Hellstrom on 27/08/2006 at 17:45..
Have TTM create and reference ioctl call return the actual TTM size.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac26b51503dfedf422d6ae49518adcf41dff1af3

Git commit b4b7b997605f88f3ffdcb0cc7cd1271e0cb24073 by Thomas Hellstrom on 27/08/2006 at 19:16..
Remove the ioctl multiplexing, and instead allow for generic
drm ioctls 0x80 - 0xFF.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4b7b997605f88f3ffdcb0cc7cd1271e0cb24073

Git commit 928bdc6c1c9cd1e60f0b070533768aaca56c84d8 by Thomas Hellstrom on 27/08/2006 at 19:21..
Initialize i915 saved flush flags.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/928bdc6c1c9cd1e60f0b070533768aaca56c84d8

Git commit 886d3b3061cdf53f5a353cbaac843f63104d2658 by Thomas Hellstrom on 27/08/2006 at 20:01..
Bugfixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/886d3b3061cdf53f5a353cbaac843f63104d2658

Git commit 27c72b67eceec7517c34d2ca456c7474a353d6e6 by Dave Airlie on 28/08/2006 at 01:26..
drm: i810_dma.c: fix pointer arithmetic for 64-bit target

First warning result from open-coded PTR_ERR,
the rest is caused by code like this:

*(u32 *) ((u32) buf_priv->kernel_virtual + used)

I've also fixed a missing PTR_ERR in i830_dma.c

From: Denis Vlasenko <vda.linux at googlemail.com>
Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27c72b67eceec7517c34d2ca456c7474a353d6e6

Git commit 3a91e1a5fbfbca4654cca0ef41dc016fd8be80dd by Dave Airlie on 28/08/2006 at 01:27..
fixup some of the comments in drm_context.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a91e1a5fbfbca4654cca0ef41dc016fd8be80dd

Git commit b4feb2c04efdcf31d094b03ea32327a06d9dcdd2 by Dave Airlie on 28/08/2006 at 01:27..
remove some DRM_ARRAY_SIZE from linux core code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4feb2c04efdcf31d094b03ea32327a06d9dcdd2

Git commit 205c573e449b38d759273f6a51eb8c1131585ece by Dave Airlie on 28/08/2006 at 01:27..
remove local copies of pci domain/bus/slot/num
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/205c573e449b38d759273f6a51eb8c1131585ece

Git commit 3586ecd060d9468eba73c203c5e9de965fe904fb by Dave Airlie on 28/08/2006 at 01:27..
fix const pointer warnings with file_operations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3586ecd060d9468eba73c203c5e9de965fe904fb

Git commit 60ddaaf2e07b57997bcbaef0576005b52130bd24 by Dave Airlie on 28/08/2006 at 01:28..
add static function, and remove bad attributions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60ddaaf2e07b57997bcbaef0576005b52130bd24

Git commit 9b984b34e99f694e10251e15bc2ec1bc844dcca4 by Dave Airlie on 28/08/2006 at 01:31..
drm: lots of small cleanups and whitespace issues fixed up

remove a mach64 warning, align a lot of things from linux kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b984b34e99f694e10251e15bc2ec1bc844dcca4

Git commit 4ddabd15620e6e4638a6a37a3a2b5bced626fcf9 by Thomas Hellstrom on 28/08/2006 at 07:28..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into drm-ttm-0-2-branch

Conflicts:

	linux-core/drmP.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ddabd15620e6e4638a6a37a3a2b5bced626fcf9

Git commit e181f594a4a75790ce1d2a8e907f9fcc5e88b419 by Thomas Hellstrom on 28/08/2006 at 07:49..
Add a 64-bit drm unsigned type for 64-bit clean IOCTLS.
Conversion functions in drmP.h and xf86drm.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e181f594a4a75790ce1d2a8e907f9fcc5e88b419

Git commit 480ea65ee4b02fa21d1ddf3bea09ac23085618cc by Thomas Hellstrom on 28/08/2006 at 08:58..
Checkpoint buffer object IOCTL stub.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/480ea65ee4b02fa21d1ddf3bea09ac23085618cc

Git commit 05536a64785223ee8c57556300a14ba9c89837ae by Thomas Hellstrom on 28/08/2006 at 11:51..
Buffer object idle and mapping synchronization.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05536a64785223ee8c57556300a14ba9c89837ae

Git commit 3cfab681b3c82c7951f1cc337d2021a6f0d08b1e by Dave Airlie on 28/08/2006 at 14:01..
Merge branch 'master' into nouveau-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3cfab681b3c82c7951f1cc337d2021a6f0d08b1e

Git commit 0d67356de4e0c9e0d068ea9c16cf33df4fd13776 by Thomas Hellstrom on 28/08/2006 at 14:36..
Proper TTM dereferencing
Initial buffer object creation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d67356de4e0c9e0d068ea9c16cf33df4fd13776

Git commit 205740647060bc3bdec2b4402a666eb1015932ff by Thomas Hellstrom on 28/08/2006 at 15:51..
Buffer object creation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/205740647060bc3bdec2b4402a666eb1015932ff

Git commit 279e8d26c6cf7347aa9cb6d50d025a41dff9a5be by Thomas Hellstrom on 29/08/2006 at 08:45..
64-bit IOCTL integer (Michel D�nzer & Brian Paul)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/279e8d26c6cf7347aa9cb6d50d025a41dff9a5be

Git commit 0dedfc2cd03f50b435476e56637b333d345fddbd by Thomas Hellstrom on 29/08/2006 at 12:52..
Checkpoint ttm addition to buffer objects.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dedfc2cd03f50b435476e56637b333d345fddbd

Git commit 23f01c9fe8e6170459fe46ad5fc9757bbe967d96 by Thomas Hellstrom on 29/08/2006 at 16:40..
Checkpoint commit. Buffer object flags and IOCTL argument list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23f01c9fe8e6170459fe46ad5fc9757bbe967d96

Git commit de144ba23c1245cf021a63cc739c7c9903568272 by Thomas Hellstrom on 29/08/2006 at 19:57..
Part of buffer object libdrm interface.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de144ba23c1245cf021a63cc739c7c9903568272

Git commit 24dddc27549f2b8cf837305ee84dd1ca97df98e7 by Ben Skeggs on 30/08/2006 at 06:55..
Add stub {get,set}param ioctls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24dddc27549f2b8cf837305ee84dd1ca97df98e7

Git commit 033bda07e9a4eab5058fb919b375deb57b08b5be by Thomas Hellstrom on 30/08/2006 at 07:57..
Buffer object reply fill in.
Lindent of drm_bo.c drm_ttm.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/033bda07e9a4eab5058fb919b375deb57b08b5be

Git commit e47a4fda2ef7aada45b7799ad20e8012102dc12e by Thomas Hellstrom on 30/08/2006 at 11:04..
Memory manager init and takedown.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e47a4fda2ef7aada45b7799ad20e8012102dc12e

Git commit 14a835be616183e733a2d6a7dcc697b8a6f46caf by Thomas Hellstrom on 30/08/2006 at 13:08..
Buffer object mapping and mapping synchronization for multiple clients.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14a835be616183e733a2d6a7dcc697b8a6f46caf

Git commit ff95ea5536d70f9bc8eac12f2c97dae71fb97066 by Thomas Hellstrom on 30/08/2006 at 13:11..
Add missing map flags.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff95ea5536d70f9bc8eac12f2c97dae71fb97066

Git commit d39055174b5a487f0d848e1af4c3459fb4261bf1 by Thomas Hellstrom on 30/08/2006 at 15:40..
Remove the buffer object hint field and use it only
as an argument.
Validate stub.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d39055174b5a487f0d848e1af4c3459fb4261bf1

Git commit 611662ab287c279a95ae33442325626e0191e2c5 by Thomas Hellstrom on 30/08/2006 at 18:23..
Buffer eviction.
Reworked map refcounting so that any process waiting on buffer object unmap
will allow in other processes to unmap the buffer object.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/611662ab287c279a95ae33442325626e0191e2c5

Git commit 914a77a15aae07cc305cc5da5ad6c7a639cbc121 by Thomas Hellstrom on 30/08/2006 at 19:30..
Buffer object binding.
Some code reordering.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/914a77a15aae07cc305cc5da5ad6c7a639cbc121

Git commit ed9de124cc88cee398b7013de6b822bfaa3f397e by Thomas Hellstrom on 30/08/2006 at 19:31..
Lindenting drm_bo.c and drm_ttm.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed9de124cc88cee398b7013de6b822bfaa3f397e

Git commit ec8c79b79de6544cc09b5a2c85213a5f30e0d906 by Thomas Hellstrom on 31/08/2006 at 12:10..
More mapping synchronization.
libdrm validate and fencing functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec8c79b79de6544cc09b5a2c85213a5f30e0d906

Git commit 03c137c5f8d44c374406efe19c01105fcf34d583 by Thomas Hellstrom on 31/08/2006 at 13:36..
Remove the buffer manager mutex. Use dev->struct_mutex instead.
Add a function to free buffers on hold for destruction if their
  fence object has expired.
Add a timer to periodically call that function when there are
  buffers pending deletion.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03c137c5f8d44c374406efe19c01105fcf34d583

Git commit 44f6d08988a77a640bea40d09cb61eec7566a5ce by Thomas Hellstrom on 31/08/2006 at 19:42..
Validation and fencing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44f6d08988a77a640bea40d09cb61eec7566a5ce

Git commit 4edb95d6e0a00a9a8885603cab2c99e3c6daa705 by Thomas Hellstrom on 01/09/2006 at 09:23..
Various bugfixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4edb95d6e0a00a9a8885603cab2c99e3c6daa705

Git commit 11f51a9a877d1231551e8c6482a6f70daf380cdd by Thomas Hellstrom on 01/09/2006 at 13:41..
Bugfixes,
Memory allocation optimizations.
Buffer manager takedown.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11f51a9a877d1231551e8c6482a6f70daf380cdd

Git commit ef8e618cf30ab7dcbe8c7211e0c2508c5520a669 by Thomas Hellstrom on 01/09/2006 at 14:38..
Export buffer info on map and validate ioctls.
Add an info ioctl operation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef8e618cf30ab7dcbe8c7211e0c2508c5520a669

Git commit 405b5d9ca8cc9f6c5c7bb764c684bf74ba7660c6 by Thomas Hellstrom on 01/09/2006 at 16:11..
Flag bit pattern bugfixes. Remove some error messages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/405b5d9ca8cc9f6c5c7bb764c684bf74ba7660c6

Git commit a96b61fdc4fc3df50c91ca489f45f12cdad74f69 by Thomas Hellstrom on 01/09/2006 at 16:11..
Lindent drm_bo.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a96b61fdc4fc3df50c91ca489f45f12cdad74f69

Git commit 97291a6ad05848b05af69e52453d93db1e96473b by Ben Skeggs on 02/09/2006 at 12:25..
Use DMA_IN_MEMORY for DMA objects.  This is needed for a DDX change that will
be committed soon after this.  Without the change, MEMFORMAT_DMA_OUT appears
to have no effect.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97291a6ad05848b05af69e52453d93db1e96473b

Git commit b119966ae65c9ee74096cf0b246bf7703cb58ec4 by Ben Skeggs on 02/09/2006 at 20:36..
Allow cmdbuf location(AGP,VRAM) and size to be configured.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b119966ae65c9ee74096cf0b246bf7703cb58ec4

Git commit a6b8e3eaf49044e135a0b9288192525f301458d5 by Thomas Hellstrom on 04/09/2006 at 14:57..
Make memory caches global so that they can be used with
multiple heads.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6b8e3eaf49044e135a0b9288192525f301458d5

Git commit 550f51b4bf9920718aab2c611b15de3020537f92 by Thomas Hellstrom on 04/09/2006 at 19:50..
Buffer object wait IOCTL operation.
Remove option to wait for fence / buffers and block signals.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/550f51b4bf9920718aab2c611b15de3020537f92

Git commit f88c32fd4cb93fe8b9dfa543a26d74733d0cd8ef by Thomas Hellstrom on 04/09/2006 at 20:05..
Libdrm function headers. Some renaming.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f88c32fd4cb93fe8b9dfa543a26d74733d0cd8ef

Git commit 8c613a8363963330fbf701186f654007d6208bba by Thomas Hellstrom on 05/09/2006 at 09:00..
Fix memory cache initialization.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c613a8363963330fbf701186f654007d6208bba

Git commit 034fc31292edaa25779a938ab3e92ef34697eaf9 by Thomas Hellstrom on 05/09/2006 at 12:23..
i915: Only turn on user IRQs when they are needed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/034fc31292edaa25779a938ab3e92ef34697eaf9

Git commit 604215396847a7964fd7d68aa89d4f778b3bf22b by Thomas Hellstrom on 05/09/2006 at 16:00..
Fence all unfenced buffers function.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/604215396847a7964fd7d68aa89d4f778b3bf22b

Git commit e3f54ecdd9d266607afd7d8b62960b2154b63e9d by Thomas Hellstrom on 05/09/2006 at 17:36..
Multithreaded application note.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3f54ecdd9d266607afd7d8b62960b2154b63e9d

Git commit e2ea72187e470c2c13adbd3fba4177bd4a0ecc37 by Wang Zhenyu on 06/09/2006 at 14:57..
Adding pci id for Crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2ea72187e470c2c13adbd3fba4177bd4a0ecc37

Git commit d89c623f8e739815ea952adc77cfe5c0f7204407 by Stephane Marchesin on 06/09/2006 at 22:35..
Remove a 64 bit div.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d89c623f8e739815ea952adc77cfe5c0f7204407

Git commit d5726761858b1ff0fd6e6ee92ec1648fbb958a53 by Eric Anholt on 07/09/2006 at 06:08..
Add a typedef for u64.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5726761858b1ff0fd6e6ee92ec1648fbb958a53

Git commit 55057660f035a03078910d678e5fd9b0cb0b795a by Eric Anholt on 07/09/2006 at 06:25..
Put the PCI device/vendor id in the drm_device_t.

This helps us unbreak FreeBSD DRM from the 965 changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55057660f035a03078910d678e5fd9b0cb0b795a

Git commit dddacd7a3a4bd0c453b346cee70d1d36a401e539 by Eric Anholt on 07/09/2006 at 06:26..
Use the DRM_INIT_WAITQUEUE argument (needed on Linux) to avoid a warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dddacd7a3a4bd0c453b346cee70d1d36a401e539

Git commit 0ef29768ca909421539c3d8f65bb8e94912fa597 by Ben Skeggs on 07/09/2006 at 13:59..
Fix second start of X server without module reload beforehand, and a couple of other fixes.

- Mark the correct RAMIN slots as free (oops)
- Remove a VRAM alloc that shouldn't have been there (oops)
- Move HT init out of firstopen() and into dma_init()
- Setup PFIFO_RAM{HT,FC,RO} in pfifo_init()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ef29768ca909421539c3d8f65bb8e94912fa597

Git commit 99acb7936660843090ea8a9f22d2d50d9433e0de by Thomas Hellstrom on 08/09/2006 at 15:24..
Various bugfixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99acb7936660843090ea8a9f22d2d50d9433e0de

Git commit aa80e2f48f291aa41524dfb53023499c91473705 by Ben Skeggs on 08/09/2006 at 21:35..
Add copyright notices while I still remember..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa80e2f48f291aa41524dfb53023499c91473705

Git commit 3cc64a943a7240c73c92ab103ba0502b9ec07fee by Dave Airlie on 11/09/2006 at 20:13..
drm: use radeon specific names for radeon flags
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3cc64a943a7240c73c92ab103ba0502b9ec07fee

Git commit 191e284709ee792a32124e96e43d5876406b93dc by Thomas Hellstrom on 12/09/2006 at 10:01..
More bugfixes.
Disable the i915 IRQ turnoff for now since it seems to be causing problems.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/191e284709ee792a32124e96e43d5876406b93dc

Git commit 861b26578cd5e497fb506ad5952fa62bd03ea201 by Thomas Hellstrom on 12/09/2006 at 14:28..
Use lazy fence wait when possible even for RW fences. Saves some CPU.
Lindent.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/861b26578cd5e497fb506ad5952fa62bd03ea201

Git commit 9adc9584a7e0b61b16a943720bef31a71faeaef4 by Thomas Hellstrom on 12/09/2006 at 15:39..
Fix some debug messages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9adc9584a7e0b61b16a943720bef31a71faeaef4

Git commit 682c6ed0293771b093452597540118f47fda1adf by Thomas Hellstrom on 14/09/2006 at 10:17..
Remove the use of reserved pages, and use locked pages instead.
Update compatibility for latest linux versions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/682c6ed0293771b093452597540118f47fda1adf

Git commit 7223b4e264a64df2df70715d8777f2ccaa883d5e by Thomas Hellstrom on 14/09/2006 at 14:42..
Simplify ttm alloc and free.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7223b4e264a64df2df70715d8777f2ccaa883d5e

Git commit 49fbeb339c232804866cd548d6023fe559597353 by Thomas Hellstrom on 15/09/2006 at 09:18..
Some bugfixes.
Change the fence object interface somewhat to allow some more flexibility.
Make list IOCTLS really restartable.
Try to avoid busy-waits in the kernel using immediate return to user-space with an -EAGAIN.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49fbeb339c232804866cd548d6023fe559597353

Git commit f613022ceef1814cb734bb3375f01962fd3bcf10 by Thomas Hellstrom on 15/09/2006 at 14:47..
Allow a "native type" to be associated with a fence sequence.
In the intel case, we can associate a flush with a sequence.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f613022ceef1814cb734bb3375f01962fd3bcf10

Git commit 6ba9127753eff7615ba553fbc567aec98ecf8104 by Michel Dänzer on 15/09/2006 at 14:55..
Use register writes instead of BITBLT_MULTI packets for buffer swap blits.

This takes up two more ring buffer entries per rectangle blitted but makes sure
the blit is performed top to bottom, reducing the likelyhood of tearing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ba9127753eff7615ba553fbc567aec98ecf8104

Git commit 22382bd8c540231641bfc75d778a50ddf1463783 by Ben Skeggs on 17/09/2006 at 03:00..
Add pciid for GeForce Go 6150 (0x0244).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22382bd8c540231641bfc75d778a50ddf1463783

Git commit ef98a8e20dad8ae7e38f397d63c13bd24105ce53 by Dave Airlie on 18/09/2006 at 11:23..
drm: put domain number back to 0, domain support is seriously fubar..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef98a8e20dad8ae7e38f397d63c13bd24105ce53

Git commit c4fad4c96168a3dfabaa8a7e97758fefd014c8a7 by Thomas Hellstrom on 18/09/2006 at 14:02..
More verbose error reporting in some cases.
Add a buffer object waitIdle user-space function.
Fix some names and minor glitches.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4fad4c96168a3dfabaa8a7e97758fefd014c8a7

Git commit ca1b15d645c74e20f638f5a09981bcf02f58caee by Thomas Hellstrom on 18/09/2006 at 18:43..
Alternative implementation of page table zeroing using zap page_range.
(Disabled for now)
Fix bo_wait_idle bug.
Remove stray debug message.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca1b15d645c74e20f638f5a09981bcf02f58caee

Git commit aac918e7c72a46a1b0f2329380e2d6b4196d04e4 by Thomas Hellstrom on 18/09/2006 at 19:50..
Fence handler fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aac918e7c72a46a1b0f2329380e2d6b4196d04e4

Git commit fa511a3ff5150d932fd963594d1ef67a94bb8b1f by Thomas Hellstrom on 20/09/2006 at 14:31..
Allow for 64-bit map handles of ttms and buffer objects.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa511a3ff5150d932fd963594d1ef67a94bb8b1f

Git commit 1f71b8d7a456fe3ec4bfc2fed70b7420cdd0d55a by Roland Scheidegger on 20/09/2006 at 17:44..
do a TCL state flush before accessing VAP_CNTL to prevent lockups on r200 when enabling/disabling vertex programs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f71b8d7a456fe3ec4bfc2fed70b7420cdd0d55a

Git commit 255f3e6f76dfd267a14765dd1293229184298d89 by Dave Airlie (on behalf of Anish Mistry) on 21/09/2006 at 17:43..
bug 7092 : add pci ids for mach64 in Dell poweredge 4200
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/255f3e6f76dfd267a14765dd1293229184298d89

Git commit 62f6ea225615392098dedee47d4ccdd69e126a43 by Dave Airlie (on behalf of Felix Kuhling) on 21/09/2006 at 17:46..
bug 5942: add stubs for drm_mtrr_add/del for non-MTRR configured linux
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62f6ea225615392098dedee47d4ccdd69e126a43

Git commit a02155a0d92d3933d42a3655db261446bfe72b44 by Thomas Hellstrom on 22/09/2006 at 07:25..
Fix proc formatting broken by last commit.
GPU lockup error reporting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a02155a0d92d3933d42a3655db261446bfe72b44

Git commit 273eb7833d69db2d72430d5c96c21cebd05c206e by Thomas Hellstrom on 25/09/2006 at 09:51..
Add /proc filesystem buffer / fence object accounting.
Check for NULL pointer in the i915 flush handler.
Remove i915_sync_flush declaration.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/273eb7833d69db2d72430d5c96c21cebd05c206e

Git commit 711f077b7423c1a436d703885c6d18a2ad2940aa by Thomas Hellstrom on 26/09/2006 at 12:36..
Allow for a driver to overload the ttm backend object methods.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/711f077b7423c1a436d703885c6d18a2ad2940aa

Git commit 26528627a6cea7f92a949e89e5db6e17ef9560c2 by Thomas Hellstrom on 26/09/2006 at 12:40..
Remove the call to drm_lock_transfer, since it is not used anymore.
Fix up drm_lock_free to retain the last locking context information.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26528627a6cea7f92a949e89e5db6e17ef9560c2

Git commit bd8ca12b7baff778d5bb7b4ad1d38d16b60a4d5a by Thomas Hellstrom on 26/09/2006 at 14:00..
Silence valgrind.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd8ca12b7baff778d5bb7b4ad1d38d16b60a4d5a

Git commit 235f6fc650e9974211843b9196a903963dae0211 by Thomas Hellstrom on 27/09/2006 at 07:27..
Adapt to architecture-specific hooks for gatt pages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/235f6fc650e9974211843b9196a903963dae0211

Git commit c97149b45be9d0e9385d4c6721aa70dad68a1aa1 by Thomas Hellstrom on 27/09/2006 at 07:31..
Fix tt fixed size that slipped through in previous commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c97149b45be9d0e9385d4c6721aa70dad68a1aa1

Git commit f2c03ecae627df77db25391fe85fcd8a2a4bdc0c by Thomas Hellstrom on 27/09/2006 at 17:07..
Fix racy buffer object destruction.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2c03ecae627df77db25391fe85fcd8a2a4bdc0c

Git commit 1c6f0ea43c47603c2265248ce8a91698c8982f3c by Thomas Hellstrom on 27/09/2006 at 17:11..
Activate error message that was never hit since it was masked
by drm_lock_transfer.
Ifdef out drm_lock_transfer. I see no use for it currently. Should be removed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c6f0ea43c47603c2265248ce8a91698c8982f3c

Git commit c52fafa6288b4e6ecfce27151969749113a41f0b by Thomas Hellstrom on 28/09/2006 at 09:33..
Don't enable fence / buffer objects on non-linux systems.
Bump driver minor and date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c52fafa6288b4e6ecfce27151969749113a41f0b

Git commit b15bc8a0bad43c68dd1bbff27e7a7bd54e9e6938 by Thomas Hellstrom on 28/09/2006 at 10:19..
Libdrm version bump and naming.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b15bc8a0bad43c68dd1bbff27e7a7bd54e9e6938

Git commit ab351505f36a6c66405ea7604378268848340a42 by Michel Dänzer on 28/09/2006 at 13:41..
Add support for secondary vertical blank interrupt to DRM core.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab351505f36a6c66405ea7604378268848340a42

Git commit 0c7d7f43610f705e8536a949cf2407efaa5ec217 by Michel Dänzer on 28/09/2006 at 13:41..
Add support for secondary vertical blank interrupt to i915 driver.

When the vertical blank interrupt is enabled for both pipes, pipe A is
considered primary and pipe B secondary. When it's only enabled for one pipe,
it's always considered primary for backwards compatibility.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c7d7f43610f705e8536a949cf2407efaa5ec217

Git commit d817cc1f30060fcc4a85a05b2de8a2a1687421b5 by Michel Dänzer on 28/09/2006 at 13:41..
Add support for interrupt triggered driver callback with lock held to DRM core.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d817cc1f30060fcc4a85a05b2de8a2a1687421b5

Git commit 29598e5253ff5c085ccf63580fd24b84db848424 by Michel Dänzer on 28/09/2006 at 13:41..
Add support for tracking drawable information to core

Actually make the existing ioctls for adding and removing drawables do
something useful, and add another ioctl for the X server to update drawable
information. The only kind of drawable information tracked so far is cliprects.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29598e5253ff5c085ccf63580fd24b84db848424

Git commit af48be1096221d551319c67a9e782b50ef58fefd by Michel Dänzer on 28/09/2006 at 13:41..
Only reallocate cliprect memory if the number of cliprects changes.

Also improve diagnostic output.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af48be1096221d551319c67a9e782b50ef58fefd

Git commit 98a89504589427a76c3f5cfa2266962a1a212672 by Michel Dänzer on 28/09/2006 at 13:41..
Hook up DRM_IOCTL_UPDATE_DRAW ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98a89504589427a76c3f5cfa2266962a1a212672

Git commit 43f8675534c7e95efbc92eaf2c8cc43aef95f125 by Michel Dänzer on 28/09/2006 at 13:41..
Export drm_get_drawable_info symbol from core.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43f8675534c7e95efbc92eaf2c8cc43aef95f125

Git commit b9f3009160d8bd1a26a77d6f1616f1679c7b969d by Michel Dänzer on 28/09/2006 at 13:41..
Drop tasklet locked driver callback when uninstalling IRQ.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9f3009160d8bd1a26a77d6f1616f1679c7b969d

Git commit 23d2833aaa37a33b9ddcf06cc796f59befc0d360 by Michel Dänzer on 28/09/2006 at 13:41..
Locking and memory management fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23d2833aaa37a33b9ddcf06cc796f59befc0d360

Git commit 257771fa290b62d4d2ad896843cf3a207978d0bb by Michel Dänzer on 28/09/2006 at 13:41..
i915: Add ioctl for scheduling buffer swaps at vertical blanks.

This uses the core facility to schedule a driver callback that will be called
ASAP after the given vertical blank interrupt with the HW lock held.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/257771fa290b62d4d2ad896843cf3a207978d0bb

Git commit d04751facea36cb888c7510b126658fdbc4277d5 by Michel Dänzer on 28/09/2006 at 13:41..
Add copyright notice.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d04751facea36cb888c7510b126658fdbc4277d5

Git commit df7551ef7334d728ec0371423661bb403d3e270a by Michel Dänzer on 28/09/2006 at 13:41..
Change first valid DRM drawable ID to be 1 instead of 0.

This makes it easier for userspace to know when it needs to allocate an ID.

Also free drawable information memory when it's no longer needed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df7551ef7334d728ec0371423661bb403d3e270a

Git commit d5a0f107511e128658e2d5e15bd7e6215c507f29 by Michel Dänzer on 28/09/2006 at 13:41..
DRM_I915_VBLANK_SWAP ioctl: Take drm_vblank_seq_type_t instead of pipe number.

Handle relative as well as absolute target sequence numbers.

Return error if target sequence has already passed, so userspace can deal with
this situation as it sees fit.

On success, return the sequence number of the vertical blank when the buffer
swap is expected to take place.

Also add DRM_IOCTL_I915_VBLANK_SWAP definition for userspace code that may want
to use ioctl() instead of drmCommandWriteRead().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5a0f107511e128658e2d5e15bd7e6215c507f29

Git commit 87c57cba1a70221fc570b253bf3b24682ef6b894 by Michel Dänzer on 28/09/2006 at 13:41..
Make handling of dev_priv->vblank_pipe more robust.

Initialize it to default value if it hasn't been set by the X server yet.

In i915_vblank_pipe_set(), only update dev_priv->vblank_pipe and call
i915_enable_interrupt() if the argument passed from userspace is valid to avoid
corrupting dev_priv->vblank_pipe on invalid arguments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87c57cba1a70221fc570b253bf3b24682ef6b894

Git commit 84b38b63f05e04ade8b1ddfb770047fd86de0d64 by Michel Dänzer on 28/09/2006 at 13:41..
Add definition of DRM_VBLANK_SECONDARY.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84b38b63f05e04ade8b1ddfb770047fd86de0d64

Git commit c2bdb76814755c9ac6e66a8815f23af0fe4f3a91 by Michel Dänzer on 28/09/2006 at 13:41..
Add SAREA fileds for determining which pipe to sync window buffer swaps to.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2bdb76814755c9ac6e66a8815f23af0fe4f3a91

Git commit 7f09f957d9a61ac107f8fd29128d7899a3e8a228 by Michel Dänzer on 28/09/2006 at 13:41..
Fix 'sequence has passed' condition in i915_vblank_swap().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f09f957d9a61ac107f8fd29128d7899a3e8a228

Git commit 89e323e4900af84cc33219ad24eb0b435a039d23 by Michel Dänzer on 28/09/2006 at 13:41..
Core vsync: Add flag DRM_VBLANK_NEXTONMISS.

When this flag is set and the target sequence is missed, wait for the next
vertical blank instead of returning immediately.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89e323e4900af84cc33219ad24eb0b435a039d23

Git commit cf6b2c5299e9be3542d4deddfd05d5811f11d2ef by Michel Dänzer on 28/09/2006 at 13:41..
Core vsync: Don't clobber target sequence number when scheduling signal.

It looks like this would have caused signals to always get sent on the next
vertical blank, regardless of the sequence number.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf6b2c5299e9be3542d4deddfd05d5811f11d2ef

Git commit 50a0284a61d4415c0ebdb02decee76ef3115007a by Michel Dänzer on 28/09/2006 at 13:41..
Only return EBUSY after we've established we need to schedule a new swap.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50a0284a61d4415c0ebdb02decee76ef3115007a

Git commit 0356fe260dcf80f6d2d20e3384f2a1f4ee7f5b30 by Michel Dänzer on 28/09/2006 at 13:41..
i915_vblank_swap: Add support for DRM_VBLANK_NEXTONMISS.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0356fe260dcf80f6d2d20e3384f2a1f4ee7f5b30

Git commit 2627131e5d0c8cd5e3f0db06451c2e7ae7569b1b by Michel Dänzer on 28/09/2006 at 13:41..
i915: Bump minor for swap scheduling ioctl and secondary vblank support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2627131e5d0c8cd5e3f0db06451c2e7ae7569b1b

Git commit 881ba569929ceafd42e3c86228b0172099083d1d by Michel Dänzer on 28/09/2006 at 13:41..
i915: Avoid mis-counting vblank interrupts when they're only enabled for pipe A.

It looks like 'after a while', I915REG_INT_IDENTITY_R for some reason always has
VSYNC_PIPEB_FLAG set in the interrupt handler, even though pipe B is disabled.
So we only increase dev->vbl_received if the corresponding bit is also set in
dev->vblank_pipe.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/881ba569929ceafd42e3c86228b0172099083d1d

Git commit 7af93dd9849442270ec89cb4bbeef5bfd4f9e424 by Michel Dänzer on 29/09/2006 at 08:27..
i915: Only schedule vblank tasklet if there are scheduled swaps pending.

This fixes issues on X server startup with versions of xf86-video-intel that
enable the IRQ before they have a context ID.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7af93dd9849442270ec89cb4bbeef5bfd4f9e424

Git commit 3802f9adbf9a7e3d5c356f74b0c1ee966476fb97 by Thomas Hellstrom on 29/09/2006 at 09:15..
Fix buffer manager takedown error.
Prepare for the possibility to evict all buffers from vram / agp.
This will be used by the X server when, for example, switching vts.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3802f9adbf9a7e3d5c356f74b0c1ee966476fb97

Git commit ae96e264198323916ee58e293468c9b924feca75 by Thomas Hellstrom on 29/09/2006 at 09:46..
Add a new buffer flag.
Fix up some comments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae96e264198323916ee58e293468c9b924feca75

Git commit 2735f9e2908b786586d18f6384371b991bdce430 by Michel Dänzer on 29/09/2006 at 10:55..
Add support for secondary vertical blank interrupt to DRM core.

(cherry picked from ab351505f36a6c66405ea7604378268848340a42 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2735f9e2908b786586d18f6384371b991bdce430

Git commit 596d7e998403f565a796c431dbbcaf9e0c49908b by Michel Dänzer on 29/09/2006 at 10:55..
Add support for secondary vertical blank interrupt to i915 driver.

When the vertical blank interrupt is enabled for both pipes, pipe A is
considered primary and pipe B secondary. When it's only enabled for one pipe,
it's always considered primary for backwards compatibility.
(cherry picked from 0c7d7f43610f705e8536a949cf2407efaa5ec217 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/596d7e998403f565a796c431dbbcaf9e0c49908b

Git commit a7b8c8d523d7f726b8fb74cb37f807d2316cf5dd by Michel Dänzer on 29/09/2006 at 10:55..
Add support for interrupt triggered driver callback with lock held to DRM core.

(cherry picked from d817cc1f30060fcc4a85a05b2de8a2a1687421b5 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7b8c8d523d7f726b8fb74cb37f807d2316cf5dd

Git commit 9810ec2737de6aa81e764225f580e4ea39de437a by Michel Dänzer on 29/09/2006 at 10:55..
Add support for tracking drawable information to core

Actually make the existing ioctls for adding and removing drawables do
something useful, and add another ioctl for the X server to update drawable
information. The only kind of drawable information tracked so far is cliprects.
(cherry picked from 29598e5253ff5c085ccf63580fd24b84db848424 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9810ec2737de6aa81e764225f580e4ea39de437a

Git commit baa26c5faa3d5903569d1c94ad93b843d6979ba5 by Michel Dänzer on 29/09/2006 at 10:55..
Only reallocate cliprect memory if the number of cliprects changes.

Also improve diagnostic output.
(cherry picked from af48be1096221d551319c67a9e782b50ef58fefd commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baa26c5faa3d5903569d1c94ad93b843d6979ba5

Git commit 67e88e5628d02cd94561e31fd68e02b6bde66e6f by Michel Dänzer on 29/09/2006 at 10:55..
Hook up DRM_IOCTL_UPDATE_DRAW ioctl.

(cherry picked from 98a89504589427a76c3f5cfa2266962a1a212672 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67e88e5628d02cd94561e31fd68e02b6bde66e6f

Git commit f93e4822694b066427f70c23216b78f92edb1bff by Michel Dänzer on 29/09/2006 at 10:55..
Export drm_get_drawable_info symbol from core.

(cherry picked from 43f8675534c7e95efbc92eaf2c8cc43aef95f125 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f93e4822694b066427f70c23216b78f92edb1bff

Git commit ca3a1b5ec4a417785238fb7c0cb4c3570dbcb31a by Michel Dänzer on 29/09/2006 at 10:55..
Drop tasklet locked driver callback when uninstalling IRQ.

(cherry picked from b9f3009160d8bd1a26a77d6f1616f1679c7b969d commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca3a1b5ec4a417785238fb7c0cb4c3570dbcb31a

Git commit d7389a9758944ab0d241d3c1108adfeeec9eee76 by Michel Dänzer on 29/09/2006 at 10:55..
Locking and memory management fixes.

(cherry picked from 23d2833aaa37a33b9ddcf06cc796f59befc0d360 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7389a9758944ab0d241d3c1108adfeeec9eee76

Git commit da75d59cd65764c6076ab9b96ad8195ed71ed80b by Michel Dänzer on 29/09/2006 at 10:55..
i915: Add ioctl for scheduling buffer swaps at vertical blanks.

This uses the core facility to schedule a driver callback that will be called
ASAP after the given vertical blank interrupt with the HW lock held.
(cherry picked from 257771fa290b62d4d2ad896843cf3a207978d0bb commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da75d59cd65764c6076ab9b96ad8195ed71ed80b

Git commit 7d487602a31dd886037417db088b6e643ed86918 by Michel Dänzer on 29/09/2006 at 10:55..
Add copyright notice.

(cherry picked from d04751facea36cb888c7510b126658fdbc4277d5 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d487602a31dd886037417db088b6e643ed86918

Git commit 00531cecad3cf9a1ec230f7f33535d153b9d9bd0 by Michel Dänzer on 29/09/2006 at 10:55..
Change first valid DRM drawable ID to be 1 instead of 0.

This makes it easier for userspace to know when it needs to allocate an ID.

Also free drawable information memory when it's no longer needed.
(cherry picked from df7551ef7334d728ec0371423661bb403d3e270a commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00531cecad3cf9a1ec230f7f33535d153b9d9bd0

Git commit 1f3493f65ba0959e401191c648f57501216eeb0a by Michel Dänzer on 29/09/2006 at 10:55..
DRM_I915_VBLANK_SWAP ioctl: Take drm_vblank_seq_type_t instead of pipe number.

Handle relative as well as absolute target sequence numbers.

Return error if target sequence has already passed, so userspace can deal with
this situation as it sees fit.

On success, return the sequence number of the vertical blank when the buffer
swap is expected to take place.

Also add DRM_IOCTL_I915_VBLANK_SWAP definition for userspace code that may want
to use ioctl() instead of drmCommandWriteRead().
(cherry picked from d5a0f107511e128658e2d5e15bd7e6215c507f29 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f3493f65ba0959e401191c648f57501216eeb0a

Git commit 4a3d270862f6dbc52ca3e16ba66fdb24667b2aa2 by Michel Dänzer on 29/09/2006 at 10:55..
Make handling of dev_priv->vblank_pipe more robust.

Initialize it to default value if it hasn't been set by the X server yet.

In i915_vblank_pipe_set(), only update dev_priv->vblank_pipe and call
i915_enable_interrupt() if the argument passed from userspace is valid to avoid
corrupting dev_priv->vblank_pipe on invalid arguments.
(cherry picked from 87c57cba1a70221fc570b253bf3b24682ef6b894 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a3d270862f6dbc52ca3e16ba66fdb24667b2aa2

Git commit 316e73676861c0e019d52ec7bf7b7b1451eaed97 by Michel Dänzer on 29/09/2006 at 10:55..
Add definition of DRM_VBLANK_SECONDARY.

(cherry picked from 84b38b63f05e04ade8b1ddfb770047fd86de0d64 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/316e73676861c0e019d52ec7bf7b7b1451eaed97

Git commit f9aa4f5973d6098b95e92f606dc1967c627897db by Michel Dänzer on 29/09/2006 at 10:55..
Add SAREA fileds for determining which pipe to sync window buffer swaps to.

(cherry picked from c2bdb76814755c9ac6e66a8815f23af0fe4f3a91 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9aa4f5973d6098b95e92f606dc1967c627897db

Git commit c4c47a7eacf8e8cb96b2fb63164e28f0db7353ad by Michel Dänzer on 29/09/2006 at 10:55..
Fix 'sequence has passed' condition in i915_vblank_swap().

(cherry picked from 7f09f957d9a61ac107f8fd29128d7899a3e8a228 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4c47a7eacf8e8cb96b2fb63164e28f0db7353ad

Git commit ed82172378666d35ca60e6094fdecb59511a135f by Michel Dänzer on 29/09/2006 at 10:55..
Core vsync: Add flag DRM_VBLANK_NEXTONMISS.

When this flag is set and the target sequence is missed, wait for the next
vertical blank instead of returning immediately.
(cherry picked from 89e323e4900af84cc33219ad24eb0b435a039d23 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed82172378666d35ca60e6094fdecb59511a135f

Git commit cef0f243251103be81c914d5b83ee3401c2a9c34 by Michel Dänzer on 29/09/2006 at 10:55..
Core vsync: Don't clobber target sequence number when scheduling signal.

It looks like this would have caused signals to always get sent on the next
vertical blank, regardless of the sequence number.
(cherry picked from cf6b2c5299e9be3542d4deddfd05d5811f11d2ef commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cef0f243251103be81c914d5b83ee3401c2a9c34

Git commit c47ebd970783873164578126fa5481a166cd837e by Michel Dänzer on 29/09/2006 at 10:55..
Only return EBUSY after we've established we need to schedule a new swap.

(cherry picked from 50a0284a61d4415c0ebdb02decee76ef3115007a commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c47ebd970783873164578126fa5481a166cd837e

Git commit 0a7d9edcfb427724f0cad5ff6d0a4493d266b4e8 by Michel Dänzer on 29/09/2006 at 10:55..
i915_vblank_swap: Add support for DRM_VBLANK_NEXTONMISS.

(cherry picked from 0356fe260dcf80f6d2d20e3384f2a1f4ee7f5b30 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a7d9edcfb427724f0cad5ff6d0a4493d266b4e8

Git commit c0bff9f9cd08066df7f3bccd77d4d4dd4edb4163 by Michel Dänzer on 29/09/2006 at 10:55..
i915: Bump minor for swap scheduling ioctl and secondary vblank support.

(cherry picked from 2627131e5d0c8cd5e3f0db06451c2e7ae7569b1b commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0bff9f9cd08066df7f3bccd77d4d4dd4edb4163

Git commit 390184df92915d232cab90469937de875ee65b91 by Michel Dänzer on 29/09/2006 at 10:55..
i915: Avoid mis-counting vblank interrupts when they're only enabled for pipe A.

It looks like 'after a while', I915REG_INT_IDENTITY_R for some reason always has
VSYNC_PIPEB_FLAG set in the interrupt handler, even though pipe B is disabled.
So we only increase dev->vbl_received if the corresponding bit is also set in
dev->vblank_pipe.
(cherry picked from 881ba569929ceafd42e3c86228b0172099083d1d commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/390184df92915d232cab90469937de875ee65b91

Git commit 3620a3ec85033d3d1d1a44ec32492fb2ef20fd8a by Michel Dänzer on 29/09/2006 at 10:55..
i915: Bump minor again to differentiate from vsync changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3620a3ec85033d3d1d1a44ec32492fb2ef20fd8a

Git commit 48367fdfe677adada52ad61d850e2980e1070632 by Michel Dänzer on 29/09/2006 at 10:55..
i915: Only initialize IRQ fields in postinstall, not the PIPE_SET ioctl.

Some other minor changes in preparation for actually disabling user interrupts.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48367fdfe677adada52ad61d850e2980e1070632

Git commit 17a640419a447083470880f1266e14063cd5acd0 by Michel Dänzer on 29/09/2006 at 10:55..
i915: Only schedule vblank tasklet if there are scheduled swaps pending.

This fixes issues on X server startup with versions of xf86-video-intel that
enable the IRQ before they have a context ID.
(cherry picked from 7af93dd9849442270ec89cb4bbeef5bfd4f9e424 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17a640419a447083470880f1266e14063cd5acd0

Git commit 8e908eaf50d5331ee875fefbf793dbe07d99786a by Thomas Hellstrom on 29/09/2006 at 12:21..
Bump driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e908eaf50d5331ee875fefbf793dbe07d99786a

Git commit d58389968124191a546a14b42ef84edc224be23d by Michel Dänzer (on behalf of Felix Kühling) on 02/10/2006 at 08:50..
drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d58389968124191a546a14b42ef84edc224be23d

Git commit 3a16e615cabfed18b1891a732e7243ef41dc0ad0 by Michel Dänzer on 02/10/2006 at 09:04..
Make locked tasklet handling more robust.

Initialize the spinlock unconditionally when struct drm_device is filled in,
and return early in drm_locked_tasklet() if the driver doesn't support IRQs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a16e615cabfed18b1891a732e7243ef41dc0ad0

Git commit 58a23d193f7d25d23c76a58c192c814a415a843b by Michel Dänzer (on behalf of Felix Kühling) on 02/10/2006 at 09:21..
drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended.
(cherry picked from d58389968124191a546a14b42ef84edc224be23d commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58a23d193f7d25d23c76a58c192c814a415a843b

Git commit c6be27401fbc12ec72bac13d07e3cc93bd63732a by Thomas Hellstrom on 02/10/2006 at 11:34..
Trap and be verbose about a deadlock that occurs with AIGLX and drivers that
use drm_reclaim_buffers_locked().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6be27401fbc12ec72bac13d07e3cc93bd63732a

Git commit 418b81c65c55601d4e414b351db5b8d76db8a109 by Thomas Hellstrom on 02/10/2006 at 11:37..
Add a comment to previos commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/418b81c65c55601d4e414b351db5b8d76db8a109

Git commit d85b99435f0ea7a17b3b7be31b53c00632c07177 by Thomas Hellstrom on 02/10/2006 at 11:49..
Allow for 44 bit user-tokens (or drm_file offsets)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d85b99435f0ea7a17b3b7be31b53c00632c07177

Git commit a31046b8734f12ed22127ef5f6ca4fc33df72ec1 by Thomas Hellstrom on 02/10/2006 at 12:03..
Add a buffer object manager for TTM maps.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a31046b8734f12ed22127ef5f6ca4fc33df72ec1

Git commit eacedf41a65f135722e7bee6f1a66a803619237f by Thomas Hellstrom on 02/10/2006 at 13:06..
Make the user_token 44-bit for TTMs, and have them occupy a unique file space
starting at 0x00100000000. This will hopefully allow us to use
unmap_mapping_range(). Note that user-space will need
64-bit file offset support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eacedf41a65f135722e7bee6f1a66a803619237f

Git commit f6238cf6244b32bd84e3d2819963d7f5473867c8 by Michel Dänzer on 02/10/2006 at 13:33..
Fix type of second argument to spin_lock_irqsave().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6238cf6244b32bd84e3d2819963d7f5473867c8

Git commit 16be6ba63a41f03e98a741464d3b51eefb277373 by Michel Dänzer on 02/10/2006 at 13:42..
Fix type of second argument to spin_lock_irqsave().
(cherry picked from f6238cf6244b32bd84e3d2819963d7f5473867c8 commit)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/16be6ba63a41f03e98a741464d3b51eefb277373

Git commit d1b31a228b72b8dd8e588f0a0cc8eeabc3845f70 by George Sapountzis on 02/10/2006 at 19:46..
Bug 6209: [mach64] AGP DMA buffers not mapped correctly.

Map the DMA buffers from the same linear address as the vertex bufs. If
dev->agp_buffer_token is not set, mach64 drm maps the DMA buffers from
linear address 0x0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1b31a228b72b8dd8e588f0a0cc8eeabc3845f70

Git commit eea150e776657faca7d5b76aca75a33dc74fbc9d by George Sapountzis on 02/10/2006 at 19:47..
Bug 6242: [mach64] Use private DMA buffers, part #1.

Factor out from mach64_freelist_get() the code to reclaim a completed buffer,
this is to improve readability for me.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eea150e776657faca7d5b76aca75a33dc74fbc9d

Git commit 25760c30d4aedb370423d0bb03c014cab47b5d4f by George Sapountzis on 02/10/2006 at 19:47..
Bug 6242: [mach64] Use private DMA buffers, part #2.

Factor out from mach64_dma_dispatch_vertex() the code to reclaim an unsed
buffer, in preperation for using it in mach64_dma_dispatch_blit() also.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25760c30d4aedb370423d0bb03c014cab47b5d4f

Git commit f3deef730d52c94ce21ada7e4ceb63aa28a8601b by George Sapountzis on 02/10/2006 at 19:47..
Bug 6242: [mach64] Use private DMA buffers, part #3.

Add DRM_PCI_BUFFER_RO flag for mapping PCI DMA buffer read-only. An additional
flag is needed, since PCI DMA buffers do not have an associated map.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3deef730d52c94ce21ada7e4ceb63aa28a8601b

Git commit c9e3aa961eb90265ec024ff57013786e4d47d0e7 by George Sapountzis on 02/10/2006 at 19:47..
Bug 6242: [mach64] Use private DMA buffers, part #4.

mach64_state.c: convert the DRM_MACH64_BLIT ioctl to submit a pointer to
user-space memory rather than a DMA buffer index, similar to DRM_MACH64_VERTEX.

This change allows the DDX to map the DMA buffers read-only and eliminate a
security problem where a client can alter the contents of the DMA buffer after
submission to the DRM.

This change also affects the DRI/DRM interface. Performace-wise, it basically
affects PCI mode where I get a ~12% speedup for some Mesa demos I tested.
This is mainly due to eliminating an ioctl for allocating the DMA buffer.

mach64_dma.c: move the responsibility for allocating memory for the DMA ring
in PCI mode to the DDX.

This change affects the DDX/DRM interface and unifies a couple of PCI/AGP code
paths for ring memory in the DRM.

Bump the mach64 DRM version major and date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9e3aa961eb90265ec024ff57013786e4d47d0e7

Git commit cee659afb56e7ac443402ac791144f391721061e by Thomas Hellstrom on 03/10/2006 at 10:08..
Get rid of all ugly PTE hacks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cee659afb56e7ac443402ac791144f391721061e

Git commit a9f57a2b9c5897cbf568bf75342204b780566de0 by Roland Scheidegger on 10/10/2006 at 00:24..
only allow specific type-3 packets to pass the verifier instead of all for r100/r200 as others might be unsafe (r300 already does this), and add checking for these we need but aren't safe. Check the RADEON_CP_INDX_BUFFER packet on both r200 and r300 as it isn't safe neither.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9f57a2b9c5897cbf568bf75342204b780566de0

Git commit c58574c60505a699e19e1ed59e1b441be2594e53 by Thomas Hellstrom on 10/10/2006 at 08:37..
Use a nopage-based approach to fault in pfns.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c58574c60505a699e19e1ed59e1b441be2594e53

Git commit dd473411f889cc16af255437d2a61c616bcee695 by Stephane Marchesin on 10/10/2006 at 22:28..
Context switching work.
Added preliminary support for context switches (triggers the interrupts, but hangs after the switch ; something's not quite right yet).
Removed the PFIFO_REINIT ioctl. I hope it's that a good idea...
Requires the upcoming commit to the DDX.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd473411f889cc16af255437d2a61c616bcee695

Git commit f2db76e2f206d2017f710eaddc4b33add4498898 by Thomas Hellstrom on 11/10/2006 at 11:40..
Big update:
Adapt for new functions in the 2.6.19 kernel.
Remove the ability to have multiple regions in one TTM.
   This simplifies a lot of code.
Remove the ability to access TTMs from user space.
   We don't need it anymore without ttm regions.
Don't change caching policy for evicted buffers. Instead change it only
   when the buffer is accessed by the CPU (on the first page fault).
   This tremendously speeds up eviction rates.
Current code is safe for kernels <= 2.6.14.
Should also be OK with 2.6.19 and above.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2db76e2f206d2017f710eaddc4b33add4498898

Git commit 30703893674b3da5b862dee2acd6efca13424398 by Thomas Hellstrom on 11/10/2006 at 20:21..
Compatibility code for 2.6.15-2.6.18. It is ugly but a little comfort is that
it will go away in the mainstream kernel.
Some bugfixes, mainly in error paths.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30703893674b3da5b862dee2acd6efca13424398

Git commit a749d9d5b49ea0e402848bd6024e5c44826e784f by Stephane Marchesin on 11/10/2006 at 23:08..
More work on the context switch code. Still doesn't work. I'm mostly convinced it's an initialization issue.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a749d9d5b49ea0e402848bd6024e5c44826e784f

Git commit 10150df02b7062b9975661ccd82b475cd23c8839 by Thomas Hellstrom on 12/10/2006 at 10:09..
Simplify the AGP backend interface somewhat.

Fix buffer bound caching policy changing, Allow
on-the-fly changing of caching policy on bound buffers if the hardware
supports it.

Allow drivers to use driver-specific AGP memory types for TTM AGP pages.
Will make AGP drivers much easier to migrate.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10150df02b7062b9975661ccd82b475cd23c8839

Git commit 540c64c378daafaad1c3f63faf5af81f39388665 by Thomas Hellstrom on 12/10/2006 at 14:10..
Bugfixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/540c64c378daafaad1c3f63faf5af81f39388665

Git commit 7ef44b2b8dd1745f5b228e6161ebd989844c3088 by Stephane Marchesin on 12/10/2006 at 15:31..
Still more work on the context switching code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ef44b2b8dd1745f5b228e6161ebd989844c3088

Git commit a9c6c3f21d90257db94536f202b3a1f03896b2f7 by Stephane Marchesin on 12/10/2006 at 19:18..
Oops.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9c6c3f21d90257db94536f202b3a1f03896b2f7

Git commit 4988074794531939ec0cb0ad183633b59e9ccff4 by Ben Skeggs on 13/10/2006 at 19:57..
Fix some randomness in activating a second channel on NV40 (odd GET/PUT vals).  Ch 1 GET now advances, but no ctx_switch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4988074794531939ec0cb0ad183633b59e9ccff4

Git commit b509abe413f74bd08f6415dec8147bd07e78a84b by Stephane Marchesin on 13/10/2006 at 20:35..
Fix the fifo context size on nv10, nv20 and nv30.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b509abe413f74bd08f6415dec8147bd07e78a84b

Git commit 3a0cd7c7e221f625585675490f626de8677a9dc7 by Stephane Marchesin on 13/10/2006 at 23:21..
Add the missing breaks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a0cd7c7e221f625585675490f626de8677a9dc7

Git commit 1bab514c0a1a535c19d53e3d39e3b351db3ab7a4 by Dave Airlie on 14/10/2006 at 13:38..
remove config.h from build no longer exists kbuild does it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bab514c0a1a535c19d53e3d39e3b351db3ab7a4

Git commit 2c5b91aecf3d21684ffca758c034cd9a8ed2155d by Stephane Marchesin on 14/10/2006 at 14:36..
Again more work on context switches. They work, sometimes. And when they do they seem to screw up the PGRAPH state.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c5b91aecf3d21684ffca758c034cd9a8ed2155d

Git commit 93fee5cf222ad6d97e0dcb85e13a8d8b84dba81f by Stephane Marchesin on 14/10/2006 at 22:12..
Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/drm into nouveau-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93fee5cf222ad6d97e0dcb85e13a8d8b84dba81f

Git commit 5b2a60f550090a41c13483ceaaa1a84d3a9257f8 by Thomas Hellstrom on 16/10/2006 at 12:22..
Change Intel AGP memory type numbers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b2a60f550090a41c13483ceaaa1a84d3a9257f8

Git commit 95486bbde05ae51975c4d51fd194111788edee9a by Ben Skeggs on 16/10/2006 at 19:12..
Some info on NV40's RAMFC
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95486bbde05ae51975c4d51fd194111788edee9a

Git commit 1943f39d8ce27c799f928bab172e521f4d540166 by Ben Skeggs on 16/10/2006 at 19:37..
Setup NV40 RAMFC (in wrong location.. but anyway), rearrange the RAMFC setup code a bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1943f39d8ce27c799f928bab172e521f4d540166

Git commit 98e718d48fcd166accf1af3c017c34e331ab09cb by Ben Skeggs on 16/10/2006 at 20:29..
NV40: FIFO context switching now WorksForMe(tm)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98e718d48fcd166accf1af3c017c34e331ab09cb

Git commit 4b43ee63f90c93701c9f1cdf7fefd1816b316d33 by Ben Skeggs on 17/10/2006 at 01:33..
NV40: *Now* fifo ctx switching works for me..
Ok, I lied before.. it was a fluke it worked and required magic to repeat it..
It actually helps to fill in RAMFC entries in the correct place.

The code also clears RAMIN entirely instead of just the hash-table.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b43ee63f90c93701c9f1cdf7fefd1816b316d33

Git commit 561e23a7c2f06b382613d3e2ae8d23104d0949aa by Alex Deucher (on behalf of Michael Karcher) on 17/10/2006 at 02:06..
dev->agp_buffer_map is not initialized for AGP DMA on savages
bug 8662
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/561e23a7c2f06b382613d3e2ae8d23104d0949aa

Git commit 5881ce1b91034fbdf81dda37a23215cfc1310cdf by Thomas Hellstrom on 17/10/2006 at 09:05..
Extend generality for more memory types.
Fix up init and destruction code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5881ce1b91034fbdf81dda37a23215cfc1310cdf

Git commit db5c671e86c3db8c99ce5a4954632248e6f849aa by Thomas Hellstrom on 17/10/2006 at 09:28..
Remove the memory manager parameter from the put_block function, as this
makes the client code a lot cleaner. Prepare buffer manager for lock and
unlock calls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db5c671e86c3db8c99ce5a4954632248e6f849aa

Git commit 07059f427819755e13b051e1422c6e8671c70f92 by Ben Skeggs on 17/10/2006 at 12:08..
typo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07059f427819755e13b051e1422c6e8671c70f92

Git commit 55de3f763f0de66b99f1afde9872f0072a84a9e3 by Ben Skeggs on 17/10/2006 at 12:44..
Useful output on a FIFO error interrupt.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55de3f763f0de66b99f1afde9872f0072a84a9e3

Git commit 5443dbe35f182b9286a96d24d29037d5cb625e3d by Thomas Hellstrom on 17/10/2006 at 14:00..
Implement mm_lock and mm_unlock functions.
The mm_lock function is used when leaving vt. It evicts _all_ buffers.
Buffers with the DRM_BO_NO_MOVE attribute set will be guaranteed to
get the same offset when / if they are rebound.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5443dbe35f182b9286a96d24d29037d5cb625e3d

Git commit 725984364bd899c2dee1ca9b44f56fc70ccba3ad by Ben Skeggs on 17/10/2006 at 14:07..
Oops, we have more than 4 subchannels..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/725984364bd899c2dee1ca9b44f56fc70ccba3ad

Git commit b5cf0d635c81d2c99510ce5e3f67f4aa593cd6d7 by Ben Skeggs on 17/10/2006 at 15:37..
Remove hack which delays activation of a additional channel.  The previously active channel's state is saved to RAMFC before PFIFO gets clobbered.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5cf0d635c81d2c99510ce5e3f67f4aa593cd6d7

Git commit d515936ea7f98f6aaa9217699796beadef9d664b by Thomas Hellstrom on 17/10/2006 at 17:40..
Add memory usage accounting to avoid DOS problems.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d515936ea7f98f6aaa9217699796beadef9d664b

Git commit f22f89e6b3c970a29197d3a53c170fb7d0340cbe by Thomas Hellstrom on 17/10/2006 at 17:52..
Add vma list memory usage to memory accounting.
Use byte unit for /proc printout of memory usage for small sizes to be
able to detect memory allocation bugs more easily.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f22f89e6b3c970a29197d3a53c170fb7d0340cbe

Git commit 89b944179856fadf8667587eff142129c2c6b826 by Thomas Hellstrom on 17/10/2006 at 17:57..
Lindent.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89b944179856fadf8667587eff142129c2c6b826

Git commit c34faf224b959bf61e4c3eb29c66a12edbd31841 by Thomas Hellstrom on 17/10/2006 at 18:03..
Remove max number of locked pages check and call, since
that is now handled by the memory accounting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c34faf224b959bf61e4c3eb29c66a12edbd31841

Git commit 25fe4a80490bba709099f0401535d2f96ac7729c by Thomas Hellstrom on 17/10/2006 at 18:04..
Remove some debugging messages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25fe4a80490bba709099f0401535d2f96ac7729c

Git commit e172945d668f1de1243ac2ae91ab77f3b2bda40a by Thomas Hellstrom on 18/10/2006 at 14:54..
Avoid driver-specific AGP user-populated types, since we don't know what AGP
driver we're on.
Avoid global cache flushes before inserting pages.
In general, they are never mapped, and not accessed through the kernel map, so
a cache flush should not be necessary. The exception is pages that are bound
cached. We might need a cache flush for those.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e172945d668f1de1243ac2ae91ab77f3b2bda40a

Git commit 11aaa358a0f56afb64df44c737ec331d90118537 by Thomas Hellstrom on 18/10/2006 at 15:18..
Remove stray softlink.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11aaa358a0f56afb64df44c737ec331d90118537

Git commit e22b04f807b9869c8c89b6316214517f5da13322 by Thomas Hellstrom on 18/10/2006 at 15:33..
Merging drm-ttm-0-2-branch

Conflicts:

	linux-core/drmP.h
	linux-core/drm_drv.c
	linux-core/drm_irq.c
	linux-core/drm_stub.c
	shared-core/drm.h
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e22b04f807b9869c8c89b6316214517f5da13322

Git commit e8ba62db722eb0b915377269d7e1c3a039928669 by Thomas Hellstrom on 19/10/2006 at 14:58..
Make sure delayed delete list is empty on lastclose.
Fix some refcounting errors.
Fix some error messages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8ba62db722eb0b915377269d7e1c3a039928669

Git commit 5de4665747c441b2a8e82b020cc386f2d974499d by Thomas Hellstrom on 19/10/2006 at 15:00..
Importing fixes from drm-ttm-0-2-branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5de4665747c441b2a8e82b020cc386f2d974499d

Git commit d70347bfc07bb5e34e36684b95560df37d669db4 by Thomas Hellstrom on 19/10/2006 at 15:07..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d70347bfc07bb5e34e36684b95560df37d669db4

Git commit 3624e43282b0c6aad32829f116fd8f7bce66fbb6 by Thomas Hellstrom on 20/10/2006 at 13:06..
Bug #8707, 2.6.19-rc compatibility for memory manager code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3624e43282b0c6aad32829f116fd8f7bce66fbb6

Git commit 9321592149c031694c459bb05e7a31d1197fe5cb by Thomas Hellstrom on 20/10/2006 at 13:07..
We apparently need this global cache flush anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9321592149c031694c459bb05e7a31d1197fe5cb

Git commit a8909a0ebcc21ad6b92b93ffe87878ece4b56506 by Tilman Sauerbeck on 20/10/2006 at 15:05..
Bug #1746: Set dev_priv_size for the MGA driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8909a0ebcc21ad6b92b93ffe87878ece4b56506

Git commit 9ed4656799043f24f4d64615ebb8128bedc99799 by Thomas Hellstrom on 21/10/2006 at 12:17..
The CPU cache must be flushed _before_ we start modifying the kernel map ptes,
otherwise data will be missing, which becomes apparent when the kernel evicts
batch buffers which are likely to be written into in the evicted state,
and then rebound to the AGP aperture.
This means we cannot rely on the AGP module to flush the
cache for us.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ed4656799043f24f4d64615ebb8128bedc99799

Git commit 7ea059ae076c50f2012dee2ccbb8d41745705383 by Thomas Hellstrom on 21/10/2006 at 12:20..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ea059ae076c50f2012dee2ccbb8d41745705383

Git commit b4fba1679b6156e3ca6f053b44cae0b003febe7f by Thomas Hellstrom on 26/10/2006 at 19:14..
Add a one-page hole in the file offset space between buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4fba1679b6156e3ca6f053b44cae0b003febe7f

Git commit 47dbfc4e4a3e8ce2ec468bc3874f74f7e2b13476 by Thomas Hellstrom on 26/10/2006 at 19:17..
Add improved alignment functionality to the core memory manager.
This makes an allocated block actually align itself and returns any
wasted space to the manager.

Also add some functions to grow and shrink the managed area.
This will be used in the future to manage the buffer object swap cache.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47dbfc4e4a3e8ce2ec468bc3874f74f7e2b13476

Git commit e09544a2d3f44e96d01ed2bdcb4a4eb8eec26225 by Thomas Hellstrom on 26/10/2006 at 19:20..
New mm function names. Update header.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e09544a2d3f44e96d01ed2bdcb4a4eb8eec26225

Git commit f6d5fecdd20b9fd9e8744d8f43fa276b73a1da78 by Thomas Hellstrom on 27/10/2006 at 09:28..
Last minute changes to support multi-page size buffer offset alignments.
This will come in very handy for tiled buffers on intel hardware.
Also add some padding to interface structures to allow future binary backwards
compatible changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6d5fecdd20b9fd9e8744d8f43fa276b73a1da78

Git commit decacb2e6415029fe87a3680c8f967483ba05281 by Thomas Hellstrom on 27/10/2006 at 11:08..
Reserve the new IOCTLs also for *bsd.
Bump libdrm version number to 2.2.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/decacb2e6415029fe87a3680c8f967483ba05281

Git commit 56563c22d658b6dcb7926fd41513618cd46c31a6 by Thomas Hellstrom on 29/10/2006 at 14:39..
Minor bugfix, indentation and removal of unnused variables.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56563c22d658b6dcb7926fd41513618cd46c31a6

Git commit 4b04c0cc45f7a89c757ce442e4f2742b9d3aa293 by Thomas Hellstrom on 30/10/2006 at 10:18..
Bugzilla Bug #8819
Build fixes for powerpc.
Reported by Katerina Barone-Adesi
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b04c0cc45f7a89c757ce442e4f2742b9d3aa293

Git commit 7b6cd95bb6c41653aed78952da0a461bd4791413 by Alan Hourihane on 31/10/2006 at 10:01..
Fix bug #8839 - a comment
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b6cd95bb6c41653aed78952da0a461bd4791413

Git commit 3ea0500be1ab7a058c90be35b5d8d2be26692f6a by Stephane Marchesin on 04/11/2006 at 15:56..
Move the context object creation flag handling to the drm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ea0500be1ab7a058c90be35b5d8d2be26692f6a

Git commit 06639801ce1d515f790739a70b051498c8615288 by Stephane Marchesin on 04/11/2006 at 19:39..
Add some getparams.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06639801ce1d515f790739a70b051498c8615288

Git commit 1e118aeb39076a103c6581640b04a9b7e2a8209a by Dave Airlie on 05/11/2006 at 08:46..
remove config.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e118aeb39076a103c6581640b04a9b7e2a8209a

Git commit 665c8385c7865dcc4f92b9c212d6e2b35d7fa9f0 by Dave Airlie on 05/11/2006 at 08:46..
add powerpc mmio swapper to NV_READ/WRITE macros
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/665c8385c7865dcc4f92b9c212d6e2b35d7fa9f0

Git commit 94ab96c4d8203c236c6a5a8d8a6a761ccf808662 by Dave Airlie on 05/11/2006 at 09:39..
nouveau: add compat ioc32 support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94ab96c4d8203c236c6a5a8d8a6a761ccf808662

Git commit 0c34d0f31a691bb649ed69f19e93fc1a723aa1d4 by Ben Skeggs on 05/11/2006 at 18:46..
Leave the bottom 64kb of RAMIN untouched.

The binary driver will screw up either it's init or shutdown, leaving the
screen(s) in an unusable state without this.  Something important in there?
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c34d0f31a691bb649ed69f19e93fc1a723aa1d4

Git commit 1e90b7ee8cefff59b70e285557aa7920dea77e81 by Dave Airlie on 05/11/2006 at 21:03..
Merge branch 'master' into nouveau-1

Conflicts:

	linux-core/Makefile.kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e90b7ee8cefff59b70e285557aa7920dea77e81

Git commit 5e55594061b24521551c45838fbe6c3df57050d1 by Dave Airlie on 06/11/2006 at 00:41..
use a uint64_t for this not a pointer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e55594061b24521551c45838fbe6c3df57050d1

Git commit 2dd3c039fdbe86db4043abcc69babf768edb3ab8 by Dave Airlie on 06/11/2006 at 00:42..
fixup fifo size so it is page aligned
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dd3c039fdbe86db4043abcc69babf768edb3ab8

Git commit f7affda35bb0c47fbc973725e05847669e215d46 by Dave Airlie on 06/11/2006 at 00:44..
drm: fixup page alignment on SAREA map on ppc64
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7affda35bb0c47fbc973725e05847669e215d46

Git commit 584acab6d6103552711bd6b5596ee4ccad305bc2 by Eric Anholt on 07/11/2006 at 17:36..
Add drm_u64_t typedef on non-linux to fix libdrm build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/584acab6d6103552711bd6b5596ee4ccad305bc2

Git commit 79038751ffe47ed1ce82766e027d98fd2f0e2c6a by Dave Airlie on 08/11/2006 at 04:08..
libdrm: add support for server side functionality in libdrm

This adds APIs to allow the X server to use libdrm from the system
rather than its own in-built copy.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79038751ffe47ed1ce82766e027d98fd2f0e2c6a

Git commit d51e1bb56ca2f7858cdeac6f61a7b747c1e15b1e by Dave Airlie on 08/11/2006 at 21:55..
libdrm: add drmOpenOnce + drmCloseOnce to libdrm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d51e1bb56ca2f7858cdeac6f61a7b747c1e15b1e

Git commit 1123ab089075af3141c794696ec394fa46b4353f by Stephane Marchesin on 10/11/2006 at 01:18..
Fix memory detection on TNT2 M64/TNT2 vanta.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1123ab089075af3141c794696ec394fa46b4353f

Git commit 14e3f2711e90fe9a9c315d96abd4c7681539936a by Nian Wu on 10/11/2006 at 05:21..
Merge branch 'master' into crestline

Conflicts:

	shared-core/i915_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14e3f2711e90fe9a9c315d96abd4c7681539936a

Git commit 5a0cdf7db34fc679160a58b257afc9e9b216907e by Stephane Marchesin on 11/11/2006 at 00:57..
Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/mesa/drm into nouveau-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a0cdf7db34fc679160a58b257afc9e9b216907e

Git commit 9ef4bbc66c1b055b4450ea9354945d784751cef7 by Ben Skeggs on 13/11/2006 at 17:51..
Hack around yet another "X restart borkage without nouveau.ko reload" problem.

On X init, PFIFO and PGRAPH are reset to defaults.  This causes the GPU to
loose the configuration done by the drm.  Perhaps a CARD_INIT ioctl a proper
solution to having this problem again in the future..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ef4bbc66c1b055b4450ea9354945d784751cef7

Git commit 35bf8fb5cf8ab4d4e055cdef26531d86dbf822dc by Ben Skeggs on 13/11/2006 at 17:52..
Merge branch 'nouveau-1' of git+ssh://git.freedesktop.org/git/mesa/drm into nouveau-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35bf8fb5cf8ab4d4e055cdef26531d86dbf822dc

Git commit 7002082944a69e1d11b0146b1176fd4293581dcd by Ben Skeggs on 13/11/2006 at 21:11..
Restructure initialisation a bit.

 - Do important card init in firstopen
 - Give each channel it's own cmdbuf dma object
 - Move RAMHT config state to the same place as RAMRO/RAMFC
 - Make sure instance mem for objects is *after* RAM{FC,HT,RO}
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7002082944a69e1d11b0146b1176fd4293581dcd

Git commit 2fd812f8ef8adb09fd8d17cab869f9fc8b047d75 by Ben Skeggs on 13/11/2006 at 22:00..
Completely untested NV10/20/30 FIFO context switching changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fd812f8ef8adb09fd8d17cab869f9fc8b047d75

Git commit 5e7f58474dbc766632a71c3eb556e24ead6c6afc by Stephane Marchesin on 16/11/2006 at 13:47..
Merge branch 'nouveau-1' of git+ssh://marcheu@git.freedesktop.org/git/mesa/drm into nouveau-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e7f58474dbc766632a71c3eb556e24ead6c6afc

Git commit 18bba3fa29187bb5122ed057989203dc05bc46aa by Ben Skeggs on 16/11/2006 at 21:05..
Dump some useful info when a PGRAPH error occurs.

The "channel" detect doesn't work on my nv40, but the rest
seems to produce sane info.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18bba3fa29187bb5122ed057989203dc05bc46aa

Git commit e9194dd1b068666dd94e73d95dc3cd031a89a6b7 by Ben Skeggs on 17/11/2006 at 23:03..
Check some return vals, fixes a couple of oopses.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9194dd1b068666dd94e73d95dc3cd031a89a6b7

Git commit 9ac7a8b0b4c0431b605c3f8d0b4a696903010c51 by Ben Skeggs on 17/11/2006 at 23:09..
Only return FIFO number if the FIFO is marked as in use..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ac7a8b0b4c0431b605c3f8d0b4a696903010c51

Git commit 6e7c2651bf4165dea7a80447f6cee199e807cc09 by Thierry Reding on 18/11/2006 at 18:13..
Copy libdrm to experimental branch to start packaging 2.2.0 and 2.3.0 which
are needed by Mesa 6.5.2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e7c2651bf4165dea7a80447f6cee199e807cc09

Git commit a10a1250308364b4900f41f39b89a2f2615da827 by Thierry Reding on 18/11/2006 at 18:26..
Update to 2.0.2-0.1 from unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a10a1250308364b4900f41f39b89a2f2615da827

Git commit 838c05b504a17b510b3f60d25673ec779784e5d8 by Thierry Reding on 18/11/2006 at 18:55..
Update to upstream version 2.2.0 and set the Debian X Strike Force as
maintainer.

Bump Standards-Version and debhelper compatibility.

Don't try to install pkgconfig files from usr/share/pkgconfig because there is
nothing in that directory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/838c05b504a17b510b3f60d25673ec779784e5d8

Git commit c5061dad5cdf2b340b8102c938da1eb997165b3b by Thierry Reding on 18/11/2006 at 19:09..
Update to latest upstream version (2.3.0).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5061dad5cdf2b340b8102c938da1eb997165b3b

Git commit adf71cb29b72b7d199f737b7b00eb7e80939ea4b by Ben Skeggs on 21/11/2006 at 00:41..
Don't spam dmesg if PMC_INTSTAT is 0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/adf71cb29b72b7d199f737b7b00eb7e80939ea4b

Git commit c0fcdefb45d8b5d81d971632a6fc827b93ed9094 by Thierry Reding on 21/11/2006 at 14:20..
Target the 2.2.0 and 2.3.0 releases at experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0fcdefb45d8b5d81d971632a6fc827b93ed9094

Git commit 0a364be289c27c81a1d157c94291bdf60b43299e by Stephane Marchesin on 21/11/2006 at 22:32..
Merge branch 'nouveau-1' of git+ssh://marcheu@git.freedesktop.org/git/mesa/drm into nouveau-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a364be289c27c81a1d157c94291bdf60b43299e

Git commit 713dc07d4fea985a87750e47e9aee97671258713 by Thierry Reding on 26/11/2006 at 02:45..
Add a debugging package for the libdrm2 library.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/713dc07d4fea985a87750e47e9aee97671258713

Git commit 501a3c94d9e46269568faa3c27dac3ecad9dc87c by Thierry Reding on 26/11/2006 at 02:48..
Make the latest changelog entries look like non-maintainer uploads.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/501a3c94d9e46269568faa3c27dac3ecad9dc87c

Git commit 63c0f3946056d044b7c5688fa5cb670782212c77 by root on 27/11/2006 at 07:55..
ARB_Occlusion_query(MMIO ioctl) support

Zou Nan hai
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63c0f3946056d044b7c5688fa5cb670782212c77

Git commit ddcb994c3eac97e153922e2a4c71384404f68597 by Michel Dänzer on 27/11/2006 at 10:32..
i915_vblank_tasklet: Try harder to avoid tearing.

Previously, if there were several buffer swaps scheduled for the same vertical
blank, all but the first blit emitted stood a chance of exhibiting tearing. In
order to avoid this, split the blits along slices of each output top to bottom.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddcb994c3eac97e153922e2a4c71384404f68597

Git commit f48a7685bd7a241001cec89acd8cce6cdefa941e by Matthieu Castet on 28/11/2006 at 20:32..
For nv10, bit 16 of RAMFC need to be set for 64 bytes fifo context.
When cleaning a fifo, we shouldn't assume everybody use nv40 ;)
Fill DMA_SUBROUTINE fill correct value.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f48a7685bd7a241001cec89acd8cce6cdefa941e

Git commit b1a9a769711d83af8ab4c7ba4eec52a05a351533 by Ben Skeggs on 29/11/2006 at 21:35..
Wrap access to objects in RAMIN.

This will make it easier to support extra RAMIN in vram at a later point.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1a9a769711d83af8ab4c7ba4eec52a05a351533

Git commit 80d75cf6950acf1a00a031ceb6511b26dcc9b056 by Ben Skeggs on 29/11/2006 at 23:31..
Use nouveau_mem.c to allocate RAMIN.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80d75cf6950acf1a00a031ceb6511b26dcc9b056

Git commit 4a0e61d91013f88ca9555a280e2363bed14aec02 by Michel Dänzer on 01/12/2006 at 09:37..
Track linux-core symlinks in git.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a0e61d91013f88ca9555a280e2363bed14aec02

Git commit a97bb85c2a6852e37ed560e6cbe1242e5f68ad8d by Michel Dänzer on 01/12/2006 at 09:46..
Unshare drm_drawable.c again for now.

The current version didn't build on BSD, where the new functionality isn't used
yet anyway. Whoever changes that will hopefully be able to make the OSes share
this file as well.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a97bb85c2a6852e37ed560e6cbe1242e5f68ad8d

Git commit 74a92bbf6ea9b9766a2b827f22605559791569b8 by Michel Dänzer on 01/12/2006 at 10:00..
Core build fix for BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74a92bbf6ea9b9766a2b827f22605559791569b8

Git commit 30acb90a6077798b1e0c4927273067500905d6d1 by Stephane Marchesin on 03/12/2006 at 09:02..
Merge the pciid work.
Add getparams for AGP and FB physical adresses.
Fix the MEM_ALLOC issue properly.
Fix context switches for nv44.
Change the DRM version to 0.0.1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30acb90a6077798b1e0c4927273067500905d6d1

Git commit 1a40f3318c2660b83f64f7ed189d0f1692644ee4 by Ben Skeggs on 11/12/2006 at 13:11..
Port remaining NV4 RAMIN access from the ddx into the drm.

Should fix lockups seen on NV4 cards.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a40f3318c2660b83f64f7ed189d0f1692644ee4

Git commit aefc7a34431a8f1540b261e23d8b8d05d824b60a by Michel Dänzer on 14/12/2006 at 18:31..
Unify radeon offset checking.

Replace r300_check_offset() with generic radeon_check_offset(), which doesn't
reject valid offsets when the framebuffer area is at the very end of the card's
32 bit address space. Make radeon_check_and_fixup_offset() use
radeon_check_offset() as well.

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=7697 .
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aefc7a34431a8f1540b261e23d8b8d05d824b60a

Git commit 38ed67196f4ba891568c5ff66e67ced341696eb9 by Thomas Hellstrom on 15/12/2006 at 11:37..
Remove the memory caches for fence objects and memory manager nodes,
since the support for memory caches has gone from 2.6.20.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38ed67196f4ba891568c5ff66e67ced341696eb9

Git commit b3c88d31e1e83458c6125a02b80f2e57ebcf750d by Michel Dänzer (on behalf of Michael Buesch) on 16/12/2006 at 10:27..
drm/linux-core: drmP.h compilation fix

I need the following patch to fix compilation of
latest drm/linux-core on my ppc64 machine.

/home/mb/develop/git/drm/linux-core/savage_bci.c: In function ‘savage_driver_firstopen’:
/home/mb/develop/git/drm/linux-core/savage_bci.c:587: error: ‘DRM_MTRR_WC’ undeclared (first use in this function)
/home/mb/develop/git/drm/linux-core/savage_bci.c:587: error: (Each undeclared identifier is reported only once
/home/mb/develop/git/drm/linux-core/savage_bci.c:587: error: for each function it appears in.)
/home/mb/develop/git/drm/linux-core/savage_bci.c: In function ‘savage_driver_lastclose’:
/home/mb/develop/git/drm/linux-core/savage_bci.c:664: error: ‘DRM_MTRR_WC’ undeclared (first use in this function)

I looked at in-kernel drmP.h and it actually
has the same fix in it.

Signed-off-by: Michael Buesch <mb at bu3sch.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3c88d31e1e83458c6125a02b80f2e57ebcf750d

Git commit cc22cd8bde39f3e4be8ca9f726a773b0270ebdbc by Dave Airlie on 19/12/2006 at 05:41..
drm: ioremap balanced with iounmap for drivers/char/drm

ioremap must be balanced by an iounmap and failing to do so can result
in a memory leak.

Tested (compilation only) to make sure the files are compiling without
any warning/error due to new changes

Signed-off-by: Amol Lad <amol at verismonetworks.com>
Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc22cd8bde39f3e4be8ca9f726a773b0270ebdbc

Git commit 696f2bfbd1b6da73893bce082308a43878e6ab75 by Dave Airlie on 19/12/2006 at 05:44..
Revert "drm: ioremap balanced with iounmap for drivers/char/drm"

This reverts cc22cd8bde39f3e4be8ca9f726a773b0270ebdbc commit.

I put this patch incorrectly in .. will fix now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/696f2bfbd1b6da73893bce082308a43878e6ab75

Git commit cb280ad3c0b048fe5b024439af70e9fcc8d04269 by Dave Airlie on 19/12/2006 at 06:58..
fix missing DRM_ERR from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb280ad3c0b048fe5b024439af70e9fcc8d04269

Git commit 6c8712ba8a3c3c2c2fd9dd1ff5ab71e30ecdf50a by Dave Airlie on 19/12/2006 at 06:58..
use spin_lock_init in via dmablit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c8712ba8a3c3c2c2fd9dd1ff5ab71e30ecdf50a

Git commit 13659357adeae90dbeb1b3284f08667f6edd4cad by Dave Airlie on 19/12/2006 at 06:58..
make a savage function static from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13659357adeae90dbeb1b3284f08667f6edd4cad

Git commit 8cc82c50332d62d1c58bbc4f184b1ab4ecfa9efc by Dave Airlie on 19/12/2006 at 06:58..
remove inline from large function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cc82c50332d62d1c58bbc4f184b1ab4ecfa9efc

Git commit 2253e334cc6f8cf7dff6dbe398dd9ecbbcb4c5fe by Dave Airlie on 19/12/2006 at 06:58..
make sizeof match the copy struct
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2253e334cc6f8cf7dff6dbe398dd9ecbbcb4c5fe

Git commit c52dea9a7d9ea978307441842b02c09c97720467 by Dave Airlie on 19/12/2006 at 06:58..
fix some sizes in sis_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c52dea9a7d9ea978307441842b02c09c97720467

Git commit 07635f26a9310d2a4f0f65c5e773e6cfa92346bc by Dave Airlie on 19/12/2006 at 06:58..
fix comment in r128
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07635f26a9310d2a4f0f65c5e773e6cfa92346bc

Git commit 1a3316f667963fca2f9a3bffcbee39cb01bf5f09 by Dave Airlie on 19/12/2006 at 06:58..
use unifdef to clean up some code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a3316f667963fca2f9a3bffcbee39cb01bf5f09

Git commit 303307d25484f3f7179e6967697d28369a73dca9 by Dave Airlie on 19/12/2006 at 07:03..
fix irq args compatiblity with pre 2.6.19
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/303307d25484f3f7179e6967697d28369a73dca9

Git commit 0ab48b0841de138f4a428a6d32d3e4d3e552db53 by Dave Airlie on 19/12/2006 at 07:24..
[PATCH] mm: incorrect VM_FAULT_OOM returns from drivers

    Some drivers are returning OOM when it is not in response to a memory
    shortage.

Signed-off-by: Nick Piggin <npiggin at suse.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ab48b0841de138f4a428a6d32d3e4d3e552db53

Git commit 656c3a3737180d507bec352d56fbd9ef8b8a4feb by Dave Airlie on 19/12/2006 at 07:27..
[SPARC]: Respect vm_page_prot in io_remap_page_range().

    Make sure the callers do a pgprot_noncached() on
    vma->vm_page_prot.

    Pointed out by Hugh Dickens.

Signed-off-by: David S. Miller <davem at davemloft.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/656c3a3737180d507bec352d56fbd9ef8b8a4feb

Git commit 86ff2aeb9bfea357d5748b3587ab224e813b37b6 by Dave Airlie on 19/12/2006 at 09:29..
drm: remove all 2.4 support for drm development tree.

Bye bye 2.4 you served us well..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86ff2aeb9bfea357d5748b3587ab224e813b37b6

Git commit ff4b5ccdb4ef985c29e3f0d36e1c5094d02733e2 by Dave Airlie on 19/12/2006 at 10:30..
remove legacy taskqueue code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff4b5ccdb4ef985c29e3f0d36e1c5094d02733e2

Git commit aa07b2ab0e1c8a24fb1694ca3b13eb9ea4618fbe by Dave Airlie on 19/12/2006 at 10:33..
remove drm pci from 2.5 days
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa07b2ab0e1c8a24fb1694ca3b13eb9ea4618fbe

Git commit 6333bfdb58b300494b2ec6f7b5a3ea5b392a210a by Dave Airlie on 19/12/2006 at 10:37..
fixup inclusion of agp.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6333bfdb58b300494b2ec6f7b5a3ea5b392a210a

Git commit 98799f862e58e02ef07f0d0db0863e7c91c7e5b0 by Dave Airlie on 19/12/2006 at 10:48..
fixup i915 defines in create script
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98799f862e58e02ef07f0d0db0863e7c91c7e5b0

Git commit 7458909beae274198ca2a29b510a808ce2feca0a by Dave Airlie on 19/12/2006 at 10:48..
fixup i915 return values from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7458909beae274198ca2a29b510a808ce2feca0a

Git commit bc4c83573111361e9817d6a7414bd84f73ca7cce by Dave Airlie on 19/12/2006 at 10:51..
remove do munmap 4 args
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc4c83573111361e9817d6a7414bd84f73ca7cce

Git commit 737c73d1a081823f5c95a6fd68173b56a304eae5 by Dave Airlie on 19/12/2006 at 11:10..
add kcalloc compat for before 2.6.10
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/737c73d1a081823f5c95a6fd68173b56a304eae5

Git commit 81251bf78f06dc26e26c3edb09639850371fe540 by Thomas Hellstrom on 19/12/2006 at 22:14..
Reclaim buffers locked fixup.

Avoid calling reclaim_buffers_locked if we don't have a
hardware lock.

Improve reclaim_buffers_locked deadlock error formatting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81251bf78f06dc26e26c3edb09639850371fe540

Git commit 72b5d1507a7e9c18fc0141c13819ea01c0813924 by Thomas Hellstrom on 19/12/2006 at 22:23..
Security fix. Zero pages before they are handed to user space.

Shared memory areas were not cleared when they are allocated and
handed to user space. Sensitive information may leak.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72b5d1507a7e9c18fc0141c13819ea01c0813924

Git commit 3b8e6ccd2573a027aa30c10d08253de1756540c2 by Thomas Hellstrom on 19/12/2006 at 22:45..
Security fix. Zero pages before they are handed to user space.

TTM pages were not cleared when allocated and handed to user space.
Sensitive information may leak.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b8e6ccd2573a027aa30c10d08253de1756540c2

Git commit 3b7508d1bf2c78f19d882beffa6d8b4f58bd19a8 by Dave Airlie on 19/12/2006 at 23:22..
remove unused via/sis files from lk build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b7508d1bf2c78f19d882beffa6d8b4f58bd19a8

Git commit 744f9ac9c74f1571b54e08f9eaaaff22dd3230c8 by Dave Airlie on 19/12/2006 at 23:28..
add nouveau symlinks via git
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/744f9ac9c74f1571b54e08f9eaaaff22dd3230c8

Git commit dc1b68aacbfc8d53d78f7388e0e52da1747a1f71 by Dave Airlie on 19/12/2006 at 23:29..
fixup symlinks via Makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc1b68aacbfc8d53d78f7388e0e52da1747a1f71

Git commit e5c4a26a29a9af301cb8b0aebbba84e70f995b83 by Dave Airlie on 19/12/2006 at 23:30..
Merge branch 'nouveau-1'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5c4a26a29a9af301cb8b0aebbba84e70f995b83

Git commit 3b47b27558915a3a28591209e324b977e09d7c03 by Thomas Hellstrom on 20/12/2006 at 12:04..
Some via PCI posting flushes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b47b27558915a3a28591209e324b977e09d7c03

Git commit 672593f611df484af89e425ff5f1ea0ea074f2bb by Thomas Hellstrom on 20/12/2006 at 13:40..
Replace vmalloc_32.

The vmalloc_32 function together with the memset to clear
the new pages are replaced with a vmalloc_user.

A pre-2.6.18 compat vmalloc_user is added.

Please replace any breakage on machines with > 1GB of memory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/672593f611df484af89e425ff5f1ea0ea074f2bb

Git commit 9acd4a13f2355e8f550669702a5c6db16cc14b0f by Thomas Hellstrom on 20/12/2006 at 18:33..
Remove the stupid root_node field from the core memory manager.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9acd4a13f2355e8f550669702a5c6db16cc14b0f

Git commit b7586ab539e5f8d16b473543ab829d0a4441f87c by Dave Airlie (on behalf of Ben Skeggs) on 21/12/2006 at 06:47..
nouveau: save/restore endianness flag on FIFO switch

This makes my G5 survive glxinfo and nouveau_demo - airlied
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7586ab539e5f8d16b473543ab829d0a4441f87c

Git commit a467d248293f9384092ab39a9214fbf725d21927 by Thomas Hellstrom on 21/12/2006 at 09:43..
Fix buggy aligned allocations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a467d248293f9384092ab39a9214fbf725d21927

Git commit ae5822561370b34808603820a063fc6e8b17dbe2 by Thomas Hellstrom on 21/12/2006 at 09:43..
Improve memory manager accounting printout formatting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae5822561370b34808603820a063fc6e8b17dbe2

Git commit 72cb361c5cbf4f0aeae25312369087b8a234bc5a by Thomas Hellstrom on 21/12/2006 at 11:05..
Bug #9120.
Require at least agpgart version 0.102 for the AGP TTM backend.
This should hopefully avoid crashes when the wrong agpgart
driver is installed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72cb361c5cbf4f0aeae25312369087b8a234bc5a

Git commit 9e019df75764a7ce79266ceb058307336ddf00ef by Ben Skeggs on 26/12/2006 at 12:30..
nouveau: Alloc cmdbuf for each channel individually
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e019df75764a7ce79266ceb058307336ddf00ef

Git commit c38ede06670b47620bbce33c5a4affd063769475 by Ben Skeggs on 26/12/2006 at 14:58..
nouveau: return the *actual* type of memory alloc'd to userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c38ede06670b47620bbce33c5a4affd063769475

Git commit 975136d6e5adc6b6a03719499cf39fbd3f67dc90 by Thomas Hellstrom on 27/12/2006 at 14:32..
Proper allocation of AGP pages for ttms.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/975136d6e5adc6b6a03719499cf39fbd3f67dc90

Git commit 2980ec22a165bc71add7464e28a2e56b5c971d20 by Thomas Hellstrom on 27/12/2006 at 18:38..
Allow for non-power-of-two texture pitch alignment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2980ec22a165bc71add7464e28a2e56b5c971d20

Git commit 7859bd61d3d5b5dd69ce978adeae91eaa1e533aa by Thomas Hellstrom on 27/12/2006 at 18:46..
Leftover from previous commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7859bd61d3d5b5dd69ce978adeae91eaa1e533aa

Git commit a16a8a47cdb04e29f5d8ed05403f21714f7aaf9d by Thomas Hellstrom on 28/12/2006 at 21:17..
Add some new via chipsets.
Disable 3D functionality and AGP DMA for chipsets with the DX9 3D engine.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a16a8a47cdb04e29f5d8ed05403f21714f7aaf9d

Git commit 87faf62fae711c8337793abaf0f529f2660245db by Dave Airlie on 01/01/2007 at 00:22..
fixup permission along line of kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87faf62fae711c8337793abaf0f529f2660245db

Git commit 2dcbf6a59918761cffb27e027b1235c551ed03dd by Dave Airlie on 01/01/2007 at 00:30..
make build against 2.6.20 hopefully
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dcbf6a59918761cffb27e027b1235c551ed03dd

Git commit 2c3bc69ba2b60e4f89b93332fa8da758170b2285 by Ben Skeggs on 02/01/2007 at 03:41..
nouveau: Only clobber PFIFO if no channels are already alloc'd

With this change the GPU is responsible for doing the channel switch
itself.  This is needed for the upcoming NV4x PGRAPH context work as
we don't yet know enough to manually swap PGRAPH contexts.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c3bc69ba2b60e4f89b93332fa8da758170b2285

Git commit 0e0d954584ba95656663efa3daf6e191e521040b by Ben Skeggs on 02/01/2007 at 03:52..
nouveau: Add nv40-specific PGRAPH code, not hooked up yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e0d954584ba95656663efa3daf6e191e521040b

Git commit 41da9fd2e59b2af295c8f345586030e5a70d7a83 by Ben Skeggs on 02/01/2007 at 04:08..
nouveau: Hook up grctx code for NV4x.

This is enough to get grctx switching going on my NV40 and C51 after
the binary driver has initialised the card first.

Bumping the drm patchlevel because the ddx needs some modifications to
have NV4x work at all with these changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41da9fd2e59b2af295c8f345586030e5a70d7a83

Git commit 861017e6d50f5724c179717f995322c498ee15db by Ben Skeggs on 02/01/2007 at 04:56..
nouveau: Hookup nv40_graph_init.

Now I can get 3D + working grctx switching on my NV40 without
the binary driver initialising the card first.  However, this
change also breaks 3D on my C51 even *with* the binary driver's
help.  So, it's likely that the weird voodoo is card-specific.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/861017e6d50f5724c179717f995322c498ee15db

Git commit 91855bb2540bbb824d4d5d437f3eb2d5d06c11ba by Ben Skeggs on 02/01/2007 at 05:35..
nouveau: oops, forgot to free RAMIN..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91855bb2540bbb824d4d5d437f3eb2d5d06c11ba

Git commit 972074b5d618575d9291de50ffe12f2f4ca01a20 by Michel Dänzer on 02/01/2007 at 09:02..
linux-core: Make git ignore generated module symbol version files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/972074b5d618575d9291de50ffe12f2f4ca01a20

Git commit 176b62991ad59e9a03a8416db8945d5e37ab0406 by Michel Dänzer on 02/01/2007 at 09:03..
Make git ignore Emacs style backup files and cscope files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/176b62991ad59e9a03a8416db8945d5e37ab0406

Git commit 4fe2858f53c6ea542cd81961ebdad118acfc8f32 by Michel Dänzer on 02/01/2007 at 09:05..
i915: Fix a DRM_ERROR that should be DRM_DEBUG.

It would clutter up the kernel output in a situation which is legitimate before
X.org 7.2 and handled correctly by the 3D driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4fe2858f53c6ea542cd81961ebdad118acfc8f32

Git commit f3b57497c5fac2a227ecfcdfa9636cea99c80f4c by Thierry Reding on 04/01/2007 at 16:28..
Hijack the package (set XSF as maintainer, add myself to uploaders).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3b57497c5fac2a227ecfcdfa9636cea99c80f4c

Git commit 6212a637320d77f793db782885e0ae9c8a0ac900 by Julien Cristau on 04/01/2007 at 17:20..
* Bump shlibs to libdrm2 >= 2.3.0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6212a637320d77f793db782885e0ae9c8a0ac900

Git commit cbb3eeafc6666ee09240a34636d361d29ed0a5b7 by Julien Cristau on 04/01/2007 at 17:33..
* Add myself to uploaders.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbb3eeafc6666ee09240a34636d361d29ed0a5b7

Git commit 1a3cb6227d49236fe06c64583ada9bb96282f507 by Julien Cristau on 04/01/2007 at 17:44..
* Add build-dep on dpkg-dev >= 1.13.19 to make sure that the binary:Version
  substvar is available.
* libdrm2-dbg depends on libdrm2 (= ${binary:Version}).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a3cb6227d49236fe06c64583ada9bb96282f507

Git commit ff9f67c8519509175a08857f7adc8a2bd81a016a by Julien Cristau on 04/01/2007 at 17:54..
Delete unused file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff9f67c8519509175a08857f7adc8a2bd81a016a

Git commit 11ac757a12e56c4ec3480447bea712b59e944b0e by Julien Cristau on 04/01/2007 at 18:08..
* Don't install libdrm.la, and use dh_install --list-missing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11ac757a12e56c4ec3480447bea712b59e944b0e

Git commit 2cf18d6a87ba4c488f294ef83b5b1939ec031c4a by Julien Cristau on 04/01/2007 at 18:48..
Move libdrm2-dbg to the libdevel section.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2cf18d6a87ba4c488f294ef83b5b1939ec031c4a

Git commit f80659bc2967dbed4aed0d44a550bb4a9e4569b5 by Stephane Marchesin on 05/01/2007 at 18:37..
Cleanup the nv04 fifo code a bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f80659bc2967dbed4aed0d44a550bb4a9e4569b5

Git commit 9d167f1f4bc89b784248d22bc95dfc15a72d0244 by Matthieu Castet on 05/01/2007 at 18:40..
Add basic pgraph context for nv10.
It only fake a context switch : pgraph state are not save/restored.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d167f1f4bc89b784248d22bc95dfc15a72d0244

Git commit 0f95ddc42892abdbc1f111b6b105f2ef4ed2b05f by Matthieu Castet on 05/01/2007 at 18:41..
Merge branch 'master' of git+ssh://matc@git.freedesktop.org/git/mesa/drm/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f95ddc42892abdbc1f111b6b105f2ef4ed2b05f

Git commit 025f281bbfe81960e8c60234f5eafd37cbe2d881 by Stephane Marchesin on 05/01/2007 at 19:49..
nouveau: Add an mtrr over the whole FB
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/025f281bbfe81960e8c60234f5eafd37cbe2d881

Git commit d99c7c27e2df1a7093f3d2f5c7d196f58bfe1647 by Stephane Marchesin on 05/01/2007 at 19:50..
Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/mesa/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d99c7c27e2df1a7093f3d2f5c7d196f58bfe1647

Git commit 528ab8ce4038397c043b05a46f95c666a985f7a3 by Stephane Marchesin on 05/01/2007 at 19:59..
nouveau: oops, we don't need OS_HAS_MTRR actually.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/528ab8ce4038397c043b05a46f95c666a985f7a3

Git commit dbb0d979cc6c4e1f444cdbbf6dc3571c3818ea39 by Ben Skeggs on 06/01/2007 at 06:50..
nouveau: Use PMC_BOOT_0 to determine which ctx_voodoo to load.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbb0d979cc6c4e1f444cdbbf6dc3571c3818ea39

Git commit 1f1714cf3dd24ea4109722ea2b47bcf4725f27ea by Ben Skeggs on 06/01/2007 at 07:05..
nouveau: get c51 doing glxgears without the binary driver's help.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f1714cf3dd24ea4109722ea2b47bcf4725f27ea

Git commit f7180349fde6947e229ecde17215c2984e6e883b by Keith Packard (on behalf of Zou Nan hai) on 07/01/2007 at 00:22..
i915: ARB_Occlusion_query(MMIO ioctl) support.

This adds a new ioctl for passing counter information from the chip back to
applications, these counters include the data needed to perform OC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7180349fde6947e229ecde17215c2984e6e883b

Git commit 2851c9f5c6c6847151d011d68ec00897ac9d9634 by Keith Packard (on behalf of Wang Zhenyu) on 07/01/2007 at 00:26..
Bump i915 minor for ARB_OC ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2851c9f5c6c6847151d011d68ec00897ac9d9634

Git commit 31daf669624c35bdf686aaeea7d7844d0cb5141a by Keith Packard on 07/01/2007 at 01:40..
Revert i915 drm driver name to i915; miniglx doesn't work otherwise

Yes, this driver supports the new memory manager, that is indicated by the
version number being >= 1.7.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31daf669624c35bdf686aaeea7d7844d0cb5141a

Git commit cd3711455e7e5e69448b4805bddc2adcd480c6d5 by Ben Skeggs on 07/01/2007 at 13:44..
nouveau: map pci resource 2 on >=nv40
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd3711455e7e5e69448b4805bddc2adcd480c6d5

Git commit faa46122993bc5970b3d67933bd81d863a3c4762 by Ben Skeggs on 07/01/2007 at 13:44..
nouveau: avoid allocating vram that's used as instance memory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/faa46122993bc5970b3d67933bd81d863a3c4762

Git commit 1f0f7d7a180af088d6c79d55da04402f0eff0416 by Stephane Marchesin on 07/01/2007 at 23:11..
nouveau: fix a stupid bug from me.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f0f7d7a180af088d6c79d55da04402f0eff0416

Git commit fe5770b89e57c669a946dea86a58b17387bf9cf4 by Dave Airlie on 08/01/2007 at 00:46..
fixup i810/i830 to use drm_core_ioremap instead of drm_ioremap
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe5770b89e57c669a946dea86a58b17387bf9cf4

Git commit b147c3926352e4dcb9dbf53b8b12baae8ce34254 by Dave Airlie (on behalf of Christoph Hellwig) on 08/01/2007 at 00:47..
drm: remove drm_follow_page, and drm_ioremap and ioremapfree

This comes from the Re: [patch] paravirt: isolate module ops on lkml
It needs some testing, please report any regressions caused.

Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b147c3926352e4dcb9dbf53b8b12baae8ce34254

Git commit 128d87a3dd26b1c633dac3fe0f0d5e9190f11d53 by Ben Skeggs on 08/01/2007 at 01:47..
nouveau: nv43 context stuff
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/128d87a3dd26b1c633dac3fe0f0d5e9190f11d53

Git commit 26bf6d9b5b5be19973f6da4f5ed292c7f83de099 by Ben Skeggs on 08/01/2007 at 01:50..
nouveau: oops
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26bf6d9b5b5be19973f6da4f5ed292c7f83de099

Git commit 5bf60c9d6c2e04a65085a0a332de24b06043fcb8 by Dave Airlie on 08/01/2007 at 02:09..
i830: complete fix for i830 maps
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bf60c9d6c2e04a65085a0a332de24b06043fcb8

Git commit 6eaa1272b4159a547d6da21f14cbcc5b5d0f600c by Stephane Marchesin on 08/01/2007 at 02:50..
Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/mesa/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6eaa1272b4159a547d6da21f14cbcc5b5d0f600c

Git commit d0080d71b9f3df0d4f743324b7e8f1ce580bdcaf by Stephane Marchesin on 08/01/2007 at 04:02..
nouveau: nv4a context support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0080d71b9f3df0d4f743324b7e8f1ce580bdcaf

Git commit c5aaf7648df82665851c9e67f5509b427ca34c8e by Keith Packard on 08/01/2007 at 06:37..
Merge branch 'master' into crestline

Conflicts:

	shared-core/i915_drm.h

Whitespace change only
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5aaf7648df82665851c9e67f5509b427ca34c8e

Git commit 6ac742d95dfd717ae730035da34624682c652b7b by Keith Packard on 08/01/2007 at 07:05..
Align whitespace with master
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ac742d95dfd717ae730035da34624682c652b7b

Git commit 22821cf01d6509b7c074e42ae0ef9567e48e97d2 by Dave Airlie on 08/01/2007 at 11:27..
add export symbol for memory manager
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22821cf01d6509b7c074e42ae0ef9567e48e97d2

Git commit deba42ef32da0c2d0977cdeb639420e1ac1b7f2b by Stephane Marchesin on 08/01/2007 at 19:55..
nouveau: fix nv4a context size.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/deba42ef32da0c2d0977cdeb639420e1ac1b7f2b

Git commit a70aedd5fc78a162aeb681d47a75edcc831ed3f3 by Dave Airlie on 09/01/2007 at 02:48..
novueau: try resource 3 if resource 2 is 0 length

This happens on my NV43 PPC
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a70aedd5fc78a162aeb681d47a75edcc831ed3f3

Git commit f6ba3b2603c58b9f5624fd4a97511b2913ec7866 by Dave Airlie on 09/01/2007 at 04:51..
ttm: make ttm alloc/free into alloc_pages/free_pages

Add a vmalloc flag to the page flags
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6ba3b2603c58b9f5624fd4a97511b2913ec7866

Git commit ec12209c763d0ea258b3e1e567bf097f9e918265 by Stephane Marchesin on 10/01/2007 at 03:42..
nouveau: Don't use DRIVER_USE_MTRR, we already setup our own mtrr over vram.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec12209c763d0ea258b3e1e567bf097f9e918265

Git commit ac076cb9aff976e8fae567cfa82a898bfc2712e8 by Jeremy Kolb jkolb at brandeis.edu on 10/01/2007 at 04:12..
nouveau: Fill in context_init for nv10-nv3x.

Fill in the context with the values from PFIFO_CACH1. This should work from nv10 through the nv30 series.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac076cb9aff976e8fae567cfa82a898bfc2712e8

Git commit 125f3ff36796c8d28c29e960247fdd42d4cd877c by Dave Airlie on 10/01/2007 at 04:19..
Revert "nouveau: Fill in context_init for nv10-nv3x."

This reverts ac076cb9aff976e8fae567cfa82a898bfc2712e8 commit.

Well it didn't do anything interesting...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/125f3ff36796c8d28c29e960247fdd42d4cd877c

Git commit 8ff026723cf170034173052a58c650c8c1f28c0b by Michel Dänzer on 11/01/2007 at 08:02..
radeon: Fix u32 overflows when determining AGP base address in card space.

The overflows could lead to the AGP aperture overlapping the framebuffer area
in the card's address space when the latter is located at the very end of the
32 bit address space, which would result in a freeze on X server startup,
probably because the card read commands from the framebuffer instead of from
AGP.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392915 .
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ff026723cf170034173052a58c650c8c1f28c0b

Git commit 4297a83b48664b2b6a6dc0a72a4d11b043f34778 by Jeremy Kolb on 12/01/2007 at 05:14..
nouveau: get nv30 context switching to work.

* Pulled in some registers from nv10reg.h.  Needed for context switching.
* Filled in nv30 graphics context (based on nv40_graph.c).
* Figure out nv30 context table, set up on context creation.  Allows the cards automatic switching to work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4297a83b48664b2b6a6dc0a72a4d11b043f34778

Git commit 9d3deddc4a8f12b9493858a529570e77f8362ad1 by Eric Anholt (on behalf of Haihao Xiang) on 12/01/2007 at 19:24..
Delay for a usec while spinning waiting for ring buffer space.

This means the loop will wait up to ~10ms for ring buffer space to become
available, rather than just however long it takes to check the space 10000
times.  This matches other drivers' behavior when waiting for ring buffer/fifo
space.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d3deddc4a8f12b9493858a529570e77f8362ad1

Git commit 1bad7e0d02ff82227c34b853e06ca25a80193347 by Matthieu Castet on 12/01/2007 at 19:31..
nouveau : remove useless init : we clear RAMIN before
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bad7e0d02ff82227c34b853e06ca25a80193347

Git commit 69a98d89d5204ec224703bddc3582bb854716a20 by Dave Airlie on 12/01/2007 at 21:43..
nouveau: add missing symlink
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69a98d89d5204ec224703bddc3582bb854716a20

Git commit 1967aa82cfc18c422360ef544b66e316d98f53a1 by Stephane Marchesin on 13/01/2007 at 11:32..
nouveau: Oops, fix the nv04 RAMFC_DMA_FETCH value.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1967aa82cfc18c422360ef544b66e316d98f53a1

Git commit 4ae64a1b583be3ef13338e8029e7e9efe21f2c2f by Matthieu Castet on 13/01/2007 at 20:44..
nouveau: add and indent pgraph regs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ae64a1b583be3ef13338e8029e7e9efe21f2c2f

Git commit cd5f543b2f3d6dd4c45f676c6fb9848b4d8a1c33 by Matthieu Castet on 13/01/2007 at 20:44..
nouveau: first step to make graph ctx works

It is still not working, but now we could use some 3D commands
without needed to run nvidia blob before.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd5f543b2f3d6dd4c45f676c6fb9848b4d8a1c33

Git commit f04347f371c6c9c3a47550c6b7d26b7bd5629c85 by Matthieu Castet on 13/01/2007 at 22:19..
nouveau: nv20 graph ctx switch.

Untested...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f04347f371c6c9c3a47550c6b7d26b7bd5629c85

Git commit 06cd15559525cd023fe347fcb8e918c6418b938e by Matthieu Castet on 13/01/2007 at 22:30..
nouveau: opps restored the wrong channel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06cd15559525cd023fe347fcb8e918c6418b938e

Git commit fdbc34fab03eba8d257e14c6d557ffed5fa32c2d by Matthieu Castet on 14/01/2007 at 19:04..
nouveau: opps nv20 ctx ramin size was wrong
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdbc34fab03eba8d257e14c6d557ffed5fa32c2d

Git commit 9f5cda44dbf5b8f3c7cc00b8a58eee2690a864e6 by Xiang, Haihao on 16/01/2007 at 01:49..
Merge branch 'master' into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f5cda44dbf5b8f3c7cc00b8a58eee2690a864e6

Git commit 78a4f5c1bc37cbc581191f47b8b19250bfb86c1e by Jeremy Kolb on 17/01/2007 at 13:46..
nouveau: Try to get nv35 pgraph switching working. Doesn't quite yet.

Hook into nv20 pgraph switching functions (they're identical for nv3x).
Actually call nv30_pgraph_context_init so the ctx_table is allocated.

Thanks to Carlos Martin for the help.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78a4f5c1bc37cbc581191f47b8b19250bfb86c1e

Git commit bd0418cb01232d7529ecb0f515aa9b6d6804a3ac by Dave Airlie (on behalf of Dave Jones) on 18/01/2007 at 06:35..
add missing quadro id
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd0418cb01232d7529ecb0f515aa9b6d6804a3ac

Git commit ab72a7714e4e9b87cc93887d1978f1c533255566 by Jeremy Kolb on 19/01/2007 at 02:40..
nouveau: Remove write to CTX_SIZE. This gives us proper nv3x PGRAPH switching.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab72a7714e4e9b87cc93887d1978f1c533255566

Git commit a40de938fa5cf98f01d569e39fe3931d545c357a by Jeremy Kolb on 19/01/2007 at 02:40..
nouveau: cleanup nv30_graph.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a40de938fa5cf98f01d569e39fe3931d545c357a

Git commit 4291df69bd03f71cbbe91b7b1ad82b580e1d362a by Ben Skeggs on 19/01/2007 at 04:16..
nouveau: re-add 6150 Go pciid (0x0244)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4291df69bd03f71cbbe91b7b1ad82b580e1d362a

Git commit 19ba0749384994662e0d6167c70cc6fbd78eb0ff by Ben Skeggs on 19/01/2007 at 04:41..
nouveau: fix getparam from 32-bit client on 64-bit kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19ba0749384994662e0d6167c70cc6fbd78eb0ff

Git commit 7d4e6b1445d4c734f1dd6070ffa041c42e649e91 by Zou Nan hai on 24/01/2007 at 08:33..
vblank interrupt fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d4e6b1445d4c734f1dd6070ffa041c42e649e91

Git commit aa7266385e0af26b9225f7dba0643867ac4e231a by Ben Skeggs on 24/01/2007 at 21:16..
nouveau: always print nsource/nstatus regs on PGRAPH errors
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa7266385e0af26b9225f7dba0643867ac4e231a

Git commit 90ae39d2f07058dd128d2fb19ffad712ee75c9a0 by Ben Skeggs on 25/01/2007 at 00:11..
nouveau: nv4c default context
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90ae39d2f07058dd128d2fb19ffad712ee75c9a0

Git commit 582637641abbadc75795ac7e0671e1a5e3b41880 by Thomas Hellstrom on 25/01/2007 at 13:27..
Remove a scary error printed when we were leaking memory caches.

We don't use memory caches anymore...

Fix memory accounting initialization to only use low or DMA32 memory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/582637641abbadc75795ac7e0671e1a5e3b41880

Git commit 3886b7e62925a6eb7ca05e3ab23f3d4781439d06 by Nian Wu on 25/01/2007 at 21:30..
Merge branch 'master' into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3886b7e62925a6eb7ca05e3ab23f3d4781439d06

Git commit 6d9ef1a960a76410e816425d8a53fb96cf2b871d by Patrice Mandin on 25/01/2007 at 22:06..
nouveau: simplify and fix BIG_ENDIAN flags
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d9ef1a960a76410e816425d8a53fb96cf2b871d

Git commit d4c9f135b56eee826f0d5eaf41f2088a861da590 by Patrice Mandin on 26/01/2007 at 17:10..
nouveau: add some nv10 pgraph defines
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4c9f135b56eee826f0d5eaf41f2088a861da590

Git commit e7ba15a00369d85d3abeb42d95fe76dc40a544a8 by Patrice Mandin on 26/01/2007 at 18:24..
nouveau: add extra pgraph registers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7ba15a00369d85d3abeb42d95fe76dc40a544a8

Git commit 05d3ed472e6ab5cfa7741e523bdb3992591ecc7e by Patrice Mandin on 26/01/2007 at 18:25..
nouveau: only save/restore nv17 regs on nv17,18 hw
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05d3ed472e6ab5cfa7741e523bdb3992591ecc7e

Git commit 5534c90ff39bf2bd41daca024d5b19889e78b1a0 by Patrice Mandin on 26/01/2007 at 18:54..
nouveau: read gpu type once
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5534c90ff39bf2bd41daca024d5b19889e78b1a0

Git commit 9c03ca81e75c1c0749b719bb62ae56b99c9ff2ae by Patrice Mandin on 26/01/2007 at 20:05..
nouveau: oops, wrong indexing in nv17 regs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c03ca81e75c1c0749b719bb62ae56b99c9ff2ae

Git commit c744bfde2de1713f0c15a185538a003d64c52d80 by Matthieu Castet on 26/01/2007 at 20:57..
make works ctx switch on nv10.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c744bfde2de1713f0c15a185538a003d64c52d80

Git commit ee4ac5c897faa499ad24c148b4f065bc770b529d by Ben Skeggs on 28/01/2007 at 12:48..
nouveau: determine chipset type at startup, instead of every time we use it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee4ac5c897faa499ad24c148b4f065bc770b529d

Git commit 1e4c7d69f5b55f5299e5b0c220e4af1dfb21f69d by Thomas Hellstrom on 29/01/2007 at 12:37..
Some cleanup. A buffer object should only have one active memory type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e4c7d69f5b55f5299e5b0c220e4af1dfb21f69d

Git commit 45418bb1b1a0fac38f0dda7e29022bfb4cae3d03 by Thomas Hellstrom on 29/01/2007 at 12:37..
s/buf/bo/ for consistency.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45418bb1b1a0fac38f0dda7e29022bfb4cae3d03

Git commit 9a654e71bda3530f6d18d115729af27cc15033de by Thomas Hellstrom on 29/01/2007 at 12:37..
Use pre-defined list_splice function.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a654e71bda3530f6d18d115729af27cc15033de

Git commit 9bbdc0fb10101586fb2bbddeb700e3241a993b1f by Thomas Hellstrom on 30/01/2007 at 11:35..
Clean up buffer object destruction somewhat.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9bbdc0fb10101586fb2bbddeb700e3241a993b1f

Git commit c01fe2cdd4a86f37c1a9bce344b41b6432dbe427 by Thomas Hellstrom on 30/01/2007 at 13:54..
Add the ttmtest test utility.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c01fe2cdd4a86f37c1a9bce344b41b6432dbe427

Git commit 9968a21be11a3d64dac9daab768a11d729cdd77c by Thomas Hellstrom on 30/01/2007 at 13:54..
Add some relevant tests for the new buffer object interface.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9968a21be11a3d64dac9daab768a11d729cdd77c

Git commit 2bc925430b522eda596499561eba6fb61278ae8c by Thomas Hellstrom on 30/01/2007 at 13:54..
Add license header.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bc925430b522eda596499561eba6fb61278ae8c

Git commit 0932269656825397b4b9e1bfdfc75254f544c96f by Thomas Hellstrom on 30/01/2007 at 13:54..
Indent according to xorg rules.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0932269656825397b4b9e1bfdfc75254f544c96f

Git commit d399fcf46f3b9eab0eb37aefc8e593f8a711d1ef by Thomas Hellstrom on 30/01/2007 at 15:20..
Add a buffer object transfer function.
Creates a placeholder for the old buffer contents
when it is transfered to / from static memory like VRAM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d399fcf46f3b9eab0eb37aefc8e593f8a711d1ef

Git commit 109ecb8964f9de83d7b50dc9804b6f30223dcb5b by Julien Cristau on 31/01/2007 at 07:54..
Update watch file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/109ecb8964f9de83d7b50dc9804b6f30223dcb5b

Git commit 36d50687dd88e0e42cf2adfd8ff81a160765e12a by Thomas Hellstrom on 31/01/2007 at 10:03..
Fix an error-path oops.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36d50687dd88e0e42cf2adfd8ff81a160765e12a

Git commit 07fabc3fd8f00006e6117081f5183a826a6d2bbb by Thomas Hellstrom on 31/01/2007 at 10:41..
Make the utility runnable also for normal users.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07fabc3fd8f00006e6117081f5183a826a6d2bbb

Git commit 3024f23c6551e219b0236041a8205bf1bc60ed94 by Thomas Hellstrom on 31/01/2007 at 13:50..
memory manager: Make device driver aware of different memory types.

Memory types are either fixed (on-card or pre-bound AGP) or not fixed
(dynamically bound) to an aperture. They also carry information about:

1) Whether they can be mapped cached.
2) Whether they are at all mappable.
3) Whether they need an ioremap to be accessible from kernel space.

In this way VRAM memory and, for example, pre-bound AGP appear
identical to the memory manager.

This also makes support for unmappable VRAM simple to implement.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3024f23c6551e219b0236041a8205bf1bc60ed94

Git commit 333c6af47a906461678b5a8b2af415936d30babc by Thomas Hellstrom on 31/01/2007 at 23:38..
Protect drm_mmap against disappearing maps.

The map lists and hash tables are protected using dev->struct_mutex,
but drm_mmap strangely never locked this mutex.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/333c6af47a906461678b5a8b2af415936d30babc

Git commit 9677c5ecc6b97ef75b3141b671fb5cfbbf8a3fa8 by Thomas Hellstrom on 01/02/2007 at 09:53..
Prepare for removal of the ttm_object type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9677c5ecc6b97ef75b3141b671fb5cfbbf8a3fa8

Git commit dd733dea3856e7ddbba7c4c3928ccaba909b4535 by Thomas Hellstrom on 01/02/2007 at 12:19..
Fix missing ttm_open_vma call from previous commit.
Honour the ttm backend cant-use-aperture flag.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd733dea3856e7ddbba7c4c3928ccaba909b4535

Git commit 9907b32c6790f6e9dad42cdce60e3b1b457233e5 by Wang Zhenyu on 02/02/2007 at 01:51..
Revert origin crestline pci id patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9907b32c6790f6e9dad42cdce60e3b1b457233e5

Git commit 77a6d8ae938e14051da3039414b64ff060746de6 by Wang Zhenyu on 02/02/2007 at 01:52..
Add Intel 965GM chipset support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77a6d8ae938e14051da3039414b64ff060746de6

Git commit 70bba11bc7bbf0cfb028521c1b6676ed0962c317 by Thomas Hellstrom on 02/02/2007 at 08:22..
Disable AGP DMA for chips with the new 3D engine.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70bba11bc7bbf0cfb028521c1b6676ed0962c317

Git commit 6c04185857694b2293046b7ea1d4515404a740c3 by Thomas Hellstrom on 02/02/2007 at 08:22..
via: Try to improve command-buffer chaining.

Bump driver date and patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c04185857694b2293046b7ea1d4515404a740c3

Git commit 8c17edf23c04371e513b29ad14eca0d2bf32b812 by Michel Dänzer on 02/02/2007 at 12:24..
Make git ignore generated config.h.in.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c17edf23c04371e513b29ad14eca0d2bf32b812

Git commit c269d560e4d71448cfc9c2ea51eee3d5feafaad4 by Thomas Hellstrom on 02/02/2007 at 13:47..
Make vm handle buffer objects instead of ttm objects.
Remove ttm objects.
Make vm aware of PCI memory type buffer objects.
(Only works for pre 2.6.16 kernels for now).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c269d560e4d71448cfc9c2ea51eee3d5feafaad4

Git commit 63f2abd721c40f1cddae555c79b4ab4c55aae006 by Thomas Hellstrom on 02/02/2007 at 18:49..
Make also later kernels work with buffer object vm
and clean up some function names.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63f2abd721c40f1cddae555c79b4ab4c55aae006

Git commit 63cf3b3da7ee039c98c793d31ea1aa586a069c43 by Matthieu Castet on 02/02/2007 at 19:08..
nouveau: nv10 ctx switch, some regs are nv17+ only
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63cf3b3da7ee039c98c793d31ea1aa586a069c43

Git commit 55f7859a256814e3843790d88b275150f6161a26 by Matthieu Castet on 02/02/2007 at 22:01..
nouveau: nv ctx switch opps the size of array was wrong
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55f7859a256814e3843790d88b275150f6161a26

Git commit e64dbef911cd739ba5c4d26493dfef6766ff83fd by Stephane Marchesin on 03/02/2007 at 03:23..
nouveau: add NV04 registers required for PGRAPH context switching.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e64dbef911cd739ba5c4d26493dfef6766ff83fd

Git commit 5a072f32c8f941d1ef301811881e8c89c8d8a5f1 by Stephane Marchesin on 03/02/2007 at 03:57..
nouveau: rename registers to their proper names.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a072f32c8f941d1ef301811881e8c89c8d8a5f1

Git commit d69902db3b1f82dd35f5bbb3327bdf836961850c by Stephane Marchesin on 03/02/2007 at 04:25..
nouveau: fix nv04 graph routines for new register names.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d69902db3b1f82dd35f5bbb3327bdf836961850c

Git commit 7ab9e7f36f5fb58652f915a0839a167c6206743a by Stephane Marchesin on 03/02/2007 at 04:56..
nouveau: cleanup the nv04 pgraph save/restore mechanism.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ab9e7f36f5fb58652f915a0839a167c6206743a

Git commit 0c13657c33f282233b9f4bb397acb99c4cd65919 by Stephane Marchesin on 03/02/2007 at 05:00..
nouveau: plugin the nv04 graph init function.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c13657c33f282233b9f4bb397acb99c4cd65919

Git commit ebf22aed9aa56e8ba00b5d3d1d2ca4600e5f1ec5 by Stephane Marchesin on 03/02/2007 at 05:02..
nouveau: add missing nv04_graph.c symlink.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebf22aed9aa56e8ba00b5d3d1d2ca4600e5f1ec5

Git commit 8c663b4e56b45d377a5a0fed4318a129fc1233fa by Stephane Marchesin on 03/02/2007 at 05:13..
nouveau: and of course, I was missing the last nv04 piece.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c663b4e56b45d377a5a0fed4318a129fc1233fa

Git commit 502f9412dcaa6abd23b94372d86824c895cea3b8 by David Nusinow on 05/02/2007 at 01:43..
Move the files so they'll be put in debian/xsfbs automatically when pulled
in to our git repos
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/502f9412dcaa6abd23b94372d86824c895cea3b8

Git commit 2d962332dea5ed328ae45c6ef7298ea15216b635 by Thomas Hellstrom on 05/02/2007 at 15:13..
i915: Add copy-blit operation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d962332dea5ed328ae45c6ef7298ea15216b635

Git commit 17985f07d68322519919a7f629a6d2d9bf3916ed by Stephane Marchesin on 06/02/2007 at 00:17..
nouveau: more work on the nv04 context switch code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17985f07d68322519919a7f629a6d2d9bf3916ed

Git commit 609e3b037526021d20c7cc18b7fed1152206dc68 by Thomas Hellstrom on 06/02/2007 at 13:20..
Implement a policy for selecting memory types.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/609e3b037526021d20c7cc18b7fed1152206dc68

Git commit 40ce53dfde11f84d7bf8db5db93fb73715b2e96e by Thomas Hellstrom on 06/02/2007 at 14:56..
Implement a drm_mem_reg_t substructure in the buffer object type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40ce53dfde11f84d7bf8db5db93fb73715b2e96e

Git commit 71b9e876f99db219fcbf4e3ab977b64b068cc2b4 by Thomas Hellstrom on 06/02/2007 at 15:59..
Simplify pci map vs no pci map choice.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71b9e876f99db219fcbf4e3ab977b64b068cc2b4

Git commit af24465b2eddfcc5296edc830ea5ed86065a4abd by Thomas Hellstrom on 07/02/2007 at 11:52..
Fix a stray unlock_kernel() in drm_vm.c
Add a file for memory move helpers, drm_bo_move.c
Implement generic memory move.
Cached, no_move and unmapped memory temporarily broken.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af24465b2eddfcc5296edc830ea5ed86065a4abd

Git commit c1fbd8a56653b91af57a408bbcf20a760a2bd8c8 by Thomas Hellstrom on 07/02/2007 at 16:25..
Checkpoint commit.
Flag handling and memory type selection cleanup.
glxgears won't start.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1fbd8a56653b91af57a408bbcf20a760a2bd8c8

Git commit 8918748058bc1aff64298855cde09512e2128367 by Eric Anholt on 08/02/2007 at 05:26..
Add chip family flags to i915 driver, and fix a missing '"' in mach64 ID list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8918748058bc1aff64298855cde09512e2128367

Git commit ef9a9d3cd1fb6f7def03ddea69af3db8502d8eb9 by Eric Anholt on 08/02/2007 at 05:26..
Define __iomem for systems without it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef9a9d3cd1fb6f7def03ddea69af3db8502d8eb9

Git commit 898aca1a66d5e685a01944f92d572641b7980c85 by Eric Anholt on 08/02/2007 at 05:26..
Warning fix: correct type of i915_mmio argument.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/898aca1a66d5e685a01944f92d572641b7980c85

Git commit 09984ad77bdeca0e9d87b1fe2be1489205fda297 by Thomas Hellstrom on 08/02/2007 at 10:55..
Update memory compatibility tests.
Now only pinned buffers are broken.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09984ad77bdeca0e9d87b1fe2be1489205fda297

Git commit 1257907fa9a24de7aa95485e1b3ab509fdc4d4e6 by Thomas Hellstrom on 08/02/2007 at 12:29..
Simplify external ttm page allocation.
Implement a memcpy fallback for copying between buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1257907fa9a24de7aa95485e1b3ab509fdc4d4e6

Git commit e4b2da440699f581a8779ea8cb9e99e4c903e6a7 by Thomas Hellstrom on 08/02/2007 at 15:21..
A minor function interface change and some memcpy bugfixing.

Hooray!! it sort of works with a fixed AGP area as faked VRAM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4b2da440699f581a8779ea8cb9e99e4c903e6a7

Git commit bf8f46d4c64eb5b66814223f7e5ddb8d8e7a555e by Thomas Hellstrom on 08/02/2007 at 17:59..
Fix mm_block leak.
Some other minor fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf8f46d4c64eb5b66814223f7e5ddb8d8e7a555e

Git commit a0ed808d05a7965366e329a6e8f4e538350b9c23 by Thomas Hellstrom on 08/02/2007 at 18:06..
Don't create a ttm just to copy from.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0ed808d05a7965366e329a6e8f4e538350b9c23

Git commit b2bcbf874b0f26ca0c490fb0453bef64ce6d9dd7 by Thomas Hellstrom on 08/02/2007 at 20:28..
Add an accelerated buffer copy cleanup helper.
Export helper functions and make some important buffer-object functions non-static.
Add an i915 accelerated blit buffer move for pci memory buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2bcbf874b0f26ca0c490fb0453bef64ce6d9dd7

Git commit 6a49d9a8abd9f168211017c2d585d0d64e89c530 by Thomas Hellstrom on 08/02/2007 at 23:02..
Fix evict_mutex locking range.
Implement unmappable buffers. (fault moves them to mappable when needed).
Various bugfixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a49d9a8abd9f168211017c2d585d0d64e89c530

Git commit 99acdaee482fc8a2fc6718317e2f546401e93739 by Thomas Hellstrom on 08/02/2007 at 23:07..
Fix copyright statements.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99acdaee482fc8a2fc6718317e2f546401e93739

Git commit d32b21e016c371b8676f42da5fc3aeded039a6c8 by Thomas Hellstrom on 08/02/2007 at 23:11..
Remove some code that should have gone in
commit 6a49d9a8abd9f168211017c2d585d0d64e89c530
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d32b21e016c371b8676f42da5fc3aeded039a6c8

Git commit 57df3980724d3da446c4576b3fadcd89c5da414e by Thomas Hellstrom on 09/02/2007 at 11:43..
Reinstate some LRU handling.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57df3980724d3da446c4576b3fadcd89c5da414e

Git commit 53aee3122a1821b8ca24ed2bc5c1940cb0f2ff8e by Thomas Hellstrom on 09/02/2007 at 15:36..
I915 accelerated blit copy functional.
Fixed - to System memory copies are implemented by
flipping in a cache-coherent TTM,
blitting to it, and then flipping it out.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53aee3122a1821b8ca24ed2bc5c1940cb0f2ff8e

Git commit 85ee2a8d044cd4d8de4894a794151af9471648e3 by Thomas Hellstrom on 10/02/2007 at 11:06..
Various bugfixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85ee2a8d044cd4d8de4894a794151af9471648e3

Git commit 078e4307266bcfdc7d4be1a70df65d35dda4d0d3 by Michel Dänzer on 19/02/2007 at 14:08..
i915: Unify breadcrumb emission.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/078e4307266bcfdc7d4be1a70df65d35dda4d0d3

Git commit 34aa3393d04da1201815143c92a5bef83bf0d585 by Michel Dänzer on 19/02/2007 at 14:08..
i915: Page flipping enhancements.

Leave it to the client to wait for the flip to complete when necessary,
but wait for a previous flip to complete before emitting another one. This
should help avoid unnecessary stalling of the ring due to pending flips.

Call i915_do_cleanup_pageflip() unconditionally in preclose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34aa3393d04da1201815143c92a5bef83bf0d585

Git commit 6f89584e136211d7c4c69d88005f0e70393274f8 by Michel Dänzer on 19/02/2007 at 14:08..
i915: Improved page flipping support, including triple buffering.

Pages are tracked independently on each pipe.

Bump the minor version for 3D clients to know page flipping is usable, and
bump driver date.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f89584e136211d7c4c69d88005f0e70393274f8

Git commit 5a40c043ccf965b1c3c74c80828090d2bc4438d4 by Michel Dänzer on 22/02/2007 at 16:19..
Add DRM_VBLANK_FLIP.

Used to request that a scheduled buffer swap be done as a flip instead of a
blit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a40c043ccf965b1c3c74c80828090d2bc4438d4

Git commit 1a0d890a42bee78177ad45d5e5956d2c3c4fcdc7 by Michel Dänzer on 22/02/2007 at 16:21..
i915: Add support for scheduled buffer swaps to be done as flips.

Unfortunately, emitting asynchronous flips during vertical blank results in
tearing. So we have to wait for the previous vertical blank and emit a
synchronous flip.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a0d890a42bee78177ad45d5e5956d2c3c4fcdc7

Git commit fd0fed3f1e10d7ff1205a485621767b650c6f5ff by Michel Dänzer on 28/02/2007 at 11:33..
i915: Fix test for synchronous flip affecting both pipes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd0fed3f1e10d7ff1205a485621767b650c6f5ff

Git commit 1cdc1b6fbabffc0dd4d3c1f8405d9372a45480a2 by Michel Dänzer on 28/02/2007 at 14:23..
i915: Don't emit waits for pending flips before emitting synchronous flips.

The assumption is that synchronous flips are not isolated usually, and waiting
for all of them could result in stalling the pipeline for long periods of time.

Also use i915_emit_mi_flush() instead of an old-fashioned way to achieve the
same effect.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cdc1b6fbabffc0dd4d3c1f8405d9372a45480a2

Git commit 074e10b384c893a256fcf964676562792fdf93c8 by Michel Dänzer on 28/02/2007 at 14:57..
i915: Only clean up page flipping when the last client goes away, not any one.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/074e10b384c893a256fcf964676562792fdf93c8

Git commit a33859184aa852777a50ea83f9dfa013f63f806f by Michel Dänzer on 28/02/2007 at 16:48..
i915: Eliminate dev_priv->current_page.

Always use dev_priv->sarea_priv->pf_current_page directly. This allows clients
to modify it as well while they hold the HW lock, e.g. in order to sync pages
between pipes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a33859184aa852777a50ea83f9dfa013f63f806f

Git commit 5bd0e52dbacb9f492433cbfa1e66c73faf67dcd5 by Ben Skeggs on 07/03/2007 at 10:00..
nouveau: ack PFIFO interrupts at PFIFO, not PMC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bd0e52dbacb9f492433cbfa1e66c73faf67dcd5

Git commit 1b3a6d47751018c75e4333ee3ab8ba21dbd55bdd by Ben Skeggs on 07/03/2007 at 10:17..
nouveau: remove a hack that's not needed since the last interface change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b3a6d47751018c75e4333ee3ab8ba21dbd55bdd

Git commit 0741064df4b913189d26a184a7c5dcc7827152be by Michel Dänzer on 09/03/2007 at 15:39..
i915: Do not wait for pending flips on both pipes at the same time.

The MI_WAIT_FOR_EVENT instruction does not support waiting for several events
at once, so this should fix the lockups with page flipping when both pipes are
enabled.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0741064df4b913189d26a184a7c5dcc7827152be

Git commit d734992e6a8a5757dc360ab6a5e7c80ebc03b1cd by Michel Dänzer on 09/03/2007 at 23:10..
i915: Only wait for pending flips before asynchronous flips again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d734992e6a8a5757dc360ab6a5e7c80ebc03b1cd

Git commit 4f795a05f1f987491d85d5b9bdbf280451c7ed20 by Michel Dänzer on 09/03/2007 at 23:11..
Merge branch 'i915-pageflip'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f795a05f1f987491d85d5b9bdbf280451c7ed20

Git commit caf0c481a6b998fc5e4a78d6b95f9f390c0ecc28 by Michel Dänzer on 10/03/2007 at 16:13..
Bump version patchlevel so it can be tested for new functionality.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/caf0c481a6b998fc5e4a78d6b95f9f390c0ecc28

Git commit 6a60b47d12b94d8c0a0feb00f165048be51153dd by Dave Airlie (on behalf of Maarten Maathuis) on 11/03/2007 at 01:13..
replace instance of SA_SHIRQ with IRQF_SHARED

backwards compat added by airlied
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a60b47d12b94d8c0a0feb00f165048be51153dd

Git commit 130c39be3cf9a5fd742aa6b00d0383e96bbbd7b7 by Aapo Tahkola on 11/02/2007 at 08:24..
Sync r300_reg.h from mesa driver. #10210
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/130c39be3cf9a5fd742aa6b00d0383e96bbbd7b7

Git commit f02f83ee08a2bb87700544a9b67f475532e84af4 by Thomas Hellstrom on 12/02/2007 at 16:47..
Cleanup and fix support for pinned buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f02f83ee08a2bb87700544a9b67f475532e84af4

Git commit b0c5339ed69c6ff08b7817f870e895aae2ef04c7 by Thomas Hellstrom on 12/02/2007 at 19:32..
More bugfixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0c5339ed69c6ff08b7817f870e895aae2ef04c7

Git commit 398913dc0e632c71e3095a7d50dae911aed18884 by Thomas Hellstrom on 12/02/2007 at 19:34..
Lindent.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/398913dc0e632c71e3095a7d50dae911aed18884

Git commit abc14ddfb5ad85bf2a5094597d829e6614e6c359 by Thomas Hellstrom on 12/02/2007 at 20:40..
Update flags and comments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abc14ddfb5ad85bf2a5094597d829e6614e6c359

Git commit 5bd13c5e15a14d34356f2363c55b1d4c7ca3269a by Adam Jackson on 12/02/2007 at 20:45..
Fix some outdated URLs, remove others.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bd13c5e15a14d34356f2363c55b1d4c7ca3269a

Git commit 3234b290585235e3ce7db99dfeb1714ccc1f6697 by Wang Zhenyu on 13/02/2007 at 08:17..
Revert "Add Intel 965GM chipset support"

This would be updated with external pci id file change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3234b290585235e3ce7db99dfeb1714ccc1f6697

Git commit 2a2d72623306de01e620485169721c790167d2b1 by Wang Zhenyu on 13/02/2007 at 08:18..
Merge branch 'master' into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a2d72623306de01e620485169721c790167d2b1

Git commit 80095ffe01efe79983c2124ecc99ce979d7ac6a9 by Wang Zhenyu on 13/02/2007 at 08:20..
i915: Add 965GM pci id update
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80095ffe01efe79983c2124ecc99ce979d7ac6a9

Git commit 9efdae317ce01cea95f75855b175243ae858fde4 by Thomas Hellstrom on 13/02/2007 at 19:05..
More bugfixes.
Fixed memory, pinned buffers and unmappable memory now seems
fully functional.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9efdae317ce01cea95f75855b175243ae858fde4

Git commit e1460426b885ab656e3cda3fd3841d64260434c5 by Thomas Hellstrom on 13/02/2007 at 19:47..
Bugzilla Bug #9457

Add refcounting of user waiters to the DRM hardware lock, so that we can use the
DRM_LOCK_CONT flag more conservatively.

Also add a kernel waiter refcount that if nonzero transfers the lock for the kernel context,
when it is released. This is useful when waiting for idle and can be used
for very simple fence object driver implementations for the new memory manager.

It also resolves the AIGLX startup deadlock for the sis and the via drivers.
i810, i830 still require that the hardware lock is really taken so the deadlock remains
for those two. I'm not sure about ffb. Anyone familiar with that code?
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1460426b885ab656e3cda3fd3841d64260434c5

Git commit 6b289db05496c5cc89c29817be16cb107a522722 by Thomas Hellstrom on 13/02/2007 at 19:47..
Remove debug printout.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b289db05496c5cc89c29817be16cb107a522722

Git commit 59af900e4f62370457117b0659e3f28f89949499 by Stephane Marchesin (on behalf of B. Rathmann) on 13/02/2007 at 23:07..
nouveau: fix memory initialization with multiple cards.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59af900e4f62370457117b0659e3f28f89949499

Git commit f524870184b29885c6207af21fcb45c47fbaa576 by Stephane Marchesin on 13/02/2007 at 23:08..
nouveau: fix the build on big endian (thanks CyberFoxx)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f524870184b29885c6207af21fcb45c47fbaa576

Git commit 7bcb62b45d18ab7b48ad3cb5d13aec3bc577678e by Thomas Hellstrom on 14/02/2007 at 09:49..
Rework buffer object vm code to use nopfn() for kernels >= 2.6.19.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bcb62b45d18ab7b48ad3cb5d13aec3bc577678e

Git commit 04760563b88c8e94f3ae448710d1ab8b350c2e5f by Thomas Hellstrom on 14/02/2007 at 11:39..
Set the drm bus map type for each buffer object memory type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04760563b88c8e94f3ae448710d1ab8b350c2e5f

Git commit 5c9a7b0f9499b94856916facd110059223d243dc by Thomas Hellstrom on 14/02/2007 at 12:31..
Remove an intel-specific hack and replace it with a fence driver callback.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c9a7b0f9499b94856916facd110059223d243dc

Git commit 8ffc1844b083e36266ebc4d1a47f6e8fe619fd05 by Thomas Hellstrom on 14/02/2007 at 13:05..
Move fence- and buffer-object related header stuff to drm_ttm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ffc1844b083e36266ebc4d1a47f6e8fe619fd05

Git commit 1345076c8f93936563cd5c15588b1d76d87969d3 by Thomas Hellstrom on 14/02/2007 at 13:10..
Rename drm_ttm.h to drm_objects.h
Fix up some header incompatibilities in drm_fence.c caused by the previous
commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1345076c8f93936563cd5c15588b1d76d87969d3

Git commit 35eb12d8bf91e7a3b0702385fa47b648194803c4 by Thomas Hellstrom on 14/02/2007 at 14:32..
Fix multiple spinlock unlocking
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35eb12d8bf91e7a3b0702385fa47b648194803c4

Git commit a78f70faade8950ebb11ac8334c8c551f8e32b35 by Thomas Hellstrom on 14/02/2007 at 14:33..
Merge branch 'ttm-vram-0-1-branch'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a78f70faade8950ebb11ac8334c8c551f8e32b35

Git commit 7803977aa9c3ca6360e6c22e77415cf17151cb9e by Michel Dänzer on 15/02/2007 at 08:26..
Fix build against older kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7803977aa9c3ca6360e6c22e77415cf17151cb9e

Git commit 7766378d97323de375687285f2e125008b79045d by Thomas Hellstrom on 15/02/2007 at 11:11..
Initial support for fence object classes.

(Fence objects belonging to different command submission mechanisms).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7766378d97323de375687285f2e125008b79045d

Git commit e0f53e59be4b96ed6eb28bd2df9f6a9d789d1734 by Thomas Hellstrom on 16/02/2007 at 19:22..
Simple fence object sample driver for via, based on idling the GPU.
Buffer object driver for via.
Some changes to buffer object driver callbacks.
Improve fence flushing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0f53e59be4b96ed6eb28bd2df9f6a9d789d1734

Git commit 6d8ed5aedda27ec238aac3d69fb9dfadc82bfa9a by Thomas Hellstrom on 16/02/2007 at 19:25..
Leftover files from previous commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d8ed5aedda27ec238aac3d69fb9dfadc82bfa9a

Git commit 9ed8b0c26438b90f187ef7c165d5a76cf8f340eb by Julien Cristau on 17/02/2007 at 15:01..
Add new "serverabi" rule to generate drivers dependency on the server.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ed8b0c26438b90f187ef7c165d5a76cf8f340eb

Git commit a253de2fcfa11abadd4697a9d89137adf3f35f78 by Dave Airlie on 18/02/2007 at 06:59..
drm: remove last usage of VM_OFFSET
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a253de2fcfa11abadd4697a9d89137adf3f35f78

Git commit dacefd5a6bb9f786c78f35358273e3214c7492e9 by David Nusinow on 22/02/2007 at 02:37..
Update serverabi generation to also account for driver Provides

* Have the drivers use the file serverminver instead of serverabiver in order
  to generate the versioned dependency on the server. This is clearer
  naming.
* Use serverabiver to actually store the server's video ABI version. This
  is used to generate the Provides: line for drivers so the server can
  depend on them properly. This goes in to the substvar
  xviddriver:Provides.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dacefd5a6bb9f786c78f35358273e3214c7492e9

Git commit 00fc799ec3107c0c29286b75e780bef82c1fa137 by David Nusinow on 22/02/2007 at 03:47..
Fix name of serverminver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00fc799ec3107c0c29286b75e780bef82c1fa137

Git commit 2b7a9afa0977d4a8b21db3d436cec66e5a45764d by Thomas Hellstrom on 22/02/2007 at 16:04..
Some fencing cleanup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b7a9afa0977d4a8b21db3d436cec66e5a45764d

Git commit 9d8ba2d0d479f53b996c0a0e366acfee52daab3b by Dave Airlie (on behalf of Jakob Bornecrantz) on 24/02/2007 at 23:48..
drm: remove unnecessary NULL checks, and fix some indents..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d8ba2d0d479f53b996c0a0e366acfee52daab3b

Git commit df2fc3ec62d6799a3266cfb18b1279a126892f44 by Nian Wu on 26/02/2007 at 01:06..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df2fc3ec62d6799a3266cfb18b1279a126892f44

Git commit 80468e75323a4353e29f010b61ee657851f8508c by Thomas Hellstrom on 26/02/2007 at 17:17..
Fix build for 2.6.21-rc1.
The vm subsystem of 2.6.21 is fully compatible with the buffer object
vm code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80468e75323a4353e29f010b61ee657851f8508c

Git commit 6a51da7325163151678c27dcbf51595092773d7a by Alan Hourihane (on behalf of Jay Estabrook) on 27/02/2007 at 08:56..
Fix Alpha domain/bus issue
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a51da7325163151678c27dcbf51595092773d7a

Git commit 7c3aeafe756f823e2cd6352ed1788aeec0000b95 by Nian Wu on 27/02/2007 at 19:42..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c3aeafe756f823e2cd6352ed1788aeec0000b95

Git commit a0c9602f38e9d47d7a76b7b345e7e8bbb29b752f by David Nusinow on 28/02/2007 at 02:50..
Add support for X server input ABI versioning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0c9602f38e9d47d7a76b7b345e7e8bbb29b752f

Git commit 72caa48c82e4334d3292185dbadf758d2dd14c16 by Ben Skeggs on 28/02/2007 at 04:41..
nouveau: intrusive drm interface changes

graphics objects:
	- No longer takes flags/dmaobj parameters, requires some major changes
	  to the ddx to setup the object through the FIFO.  This change is
	  likely to cause breakages on some cards (tested on NV05,NV28,NV35,
	  NV40 and NV4E).
dma objects:
	- now takes a "class" parameter, not really used yet but we may need
	  it at some point.
	- parameters are checked, so clients can't randomly create DMA objects
	  pointing at whatever they feel like.
misc:
	- Added FB_SIZE/AGP_SIZE getparams
	- Read PFIFO_INTR in PFIFO irq handler, not PMC_INTR
	- Dump PGRAPH trap info on PGRAPH_INTR_NOTIFY if NSOURCE isn't
	  NOTIFICATION_PENDING.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72caa48c82e4334d3292185dbadf758d2dd14c16

Git commit 0bbbb46650667c84a50f1a675a7a910d6ef7df4b by Nian Wu on 28/02/2007 at 14:00..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bbbb46650667c84a50f1a675a7a910d6ef7df4b

Git commit 1344bb9deda5ba54215d0ec5b164706999236b0b by David Nusinow on 01/03/2007 at 04:08..
Fix typo that prevented the input abi versioning from working.
Good catch Julien
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1344bb9deda5ba54215d0ec5b164706999236b0b

Git commit 6c48b8e7ffd0af4d49855d7175e822f4af1f526f by Nian Wu on 01/03/2007 at 14:02..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c48b8e7ffd0af4d49855d7175e822f4af1f526f

Git commit 4a943db2564c4f573ce2f5f676a841267e961f16 by David Nusinow on 02/03/2007 at 03:06..
Fix one missed bit from the serverabiver -> serverminver rename
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a943db2564c4f573ce2f5f676a841267e961f16

Git commit 72811b4cede7275a35d36b44bcb5f431a8aa0133 by Julien Cristau on 02/03/2007 at 19:28..
Fix copy/paste typo in the input driver provides.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72811b4cede7275a35d36b44bcb5f431a8aa0133

Git commit c9178c3d01f6f38a33f9624c620d290cb9036964 by Dave Airlie on 04/03/2007 at 07:16..
ati: make pcigart code able to handle variable size PCI GART aperture

This code doesn't enable a variable aperture it just modifies the codebase
to allow me fix it up later
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9178c3d01f6f38a33f9624c620d290cb9036964

Git commit 188a93c9dfde31de4d86733fa46b50487d3a4ac0 by Dave Airlie on 04/03/2007 at 08:10..
radeon: make PCI GART aperture size variable, but making table size variable

This is precursor to getting a TTM backend for this stuff, and also
allows the PCI table to be allocated at fb 0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/188a93c9dfde31de4d86733fa46b50487d3a4ac0

Git commit 0a85c9fa02608426a9a97f1d26e37c301330926b by Nian Wu on 05/03/2007 at 14:01..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a85c9fa02608426a9a97f1d26e37c301330926b

Git commit 6ffe94f008db22f959d4d397861b7439cb5404ba by Thomas Hellstrom on 07/03/2007 at 08:19..
Add via CX700.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ffe94f008db22f959d4d397861b7439cb5404ba

Git commit b36972407747154abc0c5f2cdcf3b8ddbba4ff2e by Nian Wu on 07/03/2007 at 21:01..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b36972407747154abc0c5f2cdcf3b8ddbba4ff2e

Git commit 0cd5c650d1bb36e0ba6b40abd1da1459d1a767f0 by Patrice Mandin on 11/03/2007 at 13:02..
nouveau: PUT,GET, not 2xPUT
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cd5c650d1bb36e0ba6b40abd1da1459d1a767f0

Git commit ab75d50d6ca72615259e4fa857effeb6192c28a9 by Nian Wu on 12/03/2007 at 01:03..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab75d50d6ca72615259e4fa857effeb6192c28a9

Git commit 5667396e05723afc5a626e1ba0384e29a240dea3 by Oliver McFadden on 13/03/2007 at 00:50..
Guess another unknown register used for R300 pacification.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5667396e05723afc5a626e1ba0384e29a240dea3

Git commit 462a6ea4caadae0c68f6fe3e0343950ced2095cb by Oliver McFadden on 13/03/2007 at 01:19..
Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to either
R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/462a6ea4caadae0c68f6fe3e0343950ced2095cb

Git commit 7e2bbe295424adfcd455a4c4b42dd0342087615e by Ben Skeggs on 13/03/2007 at 03:55..
nouveau: s/fifo/channel/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e2bbe295424adfcd455a4c4b42dd0342087615e

Git commit 1775202cf96c51018bf369b1b4d08023d622513c by Ben Skeggs on 13/03/2007 at 03:55..
nouveau: associate all created objects with a channel + cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1775202cf96c51018bf369b1b4d08023d622513c

Git commit 90f8c691a57a79a6a9652b7d2a01c59acc127b3f by Ben Skeggs on 13/03/2007 at 03:55..
nouveau: make sure cmdbuf object gets destroyed
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90f8c691a57a79a6a9652b7d2a01c59acc127b3f

Git commit a90c2854a7a71953e03d36b1ff7db3e9c2babb99 by Oliver McFadden on 13/03/2007 at 06:25..
Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT.

Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these
values are really unknown; ideally more reverse engineering should be done to
determine what these values mean and when they should be set.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a90c2854a7a71953e03d36b1ff7db3e9c2babb99

Git commit 80d0018bc078d489f509152673c838be3c471854 by Nian Wu on 13/03/2007 at 09:00..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80d0018bc078d489f509152673c838be3c471854

Git commit 93f66af76a18357f7e3bfcb52c241962287c5caa by Oliver McFadden on 13/03/2007 at 14:48..
r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; not
enough information is known about them to be sure as to what the values mean.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93f66af76a18357f7e3bfcb52c241962287c5caa

Git commit df73975980e926e350bf36bf4bc8a07220f66164 by Nian Wu on 14/03/2007 at 09:00..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df73975980e926e350bf36bf4bc8a07220f66164

Git commit c4808e206bcc5b3d3c0baa2e6e5130e67b78152b by Dave Airlie on 18/03/2007 at 10:42..
remove drm_lookup_map unused now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4808e206bcc5b3d3c0baa2e6e5130e67b78152b

Git commit 27197d7836b913976f6b75005d1c0c926774825a by Dave Airlie on 18/03/2007 at 10:45..
deinline agp_remap along lines of kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27197d7836b913976f6b75005d1c0c926774825a

Git commit 6c4428d40c7531a28aa405e3db407461d20a0110 by Dave Airlie on 18/03/2007 at 21:09..
clean up more of inline functions agp_remap/drm_lookup_map
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c4428d40c7531a28aa405e3db407461d20a0110

Git commit 2463b03cb4d89cfcc5f2af6d6f09b28a491cb971 by Dave Airlie on 18/03/2007 at 21:23..
whitespace cleanup pending a kernel merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2463b03cb4d89cfcc5f2af6d6f09b28a491cb971

Git commit 2d7ecb84221278a9b6a0328fb2f9a63ea6b8e2e2 by Dave Airlie on 18/03/2007 at 21:29..
more tab/space conversion
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d7ecb84221278a9b6a0328fb2f9a63ea6b8e2e2

Git commit 483f6a113d21b90821d091c4dae413703f9907e5 by Dave Airlie on 18/03/2007 at 21:32..
use ARRAY_SIZE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/483f6a113d21b90821d091c4dae413703f9907e5

Git commit bbb6fc9307c42891120faeaca5c57cf7884866ad by Dave Airlie on 18/03/2007 at 21:36..
make drm fops const from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbb6fc9307c42891120faeaca5c57cf7884866ad

Git commit a2e3bae8e23398b1db25ea79cf1086a1fa735946 by Dave Airlie on 18/03/2007 at 21:46..
oops missing else
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2e3bae8e23398b1db25ea79cf1086a1fa735946

Git commit c991f8e049d8f39cbbb74afb81097affdc110a29 by Dave Airlie on 18/03/2007 at 21:46..
cleanup ioctl expansion code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c991f8e049d8f39cbbb74afb81097affdc110a29

Git commit 26aba875e1094dcb3ba88ac4c41e943ef46df2c8 by Dave Airlie on 18/03/2007 at 21:56..
more whitespace issues
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26aba875e1094dcb3ba88ac4c41e943ef46df2c8

Git commit 46fac1708242756d280128888bda7218fb224603 by Dave Airlie on 18/03/2007 at 22:12..
fixup return values in drm ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46fac1708242756d280128888bda7218fb224603

Git commit 1e77e52755c9bb94c9230778845e6701b4d82b3a by Dave Airlie on 18/03/2007 at 22:20..
more return values fixup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e77e52755c9bb94c9230778845e6701b4d82b3a

Git commit 8398b99d8d146278adc13d6093811e53cd42c88a by Nian Wu on 19/03/2007 at 09:00..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8398b99d8d146278adc13d6093811e53cd42c88a

Git commit cbe31d0dc7ead9e690faf8b68c481a39f0f01195 by Alan Hourihane on 19/03/2007 at 11:46..
Remove old i830 kernel driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbe31d0dc7ead9e690faf8b68c481a39f0f01195

Git commit ef71b6230b50b81c1169d63f44d397ef0b77f94d by Alan Hourihane on 19/03/2007 at 11:46..
remove i830 reference
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef71b6230b50b81c1169d63f44d397ef0b77f94d

Git commit 209870a88262a4a27b36e5cc97f3b1e7021dbefd by Dave Airlie on 19/03/2007 at 23:13..
rename badly named define
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/209870a88262a4a27b36e5cc97f3b1e7021dbefd

Git commit fe4cc50983bdaf51bf29ef041f65e0007f547844 by Nian Wu on 20/03/2007 at 05:11..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe4cc50983bdaf51bf29ef041f65e0007f547844

Git commit e22225416a12c2beab7a5bcb866d214ee212cbc4 by Ben Skeggs on 21/03/2007 at 06:57..
nouveau: support multiple channels per client (breaks drm interface)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e22225416a12c2beab7a5bcb866d214ee212cbc4

Git commit 0467ad41188031073cbbad1139a916e2439af2f1 by Nian Wu on 21/03/2007 at 09:00..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0467ad41188031073cbbad1139a916e2439af2f1

Git commit 2bb9de96d5b58961ec2ff2e49e1e7260c8befa48 by Ben Skeggs on 23/03/2007 at 02:45..
nouveau: remove unused cruft
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bb9de96d5b58961ec2ff2e49e1e7260c8befa48

Git commit 39795501a8d4d5286fd21d36f8b7258f70fec989 by Dave Airlie on 23/03/2007 at 03:56..
drm: remove second spinlock init for tasklet lock
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39795501a8d4d5286fd21d36f8b7258f70fec989

Git commit 8d918b0b63b3142d92204253bfc954ed12aa98ed by Dave Airlie on 23/03/2007 at 03:56..
cleanup more whitespace from ttm merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d918b0b63b3142d92204253bfc954ed12aa98ed

Git commit 4988fa48869098b18a3b60884550614818d60445 by Ben Skeggs on 23/03/2007 at 04:25..
nouveau: rework nouveau_fifo_alloc() so the drm can create internal FIFOs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4988fa48869098b18a3b60884550614818d60445

Git commit e7cd5a1e2df29c1a06b74439faf750c6c5bb8e4a by Nian Wu on 23/03/2007 at 09:00..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7cd5a1e2df29c1a06b74439faf750c6c5bb8e4a

Git commit 5ad43f46759ff1eb473c9101e7de0d46a4ed8177 by Dave Airlie on 24/03/2007 at 06:58..
vm: cleanup drm_vm.c along lines of cleanups queued for kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ad43f46759ff1eb473c9101e7de0d46a4ed8177

Git commit 5d69640a6ad15522fa37c3b232eb34acef955892 by Eric Anholt on 24/03/2007 at 16:39..
Catch up to new interrupt API, and retire FreeBSD 4.x support here.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d69640a6ad15522fa37c3b232eb34acef955892

Git commit ddc87d302526347f670e8b61e227c0eb05c15cde by Nian Wu on 25/03/2007 at 09:00..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddc87d302526347f670e8b61e227c0eb05c15cde

Git commit 674cefd4fe4b537a20a10edcb4ec5df55facca8e by Ben Skeggs on 26/03/2007 at 10:59..
nouveau: move card initialisation into the drm

The PGRAPH init for the various cards will need cleaning up at some point,
a lot of the values written there are per-context state left over from the
all the hardcoding done in the ddx.

It's possible some cards get broken by this commit, let me know.
Tested on: NV5, NV18, NV28, NV35, NV40, NV4E
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/674cefd4fe4b537a20a10edcb4ec5df55facca8e

Git commit 406a894e529267177e6161c1713f2aa2293e7734 by Nian Wu on 27/03/2007 at 04:53..
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/406a894e529267177e6161c1713f2aa2293e7734

Git commit 72a1190f6d9acea5fb789bec706c842604954049 by Dave Airlie on 27/03/2007 at 07:59..
drm/ttm: make sure dev_mapping is set-up for the first opener of the drm

This was causing an oops in my miniglx code to try and use a TTM-only setup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72a1190f6d9acea5fb789bec706c842604954049

Git commit 81b811da376fed5363f25e82e5285455df3e8157 by Dave Airlie on 27/03/2007 at 08:01..
drm/i915: set the bo up at firstopen time not after DMA init

This is required to use TTM to allocate the ring buffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81b811da376fed5363f25e82e5285455df3e8157

Git commit bdabc8f9986bf4e190f8e4a24466dec551b08006 by Stephane Marchesin on 28/03/2007 at 22:54..
nouveau: fix nv04 context switches.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdabc8f9986bf4e190f8e4a24466dec551b08006

Git commit 3f70518f0bcf36a1e2c82db962324dbdee106f67 by Dave Airlie on 28/03/2007 at 23:25..
drm/bo: avoid oops if the memory manager for this type isn't initialised
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f70518f0bcf36a1e2c82db962324dbdee106f67

Git commit cd4c82176f3f429e722ca3fac2abf231af479780 by Eric Anholt on 30/03/2007 at 19:56..
Merge branch 'origin'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd4c82176f3f429e722ca3fac2abf231af479780

Git commit ddb1715e06f6b5ab81ed0bc6667104bb9e7fcdee by Eric Anholt on 30/03/2007 at 20:11..
Merge branch 'crestline-qa', adding support for the 965GM chipset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddb1715e06f6b5ab81ed0bc6667104bb9e7fcdee

Git commit 223061e0846a95d4a3dba84b36afb2cef313bae9 by Matthieu Castet on 31/03/2007 at 22:44..
nouveau : set the correct PGRAPH_CTX_CONTROL register

"5a072f32        (Stephane Marchesin     2007-02-03 04:57:06 +0100" broke nv10 ctx switch by setting wrong PGRAPH_CTX_CONTROL reg
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/223061e0846a95d4a3dba84b36afb2cef313bae9

Git commit be5bf1346e49d5c2e0080913fd55e6898a8744cf by Dave Airlie on 01/04/2007 at 06:48..
copy over some files and reorg radeon to add ttm fencing not working yet
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be5bf1346e49d5c2e0080913fd55e6898a8744cf

Git commit b1f0b2d960a8f488332652677073ab95ce72cd3f by Dave Airlie on 01/04/2007 at 08:24..
radeon: de-static irq function, fixup fence/buffer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1f0b2d960a8f488332652677073ab95ce72cd3f

Git commit bdc5a8b62ef2f59e05f69da2150212c0243f6efb by Dave Airlie on 01/04/2007 at 09:09..
radeon: enable buffer manager
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdc5a8b62ef2f59e05f69da2150212c0243f6efb

Git commit 25cedcf76fae45f8a1a63ccb6b4bc5746b7d1587 by Matthieu Castet on 01/04/2007 at 12:21..
nouveau : nv10 ctx switch fix
restoring NV10_PGRAPH_CTX_SWITCH1 now works
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25cedcf76fae45f8a1a63ccb6b4bc5746b7d1587

Git commit cbbdbd5e653860bcae165c8abd16006d4425e3de by Matthieu Castet on 01/04/2007 at 12:31..
nouveau: fix usage of PGRAPH_CTX_CONTROL on nv20+

http://gitweb.freedesktop.org/?p=mesa/drm.git;a=commitdiff;h=17985f07d68322519919a7f629a6d2d9bf3916ed could have broken some nvxx_graph code : it rename NV03_PGRAPH_CTX_CONTROL to NV10_PGRAPH_CTX_CONTROL, but forgot to update it in nvxx_graph file.

Also when migrating init stuff in http://gitweb.freedesktop.org/?p=mesa/drm.git;a=commitdiff;h=674cefd4fe4b537a20a10edcb4ec5df55facca8e, NV04_PGRAPH_CTX_CONTROL is used everywhere but the old ddx code use NV_PGRAPH_CTX_CONTROL_NV04 or NV_PGRAPH_CTX_CONTROL.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbbdbd5e653860bcae165c8abd16006d4425e3de

Git commit 5395a92d40337aa3de424f87fb38cb5a0ca45bcf by Oliver McFadden on 02/04/2007 at 19:45..
r300: Synchronize the register header file again.

It's a good idea to keep these synchronized; even though the DRM doesn't use all
the defines, maintaining two different copies is prone to errors when the diff
gets bigger.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5395a92d40337aa3de424f87fb38cb5a0ca45bcf

Git commit 72d457fc1973a61f906a42d049c1c160cc7dee4e by Thomas Hellstrom on 03/04/2007 at 08:29..
Make sure CMA (Can't map aperture) pages are mapped uncached.

(Should really make this write-combined using PATs, at some point).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72d457fc1973a61f906a42d049c1c160cc7dee4e

Git commit d85e243259259d7702db0d344ae1ff7d26598227 by Thomas Hellstrom on 03/04/2007 at 08:29..
Fix an oops when trying to clean a not yet initialized memory type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d85e243259259d7702db0d344ae1ff7d26598227

Git commit 7743af94492681f5aaf7cfdef78d695a6db7cbd0 by Thomas Hellstrom on 03/04/2007 at 08:29..
Evicted no-move buffers can get lost if they end up in another

memory type than local.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7743af94492681f5aaf7cfdef78d695a6db7cbd0

Git commit 139e4bbc73c65d6e1d7fc831ae15c8b28f92e821 by Thomas Hellstrom on 03/04/2007 at 08:29..
Make sure we ack irqs before we read a breadcrumb so that

breadcrumb updates that occur _AFTER_ we've read the breadcrumb really
generates a new IRQ.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/139e4bbc73c65d6e1d7fc831ae15c8b28f92e821

Git commit 38d18acb8f3617d79735f71564d9f49e608461ec by Thomas Hellstrom on 03/04/2007 at 08:29..
Add a fence flush event to each fence-signaled check when lazy-waiting

to make sure we don't lose any sequence numbers if, for some reason,
they don't generate an IRQ.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38d18acb8f3617d79735f71564d9f49e608461ec

Git commit c4968279218cf246323e38bbbd44ce2774871fde by Thomas Hellstrom on 03/04/2007 at 08:54..
Fix user object reference when caller is not object creator.
(Reported by Dave Airlie).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4968279218cf246323e38bbbd44ce2774871fde

Git commit e835820e2359952bd42a66137c6b7ab243a5a541 by Dave Airlie on 03/04/2007 at 09:04..
add initial PCIE GART framework for TTM
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e835820e2359952bd42a66137c6b7ab243a5a541

Git commit 29ac7b1fe364a4be1db7e22d2b400bef04fc240d by Dave Airlie on 03/04/2007 at 11:20..
radeon: add setup for PCIE GART ttm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29ac7b1fe364a4be1db7e22d2b400bef04fc240d

Git commit 9c793716591c141d7bb1796f5dc6473c45d9545c by Dave Airlie on 05/04/2007 at 01:18..
add an install target to the drm modules makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c793716591c141d7bb1796f5dc6473c45d9545c

Git commit 8fe8793a0fdf4e6082a0f0b0fc4650f171737356 by Dave Airlie on 05/04/2007 at 01:20..
borrow edid.h from fb directory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fe8793a0fdf4e6082a0f0b0fc4650f171737356

Git commit 52f9028c84baea81230dc673b756552e8e90aecd by Dave Airlie on 05/04/2007 at 01:21..
Initial import of modesetting for intel driver in DRM
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52f9028c84baea81230dc673b756552e8e90aecd

Git commit 5bffbd6e275efffbb649c20c528a11412ccf99cd by Dave Airlie on 05/04/2007 at 03:34..
initial userspace interface to get modes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bffbd6e275efffbb649c20c528a11412ccf99cd

Git commit 7bb112fecadc6fe42e5828b861600691071ccd91 by Dave Airlie on 05/04/2007 at 07:06..
checkpoint commit: added getresources, crtc and output

This adds the user interfaces from Jakob and hooks them up for 3 ioctls
GetResources, GetCrtc and GetOutput.

I've made the ids for everything fbs, crtcs, outputs and modes go via idr as
per krh's suggestion on irc as it make the code nice and consistent.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bb112fecadc6fe42e5828b861600691071ccd91

Git commit b4094864f188a1346cc3b51bcb457beeacefbf82 by Dave Airlie on 05/04/2007 at 08:01..
checkpoint commit: implement SetCrtc so modes can in theory be set from user

This hooks up the userspace mode set it "seems" to work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4094864f188a1346cc3b51bcb457beeacefbf82

Git commit 652bbb77f6c9efb7e0a67cc868dfda42b00fc5fb by Dave Airlie on 05/04/2007 at 10:20..
add back compat for bool
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/652bbb77f6c9efb7e0a67cc868dfda42b00fc5fb

Git commit 6f3534a13abb0c8afb157511d0871dbc35bc403d by Jesse Barnes on 05/04/2007 at 16:21..
Add copyrights before I forget
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f3534a13abb0c8afb157511d0871dbc35bc403d

Git commit 50ee722e018a5f17f886286e3d9eebe93f3cecaa by Jesse Barnes on 05/04/2007 at 16:27..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50ee722e018a5f17f886286e3d9eebe93f3cecaa

Git commit 38f52402a8b7126f0c1ceccf7c1843b1a5247ef6 by Ben Skeggs on 05/04/2007 at 17:26..
nouveau: Power up all card units by default on startup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38f52402a8b7126f0c1ceccf7c1843b1a5247ef6

Git commit 78034c06dfc0cd79cc47c2daa119ca3ee2a4fed4 by Ben Skeggs on 05/04/2007 at 17:27..
nouveau: make a note about a bit that breaks some cards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78034c06dfc0cd79cc47c2daa119ca3ee2a4fed4

Git commit 1c9ba24c2f37ca78965f8aa57ece02ef5bdb9b06 by Eric Anholt on 05/04/2007 at 18:34..
Add required permission notices for code copied from X.Org source.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c9ba24c2f37ca78965f8aa57ece02ef5bdb9b06

Git commit 46257c51c1e402cf04007f01a90cb423b141f89e by Dave Airlie on 06/04/2007 at 10:21..
i915: use breadcrumb macro everywhere
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46257c51c1e402cf04007f01a90cb423b141f89e

Git commit b25558bb7377f6df6d457b50067a1d245f7911fd by Dave Airlie on 06/04/2007 at 21:21..
fixup install target, not sure what I was smokin...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b25558bb7377f6df6d457b50067a1d245f7911fd

Git commit a35ba455b27b72f1ee3e1136ca6659f672ada4fa by Jesse Barnes on 08/04/2007 at 02:22..
make drmP.h include drm_crtc.h for CRTC related stuff.
fixup drm_crtc.c so it matches VGA and other outputs properly.
make drm_crtc.c less verbose.
add function declarations in drm_crtc.h for other files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a35ba455b27b72f1ee3e1136ca6659f672ada4fa

Git commit 13d4ea90c09fa834eb6eecaa082780aace78dac7 by Jesse Barnes on 08/04/2007 at 02:24..
various cleanups to EDID code:
  - pull in FB DDC code (we'll have to rewrite it anyway it appears)
  - add comments
  - note a few FIXMEs
  - make it less quiet, and more informative when it actually does print
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13d4ea90c09fa834eb6eecaa082780aace78dac7

Git commit 491ed9e4c27da6b1b5a6a6921039a7bf3a98c290 by Jesse Barnes on 08/04/2007 at 02:24..
document drm_mode_duplicate and fix vrefresh calculation (off by 1000 error)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/491ed9e4c27da6b1b5a6a6921039a7bf3a98c290

Git commit 2430d0c3157ef20a3319a4f93dc44b28d0189868 by Jesse Barnes on 08/04/2007 at 02:25..
just codingstyle cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2430d0c3157ef20a3319a4f93dc44b28d0189868

Git commit ab7ee9c1af3bd844653a83b5160773db671bbcad by Jesse Barnes on 08/04/2007 at 02:26..
remove a printk to make things less verbose
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab7ee9c1af3bd844653a83b5160773db671bbcad

Git commit a70f8e0ab265cc4a26ed2f9e92ab0618bd920a93 by Dave Airlie on 09/04/2007 at 11:52..
radeon: add support for reverse engineered xpress200m

The IGPGART setup code was traced using mmio-trace on fglrx by myself
and Phillip Ezolt <phillipezolt at gmail.com> on dri-devel.

This code doesn't let the 3D driver work properly as the card has no
vertex shader support.

Thanks to Matthew Garrett + Ubuntu for providing me some hardware to do this
work on.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a70f8e0ab265cc4a26ed2f9e92ab0618bd920a93

Git commit 29f8fe80469a161c89c1a690ae2b62b3c21e4794 by Dave Airlie on 09/04/2007 at 12:00..
radeon: bump version for IGPGART support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29f8fe80469a161c89c1a690ae2b62b3c21e4794

Git commit 2d7f9f59c3ae9dbaa516ee45ae26b32825e7bf3e by Ben Skeggs on 09/04/2007 at 13:20..
nouveau: NV46 support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d7f9f59c3ae9dbaa516ee45ae26b32825e7bf3e

Git commit 7e2b1a6cf55579c6f8b1fd56a97e9f41e34b88fc by Jesse Barnes on 09/04/2007 at 15:52..
Fix refresh calculation (mistakenly removed 1000 factor needed for integer calulations, fixed mode printout debugging routine instead).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e2b1a6cf55579c6f8b1fd56a97e9f41e34b88fc

Git commit 059b5d90770e32ba3d6d9a62acf74b352de7f421 by Oliver McFadden on 09/04/2007 at 23:23..
rs480: Renamed some unknown registers. See dri-devel list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/059b5d90770e32ba3d6d9a62acf74b352de7f421

Git commit b50bda002b824efb24e18e8d514ff0ca763c15b9 by Dave Airlie (on behalf of Jakob Bornecrantz) on 10/04/2007 at 08:44..
add addfb/rmfb ioctls

Originally from Jakob, cleaned up by airlied.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b50bda002b824efb24e18e8d514ff0ca763c15b9

Git commit ed0ebd9d3da2e5c4e8053b6e7a7d2898b184f857 by Dave Airlie on 10/04/2007 at 08:56..
make crtc_config be named mode_config

X.org calls this crtc_config but this is a bad name and will confuse ppl later
(and me now :-)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed0ebd9d3da2e5c4e8053b6e7a7d2898b184f857

Git commit eb9bdc27879d1aa307b234bbdb0f81494dcf7095 by David Airlie on 10/04/2007 at 01:51..
mode: fixup problems with framebuffer add function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb9bdc27879d1aa307b234bbdb0f81494dcf7095

Git commit c446bf50e3ae730f272c6842f4ad04d523bd40c3 by Jesse Barnes on 10/04/2007 at 03:46..
Slam in most of X.Org's i830_lvds (not quite done yet so removed from Makefile.kernel too).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c446bf50e3ae730f272c6842f4ad04d523bd40c3

Git commit 65f465ed5ad3caf773658bb2832785c963b987f6 by David Airlie on 10/04/2007 at 04:49..
fixup numerous issues with adding framebuffer support

This still isn't perfect but it fixes a few oopses and cleans up
some of the tabs and bugs in the original fb limit code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65f465ed5ad3caf773658bb2832785c963b987f6

Git commit 40bd6dcd86d554ca426deccd4fbada693c4be8a6 by David Airlie on 10/04/2007 at 05:20..
set the base address of the CRTC correctly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40bd6dcd86d554ca426deccd4fbada693c4be8a6

Git commit 1e39dc43230ba1827eedc29ab422464281ec3e1b by David Airlie on 10/04/2007 at 06:25..
export output name to userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e39dc43230ba1827eedc29ab422464281ec3e1b

Git commit f1476e4e5cefd4aa8c487b4e651a26056110e2f0 by David Airlie on 10/04/2007 at 06:25..
re-tab and fixup the i915GM get core clock function to actually work
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1476e4e5cefd4aa8c487b4e651a26056110e2f0

Git commit 23a66fd506e71fdfde906d1679fb07c0df8bec4c by David Airlie on 10/04/2007 at 06:26..
fixup true/false in intel_sdvo.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23a66fd506e71fdfde906d1679fb07c0df8bec4c

Git commit b9c7fa55e2c6685c4c533613ab14f305f033c353 by David Airlie on 10/04/2007 at 06:32..
fixup sarea writes for set pipe base and dpms
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9c7fa55e2c6685c4c533613ab14f305f033c353

Git commit 50672adb3142abca743535a8e60c360ef47b2a08 by David Airlie on 10/04/2007 at 06:49..
add sdvo debugging output
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50672adb3142abca743535a8e60c360ef47b2a08

Git commit 183cbd92dd016f8935f9b58ef9345fde1391173e by Jesse Barnes on 10/04/2007 at 16:47..
Finish bringing in LVDS code, re-add to Makefile.  Needed other changes too:
  - move EDID structures to drm_edid.h
  - add EDID info structure to drm_output
  - add a few routines to intel_display for getting current mode info
  - add some prototypes to intel_drv.h and drm_crtc.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/183cbd92dd016f8935f9b58ef9345fde1391173e

Git commit c0336989884e75bcd05284257e884754bb5f85b6 by Jesse Barnes on 10/04/2007 at 16:48..
Remove some delays from Intel i2c code, we'll need a more comprehensive fix
in the Linux i2c layer to make DDC reliable on old monitors.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0336989884e75bcd05284257e884754bb5f85b6

Git commit 8785679f893ef9257c589a70113ac731edba0194 by Jesse Barnes on 10/04/2007 at 16:49..
Remove some debug #if 0 codes and add a reminder to check locking around
output enumeration stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8785679f893ef9257c589a70113ac731edba0194

Git commit 5130918e2531b9a8f6f6b65cdfce81f4f0904329 by Jesse Barnes on 10/04/2007 at 16:51..
Add save/restore state for LVDS code, along with a few other LVDS related
items to i915 private structure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5130918e2531b9a8f6f6b65cdfce81f4f0904329

Git commit b59285d738b1a832b12d9258bd6f1db8f7e61f08 by Jesse Barnes on 10/04/2007 at 17:31..
Move i915 init code to new file, i915_init.c, and create a new high level
init routine that runs at driver load time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b59285d738b1a832b12d9258bd6f1db8f7e61f08

Git commit e114b981bc291049fa6996d487334a408acc1ce2 by Jesse Barnes on 10/04/2007 at 17:31..
Export drm_setup for use by new driver init code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e114b981bc291049fa6996d487334a408acc1ce2

Git commit 44a8761302888080f1cb6596d4573d88c1746da4 by Jesse Barnes on 10/04/2007 at 17:45..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101

Conflicts:

	linux-core/drm_crtc.c - trivial merge
	linux-core/drm_crtc.h - trivial merge
	linux-core/intel_display.c - crtc_config -> mode_config
	shared-core/i915_dma.c - accommodate new init code in i915_init.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44a8761302888080f1cb6596d4573d88c1746da4

Git commit 9b7211dd6793dc62d11ad1ae980b22fa2d61f9dd by Matthieu Castet on 10/04/2007 at 21:20..
nouveau: nv10 per channel init from ddx
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b7211dd6793dc62d11ad1ae980b22fa2d61f9dd

Git commit b62ffb8e91dafbe46b4daa5be13a867b149b0170 by David Airlie on 10/04/2007 at 23:56..
fixup calculation to make sdvo work
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b62ffb8e91dafbe46b4daa5be13a867b149b0170

Git commit f50eec752c8754595ba99f0ec7a7c8138316a819 by Jesse Barnes on 11/04/2007 at 00:58..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f50eec752c8754595ba99f0ec7a7c8138316a819

Git commit 3e994a56be1bfc633e49434c9e4a3e3262070248 by Dave Airlie (on behalf of David Airlie) on 11/04/2007 at 03:26..
use fb pitch and fix up some whitespace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e994a56be1bfc633e49434c9e4a3e3262070248

Git commit 44be9c9d5950d3b2ba4d5527189abec8dac0686f by Dave Airlie (on behalf of David Airlie) on 11/04/2007 at 03:26..
add an fb count + id get to the get resources code path
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44be9c9d5950d3b2ba4d5527189abec8dac0686f

Git commit 7e58276c76ff2297fdf9ba295d696338377d6e14 by root on 11/04/2007 at 03:40..
Revert "Remove some delays from Intel i2c code, we'll need a more comprehensive fix"

This reverts commit c0336989884e75bcd05284257e884754bb5f85b6.

this break SDVO
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e58276c76ff2297fdf9ba295d696338377d6e14

Git commit b329f91502a20cc6def44b7bea6cbc8b016edd5e by Dave Airlie on 11/04/2007 at 04:04..
use the baseaddr at least
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b329f91502a20cc6def44b7bea6cbc8b016edd5e

Git commit 9d12da5917ec57605a2c4cd81c1753145f7e229c by Dave Airlie on 11/04/2007 at 04:34..
only bo finish at driver unload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d12da5917ec57605a2c4cd81c1753145f7e229c

Git commit 3dd5dc5728620cadec24ee5db323a20c3bb48bf0 by Dave Airlie on 11/04/2007 at 04:34..
only init at driver load
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dd5dc5728620cadec24ee5db323a20c3bb48bf0

Git commit add7a928ad1819df17d5764d06fb81985b285d08 by Dave Airlie on 11/04/2007 at 04:43..
comment out unworkable code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/add7a928ad1819df17d5764d06fb81985b285d08

Git commit 32f6a58db216f23a7c71ca9c7eda56aaa8293078 by Dave Airlie on 11/04/2007 at 06:33..
add initial drm_fb framebuffer

So far I can load fbcon, once I use my miniglx to add a framebuffer.
fbcon doesn't show anything on screen but baby steps and all that.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32f6a58db216f23a7c71ca9c7eda56aaa8293078

Git commit c582eaac194411f52a2c0527ffa093b5a422d7b9 by Dave Airlie on 11/04/2007 at 06:34..
add copyright statement
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c582eaac194411f52a2c0527ffa093b5a422d7b9

Git commit a6cc6a778f8b2f86300a8ce87441d044fd67f930 by David Airlie on 11/04/2007 at 07:13..
add support for setting a framebuffer depth
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6cc6a778f8b2f86300a8ce87441d044fd67f930

Git commit 1147fefed8d1154482c9cc9a9785e6871cd6e6a1 by David Airlie on 11/04/2007 at 07:13..
fixup framebuffer depth
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1147fefed8d1154482c9cc9a9785e6871cd6e6a1

Git commit 0392badd84ec833ddd9e2b187844d246d860bbf7 by David Airlie on 11/04/2007 at 07:25..
oops for 32 pitch.. hey I can see stuff on fbcon now.. it looks like text.. just a bit garbled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0392badd84ec833ddd9e2b187844d246d860bbf7

Git commit 7e48d47fb51cc0f1a38a99acfe591821a45d7081 by David Airlie on 11/04/2007 at 07:35..
line_length calculation was incorrect.. I now can get fbcon to run
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e48d47fb51cc0f1a38a99acfe591821a45d7081

Git commit 78598fdaa8b23a199880a63b79f17cfd7f14cb0f by Jesse Barnes on 11/04/2007 at 14:07..
Various changes for in-kernel modesetting:
  - allow drm_buffer_object_create to be called w/o dev_mapping
  - fixup i915 init code to allocate memory, fb and set modes right
  - pass fb to drm_initial_config for setup
  - change some debug output to make it easier to spot
  - fixup lvds code to use DDC probing correctly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78598fdaa8b23a199880a63b79f17cfd7f14cb0f

Git commit f35db6690625ccd01fb61dc766e6380a9c14c331 by Jesse Barnes on 11/04/2007 at 14:08..
Fixup DDC probing.  We only have one DDC bus so we have to use it only
on demand, and unregister when we're done.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f35db6690625ccd01fb61dc766e6380a9c14c331

Git commit dd00aa5851ca7c5590ae0b0825dd84c027cfd420 by Jesse Barnes on 11/04/2007 at 14:08..
export vblank routine for use by intel_display.c and intel_sdvo.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd00aa5851ca7c5590ae0b0825dd84c027cfd420

Git commit cc7faa4de80a68d5a7a484046b9b42de961cdbef by Jesse Barnes on 11/04/2007 at 14:21..
fix modeset cleanup for LVDS and reenable it in i915.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc7faa4de80a68d5a7a484046b9b42de961cdbef

Git commit c731b68091aa7284ee3a89c8a7ea3fdabac45a54 by Jesse Barnes on 11/04/2007 at 18:42..
Fix EDID pixel clock calculation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c731b68091aa7284ee3a89c8a7ea3fdabac45a54

Git commit 425da42e95606fec19cc87fad9329d48f93dfe6b by Jesse Barnes on 11/04/2007 at 18:44..
Whitespace cleanups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/425da42e95606fec19cc87fad9329d48f93dfe6b

Git commit 63d4d40463b04f1277470ccf5cc96dafd81e8687 by Jesse Barnes on 11/04/2007 at 18:46..
Fix i2c unregistration, cleanup panel_fixed_mode assignment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63d4d40463b04f1277470ccf5cc96dafd81e8687

Git commit 8dd75bd601f5fbf9793afc7b869a278050aa17d5 by Jesse Barnes on 11/04/2007 at 18:47..
Add aperture size and preallocation probing (from intelfb), cleanup load code to be more general.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8dd75bd601f5fbf9793afc7b869a278050aa17d5

Git commit 2e21779992bd5026d8ec4dea52466377dbe5a0ed by Jesse Barnes on 11/04/2007 at 19:51..
Add new buffer object type for kernel allocations that don't initially have a user mapping.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e21779992bd5026d8ec4dea52466377dbe5a0ed

Git commit 9d7160c43a7475b9d2ab06c5c353acb9456efa12 by Jesse Barnes on 11/04/2007 at 19:52..
Use new kernel buffer object type and cleanup agp probing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d7160c43a7475b9d2ab06c5c353acb9456efa12

Git commit a81558d8b3ee17fbf46e32b10732e22fcd997858 by Dave Airlie on 11/04/2007 at 22:45..
add getfb ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a81558d8b3ee17fbf46e32b10732e22fcd997858

Git commit 981f8156de0c5ec6387f659fbcac031d663d943c by Dave Airlie on 11/04/2007 at 22:54..
allow framebuffer changes on the crtc setup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/981f8156de0c5ec6387f659fbcac031d663d943c

Git commit a5cf4cc369fcc2cf7b84bbaef1e458250ecb91ee by Dave Airlie on 12/04/2007 at 01:28..
fix unbalanced lock and make sure mode list has modes so lvds code doesn't crash
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5cf4cc369fcc2cf7b84bbaef1e458250ecb91ee

Git commit b49b3ba4c1aad0d3f34f06013f2ffa67fc8d82c9 by Dave Airlie on 12/04/2007 at 01:43..
set bracing style like Linux
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b49b3ba4c1aad0d3f34f06013f2ffa67fc8d82c9

Git commit fb6c5aacb9955248300e0c62f68a5a65b40e15e1 by Dave Airlie on 12/04/2007 at 01:54..
only initialise modes when fbcon or fbset asks for it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb6c5aacb9955248300e0c62f68a5a65b40e15e1

Git commit 1bba3cb3b37ca9bc302d83377c1e9d5441653d0d by Dave Airlie on 12/04/2007 at 01:55..
cleanup framebuffers on drm unload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bba3cb3b37ca9bc302d83377c1e9d5441653d0d

Git commit b1f0fd6dfbd1495aa08c6358e936582eeca042c8 by Dave Airlie on 12/04/2007 at 02:11..
use FB everywhere
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1f0fd6dfbd1495aa08c6358e936582eeca042c8

Git commit 0430a80fc7861a3397a3f2649dfeb9eff14359a5 by Jesse Barnes on 12/04/2007 at 03:41..
Remove debug statement about buffer objects
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0430a80fc7861a3397a3f2649dfeb9eff14359a5

Git commit e8bd9fdf31bf3db91431b69ce1fc8d419148c838 by Jesse Barnes on 12/04/2007 at 03:41..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8bd9fdf31bf3db91431b69ce1fc8d419148c838

Git commit 9420ab4b419458605c678d179de6c80de23b8ee1 by Alan Hourihane on 12/04/2007 at 14:10..
Merge remote branch 'origin/modesetting-101' into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9420ab4b419458605c678d179de6c80de23b8ee1

Git commit a85440c8a6cac3de4b0e50805fa30cdce40e311b by Alan Hourihane on 12/04/2007 at 14:11..
Remove extraneous drm_crtc.h include
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a85440c8a6cac3de4b0e50805fa30cdce40e311b

Git commit cf016891435a0aa74dc4909ed4125c7ed906b7d1 by Alan Hourihane on 12/04/2007 at 14:12..
Use drm_framebuffer instead of drm_crtc for fb & fbt
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf016891435a0aa74dc4909ed4125c7ed906b7d1

Git commit f2e3d790ac05b2792e795f47fee32fe896a096cc by Jesse Barnes on 12/04/2007 at 15:53..
Revert "Export drm_setup for use by new driver init code.", we don't really want to use this function

This reverts commit e114b981bc291049fa6996d487334a408acc1ce2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2e3d790ac05b2792e795f47fee32fe896a096cc

Git commit e7b97f552390319d817595da8accefbe56199346 by Jesse Barnes on 12/04/2007 at 15:55..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7b97f552390319d817595da8accefbe56199346

Git commit 258e1cf70345198209e6d49a428efc3de8ce8238 by Jesse Barnes on 12/04/2007 at 15:56..
Whitespace cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/258e1cf70345198209e6d49a428efc3de8ce8238

Git commit c2fce380c26d72f2d7971a4d08076da33c41f5ae by Jesse Barnes on 12/04/2007 at 15:57..
Move i2c init back to where it belongs and add i2c unregistration in *_destroy.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2fce380c26d72f2d7971a4d08076da33c41f5ae

Git commit 2160e267ff3e1a503ab7666b60ffe21f4a90b803 by Jesse Barnes on 12/04/2007 at 16:01..
Don't use drm_setup, do SAREA allocation and mapping directly instead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2160e267ff3e1a503ab7666b60ffe21f4a90b803

Git commit 9e74c06f919126b15503ab64f721c5a1e9cca812 by Julien Cristau on 12/04/2007 at 16:49..
Merge branch 'debian-experimental' into debian-unstable

Conflicts:

	debian/changelog
	debian/compat
	debian/control
	debian/libdrm-dev.install
	debian/rules
	debian/watch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e74c06f919126b15503ab64f721c5a1e9cca812

Git commit 72d63aec8bd29cc334025ebcb4136c2db2efae12 by Julien Cristau on 12/04/2007 at 17:10..
Prepare upload to unstable.

* update my email address in debian/control
* add XS-Vcs-*
* delete useless debian/{dirs,docs} files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72d63aec8bd29cc334025ebcb4136c2db2efae12

Git commit e183a091ff44e5b03ec521696830c45b2ce9ce87 by Jesse Barnes on 12/04/2007 at 18:40..
Initialize the hw lock waitqueue so we don't hang in drm_lastclose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e183a091ff44e5b03ec521696830c45b2ce9ce87

Git commit fb3c82f1d8362a0b7d64cb3bce75be8c72328e1c by Jesse Barnes on 12/04/2007 at 18:50..
Don't need a NULL check prior to calling kfree.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb3c82f1d8362a0b7d64cb3bce75be8c72328e1c

Git commit 9e5d61d5b8c052b4dc126b155dca1f0d2e4e5ad9 by Jesse Barnes on 12/04/2007 at 19:40..
Fix 945+ hotplug detection, remove some unused variables.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e5d61d5b8c052b4dc126b155dca1f0d2e4e5ad9

Git commit 6b229c1e59e8d070e1822030f8f0c1d61140508d by Jesse Barnes on 12/04/2007 at 19:41..
Add new function for getting a CRTC pointer given a pipe number.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b229c1e59e8d070e1822030f8f0c1d61140508d

Git commit 9a39cb9b9a51516abcaf795fa6e38cbeb22d7db9 by Jesse Barnes on 12/04/2007 at 19:43..
Use crtc_from_pipe call in intel_lvds.c and add get_mode panel mode detection.  Also fix up error case for when LVDS mode can't be determined.  Leave placeholder code in place for BIOS mode probing and platform quirks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a39cb9b9a51516abcaf795fa6e38cbeb22d7db9

Git commit 79b7a588bb685459d51527e7ac6877696fe392a3 by Jesse Barnes on 12/04/2007 at 21:57..
Oops, forgot to push the msleep() in the hotplug test.  Wouldn't want to
spin in the kernel for a whole second w/o it...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79b7a588bb685459d51527e7ac6877696fe392a3

Git commit 79ef1dc0700f6b1e6602dcc2bc3cf5f37732f181 by Julien Cristau on 13/04/2007 at 00:08..
Merge tag 'drm-2.3.0' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79ef1dc0700f6b1e6602dcc2bc3cf5f37732f181

Git commit 9f0f6509f5278b5d46a282acf40e7b69790892a6 by Jesse Barnes on 13/04/2007 at 01:30..
Move driver load call to after AGP init, in case the load routine needs AGP stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f0f6509f5278b5d46a282acf40e7b69790892a6

Git commit 271778bd6338575afa3e4ae7f614f38cdff8e2fb by Branden Robinson on 13/04/2007 at 03:18..
Test for existence of debian/patches directory before creating a symlink to it.

This prevents packages that apply no patches from ending up with a broken
symlink in them.

Remove SVN keyword.

Update copyright notice.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/271778bd6338575afa3e4ae7f614f38cdff8e2fb

Git commit a890d596fc22a3dca9d390f96f0f739cf90de5e1 by Dave Airlie (on behalf of David Airlie) on 13/04/2007 at 04:50..
revert LVDS destroy - this oops on sysfs on sdvo init of i2c bus
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a890d596fc22a3dca9d390f96f0f739cf90de5e1

Git commit 27598bacfd8e086832753a8b931f0fce18989f8d by Dave Airlie (on behalf of David Airlie) on 13/04/2007 at 04:50..
export drm_bo_driver_finish symbol
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27598bacfd8e086832753a8b931f0fce18989f8d

Git commit cc471a361fc7058df4fb8d15d9c9a8b5cdd3dd77 by Dave Airlie (on behalf of David Airlie) on 13/04/2007 at 04:51..
i915/drm: clean up a lot of the i915/drm startup/teardown sequences

When the kernel driver is loaded it sets up a lot of stuff..
it tears down the same stuff on unload.

This add a new map type called DRM_DRIVER which means the driver will clean the mapping up
and fix up the map cleaner
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc471a361fc7058df4fb8d15d9c9a8b5cdd3dd77

Git commit c4e944182db3002101c330453ebb3f454637743e by Jakob Bornecrantz on 13/04/2007 at 08:13..
Added debug messages so we know which output we are dealing with
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4e944182db3002101c330453ebb3f454637743e

Git commit 65619cab276ba1f00014f9701b8347e2b834abe4 by Jesse Barnes on 14/04/2007 at 22:35..
Fix PRIV0 memory initialization (mm_init takes pages, not bytes), align fb
allocation correctly, and use drm_mem_reg_iomap to map ring buffer object.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65619cab276ba1f00014f9701b8347e2b834abe4

Git commit 2aa183db1ff0fb6044d24eae51854ff128da9a0f by Jesse Barnes on 14/04/2007 at 22:35..
Use drm_mem_reg_ioremap to map buffer object.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2aa183db1ff0fb6044d24eae51854ff128da9a0f

Git commit 7901afcce99a8af97e560d34e3685fd55eaa9c1a by David Nusinow on 15/04/2007 at 17:11..
* Add myself to uploaders
* Patch libdrm to default to device permission 666 so we don't have to do it
  in xorg.conf. The only way libdrm can do anything is through the server
  anyway. This can still be overridden by a user's xorg.conf. This change
  also requires adding quilt to the build-depends
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7901afcce99a8af97e560d34e3685fd55eaa9c1a

Git commit 2a8e131eb802dfe11df884f3c4e894b8f822d652 by David Nusinow on 15/04/2007 at 17:38..
Merge from unstable back to experimental

Merge branch 'debian-unstable' into debian-experimental

Conflicts:

	debian/changelog
	debian/control
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a8e131eb802dfe11df884f3c4e894b8f822d652

Git commit e6e4946c82ab6f63143df7f49f38fa56f7e8980a by Thomas Hellstrom on 16/04/2007 at 14:23..
Require the hardware lock for buffer creation
(since that implies a validate).
Fix drm_bo_wait_unfenced error messages and codes.
Fix some return codes from libdrm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6e4946c82ab6f63143df7f49f38fa56f7e8980a

Git commit cd5769c3b563048357535b24dc40783775adb227 by Jakob Bornecrantz on 16/04/2007 at 18:54..
Fix offset should from pci device address
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd5769c3b563048357535b24dc40783775adb227

Git commit e91ceff6c98661bfae5db008e024b71a8a0f5129 by Thomas Hellstrom on 17/04/2007 at 06:46..
Add a code comment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e91ceff6c98661bfae5db008e024b71a8a0f5129

Git commit e805ca959dbef85ac7b508639a64832a7995703a by Thomas Hellstrom on 17/04/2007 at 06:58..
via: Make sure we flush write-combining using a follow-up read.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e805ca959dbef85ac7b508639a64832a7995703a

Git commit 79aa1d54746f33c33ffbf98fb96ccbf88c3cb390 by Dave Airlie on 17/04/2007 at 08:16..
another large overhaul of interactions with userspace...

We need to keep a list of user created fbs to nuke on master exit.
We also need to use the bo properly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79aa1d54746f33c33ffbf98fb96ccbf88c3cb390

Git commit 56ef1ab8acc0c68b66c4f781107b605f9dd79657 by Dave Airlie on 17/04/2007 at 08:18..
add some missing export symbols
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56ef1ab8acc0c68b66c4f781107b605f9dd79657

Git commit 1a5e647f63f083788a7fe43c2367d2e022c48588 by Dave Airlie on 17/04/2007 at 08:18..
I don't think this dec is necessary and my stuff all works without ..
with it everything falls over
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a5e647f63f083788a7fe43c2367d2e022c48588

Git commit 5432cc4abf672ed3adb10fd5d61a6a5716089a98 by Thomas Hellstrom on 17/04/2007 at 08:53..
Fix buffer object reference problems.
(Reported by Dave Airlie).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5432cc4abf672ed3adb10fd5d61a6a5716089a98

Git commit 5a96d59ce9d9ad5816e2d0e195afa9902445f594 by Thomas Hellstrom on 17/04/2007 at 12:15..
Don't always free up memory space when we unpin buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a96d59ce9d9ad5816e2d0e195afa9902445f594

Git commit 32b5616cc681e404f671b4bc3b030ee24b753d4a by Alan Hourihane on 17/04/2007 at 15:08..
Correct PCI ID for i845
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32b5616cc681e404f671b4bc3b030ee24b753d4a

Git commit ecd9801c3cf08082b4aaa7e23f1f94a5e1d47a75 by Alan Hourihane on 17/04/2007 at 15:09..
Fix SDVO outputs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ecd9801c3cf08082b4aaa7e23f1f94a5e1d47a75

Git commit b729b919baed250313caf3f0bbd4044e084de8bf by Alan Hourihane on 17/04/2007 at 15:11..
Fix a register read that was swapped SDVOB/SDVOC

Check for the PENDING message when reading the attached
displays. Ensures the command has completed before continuing.

(probably need to check PENDING in other SDVO calls too)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b729b919baed250313caf3f0bbd4044e084de8bf

Git commit 5e6c34539694c58cd7e9dd60541fc6e2bde1a79d by Jesse Barnes on 17/04/2007 at 16:57..
Add prototypes for drm_bo_init_mm and drm_buffer_object_create for use by
in-kernel code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e6c34539694c58cd7e9dd60541fc6e2bde1a79d

Git commit eeb5de059401361871e34e29c456a1feebac0b1e by Jesse Barnes on 17/04/2007 at 16:59..
Cleanup whitespace, rename macro argument.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeb5de059401361871e34e29c456a1feebac0b1e

Git commit 4e4d9cbeb3f52b605e46aad8ae1a947ca236079f by Jesse Barnes on 17/04/2007 at 17:00..
Move initial framebuffer allocation and configuration to drm_initial_config,
remove i915_driver_load fb related stuff.  Add a small helper for setting up
outputs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e4d9cbeb3f52b605e46aad8ae1a947ca236079f

Git commit 1c7f895fa6531b16e7e9fd4568d4f6a50ca5711e by Jesse Barnes on 17/04/2007 at 17:14..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101

Conflicts:

	shared-core/i915_init.c - reconcile with airlied's new code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c7f895fa6531b16e7e9fd4568d4f6a50ca5711e

Git commit a45fa264f2b60185ae797f85d2084d57de49bbca by Jakob Bornecrantz on 17/04/2007 at 20:27..
Lvds now power up backlight on commit

Now saves previous power level in prepare and sets
that power level in commit, should power level
be 0 it will set maximum level.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a45fa264f2b60185ae797f85d2084d57de49bbca

Git commit 73b031df613b58c4462a65818b88200bed0a97de by Jesse Barnes on 18/04/2007 at 00:30..
Add framebuffer bo freeing to drm_mode_config_cleanup (seems like the best
place for now).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73b031df613b58c4462a65818b88200bed0a97de

Git commit 7c9e19ba55dcdf212845253648194115639fe7b6 by Dave Airlie (on behalf of David Airlie) on 18/04/2007 at 00:39..
clean up ring buffer and TTM in i915_driver_unload

I've commented out the framebuffer for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c9e19ba55dcdf212845253648194115639fe7b6

Git commit 2352ec9bfab20761cc898ea40db2a7c6d53e81f3 by Dave Airlie on 18/04/2007 at 00:39..
backout alanh's broken commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2352ec9bfab20761cc898ea40db2a7c6d53e81f3

Git commit d20aaf485893ed11dd0d68daf63ccadd77b02213 by Dave Airlie on 18/04/2007 at 00:41..
don't crash if no desired mode
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d20aaf485893ed11dd0d68daf63ccadd77b02213

Git commit 4f0841a31cbed315a3e891557eadc55cab0dfd23 by Jesse Barnes on 18/04/2007 at 01:03..
Just use drm_output_destroy to cleanup LVDS failures.  It'll call our cleanup
routine, which will take care of freeing our dev_priv and i2c ddc bus.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f0841a31cbed315a3e891557eadc55cab0dfd23

Git commit c71c44bb9288e0bf1b319ec19a2e25f4467d9583 by Jesse Barnes on 18/04/2007 at 01:20..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c71c44bb9288e0bf1b319ec19a2e25f4467d9583

Git commit e46e028bd21552331ca4db409c2b45e54491ced6 by Dave Airlie on 18/04/2007 at 04:11..
Merge branch 'origin' into modesetting-101

Conflicts:

	linux-core/drm_bo.c

Merge in changes from master from Thomas fixiing TTM problems
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e46e028bd21552331ca4db409c2b45e54491ced6

Git commit 20b2949e3738bc900407d6aeddc6338f05b0b169 by Dave Airlie on 18/04/2007 at 04:55..
make sure TMDS gets a crtc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20b2949e3738bc900407d6aeddc6338f05b0b169

Git commit dc03e07f236ea5716d271155dcbbc54a218732c6 by Alan Hourihane on 18/04/2007 at 10:46..
Move SDVO PENDING check to read_response so all SDVO commands
benefit from the spin loop.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc03e07f236ea5716d271155dcbbc54a218732c6

Git commit ea8bcb466bca82081816ca3d83a420f09a62870c by Alan Hourihane on 18/04/2007 at 10:47..
Check status after SDVO command for sdvo_set_control_bus_switch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea8bcb466bca82081816ca3d83a420f09a62870c

Git commit 51e867c57880c85c87e187af0a667e9b99413206 by Alan Hourihane on 18/04/2007 at 10:53..
Support the RGB outputs of SDVO cards, which are essentially
VGA outs.

The drm_initial_config path has specific handling code to name
match for VGA, TMDS or LVDS. This is pretty restrictive and should
probably be dealt with to be more generic.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51e867c57880c85c87e187af0a667e9b99413206

Git commit ef2bce3a16428feb89f447e528bdea00c1066b8b by Alan Hourihane on 18/04/2007 at 10:55..
Merge remote branch 'origin/modesetting-101' into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef2bce3a16428feb89f447e528bdea00c1066b8b

Git commit 191594ebd5fbe3ac3615247c4e2cd50e1b099635 by Alan Hourihane on 18/04/2007 at 11:07..
When no valid EDID modes are available, we bail.

This snippet adds a standard 640x480 @ 60Hz mode when
that occurs, so we can continue with a basic mode.

Should we do this here though ???
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/191594ebd5fbe3ac3615247c4e2cd50e1b099635

Git commit 87b46bd436074572b3a62e2fb7ec85a1db8df892 by Alan Hourihane on 18/04/2007 at 11:10..
free the duplicated mode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87b46bd436074572b3a62e2fb7ec85a1db8df892

Git commit 0207b51acce0382b2e3cf55ed7dbbe02e48c73b2 by Alan Hourihane on 18/04/2007 at 11:19..
Fix build problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0207b51acce0382b2e3cf55ed7dbbe02e48c73b2

Git commit b642ced0830d4e91785ba94677abe637c7cb3791 by Alan Hourihane on 18/04/2007 at 12:52..
Fix return status
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b642ced0830d4e91785ba94677abe637c7cb3791

Git commit dfc02547ff5f35bfa5cffd6a0dcb56402db59f33 by Alan Hourihane on 18/04/2007 at 13:18..
Shouldn't free the mode here. It's done later on.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfc02547ff5f35bfa5cffd6a0dcb56402db59f33

Git commit 2df2c70e20caa3d6d1a1ac12da6fe3cc0689d51f by Thomas Hellstrom on 18/04/2007 at 14:33..
Simplify the ttm backend interface and the agp ttm backend.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2df2c70e20caa3d6d1a1ac12da6fe3cc0689d51f

Git commit 5587961cfeff86d8368ff03867a1f0667e4a64d4 by Jesse Barnes on 18/04/2007 at 18:49..
Document main drm_crtc.c functions, and rename drm_crtc_mode_create to
drm_mode_create to be consistent with the other functions.  Also document
where we need locking fixes and what the locks are for.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5587961cfeff86d8368ff03867a1f0667e4a64d4

Git commit 8d893e49ec35905a3718c565ec56c21d76dc745c by Dave Airlie on 18/04/2007 at 23:43..
backout SDVO control bus check and comment why this is a bad idea
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d893e49ec35905a3718c565ec56c21d76dc745c

Git commit 851a9fd0e56d4bba68aba0073ef7017f79156e76 by David Nusinow on 19/04/2007 at 02:50..
* Add NEWS.Debian explaining the change in the last upload to interested
  administrators.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/851a9fd0e56d4bba68aba0073ef7017f79156e76

Git commit 36b03f05e1b7e6ecf687208afafab7d68f6ce076 by Julien Cristau on 20/04/2007 at 03:07..
Prepare changelog for upload.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36b03f05e1b7e6ecf687208afafab7d68f6ce076

Git commit 1ce9c092314ddf005cdadc6937e36d4dc59788ce by Thomas Hellstrom on 20/04/2007 at 13:49..
Fix via compile error
(Reported by Benno Schulenberg.)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ce9c092314ddf005cdadc6937e36d4dc59788ce

Git commit a8a8108e459977ec8b334e517abd67e1b264337e by Thomas Hellstrom on 20/04/2007 at 13:57..
Avoid a fence timeout problem when a signal is pending.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8a8108e459977ec8b334e517abd67e1b264337e

Git commit 6238ebee21f800cec6c77b6bf90d7916ca945931 by Kristian Høgsberg on 20/04/2007 at 20:52..
Clean up and return if no outputs are found.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6238ebee21f800cec6c77b6bf90d7916ca945931

Git commit af3ffcd822e562b02fe0671e7e88d9c5a6225658 by Kristian Høgsberg on 20/04/2007 at 22:06..
Initialize rwlock using rwlock_init to appease lockdep validator.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af3ffcd822e562b02fe0671e7e88d9c5a6225658

Git commit 2d1de1fc6b9ab3524a1247f56ddeea7238c04ea3 by Kristian Høgsberg on 20/04/2007 at 22:12..
Initialize rwlock using rwlock_init to appease lockdep validator.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d1de1fc6b9ab3524a1247f56ddeea7238c04ea3

Git commit 9ca4932054a5bde5dda500ea346ad101bb5c80a0 by Jesse Barnes on 20/04/2007 at 23:32..
Add a mode name generation wrapper to make name format changes easier.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ca4932054a5bde5dda500ea346ad101bb5c80a0

Git commit a21ff375c697fc7560c16d0f88335a6db2c9c37a by Jesse Barnes on 21/04/2007 at 00:03..
Document drm_modes.c functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a21ff375c697fc7560c16d0f88335a6db2c9c37a

Git commit eb892fb09dc2e5206f2461e8b258495c7cef904a by Jesse Barnes on 21/04/2007 at 00:59..
Add a monitor information structure separate from the EDID data for tracking
monitor limits, etc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb892fb09dc2e5206f2461e8b258495c7cef904a

Git commit 97b5599982c76915b0750c6ef0a270639b02a6f2 by Jesse Barnes on 21/04/2007 at 01:00..
Oops, edid data should just be a char *, as edid.h is private to edid.c
(we can just recombine them now).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97b5599982c76915b0750c6ef0a270639b02a6f2

Git commit 0f3c5148f02bd98411095fdc8059207fa17b4a7d by Dave Airlie on 22/04/2007 at 23:10..
fixup vrefresh reporting, it should now be *1000 in userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f3c5148f02bd98411095fdc8059207fa17b4a7d

Git commit ceb44021ad7755721acc3c0307c54009b666442e by Dave Airlie on 23/04/2007 at 01:42..
drm: make mode numbers no change by comparing probed modes

The mode list sets all the output modes to UNVERIFIED, then probes a new list,
If a mode is on the new list and not on the old, it adds it to the old,
if a mode is on the new list and old, it just updates the status to the new
mode status.
If a mode is on the old list and not on the new, prune invalid modes should
remove all UNVERIFIED modes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ceb44021ad7755721acc3c0307c54009b666442e

Git commit 61477d60c466b4aac395057a285c1d238a83ce1c by Stephane Marchesin on 23/04/2007 at 20:37..
nouveau: fix wacky pci id
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61477d60c466b4aac395057a285c1d238a83ce1c

Git commit 5c8561aae22138880673503d930af7f1b361d071 by Brian on 25/04/2007 at 20:52..
More detailed instructions, tips.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c8561aae22138880673503d930af7f1b361d071

Git commit 34be91fe4e9f0ad73b7c4354aea0c8ce10f45f68 by Dave Airlie on 26/04/2007 at 04:50..
i915: fix vblank pipe setup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34be91fe4e9f0ad73b7c4354aea0c8ce10f45f68

Git commit b589b846e73bfe6235cd702bb8ae89701c85eaab by Dave Airlie on 26/04/2007 at 05:56..
Merge branch 'origin' into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b589b846e73bfe6235cd702bb8ae89701c85eaab

Git commit 3c384a9ad5f964709a237cfe035ea5d6df2da5fa by Dave Airlie (on behalf of Jesse Barnes) on 26/04/2007 at 06:04..
Add new buffer object type for kernel allocations that don't initially have a user mapping.
(cherry picked from commit 2e21779992bd5026d8ec4dea52466377dbe5a0ed)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c384a9ad5f964709a237cfe035ea5d6df2da5fa

Git commit 71d44cda52f239b543cb1fad93ef35adc3093d38 by Dave Airlie (on behalf of Jesse Barnes) on 26/04/2007 at 06:09..
drm/ttm: allow drm_buffer_object_create to be used in-kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71d44cda52f239b543cb1fad93ef35adc3093d38

Git commit 4b72759b307f046d71c08d9008b7467e0b3bb0ba by Dave Airlie on 26/04/2007 at 06:22..
drm: nopfn warning on 64-bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b72759b307f046d71c08d9008b7467e0b3bb0ba

Git commit e5c1f1caa2a6b8c63aa6d0f8a70372eaf72f1840 by Dave Airlie on 26/04/2007 at 06:22..
remove some whitespace violation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5c1f1caa2a6b8c63aa6d0f8a70372eaf72f1840

Git commit afc029e935a8f4667aff786c51818712487d185d by Dave Airlie on 26/04/2007 at 06:25..
whitespace cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afc029e935a8f4667aff786c51818712487d185d

Git commit 2a6f555053bd404e7e5721c40990da2d9db53d19 by Dave Airlie on 26/04/2007 at 07:54..
update create_lk_drm.sh script
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a6f555053bd404e7e5721c40990da2d9db53d19

Git commit b69b42634619076d4163ae144f0154880d1928cd by George Sapountzis on 26/04/2007 at 11:15..
libdrm: remove HAVE_XORG_CONFIG_H and XFree86LOADER ifdef's.

We no longer import libdrm in the xserver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b69b42634619076d4163ae144f0154880d1928cd

Git commit 942d9be296df38aa69987845a08d3d607b85f83e by George Sapountzis on 26/04/2007 at 11:16..
freebsd: remove stray apperance of IN_MODULE.

The xserver no longer uses the libc-wrapper.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/942d9be296df38aa69987845a08d3d607b85f83e

Git commit 3a2c9f46212328a44533a45523d2a9f9b72a15da by George Sapountzis on 26/04/2007 at 11:16..
linux: minor indent.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a2c9f46212328a44533a45523d2a9f9b72a15da

Git commit e88934274ab80119d6dd139e3d780c3cdea7e9e5 by George Sapountzis on 26/04/2007 at 11:16..
Revert "bug 7092 : add pci ids for mach64 in Dell poweredge 4200"

This reverts commit 255f3e6f76dfd267a14765dd1293229184298d89.

Rage IIc does not have a vertex setup engine.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e88934274ab80119d6dd139e3d780c3cdea7e9e5

Git commit 9f9c19065cecde16aa2994b6f777336a6e5f3409 by Dave Airlie on 28/04/2007 at 05:07..
remove DRM_GETSAREA and replace with drm_getsarea function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f9c19065cecde16aa2994b6f777336a6e5f3409

Git commit e9b3acd25733517420f7b9fea01cfd529d909348 by Dave Airlie on 28/04/2007 at 05:07..
remove register usage
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9b3acd25733517420f7b9fea01cfd529d909348

Git commit 6e860d08d0f5b1e9a2d711aaf9fd6b982aa8039e by Dave Airlie on 28/04/2007 at 05:07..
drm: add new drm_wait_on function to replace macro
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e860d08d0f5b1e9a2d711aaf9fd6b982aa8039e

Git commit feb68037784ac09e333a321d294fdb2d8c57a4c8 by Dave Airlie on 28/04/2007 at 05:07..
move i915 to new drm_wait_on function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/feb68037784ac09e333a321d294fdb2d8c57a4c8

Git commit ca1cd3257c7c41821788ca45d45e51065f436803 by Michel Dänzer on 29/04/2007 at 10:37..
radeon: Don't mess up page flipping when a file descriptor is closed.

There can still be other contexts that may use page flipping later on, so don't
just unilaterally 'clean it up', which could lead to the wrong page being
displayed, e.g. when running 3D apps with a GLX compositing manager such as
compiz using page flipping.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca1cd3257c7c41821788ca45d45e51065f436803

Git commit 8e8e37515eafbd75b971f57f767ef01344361256 by Dave Airlie on 01/05/2007 at 03:15..
fix unusued variable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e8e37515eafbd75b971f57f767ef01344361256

Git commit 89231953d108e74ee7b0eb99494ead1dd795d640 by Dave Airlie on 01/05/2007 at 03:16..
Add support for user defined modes

This allows userspace to specify modes and add them to the modesetting
system and attach modes to outputs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89231953d108e74ee7b0eb99494ead1dd795d640

Git commit 3a69e2484a4a392c8fc8542fc44f9c6552589c46 by Dave Airlie on 01/05/2007 at 04:20..
cleanup usermodes on drm mode setting shutdown
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a69e2484a4a392c8fc8542fc44f9c6552589c46

Git commit f06ad82ecdc2c84f913bb4d6d48132f27f02c3a9 by Michel Dänzer on 01/05/2007 at 15:03..
Fix userspace ABI breakage from 3c384a9ad5f964709a237cfe035ea5d6df2da5fa.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f06ad82ecdc2c84f913bb4d6d48132f27f02c3a9

Git commit cf7c90f7b4087764cdd5f6c73328b0cf9dcb0b78 by Thomas Hellstrom on 02/05/2007 at 15:14..
Fix buffer object list freeing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf7c90f7b4087764cdd5f6c73328b0cf9dcb0b78

Git commit 45e09ea3cf85b76c18fb92a593ca7c40681052a7 by Jakob Bornecrantz on 05/05/2007 at 14:08..
Cleaned up userspace interface for modesetting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45e09ea3cf85b76c18fb92a593ca7c40681052a7

Git commit c9cd2c768bd37adadb87476f55f95e7b2336bc6b by Dave Airlie on 06/05/2007 at 00:50..
drm: remove unused define DRM_HAS_TTM
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9cd2c768bd37adadb87476f55f95e7b2336bc6b

Git commit ee8954cb53e4964a5565833b5a937f1cbcb60d44 by Dave Airlie on 06/05/2007 at 01:17..
drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls.

This is the first bunch of ioctls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee8954cb53e4964a5565833b5a937f1cbcb60d44

Git commit 6a62941ecaa7d2b8f14b30920856bfa52aee4775 by Dave Airlie on 06/05/2007 at 01:35..
drm/ttm: cleanup most of fence ioctl split out
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a62941ecaa7d2b8f14b30920856bfa52aee4775

Git commit 87ec1fea6c1ac93b4ff02f8c06ed476c0081e2e5 by Oliver McFadden on 06/05/2007 at 12:35..
r300: Use the defined names for known registers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87ec1fea6c1ac93b4ff02f8c06ed476c0081e2e5

Git commit 4e858f8811d057a86740b27e0c9af933d382ed0d by Oliver McFadden on 06/05/2007 at 12:47..
r300: Synchronize the register file from Mesa.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e858f8811d057a86740b27e0c9af933d382ed0d

Git commit c4e2caec44c5c1837d676ff0f5ad0747b2e570a7 by Brian on 06/05/2007 at 16:09..
s/OJBECTS/OBJECTS/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4e2caec44c5c1837d676ff0f5ad0747b2e570a7

Git commit 963ed9910ab59af23c66f4a8fafb7879f5140d97 by Dave Airlie on 08/05/2007 at 07:51..
libdrm: fix typo on ttm fence interface
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/963ed9910ab59af23c66f4a8fafb7879f5140d97

Git commit 25c51f539f254937d116699e66f8c382d78e71d4 by Dave Airlie on 08/05/2007 at 07:53..
drm/ttm: ioctl cleanup for buffer object - user side only

This just cleans up the xf86drm.c to what I want and drm.h,
I need to fix up the kernel internals to suit these changes now.

I've moved to using struct instead of typedefs for the bo and it doesn't look
that bad so I'll do the same thing for mm and fence..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25c51f539f254937d116699e66f8c382d78e71d4

Git commit ae677472af25786fe935309ff1ac287e1610c819 by Dave Airlie on 08/05/2007 at 07:55..
drm/ttm: remove old fence ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae677472af25786fe935309ff1ac287e1610c819

Git commit b2a875ba8955cfbf3df2dc1ecb25915a252eef9f by Dave Airlie on 08/05/2007 at 08:25..
ttm: complete drm buffer object ioctl split

retain the op operation for validate/fence operations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2a875ba8955cfbf3df2dc1ecb25915a252eef9f

Git commit 59784116bf7d18cfbbb7236fbdd601476207b9dc by Matthieu Castet on 08/05/2007 at 19:20..
nouveau : fix fifo context size for nv10
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59784116bf7d18cfbbb7236fbdd601476207b9dc

Git commit a02b04514250bff19aaf90d1f9699b4ec4749343 by Oliver McFadden on 09/05/2007 at 15:22..
r300: Synchronized R300 register defines file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a02b04514250bff19aaf90d1f9699b4ec4749343

Git commit e0056c7eb4640fc4863a352997ba00e3142b3355 by Oliver McFadden on 09/05/2007 at 18:31..
r300: Synchronized R300 register defines file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0056c7eb4640fc4863a352997ba00e3142b3355

Git commit eba00df1203040905d38bf0ef449d25d6dbdb72c by Alan Hourihane on 10/05/2007 at 12:16..
Just some minor cleanups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eba00df1203040905d38bf0ef449d25d6dbdb72c

Git commit e4d163d81ad7ce46af43cf84485dc96c4cb22b1f by Keith Packard on 10/05/2007 at 20:15..
Allow vblank interrupts to remain disabled across VT switch.

i915_driver_irq_postinstall was forcing vblank interrupts to pipe A when
called with vblank interrupts disabled. This caused vblank interrupts to be
accidentally re-enabled when VT switching the X server. Instead, start the
driver with vblank interrupts enabled on pipe A to support older X servers,
but then leave control over the state to the X server if it is able to do so.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4d163d81ad7ce46af43cf84485dc96c4cb22b1f

Git commit 5d623935c0e4f5f283c961de186b78b30db12463 by Matthieu Castet on 12/05/2007 at 13:36..
nouveau : nv10 graph clipping values were forgoten in ddx to drm commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d623935c0e4f5f283c961de186b78b30db12463

Git commit e9b604ed3fd6b4e056920bd327646b3e0e9b3be8 by Matthieu Castet on 12/05/2007 at 13:36..
nouveau : nv10 graph move clipping value to per channel init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9b604ed3fd6b4e056920bd327646b3e0e9b3be8

Git commit c6ff0caaa3e8f61f7c19950913b1ce731f979ce3 by Oliver McFadden on 13/05/2007 at 07:53..
r300: Synchronized R300 register defines file.

Just moved the indent control comments so that indent doesn't try to change
anything.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6ff0caaa3e8f61f7c19950913b1ce731f979ce3

Git commit ca725bba8472d5d94bcb7414b510d7d3027cbb1c by Oliver McFadden on 13/05/2007 at 16:18..
r300: Added my comments into r300_reg.h.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca725bba8472d5d94bcb7414b510d7d3027cbb1c

Git commit 5ce8aaae7251e60c078eda0a21894aae0e1d7a45 by root on 17/05/2007 at 11:46..
Large changes for fbdev support.

Change from DIRECTCOLOR to TRUECOLOR, and enable
support for PSEUDOCOLOR. DIRECTCOLOR support needs more work.

Add the ability to change the mode on the fbdev device.

Support depth 8, 15, 16 and 24 (and 32).

Add a /dev/fbX device per CRTC, but there's some code which
doesn't allocate the fbX device unless the output is actually
enabled. Read the code on this as it impacts the fbcon map flags.

Pick CRTC's based on the available outputs. More work could
be done here to match modes, so cloning could be achieved on
outputs. This fits more inline with what the X code does.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ce8aaae7251e60c078eda0a21894aae0e1d7a45

Git commit 2222bd767f9fc02d05ebd0f35a8ceeff2f032c94 by Alan Hourihane on 17/05/2007 at 12:19..
Fix build problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2222bd767f9fc02d05ebd0f35a8ceeff2f032c94

Git commit ea98d7e79657469545b865a353784d79fc8cff9d by Stephane Marchesin on 17/05/2007 at 15:35..
nouveau: don't build the module by default
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea98d7e79657469545b865a353784d79fc8cff9d

Git commit a18b4befb9b76c4b2662ff6caa0e4f0975eb8e9c by Jesse Barnes on 17/05/2007 at 16:00..
Fix FB pitch value (we had it wrong and were working around it in a few
places).
Add new FB hooks to the drm driver structure and make i915 use them for an
Intel specific FB driver.  This will allow acceleration and better handling
of the command stream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a18b4befb9b76c4b2662ff6caa0e4f0975eb8e9c

Git commit fd63ea971322246734fca5977a800c3ef51cc3fe by Alan Hourihane on 17/05/2007 at 16:00..
Grab the default mode if the preferred mode isn't available.

Fix an overflow problem.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd63ea971322246734fca5977a800c3ef51cc3fe

Git commit b7bf317f42915dc4f5fde4a696e37985cea45104 by Jesse Barnes on 17/05/2007 at 17:35..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101

Conflicts:

	linux-core/drm_crtc.c
	linux-core/drm_fb.c

Lots of changes to merge with alanh's latest stuff:
  o fix use of fb->pitch now that it has the right value
  o add new helper for finding the CRTC given an FB
  o fix new fb_probe/fb_remove functions to take a CRTC
  o fixup callers of new FB routines
  o port drm_fb changes to intel_fb
  o check for errors after creating fb buffer object
  o go back to using cfb_imageblit since the accel stubs aren't ready
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7bf317f42915dc4f5fde4a696e37985cea45104

Git commit 07a5fbaa612a777de37b5dc0112f6f3f3f84c486 by Alan Hourihane on 17/05/2007 at 18:28..
Move destruction of crtc as intelfb_remove uses the crtc to locate the fb.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07a5fbaa612a777de37b5dc0112f6f3f3f84c486

Git commit c0479dad8e34a51efebfaa05b0d329aa7d2b95d1 by Alan Hourihane on 17/05/2007 at 18:32..
bring in change from drm_fb.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0479dad8e34a51efebfaa05b0d329aa7d2b95d1

Git commit f3beabedc36b7bc2d45ca9c7f64d2c54e291e32b by Jesse Barnes on 17/05/2007 at 20:48..
Remove unused edid.h header from X.Org.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3beabedc36b7bc2d45ca9c7f64d2c54e291e32b

Git commit 95945bbf226610ba4f41381fd0436722082397ec by Alan Hourihane on 17/05/2007 at 22:33..
Set crtcinfo on temporary mode
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95945bbf226610ba4f41381fd0436722082397ec

Git commit 315cf14af814da60285adb95238181de430c6f68 by Alan Hourihane on 18/05/2007 at 12:48..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	shared-core/i915_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/315cf14af814da60285adb95238181de430c6f68

Git commit 3851600b3450697e20286b1937f3e51397f1965a by Alan Hourihane on 18/05/2007 at 12:59..
Fix merge problem.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3851600b3450697e20286b1937f3e51397f1965a

Git commit 0c33a2cd2ec81478403d39b1b92aaa4431e7cf0a by Alan Hourihane on 18/05/2007 at 13:16..
Move fbo creation to the specified fb driver which gives
it a chance to allocate the memory from whichever buffer it wants to.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c33a2cd2ec81478403d39b1b92aaa4431e7cf0a

Git commit d42c1de3fb05405820b03ec9bb12f0b9a7eb0a7b by Alan Hourihane on 18/05/2007 at 13:16..
Change some printk's to DRM_DEBUG's
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d42c1de3fb05405820b03ec9bb12f0b9a7eb0a7b

Git commit f89458722173b364b8c3c27788b6c61889da554c by Jesse Barnes on 18/05/2007 at 16:40..
Add locking.  The main lock is dev->mode_config.config_lock.  It should be
held across any operations that modify mode lists, crtc config, output
config, etc.  It should be taken at high level entry points (currently just
initial config and user IOCTL).

Seems to work ok on my system, but needs more testing (with lockdep) and
review from some fresh eyes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f89458722173b364b8c3c27788b6c61889da554c

Git commit a4929b921e44dcd3cae8e384b9b7eabc51db28ff by Jesse Barnes on 18/05/2007 at 16:42..
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101

Conflicts:

	linux-core/drm_crtc.c - reconcile with locking changes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4929b921e44dcd3cae8e384b9b7eabc51db28ff

Git commit e918d2b7814e2cf5345dba63031c402010b1d3e4 by Jesse Barnes on 22/05/2007 at 20:38..
Call preallocated space VRAM instead of PRIV0 to be more consistent with
other drivers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e918d2b7814e2cf5345dba63031c402010b1d3e4

Git commit 462d5a0dfc80dfa02da3d24d30ad90ad0387f0a2 by Jesse Barnes on 23/05/2007 at 00:49..
Suspend/resume support (incomplete).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/462d5a0dfc80dfa02da3d24d30ad90ad0387f0a2

Git commit fa92e1f2ec396d2e772734f726a0958801b9fc99 by Jesse Barnes on 25/05/2007 at 01:41..
Suspend/resume shouldn't call drm_initial_config (seems to work ok for me now),
also we should fail if we can't enable the device at resume time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa92e1f2ec396d2e772734f726a0958801b9fc99

Git commit 7b48f0022a24bc5f565ae64b450dda77dee616c1 by Dave Airlie on 25/05/2007 at 18:26..
drm: cleanup use of Linux list handling macros

This makes the drms use of the list handling macros a lot cleaner
and more along the lines of how they should be used.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b48f0022a24bc5f565ae64b450dda77dee616c1

Git commit 3fdef0dc2000308b16907b95f637c60acde80a74 by Dave Airlie on 25/05/2007 at 17:32..
drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls.

This is the first bunch of ioctls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fdef0dc2000308b16907b95f637c60acde80a74

Git commit 3dfc1400e9fc58c69292d7cf7c2e1653fa5e6991 by Dave Airlie on 25/05/2007 at 17:32..
drm/ttm: cleanup most of fence ioctl split out
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dfc1400e9fc58c69292d7cf7c2e1653fa5e6991

Git commit adee6f52e65ca67a9773fa23537c424fac9f0da8 by Dave Airlie on 25/05/2007 at 17:32..
ati_pcigart: cut to 80 chars
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/adee6f52e65ca67a9773fa23537c424fac9f0da8

Git commit ce58e53a01e61818210ebf65623e35a3af20167b by Dave Airlie on 25/05/2007 at 17:32..
whitespace fixups from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce58e53a01e61818210ebf65623e35a3af20167b

Git commit 375f3f2884cd1437e9ec2608647face0c3cbef3a by Dave Airlie on 25/05/2007 at 17:47..
Revert "drm/ttm: cleanup most of fence ioctl split out"

This reverts commit 3dfc1400e9fc58c69292d7cf7c2e1653fa5e6991.

this shouldn't have gone on master yet
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/375f3f2884cd1437e9ec2608647face0c3cbef3a

Git commit 58b2ed78329305d5760c6df55175f958477f89ae by Dave Airlie on 25/05/2007 at 17:48..
Revert "drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls."

This reverts commit 3fdef0dc2000308b16907b95f637c60acde80a74.

ditto not on master yet
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58b2ed78329305d5760c6df55175f958477f89ae

Git commit ad02c536dfaeaeb7ad025dfcfcb1a2a99aa5ad7e by Dave Airlie on 25/05/2007 at 18:02..
radeon: add other IGP chipsets
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad02c536dfaeaeb7ad025dfcfcb1a2a99aa5ad7e

Git commit 8e083c522e73f27af7e97e0d202f56f0323abe81 by Dave Airlie (on behalf of Michel Dänzer) on 25/05/2007 at 18:35..
drm: make sure the drawable code doesn't call malloc(0).

Signed-off-by: Michel Dänzer <michel at tungstengraphics.com>
Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e083c522e73f27af7e97e0d202f56f0323abe81

Git commit 2bb7703698bef1f599295126ca3834d37a8596c0 by Dave Airlie (on behalf of Thomas Gleixner) on 25/05/2007 at 19:20..
drm: spinlock initializer cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bb7703698bef1f599295126ca3834d37a8596c0

Git commit f64674743a49c242e4f24cbb7599c1c21c035a4f by Dave Airlie on 26/05/2007 at 21:26..
drm: convert drawable handling to use Linux idr

This cleans this code up a lot and uses the generic Linux idr which is
designed for this.

Signed-off-by: Dave Airlie <airlied at linux.ie>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f64674743a49c242e4f24cbb7599c1c21c035a4f

Git commit 056c2f249a61ba7078bae3d767a59f2be4c6556e by Dave Airlie on 26/05/2007 at 22:44..
drm: move context handling code to use linux idr
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/056c2f249a61ba7078bae3d767a59f2be4c6556e

Git commit ccd7b6e8ddeac936518f626d2326ae439931b2bf by Brian on 29/05/2007 at 20:54..
Clean-ups and reformatting.

Use 4-space indentation consistently.
Replace occurances of:
	if (cond) code;
with:
	if (cond)
		code;
to facilitate putting breakpoints on code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccd7b6e8ddeac936518f626d2326ae439931b2bf

Git commit fdc293d40c2fdd184d89bd38257ade2437c4cbc1 by Brian on 29/05/2007 at 20:56..
reformatting, clean-ups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdc293d40c2fdd184d89bd38257ade2437c4cbc1

Git commit b0c8d885ce645aee5027a75e4149ba4be265b55d by Eric Anholt (on behalf of Jung-uk Kim) on 29/05/2007 at 22:02..
Update a bunch of FreeBSD port code.

Tested on r200/r300.  i915 updates still remain to be done.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0c8d885ce645aee5027a75e4149ba4be265b55d

Git commit 3917f85c73c32105b59f5185a89fe136ed6962a1 by Keith Whitwell (on behalf of Wang Zhenyu) on 31/05/2007 at 10:09..
i915: Add support for 965GME/GLE chip.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3917f85c73c32105b59f5185a89fe136ed6962a1

Git commit 5c394b309de4325daae67fc766a0640b39658a64 by Keith Whitwell (on behalf of Wang Zhenyu) on 31/05/2007 at 10:09..
i915: Add support for 945GME chip
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c394b309de4325daae67fc766a0640b39658a64

Git commit 704ca0638977f58742a8bff6aba9905fe862cfb3 by David Airlie on 01/06/2007 at 08:12..
WIP more code for radeon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/704ca0638977f58742a8bff6aba9905fe862cfb3

Git commit 638c8087deecdf489eb4f70e82590d1be0c8c942 by Dave Airlie on 01/06/2007 at 09:00..
drm: fixup initialisation of list heads and idr
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/638c8087deecdf489eb4f70e82590d1be0c8c942

Git commit 4e9d215bdfe72588cbacdb17ab9b60a42a43aefb by Dave Airlie on 03/06/2007 at 06:28..
radeon: add support for vblank on crtc2

This add support for CRTC2 vblank on radeon similiar to the i915 support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e9d215bdfe72588cbacdb17ab9b60a42a43aefb

Git commit 8d95f4bd91fcc46b3e59767cb86b6c99bc8679c3 by root on 03/06/2007 at 08:11..
Revert "move i915 to new drm_wait_on function"

This reverts commit feb68037784ac09e333a321d294fdb2d8c57a4c8.

This was a bad idea, the macro is actually a bit harder to convert
to a static for the other use cases
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d95f4bd91fcc46b3e59767cb86b6c99bc8679c3

Git commit a4cddc6596b30dfa781eb7803de5b60aca50f112 by root on 03/06/2007 at 08:12..
Revert "drm: add new drm_wait_on function to replace macro"

This reverts commit 6e860d08d0f5b1e9a2d711aaf9fd6b982aa8039e.

As I said not a good plan - this macro will have to stay for now,
trying to do the vbl code with the inline was a bit messy - may need specialised
drm wait on functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4cddc6596b30dfa781eb7803de5b60aca50f112

Git commit a05d4fecd3307aa2f2f27531e7ff0b1985ef5c56 by Dave Airlie on 03/06/2007 at 08:30..
radeon: refine irq acking for vbl on crtc 2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a05d4fecd3307aa2f2f27531e7ff0b1985ef5c56

Git commit 4327d7f3142cdbf3f3f94426ae33e2d30b5a40c8 by Ben Skeggs (on behalf of Maurice van der Pot) on 04/06/2007 at 00:49..
nouveau: fix RAMHT wrapping
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4327d7f3142cdbf3f3f94426ae33e2d30b5a40c8

Git commit 07345af838a7443d29d12cb3fe91614e43c4fa81 by Dave Airlie on 05/06/2007 at 00:09..
Merge branch 'origin' into radeon-ttm

Conflicts:

	shared-core/radeon_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07345af838a7443d29d12cb3fe91614e43c4fa81

Git commit 77b9d9d16b1d1f1715722182d5893aa202f73074 by Dave Airlie on 05/06/2007 at 00:35..
cleanup pcigart ttm for new backend layout
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77b9d9d16b1d1f1715722182d5893aa202f73074

Git commit 234a9062009e48bf7b6c7239564ab95b3bcb06aa by Dave Airlie on 05/06/2007 at 00:47..
WIP cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/234a9062009e48bf7b6c7239564ab95b3bcb06aa

Git commit 4294dcc050c5d2685f633e8a52deb925d806be85 by Dave Airlie on 05/06/2007 at 02:26..
complete PCIE backend for ttm

ttm test runs with it at least, needs to do more testing on it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4294dcc050c5d2685f633e8a52deb925d806be85

Git commit f6e8023e03278731db38dcc0c429025f36817c65 by Dave Airlie on 05/06/2007 at 02:26..
take the lock earlier in ttmtest
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6e8023e03278731db38dcc0c429025f36817c65

Git commit c9dbe0f2c2248ef8c3ba5718f77922d1c7429e6f by Dave Airlie on 05/06/2007 at 02:38..
invalidate gart tlb on PCIE after table change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9dbe0f2c2248ef8c3ba5718f77922d1c7429e6f

Git commit 5bd0ca125ed687b2dc6896197c0c8ab2673897f8 by Dave Airlie on 05/06/2007 at 08:16..
remove include of linux ioctl32.h from drm drivers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bd0ca125ed687b2dc6896197c0c8ab2673897f8

Git commit 96705ce6644389722f1605571e0a0dfde5568b8f by Dave Airlie on 05/06/2007 at 08:23..
add wbinvd calls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96705ce6644389722f1605571e0a0dfde5568b8f

Git commit 03ce98aa2814dfd473c70487861aece79007a571 by Dave Airlie on 05/06/2007 at 08:23..
set start to gart_vm_start at least
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03ce98aa2814dfd473c70487861aece79007a571

Git commit 109e2a10f260f3a5f78762bbedcaeb9b2ebde1c0 by Eric Anholt (on behalf of Wang Zhenyu) on 05/06/2007 at 18:15..
Add support for the G33, Q33, and Q35 chipsets.

These require that the status page be referenced by a pointer in GTT, rather
than phsyical memory.  So, we have the X Server allocate that memory and tell
us the address, instead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/109e2a10f260f3a5f78762bbedcaeb9b2ebde1c0

Git commit 9e0bd88c61bda7979cdc0543deb0cb9de30587f7 by Oliver McFadden (on behalf of Alex Deucher) on 05/06/2007 at 19:05..
r300: Document more of the RADEON_RBBM_STATUS register.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e0bd88c61bda7979cdc0543deb0cb9de30587f7

Git commit 39625f9621a56b4dde5d400615bba5217a75a24c by Oliver McFadden on 05/06/2007 at 19:19..
r300: Small correction to the previous commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39625f9621a56b4dde5d400615bba5217a75a24c

Git commit abf35cbdcf5743c73929ddbe67ed4cae69b32aeb by Dave Airlie on 07/06/2007 at 05:37..
radeon: PCIGART memory is Can't map aperture as well there is one

on the CPU.... with this my indirect buffers at least start to live..
(cherry picked from commit 699cd9fc6c3794856f7e602088c77d0dfc11a122)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abf35cbdcf5743c73929ddbe67ed4cae69b32aeb

Git commit e22f428f5fa55400850951b32c6ed0e856bf836b by Dave Airlie on 07/06/2007 at 08:41..
drm: fix radeon setparam alignment issues on 32/64-bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e22f428f5fa55400850951b32c6ed0e856bf836b

Git commit 7426da75382cce157b873c228c783115fd66589f by Dave Airlie on 07/06/2007 at 08:45..
oops must fix this properly at some point
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7426da75382cce157b873c228c783115fd66589f

Git commit 31815730732a5d2a446aa316a5b4d837766762e6 by Oliver McFadden on 08/06/2007 at 19:40..
r300: Added the CP maximum fetch size and ring rptr update variables.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31815730732a5d2a446aa316a5b4d837766762e6

Git commit 280083d4a2a12a1ff6dc1b068553a4ae8960200c by Dave Airlie on 10/06/2007 at 05:40..
use krh's idr mods to remove lists from idr code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/280083d4a2a12a1ff6dc1b068553a4ae8960200c

Git commit b6b5df24b962c94433afe4d8665b5f145bfa1ad3 by Thomas Hellstrom on 12/06/2007 at 10:21..
Try to make buffer object / fence object ioctl args 64-bit safe.
Introduce tile members for future tiled buffer support.
Allow user-space to explicitly define a fence-class.
Remove the implicit fence-class mechanism.
64-bit wide buffer object flag member.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6b5df24b962c94433afe4d8665b5f145bfa1ad3

Git commit f984b1b8d17f285dfacb593702178f1eb2fdb4ac by Thomas Hellstrom on 12/06/2007 at 10:30..
Fix some obvious bugs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f984b1b8d17f285dfacb593702178f1eb2fdb4ac

Git commit db689c7b95613237cec904c3f6ee27e8c2bf7ce0 by Jesse Barnes on 12/06/2007 at 17:44..
Initial checkin of vblank rework.  Code attempts to reduce the number
of vblank interrupt in order to save power.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db689c7b95613237cec904c3f6ee27e8c2bf7ce0

Git commit ca47fa90b73d0eac73fb7d1ba712d81e180eae7d by Jesse Barnes on 12/06/2007 at 20:35..
Update vblank code:
  - move pre/post modeset ioctl to core
  - fixup i915 buffer swap
  - fix outstanding signal count code
  - create new core vblank init routine
  - test (works with glxgears)
  - simplify i915 interrupt handler
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca47fa90b73d0eac73fb7d1ba712d81e180eae7d

Git commit 1a4b9294a29379ea6e9fd6fb315317f391232d4b by Jesse Barnes on 12/06/2007 at 23:29..
Remove unnecessary (and uncommented!) read barrier from the interrupt
path.  It doesn't appear to serve any useful purpose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a4b9294a29379ea6e9fd6fb315317f391232d4b

Git commit 5156f1c897142171e78d0ea2c45a3aecb581fffa by Thomas Hellstrom on 13/06/2007 at 13:19..
Fix fence object deref race.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5156f1c897142171e78d0ea2c45a3aecb581fffa

Git commit 62082ab3e63f6f474655da98b710e453b4124ed1 by Thomas Hellstrom on 13/06/2007 at 13:38..
Make sure we read fence->signaled while spinlocked.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62082ab3e63f6f474655da98b710e453b4124ed1

Git commit 2407ce57de36470e767ebc1800cbbec74cab0ae4 by Thomas Hellstrom on 13/06/2007 at 13:59..
Fix drmMMUnlock / drmMMLock return values.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2407ce57de36470e767ebc1800cbbec74cab0ae4

Git commit b06268294afb47e62949984d73905344dd160262 by Jesse Barnes on 14/06/2007 at 18:32..
Comment new vblank routines and fixup several issues:
  - use correct refcount variable in get/put routines
  - extract counter update from drm_vblank_get
  - make signal handling callback per-crtc
  - update interrupt handling logic, drivers should use drm_handle_vblank
  - move wakeup and counter update logic to new drm_handle_vblank routine
  - fixup usage of get/put in light of counter update extraction
  - fix longstanding bug in signal code, update pending counter only
    *after* we're sure we'll setup signal handling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b06268294afb47e62949984d73905344dd160262

Git commit 1000d88ddfcd0ae769125db37d4e78643a430caf by Michel Dänzer on 15/06/2007 at 08:10..
Fix memory leaks in vblank error paths.

Also use drm_calloc instead of drm_alloc and memset, and use the size of the
struct instead of the size of the pointer for allocation...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1000d88ddfcd0ae769125db37d4e78643a430caf

Git commit 7f95a06c61f585cbc4b5fefc833432178550fe31 by Michel Dänzer on 15/06/2007 at 08:12..
Return current sequence number to userspace after blocking wait for vblank.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f95a06c61f585cbc4b5fefc833432178550fe31

Git commit 914a810a82af6f82e69a94448570772f20a94953 by Michel Dänzer on 15/06/2007 at 08:21..
i915: Fix tests for vblank interrupts being enabled on CRTC by X server.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/914a810a82af6f82e69a94448570772f20a94953

Git commit 82e2c3304d3f1697537b73a2c888c8c6b1b6cdc8 by Michel Dänzer on 15/06/2007 at 08:25..
Wake up vblank waitqueue in drm_handle_vblank().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82e2c3304d3f1697537b73a2c888c8c6b1b6cdc8

Git commit e1b8eabeee354822fc0a413dd097210b621eb73a by Thomas Hellstrom on 15/06/2007 at 08:26..
Locking fixes and instrumentation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1b8eabeee354822fc0a413dd097210b621eb73a

Git commit d34b2c7b9e108766b1d67cd23b8f7ecc77835ac7 by Thomas Hellstrom on 15/06/2007 at 08:26..
Fix refcounting / lock race.

Reported by Steve Wilkins / Michel D�nzer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d34b2c7b9e108766b1d67cd23b8f7ecc77835ac7

Git commit 3ee31a1f356df4b81e3ba226a416627fd3b70e07 by Thomas Hellstrom on 15/06/2007 at 08:31..
Indentation fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ee31a1f356df4b81e3ba226a416627fd3b70e07

Git commit 84bea383538df83c049680497ba2179e50d07ca3 by Thomas Hellstrom on 15/06/2007 at 08:35..
Fix i915 sequence mask.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84bea383538df83c049680497ba2179e50d07ca3

Git commit fbee089aca727c92e0aa5d7a2ae7a8c5cf9c3076 by Michel Dänzer on 15/06/2007 at 08:50..
Make vblank waitqueue per CRTC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fbee089aca727c92e0aa5d7a2ae7a8c5cf9c3076

Git commit 0f5334be2bc6ceca971a7a6ab3ca1c23a707867c by Michel Dänzer on 15/06/2007 at 09:01..
Remove DRIVER_IRQ_VBL(2).

If the driver doesn't support vertical blank interrupts, it won't call
drm_vblank_init(), and dev->num_crtcs will be 0.

Also fix an off-by-one test against dev->num_crtcs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f5334be2bc6ceca971a7a6ab3ca1c23a707867c

Git commit 3d5d41fa9823cf44138c8f4bc954bca80539d74e by Michel Dänzer on 15/06/2007 at 15:13..
i915: Fix handling of breadcrumb counter wraparounds.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d5d41fa9823cf44138c8f4bc954bca80539d74e

Git commit b6610363e373c13a2e7fdee8691756e1768bdd57 by Jesse Barnes on 15/06/2007 at 18:21..
First cut at radeon support for the vblank rework.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6610363e373c13a2e7fdee8691756e1768bdd57

Git commit 741d1c80314de6f30bcc7eca7a7720b0aac3c56c by Jesse Barnes on 16/06/2007 at 00:06..
Remove broken crtc enable checks, radeon does it slightly differently
(this makes get_vblank_counter return an actual value).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/741d1c80314de6f30bcc7eca7a7720b0aac3c56c

Git commit 638ebbab54a48004c2e1d9cc5498e1dec976911e by Dave Airlie (on behalf of David Woodhouse) on 18/06/2007 at 02:46..
fix radeon setparam on 32/64 systems, harder.

    Commit 9b01bd5b284bbf519b726b39f1352023cb5e9e69 introduced a
    compat_ioctl handler for RADEON_SETPARAM, the sole purpose of which was
    to handle the fact that on i386, alignof(uint64_t)==4.

    Unfortunately, this handler was installed for _all_ 64-bit
    architectures, instead of only x86_64 and ia64.  And thus it breaks
    32-bit compatibility on every other arch, where 64-bit integers are
    aligned to 8 bytes in 32-bit mode just the same as in 64-bit mode.

    Arnd has a cunning plan to use 'compat_u64' with appropriate alignment
    attributes according to the 32-bit ABI, but for now let's just make the
    compat_radeon_cp_setparam routine entirely disappear on 64-bit machines
    whose 32-bit compat support isn't for i386.  It would be a no-op with
    compat_u64 anyway.

    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/638ebbab54a48004c2e1d9cc5498e1dec976911e

Git commit 8038e7b60f62e51b7f134141fd58f334eec31a10 by Oliver McFadden on 18/06/2007 at 08:36..
r300: Synchronized the register defines file again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8038e7b60f62e51b7f134141fd58f334eec31a10

Git commit 215787e4297ed4f6364bcc98869a347fc4cad00d by Oliver McFadden on 18/06/2007 at 08:42..
r300: Registers 0x2220-0x2230 are known as R300_VAP_CLIP_X_0-R300_VAP_CLIP_Y_1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/215787e4297ed4f6364bcc98869a347fc4cad00d

Git commit d8ed021d29951b17cfbda0ade968c73a52ac7ec7 by Michel Dänzer on 18/06/2007 at 11:10..
radeon: VBlank rework fixups.

Fix range of frame counter registers.

Use DRM_ERR() instead of Linux specific error codes in shared code.

Remove duplicate register definitions and superfluous local variables.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8ed021d29951b17cfbda0ade968c73a52ac7ec7

Git commit 2d24455ed8b12df6d06d135cb70f02473d11f4b0 by Jesse Barnes on 19/06/2007 at 00:43..
Remove broken CRTC enable checks and incorrect user irq enable in set_pipe
routine.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d24455ed8b12df6d06d135cb70f02473d11f4b0

Git commit 213732af4381819113756d6d920794cf0dc30dd6 by Oliver McFadden on 21/06/2007 at 14:32..
r300: Allow writes to R300_VAP_PVS_WAITIDLE.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/213732af4381819113756d6d920794cf0dc30dd6

Git commit 40f6a696cb22ffa064f78198a7a241015d365967 by Oliver McFadden on 21/06/2007 at 14:35..
r300: Synchronized the register defines file; documentation changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40f6a696cb22ffa064f78198a7a241015d365967

Git commit afe842297f7117cf80718de78ce706f6fd83584b by Jesse Barnes on 21/06/2007 at 22:23..
RADEON: fix race in vblank interrupt handling
It's possible that we disable vblank interrupts and clear the
corresponding flag in irq_enable_reg, but receive an interrupt at just
the wrong time, causing us to not ack it properly, nor report to the
core kernel that it was handled.  Fix that case by always handling
vblank interrupts, even if the irq_enable_reg field is clear.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afe842297f7117cf80718de78ce706f6fd83584b

Git commit 24c09faec1c47260cd280221fa72fe18a12efef9 by Jesse Barnes on 21/06/2007 at 22:26..
Merge branch 'vblank-rework' into vblank
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24c09faec1c47260cd280221fa72fe18a12efef9

Git commit b8dd31487551ff83b63205a5cefbd06de7d4fbca by Michel Dänzer on 22/06/2007 at 09:42..
Remove mask parameter from radeon_acknowledge_irqs().

Simply always acknowledge all interrupts we're interested in, to avoid hard
hangs when an unexpected interrupt is flagged.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8dd31487551ff83b63205a5cefbd06de7d4fbca

Git commit 6e2cd7c16331b07c395732d132a6a4cdc1fad481 by Michel Dänzer on 22/06/2007 at 09:44..
drm_modeset_ctl_t fixes.

s/u64/drm_u64_t/ to allow userspace code using drm.h to compile.

Move 64 bit arg member to the beginning to avoid alignment issues with 32
bit userspace on 64 bit kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e2cd7c16331b07c395732d132a6a4cdc1fad481

Git commit 2738bca6f52e236a2d9a0e456a78b10442ededdd by Michel Dänzer on 22/06/2007 at 09:44..
Use drm_calloc instead of assigning 0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2738bca6f52e236a2d9a0e456a78b10442ededdd

Git commit d2d53024fb4003a6b86a3ea1ea33c76ac20bebc9 by Michel Dänzer on 22/06/2007 at 09:45..
Fix vblank wait condition.

Sync-to-vblank actually works again for me with radeon.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2d53024fb4003a6b86a3ea1ea33c76ac20bebc9

Git commit 068ffc1e1bf5607f836839a1fc621a95547251e3 by Michel Dänzer on 22/06/2007 at 09:55..
radeon: Acknowledge all interrupts we're interested in.

Failure to do so was probably the root cause of fd.o bug 11287.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/068ffc1e1bf5607f836839a1fc621a95547251e3

Git commit 97dcd7fd25c18d5148619254229f8d94efb55b44 by Jesse Barnes on 22/06/2007 at 18:06..
more vblank rework
  - use a timer for disabling vblank events to avoid enable/disable calls too
    often
  - make i915 work with pre-965 chips again (would like to structure this
    better, but this hack works on my test system)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97dcd7fd25c18d5148619254229f8d94efb55b44

Git commit 7f2a1cf2753c0c97b1290469a15322f7549f78ae by Jesse Barnes on 22/06/2007 at 18:12..
Merge branch 'vblank-rework' into vblank
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f2a1cf2753c0c97b1290469a15322f7549f78ae

Git commit 5c7c07fd49b154623f9dfdab1fe1f2cda8508036 by Ben Skeggs on 24/06/2007 at 08:54..
nouveau: rename engtab functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c7c07fd49b154623f9dfdab1fe1f2cda8508036

Git commit 24b71c318a00dfbb18b2bbf6652e3b781175c430 by Ben Skeggs on 24/06/2007 at 08:54..
nouveau: prototype PFIFO/PGRAPH engtab API
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24b71c318a00dfbb18b2bbf6652e3b781175c430

Git commit 9dbf322d26642f9e671f144b34e7cd7d295e9b8e by Ben Skeggs on 24/06/2007 at 08:55..
nouveau: (mostly) hook up put_base again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dbf322d26642f9e671f144b34e7cd7d295e9b8e

Git commit 0afb3b518e1ece820b01f3eea64b25cff01c97bc by Ben Skeggs on 24/06/2007 at 08:55..
nouveau: split PFIFO/PGRAPH context creation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0afb3b518e1ece820b01f3eea64b25cff01c97bc

Git commit f2e64d527699751d6b64698495ae1d48eeee6cf7 by Ben Skeggs on 24/06/2007 at 08:56..
nouveau: NV4X PFIFO engtab functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2e64d527699751d6b64698495ae1d48eeee6cf7

Git commit acb710d1a59788a0205cd0daf0859864e683fbd2 by Ben Skeggs on 24/06/2007 at 08:56..
nouveau: NV4X PGRAPH engtab functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/acb710d1a59788a0205cd0daf0859864e683fbd2

Git commit 05d86d950a10b77ffaa708e9d89b2a87c11fed01 by Ben Skeggs on 24/06/2007 at 08:57..
nouveau: NV04 PFIFO engtab functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05d86d950a10b77ffaa708e9d89b2a87c11fed01

Git commit 341bc7820749024e09275de6e689b10c2908689a by Ben Skeggs on 24/06/2007 at 08:58..
nouveau: NV1X/2X/3X PFIFO engtab functions

Earlier NV1X chips use the NV04 code, see previous commits about NV10 RAMFC
entry size.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/341bc7820749024e09275de6e689b10c2908689a

Git commit 5d55b0655cb480b7d6ab4cf2467dac6dc6d8df25 by Ben Skeggs on 24/06/2007 at 08:58..
nouveau: NV3X PGRAPH engtab functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d55b0655cb480b7d6ab4cf2467dac6dc6d8df25

Git commit 5f05cd7086c54bccf1c2f0b003b78a08dc55472a by Ben Skeggs on 24/06/2007 at 09:00..
nouveau: NV04/NV10/NV20 PGRAPH engtab functions

NV04/NV10 load_context()/save_context() are stubs.  I don't know enough about
how they work to implement them sanely.  The "old" context_switch() code
remains hooked up, so it shouldn't break anything.

NV20 will probably break if load_context() works.  No inital context values
are filled in, so when the first channel is created PGRAPH will probably end
up having its state zeroed.  Some setup from nv20_graph_init() will probably
need to be moved to the per-channel context setup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f05cd7086c54bccf1c2f0b003b78a08dc55472a

Git commit 3dfc13e2da10e86051c7106feb5683542907acdc by Ben Skeggs on 24/06/2007 at 09:00..
nouveau: kill some dead code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dfc13e2da10e86051c7106feb5683542907acdc

Git commit 9f617522d9cb8cd33e588d12a13f427dbe5171c2 by Ben Skeggs on 24/06/2007 at 15:57..
nouveau: NV49/NV4B PGRAPH setup from jb17bsome and stephan_2303
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f617522d9cb8cd33e588d12a13f427dbe5171c2

Git commit 5c27f8a70e6e3684d8d58661a9cc918a3514fd14 by Ian Romanick on 26/06/2007 at 16:51..
Add support SiS based XGI chips to SiS DRM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c27f8a70e6e3684d8d58661a9cc918a3514fd14

Git commit 7af9d670371de868f0642148fe2d594bc9a7dea3 by Ian Romanick on 26/06/2007 at 20:05..
Initial XP10 code drop from XGI.

See attachment 10246 on https://bugs.freedesktop.org/show_bug.cgi?id=5921
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7af9d670371de868f0642148fe2d594bc9a7dea3

Git commit 434657a2582362367ba2a94f827511252001368f by Ian Romanick on 26/06/2007 at 20:10..
dos2unix and Lindent
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/434657a2582362367ba2a94f827511252001368f

Git commit ec9e494eb99d409a7e1e97bb6c5f71e9bb5a4486 by Ian Romanick on 26/06/2007 at 20:15..
Gut support for pre-2.6 kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec9e494eb99d409a7e1e97bb6c5f71e9bb5a4486

Git commit 7a053306a9f8152462fda521e1a8322ac2bdf9fd by Ian Romanick on 26/06/2007 at 20:16..
linux/config.h is deprecated or gone.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a053306a9f8152462fda521e1a8322ac2bdf9fd

Git commit 47bf6239aaefb977cc17e421af273c3278eb127c by Ian Romanick on 26/06/2007 at 20:20..
Clean up compile-time kernel feature detection.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47bf6239aaefb977cc17e421af273c3278eb127c

Git commit 3a776fa01e61c1dc40a0a1803a80c98bf7e77164 by Ian Romanick on 26/06/2007 at 20:26..
Add XGI driver to Makefiles.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a776fa01e61c1dc40a0a1803a80c98bf7e77164

Git commit 3547fbda63925217a5be24de5d5abec3b53d3fe1 by Ian Romanick on 26/06/2007 at 20:29..
Revert over-zealous change from previous commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3547fbda63925217a5be24de5d5abec3b53d3fe1

Git commit b9ef1467fed9e96c5e7bd453d01511f8ce98583c by Ian Romanick on 26/06/2007 at 20:39..
Clean up mixed declarations and code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9ef1467fed9e96c5e7bd453d01511f8ce98583c

Git commit 8cee7dca95bc2114eb90640cf83ac87c29243683 by Ian Romanick on 26/06/2007 at 20:46..
Clean up warnings about unused variables and functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cee7dca95bc2114eb90640cf83ac87c29243683

Git commit 9b9a127ed0fe9a6a8e2fde84739ccff6fa0bc5ac by Thomas Hellstrom on 26/06/2007 at 21:25..
More 64-bit padding.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b9a127ed0fe9a6a8e2fde84739ccff6fa0bc5ac

Git commit 4f2dd78ff3b6efeee97b72cca6bbfaef485a08d9 by Ben Skeggs on 27/06/2007 at 17:04..
nouveau/nv04: Set NV_PFIFO_CACHE1_PUSH1 correctly + small tweaks
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f2dd78ff3b6efeee97b72cca6bbfaef485a08d9

Git commit 695599f18d907bb277805581bbe208b0e083e7d9 by Ben Skeggs on 27/06/2007 at 17:26..
nouveau: Nuke DMA_OBJECT_INIT ioctl (bumps interface to 0.0.7)

For various reasons, this ioctl was a bad idea.

At channel creation we now automatically create DMA objects covering
available VRAM and GART memory, where the client used to do this themselves.

However, there is still a need to be able to create DMA objects pointing at
specific areas of memory (ie. notifiers).  Each channel is now allocated a
small amount of memory from which a client can suballocate things (such as
notifiers), and have a DMA object created which covers the suballocated area.
The NOTIFIER_ALLOC ioctl exposes this functionality.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/695599f18d907bb277805581bbe208b0e083e7d9

Git commit ce0d528d3ca78348a7c1ad7c402757824fb6cf95 by Ben Skeggs on 27/06/2007 at 17:26..
nouveau/nv50: skeletal backend
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce0d528d3ca78348a7c1ad7c402757824fb6cf95

Git commit 38617b6a26d893bbd7b235019159e609f6cdd84b by Ben Skeggs on 27/06/2007 at 17:26..
nouveau: name some regs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38617b6a26d893bbd7b235019159e609f6cdd84b

Git commit 18a6d1c9c380b6b19524f654d9173a79e19aa1df by Ben Skeggs on 27/06/2007 at 17:26..
nouveau: simplify PRAMIN access
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18a6d1c9c380b6b19524f654d9173a79e19aa1df

Git commit 68ecf61647e9ec16d59cc8f50550d11478eb3118 by Ben Skeggs on 27/06/2007 at 17:26..
nouveau: never touch PRAMIN with NV_WRITE, cleanup RAMHT code a bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68ecf61647e9ec16d59cc8f50550d11478eb3118

Git commit 2dd85772aa4e134730f294d77b4ff030a175a4ab by Ben Skeggs on 27/06/2007 at 18:23..
nouveau/nv10: Fix earlier NV1x chips

Can't use nv04 code for them, since an extra field was inserted into
RAMFC after DMA_PUT/GET.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dd85772aa4e134730f294d77b4ff030a175a4ab

Git commit 1c32fecd6d2286af075976167c4887b9096e8312 by Ben Skeggs on 28/06/2007 at 11:01..
nouveau: Hack around possible Xv blit adaptor breakage
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c32fecd6d2286af075976167c4887b9096e8312

Git commit e79e2a58161d44754fd55507e155b7e12a09c4d2 by Alan Hourihane on 28/06/2007 at 20:25..
Fix type/flags usage problem to check for preferred modes.

Add more debugging to help diagnose problems.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e79e2a58161d44754fd55507e155b7e12a09c4d2

Git commit e26ec51146e77eec2a45f61c9506e9800fc2fba2 by Ben Skeggs on 29/06/2007 at 04:20..
nouveau: small RAMFC cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e26ec51146e77eec2a45f61c9506e9800fc2fba2

Git commit 11ffe4632a097e3d579d084634eeccc63348249b by Ian Romanick on 29/06/2007 at 05:20..
Convert comment header of xgi_find_pcie_virt to kernel doc format.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11ffe4632a097e3d579d084634eeccc63348249b

Git commit 9c85fb866dc7954092b7ffd0ca9f76eb5354ace8 by Ian Romanick on 29/06/2007 at 05:26..
Clean up debug log messages in xgi_find_pcie_block.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c85fb866dc7954092b7ffd0ca9f76eb5354ace8

Git commit 8fa24c53f5851a2d3ad2da31ee56a4fd5abbd543 by Ian Romanick on 29/06/2007 at 05:32..
Minor clean up of variable declarations in xgi_find_pcie_virt.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fa24c53f5851a2d3ad2da31ee56a4fd5abbd543

Git commit 475c1e67bacabb89c568c7482991451d223c53ae by Ian Romanick on 29/06/2007 at 06:40..
Remove unused type 'struct xgi_pcie_list_s' / xgi_pcie_list_t.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/475c1e67bacabb89c568c7482991451d223c53ae

Git commit 00f1a66f22d52c212bb9334a0103a4785af69bc1 by Thomas Hellstrom on 29/06/2007 at 10:58..
Fence object reference / dereference cleanup.

Buffer object dereference cleanup.
Add a struct drm_device member to fence objects:
This can simplify code, particularly in drivers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00f1a66f22d52c212bb9334a0103a4785af69bc1

Git commit a27af4c4a665864df09123f177ca7269e48f6171 by Thomas Hellstrom on 29/06/2007 at 13:22..
Avoid hitting BUG() for kernel-only fence objects.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a27af4c4a665864df09123f177ca7269e48f6171

Git commit 33b8476dfb0f9b5045103c3a9781ba82bcae4a9d by Ian Romanick on 29/06/2007 at 16:30..
Fix return type of xgi_find_pcie_block.

This function used to return 'void *', which was then cast to
'xgi_pcie_block_t *' at the only caller.  I changed the return type to
'struct xgi_pcie_block_s *' and removed the explicit cast.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33b8476dfb0f9b5045103c3a9781ba82bcae4a9d

Git commit 8a78dead291ffdb5a8774419cdca369a1e27cad9 by Alan Hourihane on 29/06/2007 at 19:09..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	linux-core/drm_drv.c
	linux-core/drm_fops.c
	linux-core/drm_objects.h
	linux-core/drm_stub.c
	shared-core/i915_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a78dead291ffdb5a8774419cdca369a1e27cad9

Git commit 14c49df06bb0b1adc0fa2a9bd575c454d39c7cf0 by Alan Hourihane on 29/06/2007 at 19:14..
merge fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14c49df06bb0b1adc0fa2a9bd575c454d39c7cf0

Git commit adff58223f4568d084cf62d03d4ecfc3a6cec000 by Alan Hourihane on 29/06/2007 at 19:58..
Bring back code from merge that was accidentally removed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/adff58223f4568d084cf62d03d4ecfc3a6cec000

Git commit 70fd9351ed6c666def710fd61b542a7c975d9ac9 by Alan Hourihane on 29/06/2007 at 20:04..
Move out the code from i915_dma_cleanup to unload to match
existing code.

This needs verifying.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70fd9351ed6c666def710fd61b542a7c975d9ac9

Git commit 88328d4ef007c781874aafedfef59aae0d21a37c by Ian Romanick on 29/06/2007 at 22:27..
Eliminate structure typedefs

Documentation/CodingStyle says that 'typedef struct foo foo_t' is
evil.  I tend to agree.  Elminate all uses of such construct.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88328d4ef007c781874aafedfef59aae0d21a37c

Git commit ba3173fa39e236eee9ce9abb60f1151492378811 by Ian Romanick on 29/06/2007 at 23:35..
Eliminate unused integer and float typedefs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba3173fa39e236eee9ce9abb60f1151492378811

Git commit 5da2a3c2d488983efed6f8433a304096e2bb75e8 by Ian Romanick on 29/06/2007 at 23:37..
Replace BOOL with bool.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5da2a3c2d488983efed6f8433a304096e2bb75e8

Git commit ec7730e5ba6ac1d60f90af483b3966d863cb5400 by Ian Romanick on 29/06/2007 at 23:37..
Eliminate unnecessary defines of TRUE and FALSE.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec7730e5ba6ac1d60f90af483b3966d863cb5400

Git commit 406ded3816300f6b3e945c932c44350b22f43bd9 by Ian Romanick on 29/06/2007 at 23:41..
Replace U(8|16) with u(8|16).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/406ded3816300f6b3e945c932c44350b22f43bd9

Git commit 37733786582d04f072178949cc9e31225abf5577 by Ian Romanick on 30/06/2007 at 03:49..
Delete unused arrays s_emptyBegin and s_flush2D.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37733786582d04f072178949cc9e31225abf5577

Git commit e206c4c59da0e81ed65796d543c311fc7e30b19a by Ian Romanick on 30/06/2007 at 04:00..
Convert some PCI-e GART related variable to generic types.

A few of the PCI-e GART related fields in struct xgi_info were
hardcoded to u32.  None of them need to be.  Convert them to either
unsigned int or bool.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e206c4c59da0e81ed65796d543c311fc7e30b19a

Git commit 4c4780bc8e5bf01b2b920c6b8de4ddbd0256c81f by Ian Romanick on 30/06/2007 at 04:05..
Stop-gap fix in xgi_submit_cmdlist

Comment in the code explains it.  Basically, I put an if-statement
around a block of code to prevent a NULL pointer dereference that
should never happen in the first place.  Eventually, this will need to
come out.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c4780bc8e5bf01b2b920c6b8de4ddbd0256c81f

Git commit 4403540776c8ed3c2e28f26b6dacaab0b9e40e05 by Ian Romanick on 30/06/2007 at 04:15..
Clean up xgi_pcie_heap_check

The whole purpose of xgi_pcie_heap_check is to log information about
entries on the used_list.  If XGI_DEBUG is not set, it doesn't print
anything.  Therefore we can #ifdef the whole function body.

Convert open-code list iteration to use list_for_each_entry.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4403540776c8ed3c2e28f26b6dacaab0b9e40e05

Git commit 32584d94e6ef7c0b463794a40541eb8183c7fb02 by Ian Romanick on 30/06/2007 at 04:35..
Convert open coded list iterators to either list_for_each_entry or list_for_each_entry_safe
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32584d94e6ef7c0b463794a40541eb8183c7fb02

Git commit 49ccec1b0845ea14ab2cfd2f53704fe26e38fbef by Ian Romanick on 30/06/2007 at 04:38..
Convert xgi_mem_location enum values to less generic names.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49ccec1b0845ea14ab2cfd2f53704fe26e38fbef

Git commit fc37781dd30b53815dd71ce576eb2147d23f0914 by Ian Romanick on 30/06/2007 at 04:48..
Convert a few more U32 variables to more appropriate, generic types.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc37781dd30b53815dd71ce576eb2147d23f0914

Git commit b323ab52aa9ccbfb06dd723ece361a5242d067b0 by Kristian Høgsberg on 02/07/2007 at 19:07..
Drop drm_drawable_list and add drm_drawable_info directly to the idr.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b323ab52aa9ccbfb06dd723ece361a5242d067b0

Git commit c9d752ff4fb2b6eee2fef636193fc9ca29abba37 by Kristian Høgsberg on 02/07/2007 at 21:52..
Fix must-check warnings and implement a few error paths.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9d752ff4fb2b6eee2fef636193fc9ca29abba37

Git commit 8d96ba9805316b29e948d7594344feebb17042f7 by Michel Dänzer on 03/07/2007 at 09:41..
Restore pre-idr semantics for drawable information.

There's a difference between a drawable ID not having valid drawable
information and not being allocated at all. Not making the distinction would
break i915 DRM swap scheduling with older X servers that don't push drawable
cliprect information to the DRM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d96ba9805316b29e948d7594344feebb17042f7

Git commit ea832a8e555c9e1f90830b55cbd970d0eca0e2cf by Michel Dänzer on 03/07/2007 at 10:15..
Simplification for previous commit.

Dave Airlie pointed out on IRC that idr_replace lets us know if the ID hasn't
been allocated, so we don't need a special pointer value for allocated IDs that
don't have valid information yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea832a8e555c9e1f90830b55cbd970d0eca0e2cf

Git commit 91990946fa3f7e8e725af18d1f3a63e0c7892308 by Michel Dänzer on 03/07/2007 at 10:33..
One more spinlock initializer cleanup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91990946fa3f7e8e725af18d1f3a63e0c7892308

Git commit 1814a829eb65ee53a14fa9b53fc6f3a4196dcaa5 by Kristian Høgsberg on 03/07/2007 at 14:31..
Don't take dev->struct_mutex twice in drm_setsareactx.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1814a829eb65ee53a14fa9b53fc6f3a4196dcaa5

Git commit d57b7f02d2e525e5600e5d77370d7ad2b4c9b265 by Kristian Høgsberg on 03/07/2007 at 14:41..
Use idr_replace trick to eliminate struct drm_ctx_sarea_list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d57b7f02d2e525e5600e5d77370d7ad2b4c9b265

Git commit 2695e8e209228dfc2e6a9b10bc118d0794602b37 by Ian Romanick on 06/07/2007 at 00:18..
Convert weird rtdsc usage to get_cycles.

I'm not convinced that get_cycles is the right approach here, but it's
better than the weird way that rtdsc was being used.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2695e8e209228dfc2e6a9b10bc118d0794602b37

Git commit 8b18276458e93263d5d554f779227a906592ac74 by Ian Romanick on 06/07/2007 at 00:45..
Major clean up of xgi_ge_irq_handler

Two large blocks of code were moved out of this function into separate
functions.  This brought some much needed sanity to the indentation.
Some dead varaibles were removed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b18276458e93263d5d554f779227a906592ac74

Git commit 86e75b7f7f64643c6ef2c0fef353b38753df8239 by Ian Romanick on 06/07/2007 at 00:49..
Remove XGI_IOCTL_CPUID and associated cruft.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86e75b7f7f64643c6ef2c0fef353b38753df8239

Git commit 5b726b63906419ccb3de2e065f9bf7ae875ccdf3 by Michel Dänzer on 06/07/2007 at 07:50..
radeon: Improve vblank counter.

The frame counter seems to increase only at the end of vertical blank, so we
need to add 1 while in vertical blank.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b726b63906419ccb3de2e065f9bf7ae875ccdf3

Git commit 163f8526123ffa38783fc911b5f7a19debce7f73 by Ben Skeggs on 09/07/2007 at 06:16..
nouveau: rewrite gpu object code

Allows multiple references to a single object, needed to support PCI(E)GART
scatter-gather DMA objects which would quickly fill PRAMIN if each channel
had its own.

Handle per-channel private instmem areas.  This is needed to support NV50,
but might be something we want to do on earlier chipsets at some point?

Everything that touches PRAMIN is a GPU object.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/163f8526123ffa38783fc911b5f7a19debce7f73

Git commit 3324342e42b78aef8e90e11273776dd2b3b92074 by Ben Skeggs on 09/07/2007 at 06:16..
nouveau: enable reporting for all PFIFO/PGRAPH irqs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3324342e42b78aef8e90e11273776dd2b3b92074

Git commit c806bba4665bb369168ee0b453fa28e2e0bf2a5d by Ben Skeggs on 09/07/2007 at 06:16..
nouveau/nv50: Initial channel/object support

Should be OK on G84 for a single channel, multiple channels *almost* work.

Untested on G80.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c806bba4665bb369168ee0b453fa28e2e0bf2a5d

Git commit 3c58195ccd346cc61f98b9f89cf074edf6886723 by Ben Skeggs on 09/07/2007 at 06:16..
nouveau: Avoid oops

Turns out lastclose() gets called even if firstopen() has never been...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c58195ccd346cc61f98b9f89cf074edf6886723

Git commit 31e33813e8c1b085683e68524e680882368e59a9 by Ben Skeggs on 09/07/2007 at 10:02..
nouveau: Don't be so strict on <NV50
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31e33813e8c1b085683e68524e680882368e59a9

Git commit 023f7d9c0064f912415c92a85c3a9d722191909f by Ben Skeggs on 09/07/2007 at 13:58..
nouveau: Allocate mappable VRAM for notifiers..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/023f7d9c0064f912415c92a85c3a9d722191909f

Git commit 16d97b30b91da02d5a3edc2b895cbd4a1995f62d by Brice Goglin on 09/07/2007 at 17:06..
Fix displaying of patches applied by quilt.

As requested in bug #428090, we silence the output of quilt next
and display the output of quilt push/pop.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/16d97b30b91da02d5a3edc2b895cbd4a1995f62d

Git commit e29b56820909668b062fdba72458ee9483a4ae44 by Brice Goglin on 09/07/2007 at 19:50..
Minor fixes in the patching system.

 * Fix debian/rules to not be confused by ~/.quiltrc or QUILT_PATCHES (as in #369920).
 * Display which patches are applied and removed instead of just the first one (for #428090).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e29b56820909668b062fdba72458ee9483a4ae44

Git commit 2f2d8b9688743ac6367bf13c3c023310a257ceb7 by Ian Romanick on 09/07/2007 at 22:59..
Merge xgi_mem_req and xgi_mem_alloc into a single type.

These two structures were used as the request and reply for certain
ioctls.  Having a different type for an ioctl's input and output is
just wierd.  In addition, each structure contained fields (e.g., pid)
that had no business being there.

This change requires updates to user-space.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f2d8b9688743ac6367bf13c3c023310a257ceb7

Git commit a3f56dc3d0620633c7719a01e6e578661d65edfc by Ian Romanick on 09/07/2007 at 23:07..
Adjust the types of the fields of xgi_aperture.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3f56dc3d0620633c7719a01e6e578661d65edfc

Git commit 7268b65d5ce804713c12b8fadc42f9a086cdfe14 by Ian Romanick on 09/07/2007 at 23:22..
Correct types that are shared with user mode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7268b65d5ce804713c12b8fadc42f9a086cdfe14

Git commit 1f4e24b429789710f5d69fc78335f20c023569bb by Ian Romanick on 09/07/2007 at 23:33..
Move types shared with user mode to xgi_drm.h.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f4e24b429789710f5d69fc78335f20c023569bb

Git commit 5c481d0a4284ec7311a47fbeab1680d007769668 by Ian Romanick on 09/07/2007 at 23:43..
Eliminiate fields in xgi_info that are duplicates of fields in pci_dev.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c481d0a4284ec7311a47fbeab1680d007769668

Git commit a9c49be6f8a0aa199a9dc0ffd0a9aa2b85cd796d by Ian Romanick on 10/07/2007 at 01:52..
Fix ioctl types.

I had moved code from xgi_drv.h to xgi_drm.h before changing the ioctl
types for XGI_IOCTL_(FB|PCIE)_ALLOC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9c49be6f8a0aa199a9dc0ffd0a9aa2b85cd796d

Git commit 76ca1e858fb8e1a65ea49c0c62350d7ca91044a2 by Ian Romanick on 10/07/2007 at 01:54..
Convert occurances of U32 to other types.

Most occurances of U32 were converted to u32.  These are cases where
the data represents something that will be written to the hardware.
Other cases were converted to 'unsigned int'.

U32 was the last type in xgi_types.h, so that file is removed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76ca1e858fb8e1a65ea49c0c62350d7ca91044a2

Git commit 04e4922c0c407a9f0cfe268f62130891e98fc682 by Arthur Huillet on 11/07/2007 at 00:34..
Made drm_sg_alloc accessible from inside the DRM - drm_sg_alloc_ioctl is the ioctl wrapper
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04e4922c0c407a9f0cfe268f62130891e98fc682

Git commit 694e1c5c3f768436651ddf95e11ab5a89ccc8ffa by Arthur Huillet on 11/07/2007 at 00:35..
Added support for PCIGART for PCI(E) cards. Bumped DRM interface patchlevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/694e1c5c3f768436651ddf95e11ab5a89ccc8ffa

Git commit 2c9e05cf4c6eb18c941321f764ed1b282a314ba9 by Dave Airlie on 11/07/2007 at 01:23..
Merge branch 'master' into cleanup

Conflicts:

	libdrm/xf86drm.c
	linux-core/drm_bo.c
	linux-core/drm_fence.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c9e05cf4c6eb18c941321f764ed1b282a314ba9

Git commit 13e1377044d581d692af77656e3bc32c9eb183f7 by Ben Skeggs on 11/07/2007 at 02:39..
nouveau: Some checks on userspace object handles.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13e1377044d581d692af77656e3bc32c9eb183f7

Git commit 5ccadac9e3b1beb8ac0177c7a39862094fe3b6de by Ben Skeggs on 11/07/2007 at 04:22..
nouveau/nv50: G80 fixes.

Again, no hardware, so no idea if it'll even work yet.  I understand how
the PRAMIN setup works now, un-hardcoding stuff will come "RealSoonNow(tm)".
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ccadac9e3b1beb8ac0177c7a39862094fe3b6de

Git commit d26ae22c2b17e0f193334cefec7d141befcfa1ee by Arthur Huillet on 11/07/2007 at 12:56..
fixed bug that prevented PCIE cards from actually using PCIGART - NV50 will probably still have a problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d26ae22c2b17e0f193334cefec7d141befcfa1ee

Git commit b301a9051b3fd9ad3dce6bcf32b06da7953a8b91 by Arthur Huillet on 11/07/2007 at 13:01..
NV50 will not attempt to use PCIGART now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b301a9051b3fd9ad3dce6bcf32b06da7953a8b91

Git commit 5fbdf9da8bda996c0a474d13fe69d260f12ffce7 by Arthur Huillet on 12/07/2007 at 00:35..
fixed object creation code to not Oops on 64bits, worked around memalloc not working on 64bit for PCIGART
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5fbdf9da8bda996c0a474d13fe69d260f12ffce7

Git commit 750371cb6ea9a64c9d4d4d3b9716c3c68d810d48 by Ben Skeggs on 12/07/2007 at 00:46..
nouveau: separate region_offset into map_handle and offset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/750371cb6ea9a64c9d4d4d3b9716c3c68d810d48

Git commit 522a0c868c79b48c5434f39faab1a02ca4425a90 by Ben Skeggs on 12/07/2007 at 01:39..
nouveau: nuke left over debug message
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/522a0c868c79b48c5434f39faab1a02ca4425a90

Git commit af317f1cc7136dbf03b39ced64c42202703c5066 by Ben Skeggs on 12/07/2007 at 01:55..
nouveau: mem_alloc() returns offsets, not absolute addresses now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af317f1cc7136dbf03b39ced64c42202703c5066

Git commit 5c6a23704afa9445a58585ea2b8686b054f4074a by Dave Airlie on 12/07/2007 at 04:25..
Merge branch 'radeon-ttm' of git://people.freedesktop.org/~airlied/drm into radeon-ttm

Conflicts:

	linux-core/ati_pcigart.c
	linux-core/drmP.h
	linux-core/radeon_buffer.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c6a23704afa9445a58585ea2b8686b054f4074a

Git commit ead9cd64bd767a30235860e9cfca25d937784bee by Dave Airlie on 12/07/2007 at 04:26..
radeon: add VRAM support for radeon ttm

This needs a lot of testing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ead9cd64bd767a30235860e9cfca25d937784bee

Git commit 12a633f722a2ff9677728d1e2ae56767f804232a by Brice Goglin on 12/07/2007 at 14:06..
Fix "display the output of quilt push/pop".

Fix commit 16d97b30b91da02d5a3edc2b895cbd4a1995f62d to check the
return value of quilt, not the one of tee.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12a633f722a2ff9677728d1e2ae56767f804232a

Git commit 851c950d988e5a47fa6add71427e5ef8d4dcf231 by Ben Skeggs on 12/07/2007 at 16:18..
nouveau: unbreak AGP
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/851c950d988e5a47fa6add71427e5ef8d4dcf231

Git commit 5522136b7f01402ae02cbe35180e3d80f850a6b3 by Ian Romanick on 12/07/2007 at 22:28..
Merge branch 'master' into xgi-0-0-2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5522136b7f01402ae02cbe35180e3d80f850a6b3

Git commit 0029713451af6f5f216079775ff77cae9b423c0e by Ben Skeggs on 13/07/2007 at 05:09..
nouveau: nuke internal typedefs, and drm_device_t use.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0029713451af6f5f216079775ff77cae9b423c0e

Git commit 3007b03bdf608708a50b842d4291d3640c30f2c5 by Arthur Huillet on 13/07/2007 at 13:57..
now attempting to create PCI object only when there is a pci_heap
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3007b03bdf608708a50b842d4291d3640c30f2c5

Git commit 5ae3ad4f015aa072180a0c55255832be4e7557cf by Arthur Huillet on 13/07/2007 at 14:00..
now attempting to create PCI object only when there is a pci_heap
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ae3ad4f015aa072180a0c55255832be4e7557cf

Git commit 00a5ab760b1d65ceea95e703d8ce8ecf8b63fbb3 by Arthur Huillet on 13/07/2007 at 14:03..
Merge commit 'public/master'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00a5ab760b1d65ceea95e703d8ce8ecf8b63fbb3

Git commit aa6d9199fa7b0cbe04a936312db7be75bb53bdc8 by Arthur Huillet on 13/07/2007 at 18:51..
applied patch from Ian Romanick fixing PCI DMA object creation code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa6d9199fa7b0cbe04a936312db7be75bb53bdc8

Git commit bc7d6c76fab2ff4d2f11b6bd84ca8b8f124729fd by Patrice Mandin on 14/07/2007 at 16:32..
nouveau: nv10 and nv11/15 are different
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc7d6c76fab2ff4d2f11b6bd84ca8b8f124729fd

Git commit 2134193af6c29fcb83408b2878facd4b9cc4c4c8 by Dave Airlie on 16/07/2007 at 00:05..
Merge branch 'drm-ttm-cleanup-branch'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2134193af6c29fcb83408b2878facd4b9cc4c4c8

Git commit f174f835ffac330bbd373d8ba5091205be28f327 by Dave Airlie on 16/07/2007 at 00:13..
drm: remove typedefs in drm.h to their own section
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f174f835ffac330bbd373d8ba5091205be28f327

Git commit 4be9554fcdf27bce86d0d69068d284af2793b950 by Dave Airlie on 16/07/2007 at 01:13..
drm: fix typedef in drm_os_linux.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4be9554fcdf27bce86d0d69068d284af2793b950

Git commit b95ac8b7b313ad3eadc9e8bb0ead155303b7fa92 by Dave Airlie on 16/07/2007 at 01:22..
drm: detypedef drm.h and fixup all problems
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b95ac8b7b313ad3eadc9e8bb0ead155303b7fa92

Git commit 1a07256d601a94466b7905680f5b929bf3f2390a by Dave Airlie on 16/07/2007 at 01:30..
drm: remove ttm userspace typedefs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a07256d601a94466b7905680f5b929bf3f2390a

Git commit 21ee6fbfb8f2219a454458204afc9c5fcd89f9a8 by Dave Airlie on 16/07/2007 at 02:32..
drm: remove drmP.h internal typedefs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21ee6fbfb8f2219a454458204afc9c5fcd89f9a8

Git commit 6dce9e07352e14d2e03d26b8a64a40e111ecab2b by Dave Airlie on 16/07/2007 at 02:48..
drm: remove hashtab/sman and object typedefs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dce9e07352e14d2e03d26b8a64a40e111ecab2b

Git commit be85ad0333b0c28129c2e4635f92780816308aa6 by Dave Airlie on 16/07/2007 at 03:37..
drm: detypedef ttm/bo/fence code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be85ad0333b0c28129c2e4635f92780816308aa6

Git commit 24311d5d82b61a4729b15355088dd9c2898d1089 by Dave Airlie on 16/07/2007 at 03:42..
drm: remove drm_buf_t
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24311d5d82b61a4729b15355088dd9c2898d1089

Git commit 191c062933bb7a6f9dabf3fd639321e1dac88c50 by Dave Airlie on 16/07/2007 at 03:45..
drm: remove drm_ref_t
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/191c062933bb7a6f9dabf3fd639321e1dac88c50

Git commit 535e3dec8c61474be55588d2b5dc87b0301435f8 by Dave Airlie on 16/07/2007 at 03:46..
drm: remove internal sman typedef
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/535e3dec8c61474be55588d2b5dc87b0301435f8

Git commit 0accdc1f69885c6145b6224d26ccd72002f2a72e by Dave Airlie on 16/07/2007 at 03:50..
drm: fixup compat wrappers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0accdc1f69885c6145b6224d26ccd72002f2a72e

Git commit 23631fca09a9769d2391ebdec1f186cf33bf984e by Dave Airlie on 16/07/2007 at 03:52..
drm: fixup old kernel compat code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23631fca09a9769d2391ebdec1f186cf33bf984e

Git commit 0be629a914129446b353881f7d92aae707137047 by Dave Airlie on 16/07/2007 at 04:45..
drm/radeon/ttm: more VRAM fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0be629a914129446b353881f7d92aae707137047

Git commit 3f04fe7890fe7728e7df37a6b65ad328a46699bf by Eric Anholt on 16/07/2007 at 08:53..
Fix FreeBSD build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f04fe7890fe7728e7df37a6b65ad328a46699bf

Git commit 70a8a60a3e81c18f9c6485102cb226c340c3cd73 by Ian Romanick on 16/07/2007 at 17:56..
Correct errors in the usage of pci_map_page.

With these changes the driver no longer instantly hard-locks a 6600LE
on a PowerPC G5.  I haven't tested any 3D apps yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70a8a60a3e81c18f9c6485102cb226c340c3cd73

Git commit ec67c2def9af16bf9252d6742aec815b817f135a by Ben Skeggs on 17/07/2007 at 03:51..
nouveau: G8x PCIEGART

Actually a NV04-NV50 ttm backend for both PCI and PCIEGART, but PCIGART
support for G8X using the current mm has been hacked on top of it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec67c2def9af16bf9252d6742aec815b817f135a

Git commit 4575d5b8f18fef8cd19e7884bf8dab5e8f71ec9e by Ian Romanick on 17/07/2007 at 03:56..
Massive log message clean up in xgi_submit_cmdlist.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4575d5b8f18fef8cd19e7884bf8dab5e8f71ec9e

Git commit 658ff2daf3d2a080da2d859f522a627aef841637 by Ian Romanick on 17/07/2007 at 03:58..
Eliminate several useless ioctls and associated cruft.

The ioctlss XGI_ESC_DEVICE_INFO, XGI_ESC_MEM_COLLECT,
XGI_ESC_PCIE_CHECK, XGI_ESC_GET_SCREEN_INFO, XGI_ESC_PUT_SCREEN_INFO,
XGI_ESC_MMIO_INFO, and XGI_ESC_SAREA_INFO, are completely unnecessary.
The will be doubly useless when the driver is converted to the DRM
infrastructure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/658ff2daf3d2a080da2d859f522a627aef841637

Git commit 875dd1e53852d231b60eb82bfed33c016f92f3b8 by Ben Skeggs on 17/07/2007 at 04:06..
nouveau: Destroy PGRAPH context table on PGRAPH takedown
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/875dd1e53852d231b60eb82bfed33c016f92f3b8

Git commit 2b6ea465134e72fa6aa96df5e40fbc91b561ef00 by Ian Romanick on 17/07/2007 at 04:11..
Eliminate unnecessary structures and defines.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b6ea465134e72fa6aa96df5e40fbc91b561ef00

Git commit 5b08ab258f3e541334d2b64d38e15e1431080199 by Ian Romanick on 17/07/2007 at 04:12..
Clean ups (primarilly log messages) in xgi_test_rwinkernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b08ab258f3e541334d2b64d38e15e1431080199

Git commit bcba7ba981a88e27ad4d7e8ebcdbed7097cf1488 by Ian Romanick on 17/07/2007 at 04:15..
Log message clean up in WriteRegDWord.  Remove unused inline functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcba7ba981a88e27ad4d7e8ebcdbed7097cf1488

Git commit 7f98815d0027b1d4bd07b08e540106d5e994bcc5 by Ian Romanick on 17/07/2007 at 05:15..
Make drm_sg_free callable in-kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f98815d0027b1d4bd07b08e540106d5e994bcc5

Git commit 8d60bf2f199d57ec45feaab836b31832b9bbabb9 by Ian Romanick on 17/07/2007 at 05:15..
Add XP5 and XP10 PCI IDs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d60bf2f199d57ec45feaab836b31832b9bbabb9

Git commit bff698d0edef90272247dfb90e454f7b98fd82dd by Dave Airlie on 17/07/2007 at 23:27..
drm_context: fix braino
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bff698d0edef90272247dfb90e454f7b98fd82dd

Git commit 6ad1df217647d112a21c2e004d4e3d74c7bb0e0e by Dave Airlie on 17/07/2007 at 23:42..
drm: remove drm_u64_t, replace with uint64_t everwhere

This might break something, stdint.h inclusion in drm.h maybe required
but I'm not sure yet what platforms have it what ones don't.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ad1df217647d112a21c2e004d4e3d74c7bb0e0e

Git commit 3a71e87742ce8686c2b3c85ebbc8fb7a72b4f6e0 by Dave Airlie on 17/07/2007 at 23:46..
drm: idr stuff is upstream for 2.6.23
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a71e87742ce8686c2b3c85ebbc8fb7a72b4f6e0

Git commit a64b5d8d3763639fbb4098500ad5c86fb8590aa7 by Dave Airlie on 18/07/2007 at 05:49..
fix some missing whitespace/tab
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a64b5d8d3763639fbb4098500ad5c86fb8590aa7

Git commit 1ff858fe3a6b632c879a9f99a67227db7df70b62 by Thomas Hellstrom on 18/07/2007 at 08:40..
Fix via dmablit when blit queue is full.
Fix by Simon Farnsworth, Bugzilla Bug #11542
http://bugs.freedesktop.org/show_bug.cgi?id=11542
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ff858fe3a6b632c879a9f99a67227db7df70b62

Git commit 14ecf8d6c2ccecbe9841ad4a7eb3b301685f2351 by Pekka Paalanen on 18/07/2007 at 10:52..
nouveau: Replace 0x00400104 and 0x00400108 with names.

NV03_PGRAPH_NSTATUS and NV03_PGRAPH_NSOURCE.
The prefix NV03 is chosen because nv10reg.h had no versioned prefix,
and the code using these registers does not check card_type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14ecf8d6c2ccecbe9841ad4a7eb3b301685f2351

Git commit 0c77f5abeadcbb89643740889cc865ba0ae66538 by Pekka Paalanen on 18/07/2007 at 11:00..
nouveau: Add bitfield names for NSOURCE and NSTATUS.

Name strings and pretty-printing in nouveau_graph_dump_trap_info().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c77f5abeadcbb89643740889cc865ba0ae66538

Git commit 696bee093f6f75dbb48699ff32bbebe2d3a1e307 by Pekka Paalanen on 18/07/2007 at 11:12..
nouveau: Add read() method to Engine.timer.

This is not called from anywhere, yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/696bee093f6f75dbb48699ff32bbebe2d3a1e307

Git commit af4cfa624a005f7105db89f6f076c41adbe44bd3 by Pekka Paalanen on 18/07/2007 at 11:23..
nouveau: Make nouveau_wait_for_idle() read PTIMER.

Following my nv28 kmmio dumps, nouveau_wait_for_idle() is modified to
read PTIMER and NV03_PMC_ENABLE. Also a timeout based on PTIMER value is
added, so wait_for_idle() cannot stall indefinitely (unless PTIMER is
halted). The timeout was selected as 1 giga-ticks, which for me is 1s.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af4cfa624a005f7105db89f6f076c41adbe44bd3

Git commit 33a50412c21229610dbb75dee83f145e2f1ec128 by Eric Anholt on 18/07/2007 at 21:22..
Add dry-coded DRM drawable private information storage for FreeBSD.

With this, all modules build again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33a50412c21229610dbb75dee83f145e2f1ec128

Git commit 0c95d489abd19efd2ba017e78a4b28cea0854e77 by Ben Skeggs on 19/07/2007 at 06:43..
nouveau/nv50: get non-default push buffer sizes working.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c95d489abd19efd2ba017e78a4b28cea0854e77

Git commit 51de9ec5e38426b13a1da0f78f3a0894dcb3e495 by Eric Anholt on 19/07/2007 at 10:36..
Add current BSD stuff to .gitignore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51de9ec5e38426b13a1da0f78f3a0894dcb3e495

Git commit d7cf298e540c631795868c52b044c7249bf45902 by Eric Anholt on 19/07/2007 at 11:59..
Add some trivial regression tests, one of which fails.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7cf298e540c631795868c52b044c7249bf45902

Git commit 50cb405f93da70054ede29e0c365f06352dc8fe5 by Eric Anholt on 19/07/2007 at 13:02..
Fix the getclient test (Need this feature for future tests).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50cb405f93da70054ede29e0c365f06352dc8fe5

Git commit ecf3fbe599cd72c495acf339ae24f3a9e01fdb36 by Eric Anholt on 19/07/2007 at 13:17..
Add a test for drawable add, remove, and update.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ecf3fbe599cd72c495acf339ae24f3a9e01fdb36

Git commit e544286eae71a6b150af4d86096895c14e42c36e by Eric Anholt on 19/07/2007 at 13:17..
FreeBSD: Fix the recently added drawable add/remove/update code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e544286eae71a6b150af4d86096895c14e42c36e

Git commit 05204b9c8d021e019456a8dbd83c012e277c7aaf by Eric Anholt on 19/07/2007 at 13:31..
Merge branch 'origin'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05204b9c8d021e019456a8dbd83c012e277c7aaf

Git commit f4e1c1d05cfbd43ac429ab6dc78345ffa3599b7a by Eric Anholt on 19/07/2007 at 13:46..
FreeBSD warnings cleanup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4e1c1d05cfbd43ac429ab6dc78345ffa3599b7a

Git commit 43c9abdedc88807a40034513de842d6eeb8c3ed2 by Jakob Bornecrantz on 19/07/2007 at 14:58..
Fix unlocking of spinlock when we should not
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43c9abdedc88807a40034513de842d6eeb8c3ed2

Git commit 5ba94c2ab8be350fee495e5cfe94afb8f663956a by Ian Romanick on 19/07/2007 at 17:29..
Initial pass at converting driver to DRM infrastructure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ba94c2ab8be350fee495e5cfe94afb8f663956a

Git commit 2f53ce4af2f7db911d908ff382738f30be004e8b by Ian Romanick on 19/07/2007 at 18:05..
Move MMIO drm_addmap (and code that depends on it) to xgi_bootstrap.

For reasons that I don't understand, the drm_addmap call would succeed
in xgi_driver_load, but writes to the map later would oops.  Moving it
to xgi_bootstrap fixes this problem.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f53ce4af2f7db911d908ff382738f30be004e8b

Git commit 15245b670e5359a7dbf9151aa9f160e929e0b46b by Ian Romanick on 19/07/2007 at 18:38..
Rework xgi_(pcie|fb)_free_all to prevent deadlock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15245b670e5359a7dbf9151aa9f160e929e0b46b

Git commit a33f5487296eacf503f5b27ba829f5fbdae8e63b by Ian Romanick on 20/07/2007 at 02:05..
Debug message and comment clean up in xgi_submit_cmdlist.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a33f5487296eacf503f5b27ba829f5fbdae8e63b

Git commit 970674f4867d65bd16cf3585d46930b72a827cce by Ian Romanick on 20/07/2007 at 02:08..
Fix error handing related to xgi_cmdlist_initialize.

xgi_cmdlist_initialize wasn't correctly checking for errors from
xgi_pcie_alloc.  Furthermore, xgi_bootstrap, the one caller of
xgi_cmdlist_initialize, wasn't check its return value.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/970674f4867d65bd16cf3585d46930b72a827cce

Git commit 56665a42f470d5cf8cb4865558cb658dff15a9dd by Ian Romanick on 20/07/2007 at 02:09..
Delete unused variable in xgi_driver_load.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56665a42f470d5cf8cb4865558cb658dff15a9dd

Git commit 9ccb8440f393a395941b211ee87d9addcfa6d69a by Jakob Bornecrantz on 20/07/2007 at 09:36..
Changed mode config spinlock to mutex
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ccb8440f393a395941b211ee87d9addcfa6d69a

Git commit 6bd848307485f678915913f282e2ea59ae3ca1a8 by Ian Romanick on 20/07/2007 at 17:57..
Change handling of begin types slightly.

Moved the getCurBatchBeginPort before its only caller.  Modified
function to return the command ID instead of the port offset.
Function also now assumes input begin type is value.

Added code to ioctl handler to validate begin type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6bd848307485f678915913f282e2ea59ae3ca1a8

Git commit 659209cb2d59c7b25df58d130d0649f8f899b693 by Ian Romanick on 20/07/2007 at 18:29..
Clean up generation of begin commands in xgi_submit_cmdlist

Generate the begin command once in a temporary buffer.  Then,
depending on whether the command is to be written directly to the
hardware or to a secondary buffer, copy to command to the correct place.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/659209cb2d59c7b25df58d130d0649f8f899b693

Git commit ed82d5398a751cf755cf4168cbb79b181facc86f by Ian Romanick on 20/07/2007 at 18:31..
Clean up flush command generation in addFlush2D.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed82d5398a751cf755cf4168cbb79b181facc86f

Git commit 5dc9fd96d7bf48003db832f145ad8acb4bcb73b4 by Eric Anholt on 20/07/2007 at 19:55..
Fix linux spinlock macros after the last commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dc9fd96d7bf48003db832f145ad8acb4bcb73b4

Git commit e39286eb5eab8846a228863abf8f1b8b07a9e29d by Eric Anholt on 20/07/2007 at 19:53..
Remove DRM_ERR OS macro.

This was used to make all ioctl handlers return -errno on linux and errno on
*BSD.  Instead, just return -errno in shared code, and flip sign on return from
shared code to *BSD code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e39286eb5eab8846a228863abf8f1b8b07a9e29d

Git commit 35de4868361ce1fb515cf33f27e6be4c59b07f89 by Eric Anholt on 20/07/2007 at 19:53..
BSD: Replace symlink building with symlinks in git.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35de4868361ce1fb515cf33f27e6be4c59b07f89

Git commit c1119b1b092527fbb6950d0b5e51e076ddb00f29 by Eric Anholt on 20/07/2007 at 20:39..
Replace filp in ioctl arguments with drm_file *file_priv.

As a fallout, replace filp storage with file_priv storage for "unique
identifier of a client" all over the DRM.  There is a 1:1 mapping, so this
should be a noop.  This could be a minor performance improvement, as everything
on Linux dereferenced filp to get file_priv anyway, while only the mmap ioctls
went the other direction.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1119b1b092527fbb6950d0b5e51e076ddb00f29

Git commit 5b38e134163cc375e91424c4688cc9328c6e9082 by Eric Anholt on 21/07/2007 at 01:16..
Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.

The data is now in kernel space, copied in/out as appropriate according to the
This results in DRM_COPY_{TO,FROM}_USER going away, and error paths to deal
with those failures.  This also means that XFree86 4.2.0 support for i810 DRM
is lost.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b38e134163cc375e91424c4688cc9328c6e9082

Git commit f68ad6d1abdce7d3c11cc2e90745c0d1e565fe77 by Dave Airlie on 21/07/2007 at 11:50..
fix drm no-compile due to BSD :-)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f68ad6d1abdce7d3c11cc2e90745c0d1e565fe77

Git commit b43b0b2b32a31bcb81042659ffcc95b8975e42cf by Dave Airlie on 21/07/2007 at 12:11..
fix missing brace placement for IOC_IN
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b43b0b2b32a31bcb81042659ffcc95b8975e42cf

Git commit 0844c46759b96d52c4952fceb96f7c6bb74b2ce7 by Pekka Paalanen on 21/07/2007 at 20:13..
Fix misc ioctl issues, makes Nouveau run.

Debug print fix in drm_release().
Forgotten local variable init in drm_setversion().
Unnecessary put_user() in drm_addmap_ioctl().
ioctl->cmd check broken in drm_ioctl(); workaround.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0844c46759b96d52c4952fceb96f7c6bb74b2ce7

Git commit 5d6fdd9d7924fde8ce62631e6bdce8d5fe33fc3d by Ian Romanick on 22/07/2007 at 03:34..
Clean up xgi_cmd_info and associated code.

There were numerous unnecessary fields in xgi_cmd_info.  The remaining
fields had pretty crummy names.  Cut out the cruft, and rename the
rest.  As a result, the unused parameter "triggerCounter" to
triggerHWCommandList can be removed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d6fdd9d7924fde8ce62631e6bdce8d5fe33fc3d

Git commit 3265a61f895a1d35072984e9cdc71aad898647fa by Ian Romanick on 22/07/2007 at 03:39..
Make s_cmdring a field in the xgi_info structure instead of a global.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3265a61f895a1d35072984e9cdc71aad898647fa

Git commit 1a0775760c0eecbb238f0e928b185c267c1c3783 by Ian Romanick on 22/07/2007 at 04:35..
Rename and document fields of xgi_cmdring_info.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a0775760c0eecbb238f0e928b185c267c1c3783

Git commit 877296ade051cd45c0c2e0354b9f6765f8030413 by Ian Romanick on 22/07/2007 at 04:36..
xgi_mem_alloc::offset is a hardware offset, so it should be u32, not long.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/877296ade051cd45c0c2e0354b9f6765f8030413

Git commit 699207cf2fa0c5255365dd28eeb3dd760f362818 by Ian Romanick on 22/07/2007 at 04:37..
Remove some extraneous debug messages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/699207cf2fa0c5255365dd28eeb3dd760f362818

Git commit 94203840fe53edaf1556d1a0a8a27773c24a7fc5 by Ian Romanick on 22/07/2007 at 06:00..
Bump version.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94203840fe53edaf1556d1a0a8a27773c24a7fc5

Git commit 7e6d08f670a55d79ee037144aa29104e4e8fc700 by Dave Airlie (on behalf of Adrian Bunk) on 23/07/2007 at 08:15..
drm_rmmap_ioctl(): remove dead code

This patch removes some obviously dead code spotted by the Coverity
checker.

Signed-off-by: Adrian Bunk <bunk at stusta.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e6d08f670a55d79ee037144aa29104e4e8fc700

Git commit 2097d743f287d994bd001baedd39e3bc808999c6 by Ian Romanick on 23/07/2007 at 20:26..
Eliminate XGI_CHECK_PCI_CONFIG.

Based on review comments from airlied, XGI_CHECK_PCI_CONFIG is
removed.  He believes (and I tend to agree) that this is a largely
unnecessary workaround for a bug elsewhere.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2097d743f287d994bd001baedd39e3bc808999c6

Git commit 03e932e32be6ae3de6994c6893c813a34623ad7d by Eric Anholt on 23/07/2007 at 22:11..
linux: Make DRM_IOCTL_GET_CLIENT return EINVAL when it can't find client #idx.

Fixes the getclient test and dritest -c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03e932e32be6ae3de6994c6893c813a34623ad7d

Git commit 388a2c54eea7575a5b046da3df09f7a1c63551d6 by Ian Romanick on 24/07/2007 at 01:50..
Minor log message clean up.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/388a2c54eea7575a5b046da3df09f7a1c63551d6

Git commit 46214fc3979ed60b32289ade1b8efbba1c8bf732 by Ian Romanick on 24/07/2007 at 01:50..
Minor log message clean up.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46214fc3979ed60b32289ade1b8efbba1c8bf732

Git commit 887cb31ee9ec04e45829500f095aa4a3bc1095ea by Ian Romanick on 24/07/2007 at 20:27..
Fix bug preventing X server from restarting.

The core DRM lastclose routine automatically destroys all mappings and
releases SG memory.  XP10 DRM and DDX assumed this data stayed around
until module unload.  xgi_bootstrap was reworked to recreate all these
mappings.  In addition, the drm_addmap for the GART backing store was
moved into the kernel.  This causes a change to the ioctl protocol and
a version bump.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/887cb31ee9ec04e45829500f095aa4a3bc1095ea

Git commit 2ef2997ee38ff359c331b6a3febf194bd46e4962 by Ian Romanick on 24/07/2007 at 20:29..
Fix flags for serveral ioctls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ef2997ee38ff359c331b6a3febf194bd46e4962

Git commit 8e64d2ae862d5fa02e23c68db6b55393e1f86005 by Ian Romanick on 24/07/2007 at 20:36..
Fix license formatting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e64d2ae862d5fa02e23c68db6b55393e1f86005

Git commit 75a68635a8f7b0d4fb31031832cc282a39a4a1e7 by Ian Romanick on 24/07/2007 at 22:53..
Pass correct offset to xgi_find_pcie_virt.

The wrong offset was being passed to xgi_find_pcie_virt.  This would
cause an oops in addFlush2D.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75a68635a8f7b0d4fb31031832cc282a39a4a1e7

Git commit 2bafeb673f14b1e3799bf00817138c0b8211635e by Ian Romanick on 24/07/2007 at 23:17..
Fix typo on previous commit.  Sigh...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bafeb673f14b1e3799bf00817138c0b8211635e

Git commit be3099f26547f48066bbdd7a36578b54da9170b4 by Eric Anholt on 25/07/2007 at 19:59..
Fix copy'n'paste-o in FreeBSD drawable code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be3099f26547f48066bbdd7a36578b54da9170b4

Git commit f2528cbc965858c6a7a81d659f9d5f4da290b5ae by Eric Anholt on 25/07/2007 at 19:59..
Improve the drawable test to use multiple drawables.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2528cbc965858c6a7a81d659f9d5f4da290b5ae

Git commit e2d00715cc1d3919aadd5066ef7355049f417bd2 by Dave Airlie on 26/07/2007 at 03:26..
drm: fix size argument for copy to/from user
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2d00715cc1d3919aadd5066ef7355049f417bd2

Git commit 4175dd818110bd10d6d09190d30c271e89202b18 by Dave Airlie on 26/07/2007 at 05:26..
drm/bo: set the req pointer for each buffer to validate
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4175dd818110bd10d6d09190d30c271e89202b18

Git commit cf2d569daca6954d11a796f4d110148ae2e0c827 by Eric Anholt on 26/07/2007 at 17:15..
Replace NO_MOVE/NO_EVICT flags to buffer objects with an ioctl to set pinning.

This cleans up the create/validate interfaces for this very uncommon path, and
makes pinned object creation much easier to use for the X Server.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf2d569daca6954d11a796f4d110148ae2e0c827

Git commit f9c27aa50b715a7d21858f1ce9e4785120bd0c36 by Eric Anholt on 26/07/2007 at 18:18..
Copy the important parts of object_validate into object_create().

This should let us allocate buffers without holding the hardware lock.

While here, add DRM_DEBUG info for the drm_bo ioctls, so you can see something
more specific than just the cmd value per ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9c27aa50b715a7d21858f1ce9e4785120bd0c36

Git commit 3c8ebd94e48589711f44d23e85d713a1ed980f37 by Eric Anholt on 26/07/2007 at 18:26..
debug print ioctl return value as -integer rather than fffffwhatever.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c8ebd94e48589711f44d23e85d713a1ed980f37

Git commit c561cb4650dc5895acfb3ae00c7ff455be31a860 by Ian Romanick on 26/07/2007 at 23:58..
Merge branch 'master' of ssh+git://git.freedesktop.org/git/mesa/drm into xgi-0-0-2

Conflicts:

	linux-core/drmP.h
	linux-core/drm_scatter.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c561cb4650dc5895acfb3ae00c7ff455be31a860

Git commit b89cc0346500d9875d4acebc611db8f9ee3463f7 by Ian Romanick on 26/07/2007 at 23:58..
Eliminate unnecessary (and now wrong) call gto drm_sg_free.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b89cc0346500d9875d4acebc611db8f9ee3463f7

Git commit c37ed9eca57a42b98cc67ca98dbf5135f5ab7aba by Ian Romanick on 27/07/2007 at 00:01..
Eliminate use of DRM_ERR.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c37ed9eca57a42b98cc67ca98dbf5135f5ab7aba

Git commit f01026eae69e81ae16a69a014ba3bcfb286fc7a4 by Arthur Huillet on 27/07/2007 at 13:48..
nouveau: creating notifier in PCI memory for PCIGART
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f01026eae69e81ae16a69a014ba3bcfb286fc7a4

Git commit cd51f131389297f923798daef6c734ba93f4422b by Ian Romanick on 27/07/2007 at 22:45..
Convert to new ioctl interface between core DRM and device-specific module.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd51f131389297f923798daef6c734ba93f4422b

Git commit 2ac80e79e424aa6577e556b2df01caea9e480852 by Ian Romanick on 30/07/2007 at 16:59..
Use OUT3C5B macro instead of assuming little-endian byte order.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ac80e79e424aa6577e556b2df01caea9e480852

Git commit 01628a430d476f5875270d7137fc083ba85cef90 by Ian Romanick on 30/07/2007 at 17:02..
Use DRM_READ/DRM_WRITE macros instead of directly accessing MMIO space.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01628a430d476f5875270d7137fc083ba85cef90

Git commit 2fc697a7d270d57463eb5a16a0c65bd8e14c9893 by Ian Romanick on 30/07/2007 at 17:20..
Fix GE shut-down sequence.

When the GE is shut down, an empty command packet without a begin-link
must be sent.  After this command is sent, wait for the hardware to go
idle.  Finally, turn off the GE and disable MMIO.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fc697a7d270d57463eb5a16a0c65bd8e14c9893

Git commit 08919d8a70558dc61c430be5ed6e4a2bed7429b2 by Ian Romanick on 30/07/2007 at 19:01..
Move additional GE initialization into the kernel.

This code comes directly from the X server.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08919d8a70558dc61c430be5ed6e4a2bed7429b2

Git commit 283eaa25594347267df4e6e5eedbb9d17bb3682c by Dave Airlie on 30/07/2007 at 23:25..
drm: fix fencing refcount error

This extra increase was causing fence leaks on my system, due to create/user add already increasing it twice no need for a 3rd go.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/283eaa25594347267df4e6e5eedbb9d17bb3682c

Git commit c395d27a725f170645704bfc0d27b1e935b53c83 by Dave Airlie on 01/08/2007 at 00:12..
drm/fence: shut up lockdep
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c395d27a725f170645704bfc0d27b1e935b53c83

Git commit f83000c8b388f18f677238b9342fd6a7e262394b by Ian Romanick on 01/08/2007 at 00:27..
Refactor register dumping code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f83000c8b388f18f677238b9342fd6a7e262394b

Git commit 7602e4f8a67d777437502672b4f74d9b990535ce by Dave Airlie on 02/08/2007 at 09:13..
drm: add unlocked ioctl code path - not used yet
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7602e4f8a67d777437502672b4f74d9b990535ce

Git commit 405c48b857a967c1174b27a5db975668e1d6a9f8 by Patrice Mandin on 02/08/2007 at 18:06..
Add libdrm source dir, to build tests from a different build dir
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/405c48b857a967c1174b27a5db975668e1d6a9f8

Git commit 9dfcc1ba07b6ad1a41234ae4016b54444094ac18 by Patrice Mandin on 02/08/2007 at 18:08..
Merge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dfcc1ba07b6ad1a41234ae4016b54444094ac18

Git commit cf4f1a85af69c2c2e5ba9c822d30863f16ce6821 by Eric Anholt on 02/08/2007 at 20:51..
Add a couple of doxygen comments from reading the code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf4f1a85af69c2c2e5ba9c822d30863f16ce6821

Git commit 3a0bc518e35c62bb9c64c9105f836584d949653f by Eric Anholt on 02/08/2007 at 21:08..
Remove the pinned buffer from the LRU when pinning.

Also, be a little safer with setting the pinned flag within the struct lock.
I'm not 100% sure if this is required, but it seems like it might be.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a0bc518e35c62bb9c64c9105f836584d949653f

Git commit 2453ba19b6f9956ea5d412a66d5d33c8a8b301b2 by Patrice Mandin on 03/08/2007 at 21:06..
nouveau:nv10: fill and use load,save graph context functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2453ba19b6f9956ea5d412a66d5d33c8a8b301b2

Git commit beaa0c9a28b30a6ba3292184d04875b6a597e433 by Ben Skeggs on 05/08/2007 at 17:40..
nouveau: Pass channel struct around instead of channel id.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/beaa0c9a28b30a6ba3292184d04875b6a597e433

Git commit 97770db72040dc032130413e0cdabc1777560a75 by Ben Skeggs on 06/08/2007 at 11:45..
nouveau: Various internal and external API changes

1. DRM_NOUVEAU_GPUOBJ_FREE
	Used to free GPU objects.  The obvious usage case is for Gr objects,
	but notifiers can also be destroyed in the same way.

	GPU objects gain a destructor method and private data fields with
	this change, so other specialised cases (like notifiers) can be
	implemented on top of gpuobjs.

2. DRM_NOUVEAU_CHANNEL_FREE

3. DRM_NOUVEAU_CARD_INIT
	Ideally we'd do init during module load, but this isn't currently
	possible.  Doing init during firstopen() is bad as X has a love of
	opening/closing the DRM many times during startup.  Once the
	modesetting-101 branch is merged this can go away.

	IRQs are enabled in nouveau_card_init() now, rather than having the
	X server call drmCtlInstHandler().  We'll need this for when we give
	the kernel module its own channel.

4. DRM_NOUVEAU_GETPARAM
	Add CHIPSET_ID value, which will return the chipset id derived
	from NV_PMC_BOOT_0.

4. Use list_* in a few places, rather than home-brewed stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97770db72040dc032130413e0cdabc1777560a75

Git commit 51f24be578025e3f1eae859288adf5232afc898d by Ben Skeggs on 06/08/2007 at 11:46..
nouveau: Determine trapped channel id from active grctx on >=NV40
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51f24be578025e3f1eae859288adf5232afc898d

Git commit cf04641bc61c8bc18101713a8d95ef98e6afae7f by Ben Skeggs on 06/08/2007 at 12:05..
nouveau: Give DRM its own gpu channel

If your card doesn't have working context switching, it is now broken.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf04641bc61c8bc18101713a8d95ef98e6afae7f

Git commit 7a0a812ea42d80eed89b7b9993eae42c7c1b1613 by Ben Skeggs on 06/08/2007 at 12:09..
nouveau: Remove PGRAPH_SURFACE hack, it wont work now anyway.

Need to find another way of doing this, ideally someone'd hunt down which
object/method controls it!  The Xv blit adaptor is likely now broken on
cards that have pNv->WaitVSyncPossible enabled.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a0a812ea42d80eed89b7b9993eae42c7c1b1613

Git commit 92084c6e056a738308ff65f3fcd7411fd7d2995a by Ben Skeggs on 06/08/2007 at 12:11..
Export some useful ttm functions to drivers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92084c6e056a738308ff65f3fcd7411fd7d2995a

Git commit 8d5a8ebc316028f14666697cff33daddbe384bcd by Ben Skeggs on 06/08/2007 at 12:32..
nouveau: ouch, add nouveau_dma.[ch] files..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d5a8ebc316028f14666697cff33daddbe384bcd

Git commit ac24f328ec8954f78b1025db716abdd5b25b3dd9 by Stephane Marchesin on 06/08/2007 at 15:16..
nouveau: Bump PCI GART to 16MB
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac24f328ec8954f78b1025db716abdd5b25b3dd9

Git commit 66f5232d9393f6886d8fd1a60b2d75cd009b972c by Ben Skeggs on 06/08/2007 at 15:52..
nouveau: Init global gpuobj list early, unbreaks sgdma code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66f5232d9393f6886d8fd1a60b2d75cd009b972c

Git commit 997a9a738ec26cf0ef2c7dee5e30bb53bd11bf6c by Ian Romanick on 06/08/2007 at 22:31..
Eliminate allocation "owner" usage.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/997a9a738ec26cf0ef2c7dee5e30bb53bd11bf6c

Git commit 78e9c1a93d00097895bc77d9ac90da1945021804 by Ian Romanick on 06/08/2007 at 22:37..
Eliminate special-case handling of framebuffer (fake) allocation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78e9c1a93d00097895bc77d9ac90da1945021804

Git commit a6fb93a150f90ada9af6760b52d34716497f744f by Ian Romanick on 06/08/2007 at 22:43..
Finish removing allocation "owner" infrastructure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6fb93a150f90ada9af6760b52d34716497f744f

Git commit d749cc9ae8c50157a1588369222a591410002c26 by Eric Anholt on 06/08/2007 at 22:45..
Initialize the AGP structure's base address at init rather than enable.

Not all drivers call enable (intel), but they would still like to use this
member in driver code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d749cc9ae8c50157a1588369222a591410002c26

Git commit 5362cc723e6605c31d152eb22ee3dc40c9e3f56b by Ian Romanick on 06/08/2007 at 22:52..
Eliminate unnecessary function xgi_pcie_free_locked.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5362cc723e6605c31d152eb22ee3dc40c9e3f56b

Git commit f96bff9e213a950ab910832908d30e732435e628 by Ian Romanick on 06/08/2007 at 23:09..
Unify infrastructure for allocating (not yet freeing) on-card / GART memory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f96bff9e213a950ab910832908d30e732435e628

Git commit 90907c59152f628d6f0efea4927a06e547f4a3c7 by Ian Romanick on 06/08/2007 at 23:17..
Replace per-heap semaphores with drm_device::struct_mutex.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90907c59152f628d6f0efea4927a06e547f4a3c7

Git commit f3072becda3a2d5fe587f20e155d4d4f9ace60a2 by Ian Romanick on 06/08/2007 at 23:35..
Refactor xgi_(fb|pcie)_free_all into xgi_free_all.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3072becda3a2d5fe587f20e155d4d4f9ace60a2

Git commit 6718198897ef9e275506d3fcb497641e1b09d3b1 by Ian Romanick on 06/08/2007 at 23:56..
Release client memory in reclaim_buffers_idlelocked instead of preclose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6718198897ef9e275506d3fcb497641e1b09d3b1

Git commit f7ba02b7458823627097a2320bf9befa84fc9c76 by Ian Romanick on 07/08/2007 at 00:27..
Unify infrastructure for freeing on-card / GART memory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7ba02b7458823627097a2320bf9befa84fc9c76

Git commit a4759b85139dd8d81de25e170777309b770f5316 by Matthieu Castet on 07/08/2007 at 21:09..
nouveau : fix enable irq (in the previous code all irq were masked by engine
init after irq_postinstall)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4759b85139dd8d81de25e170777309b770f5316

Git commit 4ad487190d5b79947c65e238330506db6b77e523 by Ben Skeggs on 08/08/2007 at 00:49..
nouveau: enable/disable engine-specific interrupts in _init()/_takedown()

All interrupts are still masked by PMC until init is finished.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ad487190d5b79947c65e238330506db6b77e523

Git commit 296050eee6ca7b496e8702ceca9628de803d79f8 by Ben Skeggs on 08/08/2007 at 03:01..
nouveau/nv50: hack up initial channel context from current state

We really should be providing static values like the nv40 PGRAPH code does,
however, this will do for now to keep X at least working.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/296050eee6ca7b496e8702ceca9628de803d79f8

Git commit 40f21563564332786ca2b9ffc7d7ba9c7e6f7f1a by Ben Skeggs on 08/08/2007 at 06:12..
nouveau: return channel id
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40f21563564332786ca2b9ffc7d7ba9c7e6f7f1a

Git commit 05633ca3708f48cfbbb77518da4e791d7e1613c2 by Ben Skeggs on 08/08/2007 at 06:37..
nouveau: Always allocate drm's push buffer in VRAM

Fixes #11868
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05633ca3708f48cfbbb77518da4e791d7e1613c2

Git commit e326acf5493a7193954d3dd794855e2a11dc1782 by Matthieu Castet on 08/08/2007 at 20:55..
nouveau : nv10, nv20, nv30 : don't save all channel in the same RAMFC entry

	  This should improve multi fifo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e326acf5493a7193954d3dd794855e2a11dc1782

Git commit 7281463f8d5d45a26f4cdff3fb67d896e0e74f74 by Ben Skeggs on 09/08/2007 at 00:23..
nouveau/nv40: add some missing pciids.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7281463f8d5d45a26f4cdff3fb67d896e0e74f74

Git commit 7784e8c6e74b93ffb39d82e3385bd3268a55507c by Ben Skeggs on 09/08/2007 at 01:12..
nouveau: silence irq handler a bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7784e8c6e74b93ffb39d82e3385bd3268a55507c

Git commit 25cb876f8513d02d4d189371eaa8b7b9a88e860d by Ian Romanick on 09/08/2007 at 22:23..
Associate master file pointer with command list buffer.

Pass the master's file pointer, as supplied to xgi_bootstrap, to
xgi_cmdlist_initialize.  Associate that pointer with the memory
allocated for the command list buffer.  By doing this the memory will
be automatically cleaned up when the master closes the device.  This
allows the removal of some clean up code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25cb876f8513d02d4d189371eaa8b7b9a88e860d

Git commit aea6b4dea9708f66f5fc2068fe84407682570aca by Ian Romanick on 09/08/2007 at 22:30..
Unify alloc and free ioctls.

The DRM_XGI_PCIE_ALLOC and DRM_XGI_FB_ALLOC ioctls (and the matching
free ioctls) are unified to DRM_XGI_ALLOC.  The desired memory region
is selected by xgi_mem_alloc::location.  The region is magically
encoded in xgi_mem_alloc::index, which is used to release the memory.

Bump to version 0.11.0.  This update requires a new DDX.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aea6b4dea9708f66f5fc2068fe84407682570aca

Git commit dbd4d0597ff32458bbe4347bdea0e4b9e55a14da by Ian Romanick on 09/08/2007 at 23:01..
Use sman memory manager instead of internal version.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbd4d0597ff32458bbe4347bdea0e4b9e55a14da

Git commit 6dd97099ea5c6dc7931c6b482eb5935f7dd9ed2d by Ian Romanick on 09/08/2007 at 23:20..
Minor clean up of IRQ code.  Much, much more to come.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dd97099ea5c6dc7931c6b482eb5935f7dd9ed2d

Git commit 371f0a4d410f02d8db050b51fd2e714f888a71e0 by Ian Romanick on 10/08/2007 at 01:15..
Mask off correct bits in M2REG_AUTO_LINK_STATUS for interrupt handling.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/371f0a4d410f02d8db050b51fd2e714f888a71e0

Git commit 06e09842dfbdaa9502d3b3e6b657de4e3630644c by Ian Romanick on 10/08/2007 at 01:28..
Use DRM_MEMORYBARRIER() macro instead of mb().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06e09842dfbdaa9502d3b3e6b657de4e3630644c

Git commit 20a0e5e4298761ae6005399e45d66b93109d2121 by Ian Romanick on 10/08/2007 at 01:57..
After calling drm_sman_cleanup, mark both heaps as uninitialized.

Since the heaps weren't marked as uninitialized, SG memory was never
re-allocated.  This prevented the X-server from being able to restart
without re-loading the kernel module.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20a0e5e4298761ae6005399e45d66b93109d2121

Git commit 39907f613b6c84499c34c9a6ece5f5dde64788c0 by Ben Skeggs on 10/08/2007 at 03:53..
nouveau: Allow creation of gpuobjs before any other init has taken place.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39907f613b6c84499c34c9a6ece5f5dde64788c0

Git commit a46104674f129e873b8dfa29cf8aac9c67bd77be by Ben Skeggs on 10/08/2007 at 04:22..
nouveau/nv50: demagic instmem setup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a46104674f129e873b8dfa29cf8aac9c67bd77be

Git commit da279868706cc799bdf25cdd5523d11fda64d4cc by Dave Airlie on 10/08/2007 at 22:57..
i915: i965 non-secure batchbuffer bit has moved.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da279868706cc799bdf25cdd5523d11fda64d4cc

Git commit 263775c454f381fffc8f5d4f309b4e1b131c3734 by Eric Anholt (on behalf of vehemens) on 13/08/2007 at 17:24..
Fix drm_auth.c locking to not recurse on dev_lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/263775c454f381fffc8f5d4f309b4e1b131c3734

Git commit 3b07a37a48ca6dc22d538221b59b430dd72c6203 by Eric Anholt on 13/08/2007 at 17:50..
Add doxygen and fix whitespace for drm_auth.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b07a37a48ca6dc22d538221b59b430dd72c6203

Git commit d6a45ebf0ee47c31f560f3072a4b70c4039e454a by Eric Anholt on 13/08/2007 at 18:27..
Add a regression test for authentication.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6a45ebf0ee47c31f560f3072a4b70c4039e454a

Git commit 4340f49bf79a5421886363e08501ad347973b083 by Eric Anholt (on behalf of vehemens) on 13/08/2007 at 18:36..
Bug #11951: Fix an errno sign inversion on pre-FreeBSD 5.

Also, annotate where signs change, to hopefully remind the reader of these
issues in the future.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4340f49bf79a5421886363e08501ad347973b083

Git commit 15f841bd529b50901272ca35a4c57de42a51901a by Ian Romanick on 13/08/2007 at 23:21..
Strobe magic 0xB03F register to flush PCI-e GART table.

The original XGI kernel driver strobed 0xB03F each time a page was
allocated to back a GART page.  When the driver was converted to use
the DRM SG interface, this code was lost.  Returning it fixes a long
standing issue where the X-server would work fine the first time, but
acceleration commands would be ignored on the second X-server
invocation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15f841bd529b50901272ca35a4c57de42a51901a

Git commit 3ee211f4f7435792752c1dbcd3a60e2e7abfba09 by Eric Anholt on 13/08/2007 at 23:32..
Bug #11895: Only add the AGP base to map offset if the caller didn't.

The i830 and newer intel 2D code adds the AGP base to map offsets already,
because it wasn't doing the AGP enable which used to set dev->agp->base.

Credit goes to Zhenyu for finding the issue.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ee211f4f7435792752c1dbcd3a60e2e7abfba09

Git commit 02c4e0e757b69cd6ae38b8ab2c078b3f06fea661 by Ben Skeggs on 14/08/2007 at 15:04..
nouveau/nv40: Fix channel scheduling.

Ensure NV_PFIFO_DMA_TIMESLICE_TIMEOUT_ENABLE gets set, otherwise channels
will appear to "freeze" in some circumstances.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02c4e0e757b69cd6ae38b8ab2c078b3f06fea661

Git commit a6ea60c77e8d4a266d696e0d99c11b1f39578dcc by Ben Skeggs on 14/08/2007 at 15:40..
nouveau: Catch all NV4x chips instead of just NV_40.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6ea60c77e8d4a266d696e0d99c11b1f39578dcc

Git commit 891714d8d732480af97fbc45562145a560b7999b by Ian Romanick on 14/08/2007 at 20:18..
Clean up xgi_(en|dis)able_(mmio|ge) and move to xgi_misc.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/891714d8d732480af97fbc45562145a560b7999b

Git commit be76f0eea9b455fde77e15ff35f4f00c70661e51 by Ian Romanick on 14/08/2007 at 20:19..
Remove unused interrupt related functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be76f0eea9b455fde77e15ff35f4f00c70661e51

Git commit d3c8e98dd9ccc366513c117d032fbf80be4eb06a by Ian Romanick on 14/08/2007 at 20:20..
Move dwWriteReg to xgi_cmdlist.c, the only file where it is used.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3c8e98dd9ccc366513c117d032fbf80be4eb06a

Git commit 7b12174aacd09a991be3e74a3db47534961a6887 by Ian Romanick on 14/08/2007 at 20:24..
Clean up remaining C++ style comments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b12174aacd09a991be3e74a3db47534961a6887

Git commit f563a50d145848ed296b63c63422caff80232ddf by Ian Romanick on 14/08/2007 at 20:44..
Eliminate unused / useless ioctls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f563a50d145848ed296b63c63422caff80232ddf

Git commit ee01d3755ac03f2c47e3b4d9bf084d68e6ee95bc by Ben Skeggs on 15/08/2007 at 03:34..
nouveau: Workaround mysterious PRAMIN clobbering by the card.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee01d3755ac03f2c47e3b4d9bf084d68e6ee95bc

Git commit c3faa589b09616acdfd827be1719f6c2706c49ab by Ben Skeggs on 15/08/2007 at 03:36..
nouveau: Allow GART notifiers when using sgdma code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3faa589b09616acdfd827be1719f6c2706c49ab

Git commit a615d2fde77092062f7e2bbfa39705b5f34547e8 by Ben Skeggs on 15/08/2007 at 04:01..
nouveau: Turn some messages into DRM_DEBUGs..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a615d2fde77092062f7e2bbfa39705b5f34547e8

Git commit 10f9b7bd0b471487371813083bd3481629b2a56f by Ben Skeggs on 15/08/2007 at 04:14..
nouveau: Use count parameter in nouveau_notifier_alloc().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10f9b7bd0b471487371813083bd3481629b2a56f

Git commit 5346fc5f36b5e7c55fc7b5cd46f1e4d7563a86a4 by Eric Anholt on 15/08/2007 at 18:06..
BSD: Replace brief description in each file's first line with doxygen later on.

The brief descriptions usually had the wrong filename in them.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5346fc5f36b5e7c55fc7b5cd46f1e4d7563a86a4

Git commit 8a881b47f7c21be2cdeff4b0d1b00d39d503f358 by Eric Anholt on 15/08/2007 at 18:06..
Add simple regression test for getstats (does it not crash the kernel?).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a881b47f7c21be2cdeff4b0d1b00d39d503f358

Git commit a23a47b16cf813f0e7e9616ef6eb66f6ae0bc2ac by Eric Anholt on 15/08/2007 at 18:06..
Add a regression test for the setversion interface.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a23a47b16cf813f0e7e9616ef6eb66f6ae0bc2ac

Git commit 56133e04de40e3004018d069cb229e62ee10e0f4 by Eric Anholt on 15/08/2007 at 18:06..
BSD: Fix regression in setversion ioctl (current version not returned).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56133e04de40e3004018d069cb229e62ee10e0f4

Git commit 4cdd871e90cd5fe440d0a4af5d69f1d84e49e742 by Eric Anholt (on behalf of vehemens) on 15/08/2007 at 18:06..
Bug #11989: Fix regression in getstats ioctl (kernel panic).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4cdd871e90cd5fe440d0a4af5d69f1d84e49e742

Git commit a9ee144eab5bbd5f90747c38cdc016da46c124fe by Eric Anholt (on behalf of vehemens) on 15/08/2007 at 18:12..
BSD: simplify drm_ioctl() after other refactoring.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9ee144eab5bbd5f90747c38cdc016da46c124fe

Git commit d1a2b26a99205b802919aa0901b4e19cb2d251fe by Eric Anholt on 15/08/2007 at 20:08..
Require master in setversion test, since it requires auth.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1a2b26a99205b802919aa0901b4e19cb2d251fe

Git commit 8a1ca401b403848d894f664977f9e939eaf07291 by Eric Anholt on 15/08/2007 at 20:13..
Fix a bad error message in auth.c regression test.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a1ca401b403848d894f664977f9e939eaf07291

Git commit 9254e00e4bbbc02282415cd0ca7bd6b5cb52be82 by Eric Anholt on 15/08/2007 at 20:41..
Add a set of tests for DRM locking, exposing issues on BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9254e00e4bbbc02282415cd0ca7bd6b5cb52be82

Git commit 6e93c35ba7c5001e756d0c9d1a4f534384652a5a by Eric Anholt on 15/08/2007 at 20:42..
BSD: Return EINVAL if drm_unlock is called on an unheld or other-owner lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e93c35ba7c5001e756d0c9d1a4f534384652a5a

Git commit b668d6d9050106bebfb704e4ed32d2924bb26371 by Eric Anholt on 15/08/2007 at 21:29..
Fix dev->agp->base initialization on BSD, and fix addmap range check on Linux.

With the previous linux commit, an AGP aperture at the end of the address space
would have wrapped to 0 and the test would have failed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b668d6d9050106bebfb704e4ed32d2924bb26371

Git commit d8a800b63de09f41d482d2b3367e4da67ed0f92b by Ian Romanick on 16/08/2007 at 04:05..
Implement fence support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8a800b63de09f41d482d2b3367e4da67ed0f92b

Git commit 8a4d7f34d9c0182c466518c6f413d9a039db402d by Ben Skeggs on 16/08/2007 at 15:12..
nouveau: Detect memory on NFORCE/NFORCE2 correctly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a4d7f34d9c0182c466518c6f413d9a039db402d

Git commit 0055fd5c35306a6363b0414f7f2220b3d1c27ecc by Eric Anholt on 16/08/2007 at 16:23..
Merge branch 'master' into bo-set-pin
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0055fd5c35306a6363b0414f7f2220b3d1c27ecc

Git commit 0d3c741df19c35307723422c1f2f28a23995823d by Ian Romanick on 16/08/2007 at 20:43..
Forgot to add this file on the last commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d3c741df19c35307723422c1f2f28a23995823d

Git commit 3383e8bd6bcd2323c81252e617c8522593baf818 by Ian Romanick on 17/08/2007 at 17:53..
Remove unnecessary include.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3383e8bd6bcd2323c81252e617c8522593baf818

Git commit a122e7dabfaade751e8f6bb6d1488902fd36a40e by Patrice Mandin on 19/08/2007 at 16:41..
Function pci_get_bus_and_slot needs 2.6.19 or later
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a122e7dabfaade751e8f6bb6d1488902fd36a40e

Git commit c8760c7999b8aeb6d51b09c062331f518953a920 by Patrice Mandin on 19/08/2007 at 16:45..
Check also for Linux, as it's not supported on different OS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8760c7999b8aeb6d51b09c062331f518953a920

Git commit 216f1b0573b2c0e39ac82c7f56235c1003e9bd4d by Ben Skeggs on 20/08/2007 at 16:18..
nouveau: Poke 0x2230 on NV47 also.

Makes 0x2220 work the same way as on NV40.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/216f1b0573b2c0e39ac82c7f56235c1003e9bd4d

Git commit 03c0490129816b5f5b40855438e948fdae572d06 by Ben Skeggs on 20/08/2007 at 16:23..
nouveau: Add NV44 ctx ucode.  Patch from stillunknown.

Microcode is similar enough to the NV4A one that it should be able to use
the same initial PGRAPH context.  One day this mess will go away, honest..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03c0490129816b5f5b40855438e948fdae572d06

Git commit 76337bdb19fb6a098fc6d6ceaafb58a4ed15f9b0 by Stephane Marchesin on 22/08/2007 at 02:20..
nouveau: fix the comment and debug message for PCIGART size
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76337bdb19fb6a098fc6d6ceaafb58a4ed15f9b0

Git commit c8ee6a6cabbd44c06e382f99c2691d3efe46b984 by Stephane Marchesin on 22/08/2007 at 02:20..
nouveau: redo nv30_graph.c. Should work better, but we still lack a couple of cards.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8ee6a6cabbd44c06e382f99c2691d3efe46b984

Git commit ae883c97ad7af5529d40c8d52c2da614d34233e0 by Ben Skeggs on 22/08/2007 at 02:54..
nouveau/nv50: Correct thinko for 8800 chips + cleanup a bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae883c97ad7af5529d40c8d52c2da614d34233e0

Git commit 81eaff44c47cfb23e96b1cb848df5fd7ea24f913 by Ben Skeggs on 22/08/2007 at 03:09..
nouveau: NV4c ctx ucode.

Seems we already have a nv4c_ctx_init() somehow, a quick check shows the
ucode matches it still.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81eaff44c47cfb23e96b1cb848df5fd7ea24f913

Git commit a654c0341a7892307522ed6e7f4518cc7e28a99e by Ben Skeggs on 22/08/2007 at 03:19..
nouveau/nv40: Dump extra info on ucode state if ctx switch fails.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a654c0341a7892307522ed6e7f4518cc7e28a99e

Git commit 11c46afe7599cf3cefd30a7e55325a1a1aa8e5ba by Ben Skeggs on 22/08/2007 at 03:23..
nouveau/nv40: Preserve other bits in 0x400304/0x400310 like NVIDIA do.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11c46afe7599cf3cefd30a7e55325a1a1aa8e5ba

Git commit 8645dac8952473dc3e09ba7a7a9db3fbdf75215f by Matthieu Castet on 22/08/2007 at 21:20..
nouveau : fix some potential crashes with objects causing hash collision
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8645dac8952473dc3e09ba7a7a9db3fbdf75215f

Git commit 98750111961a5729eba9433b927f8c24548fbace by Patrice Mandin on 23/08/2007 at 08:20..
nouveau: nv10: check some NULL pointers inside context switch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98750111961a5729eba9433b927f8c24548fbace

Git commit 502bbdbe14fa458ed06c7fa4b1ccb63e4f126625 by Patrice Mandin on 24/08/2007 at 22:12..
nouveau: nv10: output a warning if last channel invalid, and switch to next
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/502bbdbe14fa458ed06c7fa4b1ccb63e4f126625

Git commit 4182fce4084f4d884a7435b8ad2acb5c209f4544 by Matthieu Castet on 25/08/2007 at 20:10..
nouveau : nv1x graph reworks

- add forgotten init value
- use the same PGRAPH_DEBUG than the blob
- remove init of ddx reg : it should be done with object
- better handle of channel destruction

hope I didn't break anything ;)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4182fce4084f4d884a7435b8ad2acb5c209f4544

Git commit a331d2e352675be260254e8abef412540ead9c30 by Matthieu Castet on 26/08/2007 at 18:48..
nouveau : add NV04_PGRAPH_TRAPPED_ADDR definition

- fix offset for nv04
- use it in nv10 graph ctx switch for getting next channel
- dump NV10_PGRAPH_TRAPPED_DATA_HIGH on nv10+
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a331d2e352675be260254e8abef412540ead9c30

Git commit 589707b765eee78cc278c10603e2c858bb819436 by Dave Airlie on 28/08/2007 at 05:17..
drm: remove XFREE86_VERSION macros
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/589707b765eee78cc278c10603e2c858bb819436

Git commit c78e610fa42c8122ed6bc504222ef650f5693d22 by Keith Packard on 28/08/2007 at 19:23..
Add register defines for hw binning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c78e610fa42c8122ed6bc504222ef650f5693d22

Git commit 2bcd5b5e330843e1e1a5f0a19105ecd33e76b00b by Ian Romanick on 29/08/2007 at 07:04..
Use DRM_SPINLOCK / DRM_UNSPINLOCK macros.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bcd5b5e330843e1e1a5f0a19105ecd33e76b00b

Git commit c46ffd6b2943332a88589fb525305ffd09d35b8d by Ian Romanick on 29/08/2007 at 07:23..
Fix late night dumb-dumb mistake.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c46ffd6b2943332a88589fb525305ffd09d35b8d

Git commit 575efb7249d7cf194f07e45db17e601d9c259231 by Brice Goglin on 29/08/2007 at 07:36..
Do not call laptop-detect, let the only user call it directly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/575efb7249d7cf194f07e45db17e601d9c259231

Git commit 9c5b9d458bc618fb9d7d8590c866655e92f9cb0b by Ian Romanick on 29/08/2007 at 21:41..
Use ati_pcigart for PCI-e GART table handling.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c5b9d458bc618fb9d7d8590c866655e92f9cb0b

Git commit 69b11f44f0a0cfe0806e18dae2f360bc1ed8e005 by Stephane Marchesin on 30/08/2007 at 23:40..
nouveau: give nv03 the last cut.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69b11f44f0a0cfe0806e18dae2f360bc1ed8e005

Git commit bac3f49daa54bf34ea21854be23061d10a0d0d1b by Stephane Marchesin on 30/08/2007 at 23:40..
nouveau: nv04 context switching support. Works for starting X up at least.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bac3f49daa54bf34ea21854be23061d10a0d0d1b

Git commit bb3da88601749cd647632eed86fb57dfd7cb81ee by Ian Romanick on 31/08/2007 at 17:48..
Acutally emit the IRQ (duh) when setting the fence post.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb3da88601749cd647632eed86fb57dfd7cb81ee

Git commit fee49e2071f2f528d7041bf1f14c640fff7478cc by Ian Romanick on 31/08/2007 at 17:54..
Merge branch 'master' of ssh+git://git.freedesktop.org/git/mesa/drm into xgi-0-0-2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fee49e2071f2f528d7041bf1f14c640fff7478cc

Git commit ef4944de85b974e6b91087fdcb8f241f2619d28d by Maarten Maathuis on 04/09/2007 at 16:51..
Add context init voodoo and context switch code for NV41.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef4944de85b974e6b91087fdcb8f241f2619d28d

Git commit ff9a019cf06b7ebaf2fa8dee8e37c866ca4623af by Stephane Marchesin on 06/09/2007 at 00:47..
nouveau: add pure nv30 support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff9a019cf06b7ebaf2fa8dee8e37c866ca4623af

Git commit edf5a86a269690b0e42a5cee7d4ac3828b42ca3e by Stephane Marchesin on 06/09/2007 at 00:47..
nouveau: fix some nv04 graph switching.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edf5a86a269690b0e42a5cee7d4ac3828b42ca3e

Git commit c597bd57eee3ea05a3b8c851615c7351d0b32fce by Ian Romanick on 06/09/2007 at 22:20..
Bump version to 1.0.0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c597bd57eee3ea05a3b8c851615c7351d0b32fce

Git commit 54c96cbc46a21e05cf991d0e4a26da58bd87ce85 by Ian Romanick on 06/09/2007 at 22:37..
Merge branch 'xgi-0-0-2'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54c96cbc46a21e05cf991d0e4a26da58bd87ce85

Git commit 06bb07259531d10df2c1979919af899e3812057b by Ben Skeggs on 07/09/2007 at 10:07..
nouveau: Use nv41 ctxprog/vals on nv42.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06bb07259531d10df2c1979919af899e3812057b

Git commit f19d80b0465d9ba93005d8499654e3256494c831 by Maarten Maathuis on 08/09/2007 at 20:19..
nouveau: Add Quadro NVS 140 pciid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f19d80b0465d9ba93005d8499654e3256494c831

Git commit b2ee72f4400999b2cf783256547fe8c7bfa698f5 by Matthieu Castet on 09/09/2007 at 10:13..
nouveau : nv10 pipe ctx switch load/save.

This fix some issues with more than one 3D fifo, but there still some "corruption" sometimes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2ee72f4400999b2cf783256547fe8c7bfa698f5

Git commit 00bb534a546a4ca4bb6e167f5b387fa8156f4ca7 by Matthieu Castet on 09/09/2007 at 13:49..
nouveau : nv10 fix NV10_PGRAPH_CTX_USER save/load
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00bb534a546a4ca4bb6e167f5b387fa8156f4ca7

Git commit 0bd8752a0cb8afb7f29a5f659c3459aab42d9955 by Patrice Mandin on 10/09/2007 at 16:53..
nouveau: nv10: add combiner registers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bd8752a0cb8afb7f29a5f659c3459aab42d9955

Git commit 3cb8acd5abcb410ab2982f55aec94b5a793a47d6 by Jesse Barnes on 11/09/2007 at 10:48..
Disambiguate planes & pipes for swap operations

This mod makes the SAREA track plane to pipe mappings and corrects the name of
the plane info variables (they were mislabeled as pipe info since until now all
code assumed a direct mapping between planes and pipes).

It also updates the flip ioctl argument to take a set of planes rather than
pipes, since planes are flipped while pipes generate vblank events.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3cb8acd5abcb410ab2982f55aec94b5a793a47d6

Git commit 7fdf98051a51a0117f415f7f7374f2b4d0b2e531 by Jesse Barnes on 11/09/2007 at 10:50..
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fdf98051a51a0117f415f7f7374f2b4d0b2e531

Git commit 852232fb803bef92b12136be2766ddee3e3613b2 by Jesse Barnes on 12/09/2007 at 15:55..
Remove plane->pipe mapping from SAREA private after all

We can figure out which pipe a given plane is mapped to by looking at the
display control registers instead of tracking it in a new SAREA private field.
If this becomes a performance problem, we could move to an ioctl based solution
by adding a new parameter for the DDX to set (defaulting to the old behavior if
the param was never set of course).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/852232fb803bef92b12136be2766ddee3e3613b2

Git commit c453135789597648ef5aa641c4e59bb5b5e320de by Brian on 12/09/2007 at 17:49..
Added idr_replace() function which was apparently added in Linux 2.6.18

Someone should probably double-check my work here since this is the
first time I've touched drm_compat.[ch]
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c453135789597648ef5aa641c4e59bb5b5e320de

Git commit 41345b95a2cdc1e509171d31fc8aed8cecb43dbd by Brian on 12/09/2007 at 18:05..
Added bool typedef added in kernel 2.6.19

This allows the xgi code to compile with older kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41345b95a2cdc1e509171d31fc8aed8cecb43dbd

Git commit e7d4a26913ba3a4949ac36280925062948ee21ce by Ian Romanick on 18/09/2007 at 18:03..
Fix ioc32 compat layer

Previously any ioctls that weren't explicitly listed in the compat ioctl
table would fail with ENOTTY.  If the incoming ioctl number is outside the
range of the table, assume that it Just Works, and pass it off to drm_ioctl.
This make the fence related ioctls work on 64-bit PowerPC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7d4a26913ba3a4949ac36280925062948ee21ce

Git commit a3881ad2fef99aaf0a863609a847020ea822798c by Ian Romanick on 18/09/2007 at 18:03..
Add ioc32 compat layer for XGI DRM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3881ad2fef99aaf0a863609a847020ea822798c

Git commit 78d111fa967d18e7f9f9b2acd26aff20b884eb6c by Michel Dänzer on 18/09/2007 at 20:06..
i915: Fix scheduled buffer swaps.

One instance of unlocking a spinlock was converted incorrectly when this code
was fixed to build on BSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78d111fa967d18e7f9f9b2acd26aff20b884eb6c

Git commit e349b58b4a6ebfe299720cb921039a600c145e65 by Michel Dänzer on 18/09/2007 at 20:06..
i915: Reinstate check that drawable has valid information in i915_vblank_swap.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e349b58b4a6ebfe299720cb921039a600c145e65

Git commit 3d3a96ad4e5596187236898ca241515a21661b69 by Eric Anholt on 19/09/2007 at 22:55..
Merge branch 'origin' into bo-set-pin
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d3a96ad4e5596187236898ca241515a21661b69

Git commit bc5423f16838257a040a55b88df9588d268fda06 by Dave Airlie on 20/09/2007 at 04:01..
drm_sysfs: update sysfs code from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc5423f16838257a040a55b88df9588d268fda06

Git commit 74c6f2f47a9977fef8fcc7c698862d5bd2f54336 by Stephane Marchesin on 21/09/2007 at 20:04..
nouveau: add some checks to the nv04 graph switching code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74c6f2f47a9977fef8fcc7c698862d5bd2f54336

Git commit dc60c452e6ac72ebc4e5c73153d4d9d8c9edfae5 by Stephane Marchesin on 21/09/2007 at 20:27..
nouveau: fix notifiers on PPC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc60c452e6ac72ebc4e5c73153d4d9d8c9edfae5

Git commit 7587e9682c1b70930c015915d588b42ccd00c7c4 by Stephane Marchesin on 21/09/2007 at 20:42..
nouveau: fix ppc and get it right this time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7587e9682c1b70930c015915d588b42ccd00c7c4

Git commit 3c995c2c4d2530e5bd01548764b20c4d062fd7a5 by Eric Anholt on 21/09/2007 at 22:58..
Fix mapCount refcounting on unmap, even though the value is unused.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c995c2c4d2530e5bd01548764b20c4d062fd7a5

Git commit e7bfeb3031374653f7e55d67cc1b5c823849359f by Eric Anholt on 21/09/2007 at 23:14..
Add some more verbosity to drm_bo_set_pin_req comments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7bfeb3031374653f7e55d67cc1b5c823849359f

Git commit 24e33627c5dfb92324a9faf1c7d366e7f33e622a by Eric Anholt on 22/09/2007 at 00:12..
Merge branch 'bo-set-pin'

This branch replaces the NO_MOVE/NO_EVICT flags to buffer validation with a
separate privileged ioctl to pin buffers like NO_EVICT meant before.  The
functionality that was supposed to be covered by NO_MOVE may be reintroduced
later, possibly in a different way, after the superioctl branch is merged.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24e33627c5dfb92324a9faf1c7d366e7f33e622a

Git commit da63f4ba0f15c3ae614eba92c8219670c674727e by Thomas Hellstrom on 22/09/2007 at 11:57..
Add fence error member.

Modify the TTM backend bind arguments.
Export a number of functions needed for driver-specific super-ioctls.
Add a function to map buffer objects from the kernel, regardless of where they're
currently placed.
A number of error fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da63f4ba0f15c3ae614eba92c8219670c674727e

Git commit bea727b8387f3094b9921004d7686a2d77184466 by Thomas Hellstrom on 22/09/2007 at 11:57..
Make nouveau compile on older kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bea727b8387f3094b9921004d7686a2d77184466

Git commit 0774090d5b7d3eba734086b437021039bc19c365 by Thomas Hellstrom on 22/09/2007 at 11:59..
Fix drm_bo.c compiling.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0774090d5b7d3eba734086b437021039bc19c365

Git commit 54df1b9ff3b79097fedd8ed7bf54aca30a660cbd by Thomas Hellstrom on 22/09/2007 at 12:30..
Fix pinned buffer fence class.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54df1b9ff3b79097fedd8ed7bf54aca30a660cbd

Git commit 331c032528ba1faebef1d8eaa56db47f533f0426 by David Nusinow on 23/09/2007 at 03:49..
Remove make-orig-tar-gz target

This target wasn't kept up to date and was totally broken for the git
world. The way we use git has made this target pretty well impossible to
use in any form, so it's been supersceded by a script that is currently
located at
http://people.debian.org/~dnusinow/xsf_scripts/git-make-orig-tar-gz
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/331c032528ba1faebef1d8eaa56db47f533f0426

Git commit 2a2d02bbc500140a861380df52ce66abcac39312 by Jakob Bornecrantz on 24/09/2007 at 12:53..
Added small modesetting test
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a2d02bbc500140a861380df52ce66abcac39312

Git commit 5cc3083179b19678456905a9122a3d0f04e6f623 by Jesse Barnes on 24/09/2007 at 21:41..
Merge branch 'master' into modesetting-101 - TTM & typedef removal

Conflicts:

	linux-core/drmP.h
	linux-core/drm_bo.c
	linux-core/drm_drv.c
	linux-core/drm_objects.h
	shared-core/drm.h
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c

Mostly removing typedefs that snuck into the modesetting code and
updating to the latest TTM APIs.  As of today, the i915 driver builds,
but there are likely to be problems, so debugging and bugfixes will
come next.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5cc3083179b19678456905a9122a3d0f04e6f623

Git commit 0be6e919aa3e7af884980e2004755848a2aa7519 by Jesse Barnes on 24/09/2007 at 22:40..
Add 965GM macro bits

Update IS_MOBILE macro to include new IS_I965GM test.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0be6e919aa3e7af884980e2004755848a2aa7519

Git commit cbcbe80c09bd95485ce8a9b0d86242fedcd7c182 by Jesse Barnes on 24/09/2007 at 22:43..
Cleanup SDVO debug output

SDVO debug messages were incorrectly including severity prefixes in each print
rather than each unique line.  Fix it up.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbcbe80c09bd95485ce8a9b0d86242fedcd7c182

Git commit bb5516f4f47d16d5d59797fa170abd50d35377a7 by Dave Airlie on 25/09/2007 at 06:17..
drm/ttm: fixup fence class naming and interfaces

This is some code for nouveau that Ben Skeggs worked on, and also
fixes the naming (having class in a system header file == C++ keyword == bad plan)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb5516f4f47d16d5d59797fa170abd50d35377a7

Git commit 03c47f1420bf17a1e0f2b86be500656ae5a4c95b by Dave Airlie on 25/09/2007 at 06:17..
drm: use fence_class as name instead of class
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03c47f1420bf17a1e0f2b86be500656ae5a4c95b

Git commit c4b3a0f602abd02038f7e5dd45fcfb2df4b5fcfa by Thomas Hellstrom on 25/09/2007 at 16:03..
Merge branch 'master' into pre-superioctl-branch

Conflicts:

	linux-core/drm_bo.c
	linux-core/drm_fence.c
	linux-core/drm_objects.h
	shared-core/drm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4b3a0f602abd02038f7e5dd45fcfb2df4b5fcfa

Git commit 5433bbbfde10bed7fbafcd90c64c364546ca724f by Jesse Barnes on 25/09/2007 at 23:15..
Remove buffer object user list check in drm_bo_destroy_unlocked

In the case of driver allocated buffers, there won't necessarily be a user list
associated with the buffer, so don't bug out on an empty list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5433bbbfde10bed7fbafcd90c64c364546ca724f

Git commit 053ff86566bcf050c7fd5b5dc7158bb35d39c38b by Jesse Barnes on 25/09/2007 at 23:16..
Move map hash destruction to after driver unload hook is called

The driver unload routine will want to remove register and SAREA maps, so don't
destroy the map hash before we get there.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/053ff86566bcf050c7fd5b5dc7158bb35d39c38b

Git commit 972ec4fa25059c84ed103c28efcb17f9f97a6d74 by Jesse Barnes on 25/09/2007 at 23:18..
Hack out i915_mem_takedown

We may want to make the old i915 memory manager obsolete eventually, and in the
meantime the takedown causes problems on unload so remove it for now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/972ec4fa25059c84ed103c28efcb17f9f97a6d74

Git commit 6671ad1917698b6174a1af314b63b3800d75248c by Alan Hourihane on 26/09/2007 at 14:38..
don't copy back if an error was returned.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6671ad1917698b6174a1af314b63b3800d75248c

Git commit b2c4c7ae5e14598dbb8c1de32918ec9cc8dde7c9 by Alan Hourihane on 26/09/2007 at 14:39..
don't copy back if an error was returned.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2c4c7ae5e14598dbb8c1de32918ec9cc8dde7c9

Git commit dfcf9272ce4427d959098b0f9e1748832a47a786 by Alan Hourihane on 26/09/2007 at 14:40..
no need to copy to/from user as the unlocked ioctl does
that for us.

other small cleanups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfcf9272ce4427d959098b0f9e1748832a47a786

Git commit b44925b2a553df6a611db320b553336a946aa1a8 by Alan Hourihane on 26/09/2007 at 15:18..
Add brackets
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b44925b2a553df6a611db320b553336a946aa1a8

Git commit 61dfd19de81716aea0eaba90518fcb110b46b8f0 by Alan Hourihane on 26/09/2007 at 15:18..
Add brackets
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61dfd19de81716aea0eaba90518fcb110b46b8f0

Git commit 24cdd2f8c494573e1f84a752ae4eccec8890347a by Keith Packard on 26/09/2007 at 21:25..
Allow parallel module compile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24cdd2f8c494573e1f84a752ae4eccec8890347a

Git commit 2ed12b6b7eee8a1b5b0adf0cd8f3cb8c1bc3ccaf by Alan Hourihane on 27/09/2007 at 13:21..
Add some more checks to modelist walking for matching
incoming modes to current modelist.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ed12b6b7eee8a1b5b0adf0cd8f3cb8c1bc3ccaf

Git commit bf9bd5671c184e1caeeb25ead588cbb2ab77c360 by Alan Hourihane on 27/09/2007 at 13:21..
Create memory pool for TT memory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf9bd5671c184e1caeeb25ead588cbb2ab77c360

Git commit d69721a14a8954420b4e0022ecf10bb040c6b807 by Alan Hourihane on 28/09/2007 at 08:21..
Set the fb_base, so userspace applications can actually work
now instead of locking up.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d69721a14a8954420b4e0022ecf10bb040c6b807

Git commit 0bb2395a8be0c33cc687dfd6aae7df81a82ed8e5 by Jesse Barnes on 28/09/2007 at 17:10..
Revert drm_i915_flip_t braindamage

I should not have renamed this field.
I should not have renamed this field.
I should not have renamed this field.

On the plus side, it was at least binary compatible.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bb2395a8be0c33cc687dfd6aae7df81a82ed8e5

Git commit 72134e939eda578bc53746bf43f7096cbeaf9b7b by Matthieu Castet on 28/09/2007 at 19:29..
nouveau : clean chan->pgraph_ctx stuff. We now do a static init of the array.
This avoid hardcoding pgraph_ctx size and potential buffer overflow.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72134e939eda578bc53746bf43f7096cbeaf9b7b

Git commit 215eab6ccfb6d3a22218f996c8215a7dcaf65d01 by Michel Dänzer on 29/09/2007 at 16:07..
Don't build without any optimization on Linux.

Building without optimization causes the drm module not to link correctly on
ppc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/215eab6ccfb6d3a22218f996c8215a7dcaf65d01

Git commit f863d23e01bf0b851c2c7addedfaec77ef951a0c by Michel Dänzer (on behalf of chaohong guo) on 29/09/2007 at 16:08..
radeon: Commit the ring after each partial texture upload blit.

This makes sure each blit starts as early as possible, which may improve
texture upload performance in some cases.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f863d23e01bf0b851c2c7addedfaec77ef951a0c

Git commit 097db7a9b0cd0e53fb82dffa57c662f327c19670 by Matthieu Castet on 29/09/2007 at 21:07..
nouveau : nv1x fix strange corruption
that appears when running glxgears and nouveau demo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/097db7a9b0cd0e53fb82dffa57c662f327c19670

Git commit f8f31f04574cd6986d7d9ef2215bbb23e0f44b73 by Matthieu Castet on 29/09/2007 at 21:07..
nouveau : stop the fifo of the channel we are deleting
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8f31f04574cd6986d7d9ef2215bbb23e0f44b73

Git commit c76e04828bd5849f526fae5af7deaf1cbc9f4c55 by Matthieu Castet on 30/09/2007 at 12:21..
nouveau : nv04 don't use chan->pgraph_ctx array
This commit is a first step to dynamic alloc pgraph context on nv04, nv10.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c76e04828bd5849f526fae5af7deaf1cbc9f4c55

Git commit fb3ed99fb110a540d16923417c33ff581721ba3a by Matthieu Castet on 30/09/2007 at 12:50..
nouveau : pgraph_ctx dynamic alloc for nv04, nv10
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb3ed99fb110a540d16923417c33ff581721ba3a

Git commit a45fce77125aafc42c2cae6b5a896526ec4ab630 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: NV30 should never call nouveau_nv20_context_switch().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a45fce77125aafc42c2cae6b5a896526ec4ab630

Git commit 88bdb38cea60cea918b6e6a1ca97a7ec3de5b832 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: Change couple constants to symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88bdb38cea60cea918b6e6a1ca97a7ec3de5b832

Git commit dc592c8b7bc12d16c658648f124792ac4d2882b9 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: Make nv20 use the nv30 PGRAPH ctx functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc592c8b7bc12d16c658648f124792ac4d2882b9

Git commit 8ad605a2644251a400700e6f0e25ef76a1c80628 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: let nv20 hardware do ctx switching automatically.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ad605a2644251a400700e6f0e25ef76a1c80628

Git commit aa2c3379914fc6fea63bfcfd8579ab6cd8d70a68 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: nv28 graph context init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa2c3379914fc6fea63bfcfd8579ab6cd8d70a68

Git commit a67060c810613059b71c14e9fa91ea114fcf0106 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: graph ctx init nv25

According to mmio_trace_900XGL.tar.bz2 by Evan Fraser the nv25 init is
exactly the same as nv28 init.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a67060c810613059b71c14e9fa91ea114fcf0106

Git commit 205403aea8213ffc0e36f4103d78d62bf1584a69 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: nv30 graph function renames, removed nv20_graph.c

All nv30 functions in nv30_graph.c that can be used on nv20 are renamed
as accordingly. nv20 specific parts from nv20_graph.c are moved into
nv30_graph.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/205403aea8213ffc0e36f4103d78d62bf1584a69

Git commit aa135ba8e86d43a738973a25d638b7dc4cdddc55 by Pekka Paalanen on 30/09/2007 at 19:16..
nouveau: rename nv30_graph.c to nv20_graph.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa135ba8e86d43a738973a25d638b7dc4cdddc55

Git commit 9cd6ece3079373eddff320a1d3e09bfe2a35be83 by Matthieu Castet on 30/09/2007 at 21:09..
nouveau : nv20_graph replace nouveau_graph_wait_idle by nouveau_wait_for_idle
Also clean PGRAPH_CHANNEL macros
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9cd6ece3079373eddff320a1d3e09bfe2a35be83

Git commit 75e8f4b5cfdff0bb62ce8439ecf743cd12fc560d by Matthieu Castet on 30/09/2007 at 21:19..
nouveau : nv30 remove harcoded NV20_PGRAPH_CHANNEL_CTX_TABLE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75e8f4b5cfdff0bb62ce8439ecf743cd12fc560d

Git commit e1600646a90f11c7a5874c83bda6f70f789f7f48 by Stephane Marchesin on 01/10/2007 at 01:28..
nouveau: flip the ctx switch bit on. it seems to be ignored on nv34 but causes nv30 issues.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1600646a90f11c7a5874c83bda6f70f789f7f48

Git commit 69fcfb413e72ad2204d306f20af6547819e040da by Maarten Maathuis on 01/10/2007 at 20:21..
nouveau: Fix dereferencing a NULL pointer when erroring out during initialization.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69fcfb413e72ad2204d306f20af6547819e040da

Git commit b0473699ed7bef4efd0742e0a350d345a7cc9a0c by Dave Airlie on 02/10/2007 at 05:48..
ttm: returning into dummy causes a buffer object leak

as nobody ever derefs dummy, however not returning does the deref
correctly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0473699ed7bef4efd0742e0a350d345a7cc9a0c

Git commit ffa3173ec4bb5a310b3f8539bb6c2f8589ce2ed5 by Pekka Paalanen (on behalf of Stuart Bennett) on 02/10/2007 at 19:18..
nouveau: nv20 graph context init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ffa3173ec4bb5a310b3f8539bb6c2f8589ce2ed5

Git commit afc57ef1dfb5bdf17411505d4dfbb03863a870bf by Pekka Paalanen on 02/10/2007 at 19:18..
nouveau: fix nv25_graph_context_init

It was writing 4x the data in a loop.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afc57ef1dfb5bdf17411505d4dfbb03863a870bf

Git commit a72eb27fbc7a66e35018ffbcb5137cfaaf4049aa by Pekka Paalanen on 02/10/2007 at 19:18..
nouveau: nv20 graph_create_context difference

nv20 writes the chan->id to a different place than nv28.
This still does not make nv20 run nv10_demo.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a72eb27fbc7a66e35018ffbcb5137cfaaf4049aa

Git commit 7f99fd5d7aa1f0d2463907d9d8c483b6249ac831 by Ian Romanick on 03/10/2007 at 21:08..
First round of byte-ordering fixes for PowerPC.

This isn't 100% as command submission via PCI-e GART buffers doesn't work.
I've hacked around that for the time being.  This is essentially the code
that was used at the POWER.org event to show Bimini.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f99fd5d7aa1f0d2463907d9d8c483b6249ac831

Git commit 0379919e99542bc50cf9d0a8a3996b2896ec4e64 by Ian Romanick on 03/10/2007 at 21:12..
Use 'ifdef __BIG_ENDIAN' instead of 'if __BIG_ENDIAN'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0379919e99542bc50cf9d0a8a3996b2896ec4e64

Git commit 7fbd10d93310345164d1e65da281848b05493797 by Stephane Marchesin on 04/10/2007 at 01:44..
nouveau: nv2a drm context switch support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fbd10d93310345164d1e65da281848b05493797

Git commit 495bbbaadc93c574eb98dd2ad64bdca4d91d4152 by Dave Airlie on 04/10/2007 at 06:13..
drm: fix page count calculation

Also no need to do pre-populate work on single page
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/495bbbaadc93c574eb98dd2ad64bdca4d91d4152

Git commit 5ca12104f8a3eebecae6d238c1c456c8e6540ae3 by Maarten Maathuis on 04/10/2007 at 07:24..
linux-drm: Obey device class requirements when detecting devices.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ca12104f8a3eebecae6d238c1c456c8e6540ae3

Git commit b510517d59efcb45cc7079743be967bee122b251 by Maarten Maathuis on 04/10/2007 at 07:31..
nouveau: Switch over to using PMC_BOOT_0 for card detection.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b510517d59efcb45cc7079743be967bee122b251

Git commit 319436c5cc51a1beb641e899987969fcf912deda by Maarten Maathuis on 04/10/2007 at 07:39..
nouveau: NV47 context switching voodoo + warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/319436c5cc51a1beb641e899987969fcf912deda

Git commit d351601899e5814d809b8e86ab6f0d6e7676f585 by Maarten Maathuis on 04/10/2007 at 07:46..
nouveau: Remove excess device classes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d351601899e5814d809b8e86ab6f0d6e7676f585

Git commit 19b7cc34443889fc73de2e10462e1c0f9fa38041 by Dave Airlie on 05/10/2007 at 02:11..
Merge branch 'pre-superioctl-branch'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19b7cc34443889fc73de2e10462e1c0f9fa38041

Git commit 18952a167014f21545e3fda28ed2c09b09789323 by Matthieu Castet on 06/10/2007 at 10:01..
nouveau : print correct value in nouveau_graph_dump_trap_info for nv04
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18952a167014f21545e3fda28ed2c09b09789323

Git commit 89d44a1023543a95b429bf72662b5e2308b0a550 by Dave Airlie on 06/10/2007 at 22:16..
radeon: make vram fixed type
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89d44a1023543a95b429bf72662b5e2308b0a550

Git commit 20928a2f2b3f1fa15c46edcf7e20f97566664ce8 by Maarten Maathuis on 07/10/2007 at 17:01..
nouveau: A char is signed, so it may overflow for >NV50.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20928a2f2b3f1fa15c46edcf7e20f97566664ce8

Git commit 9b294bbe0ec79177298ea32746fbed03fcf62055 by Stephane Marchesin on 09/10/2007 at 23:12..
nouveau: try to fix big endian.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b294bbe0ec79177298ea32746fbed03fcf62055

Git commit d4680333dc850832258d0f38fb2a236a3f568fc8 by Thomas Hellstrom on 10/10/2007 at 07:31..
Only add native-type on EXE signals. Otherwise flush flags may
get out of sync.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4680333dc850832258d0f38fb2a236a3f568fc8

Git commit d912709a63c59d0b3e48458bac41fb76ea279214 by Maarten Maathuis on 10/10/2007 at 14:41..
nouveau: PMC_BOOT_1 was not mapped.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d912709a63c59d0b3e48458bac41fb76ea279214

Git commit bf126f4925bf1601935e085be2feeb004b474a05 by Matthieu Castet on 10/10/2007 at 19:11..
nouveau : nv10 and nv04 PGRAPH_NSTATUS are different
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf126f4925bf1601935e085be2feeb004b474a05

Git commit 83da774b192966b8c3f00b531ecfd4ec2b5eceaa by Ian Romanick on 10/10/2007 at 22:25..
Fix command list submission on big-endian.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83da774b192966b8c3f00b531ecfd4ec2b5eceaa

Git commit fc7d4d19d36b6a12ed23d4d9e50826346258299f by Ian Romanick on 10/10/2007 at 22:27..
Eliminate trailing whitespace from last commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc7d4d19d36b6a12ed23d4d9e50826346258299f

Git commit f0fd53f86b30e230f3f34b49b54392d20f053a89 by Eric Anholt on 10/10/2007 at 22:32..
FreeBSD: Fill in domain field when supported.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0fd53f86b30e230f3f34b49b54392d20f053a89

Git commit 604f02ff619d87d1372bcb7969c826d981fefc60 by Dave Airlie on 11/10/2007 at 23:46..
i915: check mask instead of flags for buffer fence types
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/604f02ff619d87d1372bcb7969c826d981fefc60

Git commit 74001c34e5ad768feec8b2fbe9a617bc598a0a4b by Dave Airlie on 12/10/2007 at 00:54..
i915: add superioctl support to i915

This adds the initial i915 superioctl interface. The interface should be
sufficent even if the implementation may needs fixes/optimisations internally
in the drm wrt caching etc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74001c34e5ad768feec8b2fbe9a617bc598a0a4b

Git commit 74ea019863c1d08d31eac81d3bfc73e97479b2c5 by Arthur Huillet on 12/10/2007 at 20:36..
nouveau: added support for software methods, and implemented those necessary for NV04 (TNT1) to start X
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74ea019863c1d08d31eac81d3bfc73e97479b2c5

Git commit 9d779e2c88a02f5f9d57618145654610f0f10e28 by Arthur Huillet on 12/10/2007 at 20:40..
nouveau: mandatory "oops I forgot half of the files" commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d779e2c88a02f5f9d57618145654610f0f10e28

Git commit 0d2554f83e72cae1bc44e476fbed4fc78873264f by Pekka Paalanen on 12/10/2007 at 20:47..
nouveau: Make notifiers go into PCI memory

On some hardware notifers in AGP memory just don't work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d2554f83e72cae1bc44e476fbed4fc78873264f

Git commit 50deb31e9ff556f941449bc788821eaa2e5f9e34 by Pekka Paalanen (on behalf of Stuart Bennett) on 12/10/2007 at 20:49..
nouveau: Fix typos in nv20_graph_context_init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50deb31e9ff556f941449bc788821eaa2e5f9e34

Git commit 3ab7627651f4c48a114d91158d41e4c4f528c4cc by Pekka Paalanen on 12/10/2007 at 20:55..
nouveau: Fix a typo in nv25_graph_context_init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ab7627651f4c48a114d91158d41e4c4f528c4cc

Git commit 8d3cb7e472ceb31a28de3acc19176e3a2d2995b1 by Dave Airlie on 14/10/2007 at 11:19..
i915: fix vbl_swap allocation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d3cb7e472ceb31a28de3acc19176e3a2d2995b1

Git commit 811e43f9e27abdf4c8a4b36c7c287e53134fc950 by Jeremy Kolb on 14/10/2007 at 14:56..
nouveau: fix warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/811e43f9e27abdf4c8a4b36c7c287e53134fc950

Git commit 837e364353b3137ce87b5cce9c06f05a3d603201 by Jeremy Kolb on 14/10/2007 at 14:56..
nouveau: fix warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/837e364353b3137ce87b5cce9c06f05a3d603201

Git commit 30353c8efcc026ee8940f3eadab084c42a3acd4e by Stephane Marchesin on 14/10/2007 at 21:08..
nouveau: PPC fixes. These regs are very touchy.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30353c8efcc026ee8940f3eadab084c42a3acd4e

Git commit cc9be8ac323e47616e48adebc5cc85c654524b45 by Alan Hourihane on 15/10/2007 at 10:51..
Fix some buffer teardown problems.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc9be8ac323e47616e48adebc5cc85c654524b45

Git commit 2b07b0a45d32a9ffb7f6b9bb1b8f6f8e615524cb by Alan Hourihane on 15/10/2007 at 10:54..
should be unlocked
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b07b0a45d32a9ffb7f6b9bb1b8f6f8e615524cb

Git commit 6398325ba11da8a01c72f6203af0a2e4b43125c2 by Ben Skeggs on 16/10/2007 at 02:27..
nouveau: Handle multiple PFIFO exceptions per irq, cleanup output.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6398325ba11da8a01c72f6203af0a2e4b43125c2

Git commit 3af053779cb0fe9b75a657df76c3dd0cc08966b6 by Ben Skeggs on 16/10/2007 at 02:32..
nouveau: Survive PFIFO_CACHE_ERROR.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3af053779cb0fe9b75a657df76c3dd0cc08966b6

Git commit 677753047f2b8a8b0b12bae348a2f4f9718682f1 by Ben Skeggs on 16/10/2007 at 03:42..
nouveau: Cleanup PGRAPH handler, attempt to survive PGRAPH exceptions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/677753047f2b8a8b0b12bae348a2f4f9718682f1

Git commit 9fdab5b5c512f586012654917438327b3c67eaa4 by Ben Skeggs on 16/10/2007 at 03:43..
nouveau: revert unintended change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fdab5b5c512f586012654917438327b3c67eaa4

Git commit 440fc5113ef1ffb1a22bff92cf34eaf23896db8d by Dave Airlie (on behalf of [utf-8] Kristian Høgsberg) on 16/10/2007 at 10:59..
Eliminate support for fake buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/440fc5113ef1ffb1a22bff92cf34eaf23896db8d

Git commit dccefba71a65566e7e1628b3be67621866000411 by Dave Airlie (on behalf of Kristian Høgsberg) on 16/10/2007 at 11:03..
Take bo type argument out of the ioctl interface.

The buffer object type is still tracked internally, but it is no longer
part of the user space visible ioctl interface.  If the bo create ioctl
specifies a non-NULL buffer address we assume drm_bo_type_user,
otherwise drm_bo_type_dc.  Kernel side allocations call
drm_buffer_object_create() directly and can still specify drm_bo_type_kernel.
Not 100% this makes sense either, but with this patch, the buffer type
is no longer exported and we can clean up the internals later on.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dccefba71a65566e7e1628b3be67621866000411

Git commit a69c85fec8ed323bffb1324ea08157b3897e97db by Dave Airlie (on behalf of Kristian Høgsberg) on 16/10/2007 at 11:03..
Drop destroy ioctls for fences and buffer objects.

We now always create a drm_ref_object for user objects and this is then the only
things that holds a reference to the user object.  This way unreference on will
destroy the user object when the last drm_ref_object goes way.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a69c85fec8ed323bffb1324ea08157b3897e97db

Git commit efc4fd7c4dabed384fa1ab67e744d38025aff47d by Dave Airlie on 16/10/2007 at 11:08..
drm: rename drmBOUnReference to drmBOUnreference for consistency
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efc4fd7c4dabed384fa1ab67e744d38025aff47d

Git commit 3f1aa1550353e828814169915c9a74c67d2e81cd by Dave Airlie on 16/10/2007 at 11:28..
drm: drop drm bo list handling code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f1aa1550353e828814169915c9a74c67d2e81cd

Git commit db1709f2f3f8cab2477fb149b58420de4db65654 by Michel Dänzer on 16/10/2007 at 13:10..
Revert part of earlier commit that caused an unresolved symbol for i915.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db1709f2f3f8cab2477fb149b58420de4db65654

Git commit 90bfc8e611cb0c72ee03dce47027b50d2cc614b1 by Alan Hourihane on 16/10/2007 at 14:28..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	linux-core/drm_bo.c
	linux-core/drm_objects.h
	shared-core/i915_dma.c
	shared-core/i915_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90bfc8e611cb0c72ee03dce47027b50d2cc614b1

Git commit ec1162b212248042bf1317abcb3c47bb10db8aa3 by Dave Airlie on 17/10/2007 at 05:36..
i915: lock struct mutex about buffer object lookups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec1162b212248042bf1317abcb3c47bb10db8aa3

Git commit be2d68914d0992a37b9fb4d93338aeaf2240c4f5 by Alan Hourihane on 17/10/2007 at 08:35..
Fix a crash on X startup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be2d68914d0992a37b9fb4d93338aeaf2240c4f5

Git commit 646560d1d112b58899f9e4cab0c966cec7e0b8c3 by Thomas Hellstrom on 17/10/2007 at 08:59..
Revert "Add some more verbosity to drm_bo_set_pin_req comments."

This reverts e7bfeb3031374653f7e55d67cc1b5c823849359f commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/646560d1d112b58899f9e4cab0c966cec7e0b8c3

Git commit 12b989a7108a52f16b1b1bb6dd2ea818c235b52c by Thomas Hellstrom on 17/10/2007 at 08:59..
Revert "Remove the pinned buffer from the LRU when pinning."

This reverts 3a0bc518e35c62bb9c64c9105f836584d949653f commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12b989a7108a52f16b1b1bb6dd2ea818c235b52c

Git commit cd276d9cab0be8eff2d9450e5c95b6eb3cd639af by Thomas Hellstrom on 17/10/2007 at 08:59..
Revert "Copy the important parts of object_validate into object_create()."

This reverts f9c27aa50b715a7d21858f1ce9e4785120bd0c36 commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd276d9cab0be8eff2d9450e5c95b6eb3cd639af

Git commit 0d1926d36e59ddfc34d8c9c0cdef10b71a49ecf1 by Thomas Hellstrom on 17/10/2007 at 08:59..
Revert "Replace NO_MOVE/NO_EVICT flags to buffer objects with an ioctl to set pinning."

This reverts cf2d569daca6954d11a796f4d110148ae2e0c827 commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d1926d36e59ddfc34d8c9c0cdef10b71a49ecf1

Git commit 086c058a417317491320129d2cbeb68d1cfcfefe by Thomas Hellstrom on 17/10/2007 at 08:59..
Remove the op ioctl, and replace it with a setuser ioctl.

Remove need for lock for now.
May create races when we clean memory areas or on takedown.
Needs to be fixed.
Really do a validate on buffer creation in order to avoid problems with
fixed memory buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/086c058a417317491320129d2cbeb68d1cfcfefe

Git commit bb29ba7fa77659be284c365ebfb2f740491e8506 by Thomas Hellstrom on 17/10/2007 at 08:59..
Only allow creator to change shared buffer mask.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb29ba7fa77659be284c365ebfb2f740491e8506

Git commit 36120264ca8f43078f8748e022faeb9471edcb36 by Eric Anholt (on behalf of Jung-uk Kim) on 17/10/2007 at 19:52..
Bug #11870: FreeBSD hardware lock cleanup fix with multiple opens by a process.

Previously, the lock would get released on the first close by the X Server
(during AIGLX setup), and the Radeon driver would then hang in initialization
due to unexpected failure in DRM calls that required the lock to be held.

Based on a patch by Kostik Belousov.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36120264ca8f43078f8748e022faeb9471edcb36

Git commit e7523d337997018a86530266a8f3f88dd061c138 by Eric Anholt (on behalf of Robert Noland) on 17/10/2007 at 20:20..
Fix a race in the auth test where client prevents server from being master.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7523d337997018a86530266a8f3f88dd061c138

Git commit 2c5c18fbd394f419a9cf650720a1187440c643cd by Eric Anholt (on behalf of Robert Noland) on 17/10/2007 at 20:26..
Bug #12838: Fix lock test client vs. server master race and misplaced closes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c5c18fbd394f419a9cf650720a1187440c643cd

Git commit cf2d1bba5513ae38d8efbaf50251fc136ed1d414 by Thomas Hellstrom on 19/10/2007 at 14:24..
Remove the clean_unfenced function.
Change the restriction that non-creators can't change the buffer flags to
non-creators can't change EVICT and NO_MOVE flags.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf2d1bba5513ae38d8efbaf50251fc136ed1d414

Git commit 733ff568346e8fe40e9790f21f8b7efc659d5d12 by Thomas Hellstrom on 19/10/2007 at 14:28..
No fence_class argument on drmBOSetStatus since it's not
associated with a particular command submission.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/733ff568346e8fe40e9790f21f8b7efc659d5d12

Git commit c0e3537e77f1765001f665f93e5349ccd0f1d092 by Thomas Hellstrom on 19/10/2007 at 14:44..
Some comment updates pending removal of the init mutex.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0e3537e77f1765001f665f93e5349ccd0f1d092

Git commit 48b5eaf303b60077faed09db77785d7a544ac335 by Thomas Hellstrom on 20/10/2007 at 14:49..
Simple replacement for hardware lock in some cases.
Fix i915 since last commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48b5eaf303b60077faed09db77785d7a544ac335

Git commit 3b19b50cb5cd31e60eb03e99dd1109b6d0f5b8a3 by Thomas Hellstrom on 21/10/2007 at 10:20..
Remove the need for the hardware lock in the buffer manager.
Add interface entry cleaning a memory type without touching NO_EVICT buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b19b50cb5cd31e60eb03e99dd1109b6d0f5b8a3

Git commit 9ddff6d15fdff571193aac10ef81e67798fd712d by Thomas Hellstrom on 21/10/2007 at 10:26..
Adapt i915 super-ioctl for lock-free operation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ddff6d15fdff571193aac10ef81e67798fd712d

Git commit 4ebe7471cbfdd6afa33485ea9ec55812da38445f by Thomas Hellstrom on 21/10/2007 at 10:31..
Disable i915 accelerated blit copy moves for now until we can
guarantee that it doesn't clash with the X server.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ebe7471cbfdd6afa33485ea9ec55812da38445f

Git commit 6420d33b02db0da900140c238bb35f13abc182e7 by Thomas Hellstrom on 21/10/2007 at 10:57..
Get the lock flags right in libdrm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6420d33b02db0da900140c238bb35f13abc182e7

Git commit 22883ff26b8a45ab2bec60accc4b822cf6b4f214 by Dave Airlie on 22/10/2007 at 00:54..
i915: split reloc execution into separate function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22883ff26b8a45ab2bec60accc4b822cf6b4f214

Git commit d4ce4be0dad516caa43fddcd8a56c28f264c9c2a by Thomas Hellstrom on 22/10/2007 at 11:16..
Setstatus header.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4ce4be0dad516caa43fddcd8a56c28f264c9c2a

Git commit 919c886b2b7728768720aac93e0f6fd1acb8b2df by Thomas Hellstrom on 22/10/2007 at 16:59..
A cmdbuf mutex to implement validate-submit-fence atomicity in the absence
of a hardware lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/919c886b2b7728768720aac93e0f6fd1acb8b2df

Git commit 824330d0e652e0bab1851437f120c7e76feee832 by Thomas Hellstrom on 22/10/2007 at 17:09..
Don't clobber the unfenced list with DONT_FENCE operations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/824330d0e652e0bab1851437f120c7e76feee832

Git commit 3d4b32e91647f61712d54a46f0a173deff46e6b4 by Thomas Hellstrom on 22/10/2007 at 17:16..
Remove duplicate file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d4b32e91647f61712d54a46f0a173deff46e6b4

Git commit 9a115080e870f8196adef4a19598343e63e61e45 by Stephane Marchesin on 23/10/2007 at 00:19..
nouveau: fix IGP
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a115080e870f8196adef4a19598343e63e61e45

Git commit a294aa724a1e932fb6017383e08532bfcc914df0 by Dave Airlie on 23/10/2007 at 07:54..
i915: require mfence before submitting batchbuffer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a294aa724a1e932fb6017383e08532bfcc914df0

Git commit 198170ab97bbf2ca6362bb7100e9ed86d90aa51f by Alan Hourihane on 23/10/2007 at 14:33..
Need fb attached
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/198170ab97bbf2ca6362bb7100e9ed86d90aa51f

Git commit d5f2b4b411c5ca95d6f66a33d213ece387ac4fc5 by Alan Hourihane on 23/10/2007 at 14:34..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5f2b4b411c5ca95d6f66a33d213ece387ac4fc5

Git commit fd7c24753c4020a0022aaa183cfe8fc04a307abd by Dave Airlie on 24/10/2007 at 00:13..
i915: use a drm memory barrier define
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd7c24753c4020a0022aaa183cfe8fc04a307abd

Git commit 83199c257ea68a7cc0c6928109ff77bf25131819 by Eric Anholt on 24/10/2007 at 23:27..
Fix missing \n on some DRM_ERROR in i915_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83199c257ea68a7cc0c6928109ff77bf25131819

Git commit 07abc3384e24356d1302459e2e5c4699ed7b0072 by Dave Airlie (on behalf of Roel Kluin) on 25/10/2007 at 06:50..
missing mutex unlock bug
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07abc3384e24356d1302459e2e5c4699ed7b0072

Git commit c5f158abbe97492f56eb60ac54679945e9d6ddae by Dave Airlie on 25/10/2007 at 06:52..
i915: remove relocatee kernel mapping sooner stops mutex taking during sleep
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5f158abbe97492f56eb60ac54679945e9d6ddae

Git commit a70fe82baf0ca2be98e02680cff489f90b0ea3de by Dave Airlie on 25/10/2007 at 06:53..
i915: relocate buffers before validation add memory barrier between two
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a70fe82baf0ca2be98e02680cff489f90b0ea3de

Git commit 07706c9b79b88baff5f160351b482ccdf3315f0c by Thomas Hellstrom on 25/10/2007 at 07:24..
Merge branch 'master' into drm-ttm-finalize
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07706c9b79b88baff5f160351b482ccdf3315f0c

Git commit b5cad27e05ad3666be8ccdf71e10d743efa5849e by Thomas Hellstrom on 25/10/2007 at 07:49..
Fix buffer object flag / mask checking.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5cad27e05ad3666be8ccdf71e10d743efa5849e

Git commit 11f3e5e53f8fc4de90d1c289e0ba218ddfca23dc by Thomas Hellstrom on 25/10/2007 at 08:12..
Buffer manager:
Implement a version check IOCTL for drivers that don't use
drmMMInit from user-space.
Remove the minor check from the kernel code. That's really up
to the driver.
Bump major.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11f3e5e53f8fc4de90d1c289e0ba218ddfca23dc

Git commit b9d9c30474238ac8ba4899a19fe4a97e9376f6c4 by Thomas Hellstrom on 25/10/2007 at 08:29..
Tighten permissions on some buffer manager ioctls.
Set bo init minor to 0.
Add the version function to header.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9d9c30474238ac8ba4899a19fe4a97e9376f6c4

Git commit 9adf8c02563b1e6110e46dabd733e2dc440b4200 by Thomas Hellstrom on 25/10/2007 at 09:00..
Merge branch 'master' into modesetting-101

Conflicts:

	linux-core/Makefile.kernel
	linux-core/drm_bo.c
	linux-core/drm_objects.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9adf8c02563b1e6110e46dabd733e2dc440b4200

Git commit 7e9ea55a2f052cc939ba9bbf9edac39798344b7a by Ian Romanick on 26/10/2007 at 00:14..
Initial pass at porting MGA to vblank-rework

This is currently only compile tested.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e9ea55a2f052cc939ba9bbf9edac39798344b7a

Git commit 26c32a3d797efb7474e5ae88c46afcb0e6015294 by Thomas Hellstrom on 26/10/2007 at 08:25..
Buffer flags and masks are 64-bit.
don't mask off the high dword.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26c32a3d797efb7474e5ae88c46afcb0e6015294

Git commit 1681189e11b5a00ae72a55de932146ea37f7afd9 by Thomas Hellstrom on 26/10/2007 at 08:27..
Buffer flags and masks are 64-bit.

don't mask off the high dword.
Signed-off-by: Thomas Hellstrom <thomas-at-tungstengraphics-dot-com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1681189e11b5a00ae72a55de932146ea37f7afd9

Git commit a4c87d3796cac374d25e01b26bdbb9028ce03107 by Thomas Hellstrom on 26/10/2007 at 08:31..
Minor libdrm fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4c87d3796cac374d25e01b26bdbb9028ce03107

Git commit 343696583c77983ac7689b24cd49529864035cf7 by Thomas Hellstrom on 26/10/2007 at 08:33..
Merge branch 'master' into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/343696583c77983ac7689b24cd49529864035cf7

Git commit b9d8ddd3ca587e87474d37637096b9ebd0a927e9 by Stephane Marchesin on 26/10/2007 at 13:12..
nouveau: flip the CHECK_STATE bit off on nv30. This lets you do 8-bit surface destination.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9d8ddd3ca587e87474d37637096b9ebd0a927e9

Git commit 6707ab862656d766a4c78b85e5584a29d2434126 by Jesse Barnes on 26/10/2007 at 23:08..
update DRM sysfs support

Make DRM devices use real Linux devices instead of class devices, which are
going away.  While we're at it, clean up some of the interfaces to take
struct drm_device * or struct device * and use the global drm_class where
needed instead of passing it around.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6707ab862656d766a4c78b85e5584a29d2434126

Git commit 1e2a2bababf3fbaa0a665983856761c2284dba30 by Jesse Barnes on 26/10/2007 at 23:10..
i915:  suspend/resume support

Add suspend/resume support to the i915 driver.  Moves some of the
initialization into the driver load routine, and fixes up places where we
assumed no dev_private existed in some of the cleanup paths.  This allows
us to suspend/resume properly even if X isn't running.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e2a2bababf3fbaa0a665983856761c2284dba30

Git commit 90d8f792794d46d1a8e998856bc7bbe54596114b by Jerome Glisse on 27/10/2007 at 22:55..
Merge branch 'radeon-ttm' of git://people.freedesktop.org/~airlied/drm into modesetting-101

Conflicts:

	linux-core/Makefile.kernel
	linux-core/drmP.h
	shared-core/radeon_cp.c
	shared-core/radeon_drv.h
	shared-core/radeon_irq.c

	modified:   linux-core/Makefile.kernel
	modified:   linux-core/ati_pcigart.c
	modified:   linux-core/drmP.h
	new file:   linux-core/radeon_buffer.c
	modified:   linux-core/radeon_drv.c
	new file:   linux-core/radeon_fence.c
	modified:   shared-core/radeon_cp.c
	modified:   shared-core/radeon_drm.h
	modified:   shared-core/radeon_drv.h
	modified:   shared-core/radeon_irq.c
	modified:   tests/ttmtest/src/ttmtest.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90d8f792794d46d1a8e998856bc7bbe54596114b

Git commit cc745fcc3a16cb1ffc2ab578155dc880b862f95a by Stephane Marchesin on 27/10/2007 at 23:59..
nouveau: don't touch PMC_BOOT_1 on x86, it seems to be undefined on some early cards.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc745fcc3a16cb1ffc2ab578155dc880b862f95a

Git commit 6342e0507be177be309774aff0c31746beab73f6 by Jesse Barnes on 29/10/2007 at 17:51..
Remove unused memory save areas

These need to be kmalloc'd separately anyway or we may hit kmalloc size
limits.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6342e0507be177be309774aff0c31746beab73f6

Git commit ff5889f8316e0c16112f114c1c8f57645b8dc54f by Kristian Høgsberg on 29/10/2007 at 23:32..
Move struct drm_drawable_info out of public header file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff5889f8316e0c16112f114c1c8f57645b8dc54f

Git commit 50dec29c800a6e980a01be38190e44a0ba7916b5 by Dave Airlie on 30/10/2007 at 07:52..
drm/i915: add driver cache flush entry point

Use clflush on Intel hardware to flush cached objects.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50dec29c800a6e980a01be38190e44a0ba7916b5

Git commit 0cebcd43dd7b950c07625601b87c72329857d831 by Stephane Marchesin on 30/10/2007 at 15:54..
Nouveau: fold some loops.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cebcd43dd7b950c07625601b87c72329857d831

Git commit 79744d730c90019edd367eee4a8ec1fa22d53402 by Stephane Marchesin on 30/10/2007 at 15:55..
Nouveau: add a comment about SKIPS for next API breakage.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79744d730c90019edd367eee4a8ec1fa22d53402

Git commit 91aae7e683786a48547872b0a5fa92b2232e02c0 by Jesse Barnes on 30/10/2007 at 19:52..
Merge branch 'master' into vblank-rework, fixup remaining drivers

Conflicts:

	linux-core/drmP.h
	linux-core/drm_drv.c
	linux-core/drm_irq.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
	shared-core/mga_drv.h
	shared-core/mga_irq.c
	shared-core/radeon_drv.h
	shared-core/radeon_irq.c

Merge in the latest master bits and update the remaining drivers (except
mach64 which math_b is working on).  Also remove the 9xx hack from the i915
driver; it seems to be correct.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91aae7e683786a48547872b0a5fa92b2232e02c0

Git commit c106a7d8b9ddc1f6da3d462e3114af2ca72b3b46 by Dave Airlie on 31/10/2007 at 00:21..
drm: call driver load after initing agp subsystem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c106a7d8b9ddc1f6da3d462e3114af2ca72b3b46

Git commit 2489062a3319c72197914ee06b089ae581c5f0a8 by Dave Airlie on 31/10/2007 at 00:27..
i915: add backwards compat chipset flushing code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2489062a3319c72197914ee06b089ae581c5f0a8

Git commit 17f0882d5080a2436e4351c2bf497b8e00bc8e74 by Dave Airlie on 31/10/2007 at 00:33..
drm: add chipset flushing via agp support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17f0882d5080a2436e4351c2bf497b8e00bc8e74

Git commit 6b0b2546c29858866ae1986b3b7254551245967e by Dave Airlie on 31/10/2007 at 16:00..
i915: fix compat code on 965/g33
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b0b2546c29858866ae1986b3b7254551245967e

Git commit 61cbcb5dbe487c6d4eba04794cbaa0279ab807b0 by Dave Airlie on 31/10/2007 at 23:34..
drm/ttm: add support for cached un-snooped mappings.

This mapping allows cached objects to be mapped in/out of the TT space
with the appropriate flushing calls.

It should put back the old CACHED functionality for snooped mappings
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61cbcb5dbe487c6d4eba04794cbaa0279ab807b0

Git commit 31847b4b62575739a164e019b33ced0531683403 by Jeremy Kolb on 01/11/2007 at 00:13..
nouveau: ttm stubs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31847b4b62575739a164e019b33ced0531683403

Git commit 9416541fb29666c630f2bcfcc0f3ae0b6c4436d8 by Jeremy Kolb on 01/11/2007 at 00:14..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9416541fb29666c630f2bcfcc0f3ae0b6c4436d8

Git commit 1b176e76134224e2af94d24ff7b33c7b536eaeea by Jeremy Kolb on 01/11/2007 at 01:27..
nouveau: add missing file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b176e76134224e2af94d24ff7b33c7b536eaeea

Git commit 5766d81074d6faa7f14b45635765cdb7209597fc by Stephane Marchesin on 01/11/2007 at 14:49..
nouveau: don't use AGP on PPC. It's a hopeless case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5766d81074d6faa7f14b45635765cdb7209597fc

Git commit 00d60265570c866261c09fd3397d5853a1ce196a by Jesse Barnes on 01/11/2007 at 19:50..
Cleanup vblank_init and fix drm_irq_install

The vblank_init function wanted a couple of cleanups.

Also, drm_irq_install wasn't checking the new return value of irq_postinstall.
If it returns a failure, assume IRQs didn't get set up and take appropriate
action.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00d60265570c866261c09fd3397d5853a1ce196a

Git commit 128a8f7ea20af2549e448157b431d5c1f90f37c3 by Jesse Barnes on 01/11/2007 at 22:02..
Use unsigned long instead of u64 in drm_modeset_ctl_t

A bad idea, ABI-wise, but we're going to be changing this structure anyway
before we merge upstream, so just fix the build for now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/128a8f7ea20af2549e448157b431d5c1f90f37c3

Git commit 629c8b0dbf975632473d848f60606baf309f2f3b by Jesse Barnes on 01/11/2007 at 22:27..
Merge branch 'master' into modesetting-101

Conflicts:

	linux-core/Makefile.kernel
	linux-core/drm_stub.c
	linux-core/i915_drv.c
	shared-core/i915_dma.c
	shared-core/i915_drv.h

Fixup suspend/resume conflicts (basically use what's in DRM master for now).
Also fix up a few other conflicts that snuck in (i915_dma changes etc.).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/629c8b0dbf975632473d848f60606baf309f2f3b

Git commit bb5f2158dbd30dbbffa3881fac75b71d71ecaaf9 by Dave Airlie on 02/11/2007 at 14:39..
radeon: set the address to access the aperture on the CPU side correctly

This code relied on the CPU and GPU address for the aperture being the same,
On some r5xx hardware I was playing with I noticed that this isn't always true.
I wonder if this will fix some of those r4xx DRI issues we've seen in the past.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb5f2158dbd30dbbffa3881fac75b71d71ecaaf9

Git commit c06808fb6521822238bca4574758f30246b71c2d by Thomas Hellstrom on 02/11/2007 at 14:52..
Return fence errors.
Time out properly in the presence of signals.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c06808fb6521822238bca4574758f30246b71c2d

Git commit 94c22c334948a49641f4a1fa84687f992e5cc5cb by Thomas Hellstrom on 02/11/2007 at 15:05..
User buffer support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94c22c334948a49641f4a1fa84687f992e5cc5cb

Git commit 9906c7e54bdb9fa172155eaa57b7e6c47ab01c58 by Thomas Hellstrom on 02/11/2007 at 15:07..
Merge branch 'master' into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9906c7e54bdb9fa172155eaa57b7e6c47ab01c58

Git commit 239e81093f05e7d81f95a55527f3c9fcb8fc483a by Jeremy Kolb on 02/11/2007 at 23:47..
nouveau: more filling in for ttm.  Change copyright since it's based off of radeon code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/239e81093f05e7d81f95a55527f3c9fcb8fc483a

Git commit 2c6cbea7dedc0b06114117b4c4ce2a23f74c54f6 by Jeremy Kolb on 02/11/2007 at 23:47..
nouveau: incorporate darktama's buffer object work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c6cbea7dedc0b06114117b4c4ce2a23f74c54f6

Git commit c1aa08106e0a7190c7a303ec8a9b6b5339251137 by Jeremy Kolb on 02/11/2007 at 23:47..
nouveau:  Add darktama's fencing code.  Restructure some stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1aa08106e0a7190c7a303ec8a9b6b5339251137

Git commit 2dc2ee7a5aed18b82a1125d8e56a7ef92be18532 by Jeremy Kolb on 02/11/2007 at 23:47..
nouveau: put it all together.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dc2ee7a5aed18b82a1125d8e56a7ef92be18532

Git commit 998d120a47cab85e985b24932fe8f4682f5f78e9 by Jeremy Kolb on 02/11/2007 at 23:47..
nouveau: add darktama's email address to authors section.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/998d120a47cab85e985b24932fe8f4682f5f78e9

Git commit a2e8e294d8e5d7cf179cb562745c1b613ff60e52 by Dave Airlie on 04/11/2007 at 00:01..
drm: fix oops since user objects..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2e8e294d8e5d7cf179cb562745c1b613ff60e52

Git commit 9a999e57af4a3f5a863c21154dd3b9618888c1f7 by Ben Skeggs on 04/11/2007 at 14:20..
nouveau: crappy ttm mm init, disabled for now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a999e57af4a3f5a863c21154dd3b9618888c1f7

Git commit 173a5be28f4ed59e27d7a719f62bc275959b5b70 by Ben Skeggs on 04/11/2007 at 15:20..
nouveau: hook up an inital fence irq handler
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/173a5be28f4ed59e27d7a719f62bc275959b5b70

Git commit dfa449cf9a7ce5de9cbd571f604ae7c3c778dabd by Ben Skeggs on 04/11/2007 at 15:32..
nouveau: vram is bar1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfa449cf9a7ce5de9cbd571f604ae7c3c778dabd

Git commit c1008104adcd45faad2c6c1a2192c86447f3d9a3 by Ben Skeggs on 04/11/2007 at 15:48..
nouveau: only pass annoying messages if irq isn't handled fully.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1008104adcd45faad2c6c1a2192c86447f3d9a3

Git commit 0a2ab1a9003f132195fe70c145a78b4079a3fb7f by Ben Skeggs on 04/11/2007 at 16:53..
nouveau: cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a2ab1a9003f132195fe70c145a78b4079a3fb7f

Git commit 6abbbb2f4f5b6b280077a6c88bb643507c8ec8fa by Ben Skeggs on 04/11/2007 at 17:44..
Fill fence sequence after emit ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6abbbb2f4f5b6b280077a6c88bb643507c8ec8fa

Git commit 9096d50df7ac99f44d043556420f9f9f54e59b3f by Ben Skeggs on 04/11/2007 at 18:15..
nouveau: disable m2mf buffer move for the moment
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9096d50df7ac99f44d043556420f9f9f54e59b3f

Git commit 5092865601ccaae1409abfa083147276916d6c25 by Ben Skeggs on 04/11/2007 at 18:46..
nouveau: Use a sw method instead of notify interrupt to signal fence completion.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5092865601ccaae1409abfa083147276916d6c25

Git commit d81bc78a04f3b72bdf2600158cea084223a3a682 by Pekka Paalanen on 04/11/2007 at 12:10..
nouveau: more nv20_graph_init.

This patch is originally from malc0_, but since it used some NV40_*
regs, I edited them into hex values with a comment.
This seems to correspond quite well with my own mmio-trace,
for the parts I cared to check.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d81bc78a04f3b72bdf2600158cea084223a3a682

Git commit 3664de73955aafe912318c91717ff9ecc1027af2 by Dave Airlie on 05/11/2007 at 02:11..
drm: move some of the OS stuff into the OS header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3664de73955aafe912318c91717ff9ecc1027af2

Git commit 7f6bf84c238a1859ffd409c0ef1f1ca7eb5e6e72 by Dave Airlie on 05/11/2007 at 02:42..
drm: remove lots of spurious whitespace.

Kernel "cleanfile" script run.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f6bf84c238a1859ffd409c0ef1f1ca7eb5e6e72

Git commit 921bd07c242355d187018f36d74bd95fd0d02b17 by Dave Airlie on 05/11/2007 at 02:56..
drm: update kernel generator script using v4l script
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/921bd07c242355d187018f36d74bd95fd0d02b17

Git commit 78fe88baee9271ceaf6187019633e4cccfebb776 by Dave Airlie (on behalf of Li Zefan) on 05/11/2007 at 08:48..
drm: fix memset size error

The size passing to memset is wrong.

Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78fe88baee9271ceaf6187019633e4cccfebb776

Git commit 3b43ed51cca4cf4b03d74ee403b8a72b919f87c8 by Dave Airlie on 05/11/2007 at 08:56..
drm: fix the the typo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b43ed51cca4cf4b03d74ee403b8a72b919f87c8

Git commit 7ad38907075852e347b5b4432c96d199387f5ce8 by Dave Airlie on 05/11/2007 at 09:05..
drm/ttm: kernel coding style for bo.c and objects.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ad38907075852e347b5b4432c96d199387f5ce8

Git commit 6ee5412da0cc7516472235805482b8632cb374ef by Dave Airlie on 05/11/2007 at 09:09..
drm/ttm: apply linux kernel coding style to bo_lock/move/object/ttm.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ee5412da0cc7516472235805482b8632cb374ef

Git commit 82ffcbbd628fc8c07d3becbbcb86a54214e78110 by Dave Airlie on 05/11/2007 at 09:14..
drm: more kernel coding style cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82ffcbbd628fc8c07d3becbbcb86a54214e78110

Git commit 5e86f67a34c50ec49e1d7b3b834d1695ebf5d4c8 by Alan Hourihane on 05/11/2007 at 10:00..
pass pointer for drmModeRmFB
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e86f67a34c50ec49e1d7b3b834d1695ebf5d4c8

Git commit 0bee83a8c8bca817459a0ee9caa6e13f3f1aa281 by Alan Hourihane on 05/11/2007 at 10:00..
Pass pointer to drmModeRmMode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bee83a8c8bca817459a0ee9caa6e13f3f1aa281

Git commit d0956339e322238d2af5d63a2e65405ca3b8c4f8 by Alan Hourihane on 05/11/2007 at 10:02..
Use _size
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0956339e322238d2af5d63a2e65405ca3b8c4f8

Git commit 71385d6f75bb3b551e2f8d9f74a4438f0f3da9df by Alan Hourihane on 05/11/2007 at 10:03..
add missing lock
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71385d6f75bb3b551e2f8d9f74a4438f0f3da9df

Git commit 306bb12603ad724f50fb6ce212a090ea7ea78013 by Alan Hourihane on 05/11/2007 at 10:05..
remove duplicate and obsolete ioctl statements
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/306bb12603ad724f50fb6ce212a090ea7ea78013

Git commit 1b91113957e731d264d1e5d49326597f3b78e96f by Alan Hourihane on 05/11/2007 at 10:06..
remove unused define
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b91113957e731d264d1e5d49326597f3b78e96f

Git commit 44ad6f409d6d08163d26e20d41b1601b2fde53d7 by Thomas Hellstrom on 05/11/2007 at 12:20..
Fix a user-buffer check.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44ad6f409d6d08163d26e20d41b1601b2fde53d7

Git commit 427cc561b3dfbd504472e284e5fc16b63acd1816 by Thomas Hellstrom on 05/11/2007 at 12:22..
Export a symbol.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/427cc561b3dfbd504472e284e5fc16b63acd1816

Git commit 5ce43a346cb9b2a6f6f31f1f750db75d5628c15b by Thomas Hellstrom on 05/11/2007 at 12:46..
Merge branch 'master' into modesetting-101

Conflicts:

	linux-core/drm_bufs.c
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ce43a346cb9b2a6f6f31f1f750db75d5628c15b

Git commit 9493ce6ca39b65b9f955943a043c0741a5c59f7c by Dave Airlie on 06/11/2007 at 02:16..
i915: cleanup most of the whitespace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9493ce6ca39b65b9f955943a043c0741a5c59f7c

Git commit b437c8ca0fe62a43661a31a3010284926d20f209 by Dave Airlie on 06/11/2007 at 02:16..
drm/agp: kernel style fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b437c8ca0fe62a43661a31a3010284926d20f209

Git commit 81b7f9b71c45fc621e0b5770062aedf5ae5e57ee by Dave Airlie (on behalf of Zhenyu Wang) on 06/11/2007 at 06:59..
[PATCH] i915: fix missing G33 detect in IS_I9XX

G33 detect seems missing with Jesse's suspend/resume patch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81b7f9b71c45fc621e0b5770062aedf5ae5e57ee

Git commit 349eebd567246e3c2d47734772e882ae50723cb9 by Dave Airlie on 06/11/2007 at 07:00..
i915: compat code doesn't work in i8xx hw.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/349eebd567246e3c2d47734772e882ae50723cb9

Git commit 9280076b6710e8fcc9594b7f8db87176d3e92097 by Dave Airlie on 06/11/2007 at 07:13..
i915: disable TTM on 8xx chips for now until flushing is solved
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9280076b6710e8fcc9594b7f8db87176d3e92097

Git commit 20eecf2b884193d865419312290b2bb9f94ebf37 by Thomas Hellstrom on 06/11/2007 at 08:36..
Add missing drm_regman.c file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20eecf2b884193d865419312290b2bb9f94ebf37

Git commit 40fb079aebae4277813e6a32e2e93c81dc0038e3 by Thomas Hellstrom on 06/11/2007 at 08:47..
Avoid buffers not ending up on a list in some cases.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40fb079aebae4277813e6a32e2e93c81dc0038e3

Git commit c07dd80269fad45fdad61de0a43fe3d15cd1a119 by Thomas Hellstrom on 06/11/2007 at 09:01..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	linux-core/Makefile.kernel
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c07dd80269fad45fdad61de0a43fe3d15cd1a119

Git commit 47497abc1e38081564db429329a3ba16198c1521 by Dave Airlie on 07/11/2007 at 13:10..
i915: oops disable TTM is backwards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47497abc1e38081564db429329a3ba16198c1521

Git commit c20370e0969e41bbf735daf932e37ac5ec959213 by Thomas Hellstrom on 07/11/2007 at 17:07..
Don't overwrite TTM page flags.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c20370e0969e41bbf735daf932e37ac5ec959213

Git commit e9805de5c736f899dea5220ab8b521cc69c9eca6 by Thomas Hellstrom on 07/11/2007 at 17:10..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	shared-core/i915_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9805de5c736f899dea5220ab8b521cc69c9eca6

Git commit d983ed90cb9de559271817e04bddc8b40fc16a0d by Dave Airlie on 09/11/2007 at 01:30..
i915: cleanup pageflip derefs sarea even if no sarea exists
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d983ed90cb9de559271817e04bddc8b40fc16a0d

Git commit ffb89d4c3b6650551aaab06076896540a78faddf by Jerome Glisse on 09/11/2007 at 14:47..
drm: split edid handling in get_edid & add_edid_mode

This way driver can get_edid in output status detection
(using all workaround which are in get_edid) and then provide
this edid data in get_mode callback of output.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ffb89d4c3b6650551aaab06076896540a78faddf

Git commit e1bc147ac9aa8ac2ac271b0a21f4138b17875ce5 by Jerome Glisse on 09/11/2007 at 16:28..
drm: check edid data, so we deal well with broken driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1bc147ac9aa8ac2ac271b0a21f4138b17875ce5

Git commit c2f80ecf4be09b5b9866d12e3b25cdcf7996b1f4 by Patrice Mandin on 09/11/2007 at 17:08..
suspend() and resume() need kernel 2.6.22 or later
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2f80ecf4be09b5b9866d12e3b25cdcf7996b1f4

Git commit 793cd1dad5e248509a1b09dce7126f236efadb3e by Jesse Barnes on 10/11/2007 at 22:39..
Make sure PLLs are enabled before writing pipe configuration regs

Fix from the X driver.  Make sure the PLLs are enabled and not in VGA mode
before writing PIPE(A|B)CONF regs to avoid hangs or crashes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/793cd1dad5e248509a1b09dce7126f236efadb3e

Git commit 2370ded79b4176d76cda1ec5f495fd33c2d566ed by Ben Skeggs on 13/11/2007 at 16:00..
nouveau: stub superioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2370ded79b4176d76cda1ec5f495fd33c2d566ed

Git commit d0904f0f2b87c725d3e67060419c445259bd4a5e by Ben Skeggs on 13/11/2007 at 16:27..
nouveau: funcs to determine active channel on PFIFO.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0904f0f2b87c725d3e67060419c445259bd4a5e

Git commit 7246a33dd104903bc9227628270712ea9e6168d8 by Ben Skeggs on 13/11/2007 at 17:09..
nouveau: store user control reg offsets in channel struct
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7246a33dd104903bc9227628270712ea9e6168d8

Git commit 53ab6026cfb20bfdf34b245e41af424be62941a8 by Ben Skeggs on 13/11/2007 at 17:15..
nouveau: Use "new" NV40 USER control regs.

Probably entirely pointless, but a simple change in any case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53ab6026cfb20bfdf34b245e41af424be62941a8

Git commit 7c1e59fb0c5043d3d369f5feb8e195a6a3da3457 by Ben Skeggs on 13/11/2007 at 17:26..
nouveau: Attempt to wait for channel idle before we destroy it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c1e59fb0c5043d3d369f5feb8e195a6a3da3457

Git commit eb5487b9ca1d7ce60d5ddc784089d91cf176f439 by Ben Skeggs on 13/11/2007 at 18:09..
Merge branch 'fifo-cleanup' into upstream-master
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb5487b9ca1d7ce60d5ddc784089d91cf176f439

Git commit 7e4bb6099a492b90374565aa574ba65f19ae2ab2 by Ben Skeggs on 13/11/2007 at 18:11..
Revert "nouveau: stub superioctl"

This reverts commit 2370ded79b4176d76cda1ec5f495fd33c2d566ed.

Err.. didn't mean for that to slip in :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e4bb6099a492b90374565aa574ba65f19ae2ab2

Git commit 2d7eb4434f50ab190b530a7ef23e4a361092a33d by Ben Skeggs on 13/11/2007 at 18:36..
nouveau: Also wait until CACHE1 gets emptied.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d7eb4434f50ab190b530a7ef23e4a361092a33d

Git commit f3708b4c04b35b03c28b2297c23eb424206747cd by Thomas Hellstrom on 13/11/2007 at 14:47..
Fix ttmtest.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3708b4c04b35b03c28b2297c23eb424206747cd

Git commit 448ccf13ba647a4b649857c661ab9c64bce91795 by Stephane Marchesin on 14/11/2007 at 01:59..
nouveau: adjust the size of the NV34 context. That fixes mobile PPC cards.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/448ccf13ba647a4b649857c661ab9c64bce91795

Git commit 68cdcda1eaf02353f2ef2d637c6bf1003c849185 by Kristian Høgsberg on 14/11/2007 at 19:28..
Add new shared header file drm_internal.h.

This header file is shared across linux and bsd, but is not installed
for user space to access.  It's the place to put prototypes and data
types that aren't platform or chipset specific, but still internal to
the drm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68cdcda1eaf02353f2ef2d637c6bf1003c849185

Git commit 46235ea4595152d8dd5f016c18c6845a77db30b0 by Patrice Mandin on 14/11/2007 at 22:32..
nouveau: nv30: missing ramin init, does it brake other hw?
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46235ea4595152d8dd5f016c18c6845a77db30b0

Git commit 2eee33ace5b647153a7cf20990efd12313cc8472 by Dave Airlie on 15/11/2007 at 02:29..
intel: add flushing for i8xx chipsets.

Add a nut vs hammer style chipset flush for the i8xx chipsets - reenable TTM
code paths
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2eee33ace5b647153a7cf20990efd12313cc8472

Git commit 2cf7ad0d9b2f265537c7030c6f93b4275cb2d051 by Stephane Marchesin on 15/11/2007 at 02:44..
nouveau: Copy the PPC bios to RAMIN on init, that lets us do proper output detection in user space.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2cf7ad0d9b2f265537c7030c6f93b4275cb2d051

Git commit 62cdc6dbb3545d21bc3a68987d0781f277ae6ee4 by Dave Airlie on 15/11/2007 at 03:44..
i915: remove excess debug output
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62cdc6dbb3545d21bc3a68987d0781f277ae6ee4

Git commit f0fe478c1587780690edc465d957a762e02acc8a by Dave Airlie on 15/11/2007 at 04:04..
Merge branch 'master' into modesetting-101

Conflicts:

	shared-core/i915_dma.c
	tests/ttmtest/src/ttmtest.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0fe478c1587780690edc465d957a762e02acc8a

Git commit d275bb8fb87d8dc23e9a62c5f82627e36c8dc589 by Dave Airlie on 15/11/2007 at 05:51..
tests: update for new drm interface
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d275bb8fb87d8dc23e9a62c5f82627e36c8dc589

Git commit 12cbe1365b38ae04ad4979123eb5b4e9538ee533 by Dave Airlie on 15/11/2007 at 05:51..
intel: fixup || vs |
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12cbe1365b38ae04ad4979123eb5b4e9538ee533

Git commit 7136f55faaf3afefe522ec978a4cbc906dace861 by Dave Airlie on 15/11/2007 at 05:51..
drm: don't remove mappings added by the driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7136f55faaf3afefe522ec978a4cbc906dace861

Git commit 2520d3fd99636e493060d51b1c3287a5faac22bf by Dave Airlie on 15/11/2007 at 05:52..
modes: pass type to userspace for preferred showing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2520d3fd99636e493060d51b1c3287a5faac22bf

Git commit 1e8984a3674c89c3b5ef9b6d3747fb75e10774b3 by Dave Airlie on 15/11/2007 at 07:31..
drm: send correct fb id to userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e8984a3674c89c3b5ef9b6d3747fb75e10774b3

Git commit f32688d3d011d631c18d584603d684edd9b9b512 by Dave Airlie on 15/11/2007 at 07:31..
libdrm: add crtc/output ids to userspace interface
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f32688d3d011d631c18d584603d684edd9b9b512

Git commit ca499f4d14ae29159f13957f2adc0536c71bf6d4 by Dave Airlie on 15/11/2007 at 08:22..
libdrm: return crtc id to userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca499f4d14ae29159f13957f2adc0536c71bf6d4

Git commit 6206091e5f300616c27dc834922f2976d97f72d4 by Thomas Hellstrom on 15/11/2007 at 09:39..
mm fixups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6206091e5f300616c27dc834922f2976d97f72d4

Git commit d1b0258b32ad2af99f3aff4f0aedea676d0ff421 by Thomas Hellstrom on 15/11/2007 at 09:42..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1b0258b32ad2af99f3aff4f0aedea676d0ff421

Git commit 3c998d8fcbb7745fd949347823eca678c6f904b8 by Stephane Marchesin on 15/11/2007 at 15:00..
nouveau: use get_property instead of of_get_property on pre-2.6.22 kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c998d8fcbb7745fd949347823eca678c6f904b8

Git commit 9b2a95bc6c9ddbf481d5f6017d9e85ed4def095d by Stephane Marchesin on 15/11/2007 at 17:01..
nouveau: revert the nv34 context size change, it was not the culprit after all.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b2a95bc6c9ddbf481d5f6017d9e85ed4def095d

Git commit baf5d20297577c81d0a6be1abcc45555ed83643c by Stephane Marchesin on 15/11/2007 at 19:42..
nouveau: be verbose about PPC bios for now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baf5d20297577c81d0a6be1abcc45555ed83643c

Git commit 7ec4ebe95e7eec6625d68ae6300255901b69d5c7 by Jesse Barnes on 16/11/2007 at 01:14..
Use user copy routines for writing modes & ids back to userspace

Since the drm_mode_card_res structure contains user pointers, we have to use
put_user and copy_to_user to write stuff out.  The DRM ioctl wrapper will only
take care of copying the base drm_mode_card_res struct, not the included
arrays.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ec4ebe95e7eec6625d68ae6300255901b69d5c7

Git commit a3e627f8d66b5e9e896837824ce76664e5997b27 by Jeremy Kolb on 16/11/2007 at 03:11..
nouveau: flip buffer into gart.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3e627f8d66b5e9e896837824ce76664e5997b27

Git commit f2c8d39a0f99dab9d69d927214c8c66aabb70c5c by Jeremy Kolb on 16/11/2007 at 03:11..
nouveau: rename
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2c8d39a0f99dab9d69d927214c8c66aabb70c5c

Git commit 307fc3c92c85ded23de414b0d1a3d48f934c666d by Stephane Marchesin on 16/11/2007 at 14:02..
nouveau: also mention the number of succcessfully copied bios bytes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/307fc3c92c85ded23de414b0d1a3d48f934c666d

Git commit 96e136c4794f9f57e18c1f984a27bbad4b5e1500 by Jesse Barnes on 16/11/2007 at 21:57..
Fix typo in copy_to_user calls

We want to copy to card_res->modes + copied, not &card_res->modes + copied.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96e136c4794f9f57e18c1f984a27bbad4b5e1500

Git commit e0ab2034c3d87b9a1bbd86bfccd806793ce7c5b4 by Jesse Barnes on 16/11/2007 at 21:58..
Fix connection status ABI

Userspace expects a 1 based enum for connection status so fix up the kernel
definition.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0ab2034c3d87b9a1bbd86bfccd806793ce7c5b4

Git commit a90510966e12e20d3c51d224dda607ac9951d039 by Dave Airlie on 18/11/2007 at 09:25..
radeon: refactor out the fb/agp location read/write.

Add a new get param to get the fb location into userspace. Mesa currently
hits MMIO to do this, but this isn't always possible.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a90510966e12e20d3c51d224dda607ac9951d039

Git commit c12a3a3ce08cbbba118acd8742b2ef990b417eea by Eric Anholt (on behalf of Robert Noland) on 19/11/2007 at 06:41..
Bug #13233: Chase move of agp headers on FreeBSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c12a3a3ce08cbbba118acd8742b2ef990b417eea

Git commit a74181ddb2776d7ffbcb10d8103950bd3d88b00d by Eric Anholt (on behalf of Robert Noland) on 19/11/2007 at 06:42..
Bug #13233: Fix build on FreeBSD.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a74181ddb2776d7ffbcb10d8103950bd3d88b00d

Git commit 648b5b582a4fc5a925e7c3010d5a21b24daca572 by Jerome Glisse on 19/11/2007 at 13:37..
drm: fix dead lock in drm_buffer_object_transfer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/648b5b582a4fc5a925e7c3010d5a21b24daca572

Git commit f29b2a583d6f9d2cd02d58e915a0ca1cdee0919e by Jerome Glisse on 19/11/2007 at 13:39..
drm: fix dead lock in drm_buffer_object_transfer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f29b2a583d6f9d2cd02d58e915a0ca1cdee0919e

Git commit 3fc3fc082adfa9a7dfe45ea8fb7a9fb6e7019ff6 by Eric Anholt on 19/11/2007 at 16:41..
Fix capitalization of __linux__ define.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fc3fc082adfa9a7dfe45ea8fb7a9fb6e7019ff6

Git commit dc0ec76d60093e4f7d9b886c5a6afcb0cc8a46bf by Dave Airlie on 19/11/2007 at 22:44..
radeon: add initial r5xx support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc0ec76d60093e4f7d9b886c5a6afcb0cc8a46bf

Git commit 5ec64d4a30ff6170e8b9f87fa52fd9cc0b5ddb9c by Dave Airlie on 21/11/2007 at 03:02..
r500: suggestion from glisse to not add cliprect offset on r5xx
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ec64d4a30ff6170e8b9f87fa52fd9cc0b5ddb9c

Git commit 8fd8bf599b42b6caa062afabdfce7385d59a7695 by Jerome Glisse on 21/11/2007 at 17:58..
drm: don't reset to 0 irq_enabled when client open file descriptor
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fd8bf599b42b6caa062afabdfce7385d59a7695

Git commit 09e51db77b049765117d3cfa8b59fab0b73e6c93 by Jerome Glisse on 21/11/2007 at 17:58..
drm: don't reset to 0 irq_enabled when client open file descriptor
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09e51db77b049765117d3cfa8b59fab0b73e6c93

Git commit 66079b91f38cd8e21ae4c8ea1e74c56d44b82329 by Dave Airlie on 21/11/2007 at 22:15..
r500: add pci id for X1650
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66079b91f38cd8e21ae4c8ea1e74c56d44b82329

Git commit 6ff4a70a2be606c02f2b27f92ebdb9a8ec11cbe0 by Dave Airlie on 21/11/2007 at 23:18..
i915: add context handle to superioctl struct

This will be used later for lockless operation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ff4a70a2be606c02f2b27f92ebdb9a8ec11cbe0

Git commit 7bf05708b686ec8822cc1ac7c8b647d4f7110bff by Dave Airlie on 22/11/2007 at 03:29..
drm: cleanup drm_regman.c coding style
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bf05708b686ec8822cc1ac7c8b647d4f7110bff

Git commit 5dc5c36e624e5393b5427a159ad34e5fc358cc9f by Dave Airlie on 22/11/2007 at 06:10..
drm: major whitespace/coding style realignment with kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dc5c36e624e5393b5427a159ad34e5fc358cc9f

Git commit a20587e3950f849deb1e723a0b4455a19f7b3fb8 by Dave Airlie on 22/11/2007 at 06:17..
Merge branch 'origin' into modesetting-101

Conflicts:

	linux-core/drmP.h
	shared-core/i915_dma.c
	shared-core/i915_drm.h
	shared-core/radeon_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a20587e3950f849deb1e723a0b4455a19f7b3fb8

Git commit 53b4e0cb789151164a0a43b55058319667847aaf by Dave Airlie on 26/11/2007 at 03:05..
drm: make fb modes use usermode add/remove interface

this stops usermode from getting a mode in the crtc it can't make sense off.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53b4e0cb789151164a0a43b55058319667847aaf

Git commit 362f4283205a01b2a60a49838721e9fff9ae1a4c by Dave Airlie on 26/11/2007 at 03:28..
add _ioctl to the end of two more ioctls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/362f4283205a01b2a60a49838721e9fff9ae1a4c

Git commit f9ac54b0319b273de83a004d6cfdf46a3b9d6ced by Dave Airlie on 26/11/2007 at 04:06..
fb: make fb interface use user mode attach/detach for adding modes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9ac54b0319b273de83a004d6cfdf46a3b9d6ced

Git commit e51b3c8ff4bb88bc0f57473b7c3fe7fcd6b1a916 by Dave Airlie on 26/11/2007 at 22:43..
r500: add a bunch of all r5xx pci ids..

fix up a range that may be needed for r500 mesa
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e51b3c8ff4bb88bc0f57473b7c3fe7fcd6b1a916

Git commit b3af2b59a77a6916ea7151236d3da9bde6a537fc by Dave Airlie on 27/11/2007 at 04:31..
drm/modesetting: add initial gettable properites code.

This allow the user to retrieve a list of properties for an output.
Properties can either be 32-bit values or an enum with an associated name.
Range properties are to be supported.

This API is probably not all correct, I may make properties part of the general
resource get when I think about it some more.

So basically you can create properties and attached them to whatever outputs you want,
so it should be possible to create some generics and just attach them to every output.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3af2b59a77a6916ea7151236d3da9bde6a537fc

Git commit 617cbeed2ae71c5560f597db49637df10edd8a52 by Jesse Barnes on 27/11/2007 at 20:41..
Don't use panel fitter if we're programming a native mode

Fix from the DDX driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/617cbeed2ae71c5560f597db49637df10edd8a52

Git commit e9fa8fe7342fad710bee4f65bc23ec06d3020f05 by Dave Airlie on 28/11/2007 at 12:46..
i965: oops force mi batchbuffer start
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9fa8fe7342fad710bee4f65bc23ec06d3020f05

Git commit dc338921f94daad17055105a38214483d5ac33e1 by Dave Airlie on 28/11/2007 at 23:38..
drm: more cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc338921f94daad17055105a38214483d5ac33e1

Git commit 9be085cbf44ac8bd3bc6fe3e9b55df6fec7ac389 by Dave Airlie (on behalf of Robert C. Noland III) on 28/11/2007 at 23:38..
Fix up drm_ati_pcigart_info
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9be085cbf44ac8bd3bc6fe3e9b55df6fec7ac389

Git commit 4602b6687ebb0dcf5047f2c3d88dccd751558c81 by Dave Airlie on 28/11/2007 at 23:46..
drm: oops not a cleanup..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4602b6687ebb0dcf5047f2c3d88dccd751558c81

Git commit 32c9a109b10c087f63964b4b055603feee522cc0 by Dave Airlie on 28/11/2007 at 23:47..
drm: enable udev node creation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32c9a109b10c087f63964b4b055603feee522cc0

Git commit 309b2c4c05d02a7e7311a9491b74044f6c7f06a4 by Dave Airlie (on behalf of Jiri Slaby) on 28/11/2007 at 23:55..
Beside the emitted warning, the added cast (u64 -> unsigned) strips out
part of address on 64 bit. Cast to unsigned long instead.

Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/309b2c4c05d02a7e7311a9491b74044f6c7f06a4

Git commit 887b920a7fd2cfa70b41425d26e4d3707d4075b9 by Maarten Maathuis on 30/11/2007 at 21:50..
nouveau: Properly identify NV40 and NV44 generation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/887b920a7fd2cfa70b41425d26e4d3707d4075b9

Git commit 83e62be6f449ad480eb590ee9d4131974c9920e2 by Robert Noland on 01/12/2007 at 07:32..
bsd: Move counter initialization to load time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83e62be6f449ad480eb590ee9d4131974c9920e2

Git commit d6295cc9ffe9f36f78131f8049baf24e77d35e15 by Robert Noland on 01/12/2007 at 07:40..
drm: Add _DRM_DRIVER map flag.

This flag indicates that the driver is responsible for the map.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6295cc9ffe9f36f78131f8049baf24e77d35e15

Git commit 453a295c829dd9e07175f4b2e8fe7e179e5a4d79 by Robert Noland on 01/12/2007 at 19:44..
DRM_DEBUG already prints the function name.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/453a295c829dd9e07175f4b2e8fe7e179e5a4d79

Git commit b2f8368b571efe610750640c5f10f4c4e0bf7133 by Robert Noland on 01/12/2007 at 19:44..
Clarify order of operations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2f8368b571efe610750640c5f10f4c4e0bf7133

Git commit 0c3e5261b63f6a642f4c62d287e56a52954c2b06 by Robert Noland on 01/12/2007 at 19:44..
mtx_sleep is preferred to msleep

Calling semantics are the same and both were introduced in 5.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c3e5261b63f6a642f4c62d287e56a52954c2b06

Git commit e6ca3f5754d649b6290ea017f815aeb18d565718 by Robert Noland on 01/12/2007 at 21:35..
bsd: Fix typo in i915_drv.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6ca3f5754d649b6290ea017f815aeb18d565718

Git commit 787d500c15c964f2a715ea0c949177c1d38dc367 by Robert Noland on 01/12/2007 at 22:23..
bsd: Hook secondary vblank support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/787d500c15c964f2a715ea0c949177c1d38dc367

Git commit fbc307274f7cb29f986daae3d8e367d53172e3ba by Robert Noland on 02/12/2007 at 06:23..
bsd: Now make secondary vblank work

We needed to specifically check for driver support and test the correct
vbl_received value.  Also pulled over support for _DRM_VBLANK_NEXTONMISS
from the linux code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fbc307274f7cb29f986daae3d8e367d53172e3ba

Git commit 690dd04d1b9a4da92139793d3f5129a80f9c7353 by Robert Noland on 02/12/2007 at 06:45..
bsd: Replace other occurrences of msleep with mtx_sleep
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/690dd04d1b9a4da92139793d3f5129a80f9c7353

Git commit 91cd3e3c097d581ea75ec4bcbc1ba8d23b471a2e by Dave Airlie on 03/12/2007 at 05:30..
modesetting API change for removing mode ids and making modes per output.

so really want to get a list of modes per output not the global hammer list.
also we remove the mode ids and let the user pass back the full mode description

need to fix up add/remove mode for user modes now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91cd3e3c097d581ea75ec4bcbc1ba8d23b471a2e

Git commit 96df9b11ad8974d7a2a0a589114cbbb04a584f18 by Dave Airlie on 03/12/2007 at 05:30..
finish of mode add/remove, just have attach/detach modes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96df9b11ad8974d7a2a0a589114cbbb04a584f18

Git commit 34bb2e733a612de49a390babddd8477825deb895 by Dave Airlie on 03/12/2007 at 05:30..
mode: copy back the mode if is valid correctly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34bb2e733a612de49a390babddd8477825deb895

Git commit 9a843d3bc79ae529f56e2f19e463b1b31c869a5b by Dave Airlie on 03/12/2007 at 05:30..
add flags to mode debug print
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a843d3bc79ae529f56e2f19e463b1b31c869a5b

Git commit 1a07dd5ffd014aae8f767ab1f5166131aa27ef3f by Dave Airlie on 03/12/2007 at 05:30..
hooks up sync and flags and also clocks to get mode matching better
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a07dd5ffd014aae8f767ab1f5166131aa27ef3f

Git commit 2f6e53342156ecb0e61a13816043445032c2b539 by Dave Airlie on 04/12/2007 at 18:56..
patch from -mm kernel to use upper_32_bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f6e53342156ecb0e61a13816043445032c2b539

Git commit 34797ff67c16beb9c331920f663bdf8387c14c78 by Jerome Glisse on 04/12/2007 at 22:03..
radeon_ms: radeon modesetting first commit.

This should work on all radeon but there is still many things todo:
    - add crtc2
    - tmds
    - lvds
    - add bios data table so we don't need to hardcode dac/crtc infos
    - separate clock control to make power saving easier & cleaner
    - tiling (warning tiling shouldn't be enable in double scan or interlace)
    - surface reg manager (this goes along with tiling)
    - suspend/resume hook
    - avivo & r500 family support
    - atom bios support (for posting card mostly)
    - finish superioctl skeleton
    - what else ? :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34797ff67c16beb9c331920f663bdf8387c14c78

Git commit f7432d187e4b5e13c9e450bf12d5ab8c18ea5146 by Jesse Barnes on 04/12/2007 at 22:38..
Don't free driver mapped locks

This fix is actually a bit of a cleanup too--it moves lock freeing to
drm_rmmap_locked and out of drm_lastclose.  This makes it symmetrical with
addmap and also prevents the lock from being incorrectly freed from driver
mappings.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7432d187e4b5e13c9e450bf12d5ab8c18ea5146

Git commit 1a6c95ef711fce807659ab5e4fe480d65ac233b6 by Dave Airlie on 05/12/2007 at 06:03..
arrgggh.. make all ioctl structs 32/64-bit compatible hopefully.

This also starts to add blob property support.

someone needs to check this work for other things like ppc/x86 alignment diffs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a6c95ef711fce807659ab5e4fe480d65ac233b6

Git commit c9cda51af5a8bea1d30ce575ae260de52950fe2f by Dave Airlie on 05/12/2007 at 06:31..
more WIP on blobs..

I'm going to pass back a list of blob ids and lengths in the getproperty.
will need another ioctl to return the blob data as it is variable length.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9cda51af5a8bea1d30ce575ae260de52950fe2f

Git commit e38749ebe5ece08ec63dfd37aca28108ad5cc7ab by Kristian Høgsberg on 05/12/2007 at 19:43..
Remove references to the sarea_priv perf_boxes field.

This field isn't touched or read by any other code in the stack so it's
time to retire these last few references.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e38749ebe5ece08ec63dfd37aca28108ad5cc7ab

Git commit 46ecd12c07f921bb015f87cb07ddb02baa94b382 by José Fonseca on 05/12/2007 at 22:54..
mach64: use utf-8
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46ecd12c07f921bb015f87cb07ddb02baa94b382

Git commit a64a4373e85a321a359e147b2c7220d501dff06a by José Fonseca on 05/12/2007 at 22:54..
mach64: make buffer emission macros normal functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a64a4373e85a321a359e147b2c7220d501dff06a

Git commit 67f6eb1eb8d3dc5bb5fdb097655d3da326f637c1 by Dave Airlie on 06/12/2007 at 00:44..
add property blobs and edid reporting support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67f6eb1eb8d3dc5bb5fdb097655d3da326f637c1

Git commit 1ba2bb3a7e77576333b09f296abac4c01c895c48 by Dave Airlie on 06/12/2007 at 01:35..
oops initialise variable to false
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ba2bb3a7e77576333b09f296abac4c01c895c48

Git commit 8020724615eb6f334d5f90b1e83e6a46d4a126ac by Dave Airlie on 06/12/2007 at 01:46..
check previous mode first
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8020724615eb6f334d5f90b1e83e6a46d4a126ac

Git commit 9814e87016ff90556ae34e3395c10d29add2ba08 by Dave Airlie on 06/12/2007 at 01:47..
retab intelfb code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9814e87016ff90556ae34e3395c10d29add2ba08

Git commit f1a99ddc14ebca303f20b6c23bd289fc887243ae by Dave Airlie on 06/12/2007 at 06:03..
take down stuff after asking driver to unload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1a99ddc14ebca303f20b6c23bd289fc887243ae

Git commit 3a51a8077bf55ba9d18805f2f03b78eb980fa982 by Jerome Glisse on 06/12/2007 at 21:38..
radeon_ms: avoid to unintialize things which haven't been initialized
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a51a8077bf55ba9d18805f2f03b78eb980fa982

Git commit 931b4a84a09e29570dfef1da96acc5b894529bc3 by Jerome Glisse on 06/12/2007 at 21:42..
Merge commit 'origin/modesetting-101' into modesetting-radeon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/931b4a84a09e29570dfef1da96acc5b894529bc3

Git commit a39560e767f8d66508f7cf98222199b2cc96fcaf by Jerome Glisse on 06/12/2007 at 22:19..
radeon_ms: update to lastest fb change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a39560e767f8d66508f7cf98222199b2cc96fcaf

Git commit a693e8ab12432787a3c02fa5b8f7649a08122012 by Jerome Glisse on 06/12/2007 at 22:36..
radeon_ms: fix fbcon by fixing palette
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a693e8ab12432787a3c02fa5b8f7649a08122012

Git commit bfc29606e4a818897eebca46a5e23bbe7bc3ce25 by Jesse Barnes on 07/12/2007 at 22:24..
Fix pipe<->plane mapping vs. vblank handling (again)

If drmMinor >= 6, the intel DDX driver will enable vblank events on both
pipes.  If drmMinor >= 10 on pre-965 chipsets, the intel DDX driver will
swap the pipe<->plane mapping to allow for framebuffer compression on
laptop screens.  This means the secondary vblank counter (corresponding
to pipe B) will be incremented when vblank interrupts occur.

Now Mesa waits for vblank events on whichever plane has a greater
portion of the displayed window.  So it will happly ask to wait for the
primary counter even though that one won't increment.

So we can fix this in either the DDX driver, Mesa or the kernel (though
I thought we already had several times).

Since current (and previous) userspace assumes it's talking about a pipe
== plane situation and now uses planes when talking to the kernel, we
should probably just hide the mapping details there (indeed they already
are hidden there for vblank swaps), which this patch does.

So as far as userland is concerned, whether we call things planes or
pipes is irrelevant, as long as kernel developers understand that
userland hands them planes and they have to figure out which pipe that
corresponds to (which will typically be the same on 965+ hardware and
reversed on pre-965 mobile chips).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfc29606e4a818897eebca46a5e23bbe7bc3ce25

Git commit 9d064966d8495038921d0e731c0bfca0cd58d244 by Jerome Glisse on 07/12/2007 at 23:45..
radeon_ms: fix pll computation to follow hw constraint
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d064966d8495038921d0e731c0bfca0cd58d244

Git commit 7d08b816b7af3cd415bebf65f44313415fea091a by José Fonseca on 08/12/2007 at 19:23..
mach64: comment bus master / ring buffer behavior and security
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d08b816b7af3cd415bebf65f44313415fea091a

Git commit cfa21b22b43c7113107b5eb086b5f4d4ec36dc0a by Dave Airlie on 10/12/2007 at 00:13..
drm: move agp include outside CONFIG_AGP as it isn't dependant on agp in kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfa21b22b43c7113107b5eb086b5f4d4ec36dc0a

Git commit 814f695135f21aadeba77a3114df505d81a8d433 by Dave Airlie on 10/12/2007 at 05:53..
Merge branch 'master' into r500-support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/814f695135f21aadeba77a3114df505d81a8d433

Git commit 3b6786e3e6523b1ceca3645ea4c6081f170d2134 by Dave Airlie on 11/12/2007 at 04:46..
modesetting: add dpms property and initial settable property ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b6786e3e6523b1ceca3645ea4c6081f170d2134

Git commit f99dea7db00dd46aa96eaed3a61dff9c956fd86f by Dave Airlie on 11/12/2007 at 05:56..
modesetting: fixup property setting and add connector property
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f99dea7db00dd46aa96eaed3a61dff9c956fd86f

Git commit 8d2da202337300e821f4867cb2654b41ff6053b6 by Dave Airlie on 11/12/2007 at 06:58..
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	linux-core/drm_drv.c
	shared-core/drm.h
	shared-core/i915_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d2da202337300e821f4867cb2654b41ff6053b6

Git commit 57b9a54eb668477407c8be54c041d7a9f92c1f51 by Keith Packard on 12/12/2007 at 04:23..
Allow relocation to be skipped when buffers don't move.

One of the costs of superioctl has been the need to perform relocations
inside the kernel. The cost of mapping the buffers to the CPU and writing
data is fairly high, especially if those buffers have been mapped and read
by the GPU.

If we assume that buffers don't move around very often, we can have the
client compute the relocations itself using the previous GPU address. When
that object doesn't move, the kernel can skip computing and writing the
updated data.

Here's a patch which adds a new field to struct drm_bo_info_req called
'presumed_offset', and a new DRM_BO_HINT_PRESUMED_OFFSET that is set when
this field has been filled in by the client.

There are two separate optimizations performed when the presumed_offset is
correct:

 1. i915_exec_reloc checks to see if all previous buffer offsets were guessed
    correctly. If so, there's no need for it to look at *any* of the
    relocations for a buffer. When this happens, it skips the whole
    relocation process, simply returning success.

 2. i915_apply_reloc checks to see if the target buffer offset was guessed
    correctly. If so, it skips mapping the relocatee, computing the
    relocation and writing the value. If no relocations are needed, the
    relocatee should never be mapped to the CPU, and so the kernel shouldn't
    need to wait for any fences to pass.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57b9a54eb668477407c8be54c041d7a9f92c1f51

Git commit 9ee511d786b1a87944f043c1a16057e8dfc48668 by Keith Packard on 12/12/2007 at 04:23..
Bump driver minor for relocation optimzations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ee511d786b1a87944f043c1a16057e8dfc48668

Git commit 4ec8f58d042d7fe0dab570fed35a438759645ca8 by Keith Packard on 12/12/2007 at 04:23..
i915: wait for buffer idle before writing relocations

When writing a relocation entry, make sure the target buffer is idle,
otherwise the GPU may see inconsistent data.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ec8f58d042d7fe0dab570fed35a438759645ca8

Git commit 7dcaf0cdbb57dcf85aa8798736948c280d3966b2 by Keith Packard on 12/12/2007 at 04:23..
Make relocation validate client computed values when debugging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dcaf0cdbb57dcf85aa8798736948c280d3966b2

Git commit 35a8b61317b57fcaaf5f7df06b0e2b532eddb9cb by Alan Hourihane on 13/12/2007 at 10:40..
catch an out of memory condition
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35a8b61317b57fcaaf5f7df06b0e2b532eddb9cb

Git commit f62a300547b1f495472f773587cd20c6c9da06aa by Alan Hourihane on 13/12/2007 at 10:41..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f62a300547b1f495472f773587cd20c6c9da06aa

Git commit 449a3b19ff6e5bd054e7da3086e2d16604fae7ed by Patrice Mandin on 15/12/2007 at 09:25..
Revert "nouveau: nv30: missing ramin init, does it brake other hw?"

This reverts commit 46235ea4595152d8dd5f016c18c6845a77db30b0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/449a3b19ff6e5bd054e7da3086e2d16604fae7ed

Git commit b0bc5f1ae559c705565e516ebb289bf072559dec by Keith Packard on 15/12/2007 at 20:10..
Make ttm create/destroy APIs consistent. Pass page_flags in create.

Creating a ttm was done with drm_ttm_init while destruction was done with
drm_destroy_ttm. Renaming these to drm_ttm_create and drm_ttm_destroy makes
their use clearer. Passing page_flags to the create function will allow that
to know whether user or kernel pages are needed, with the goal of allowing
kernel ttms to be saved for later reuse.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0bc5f1ae559c705565e516ebb289bf072559dec

Git commit b5181d2506be332db8b07c02cdf37c6e25545c4d by Keith Packard on 15/12/2007 at 20:10..
Document drm_bo_do_validate. Remove spurious 'do_wait' parameter.

Add comments about the parameters to drm_bo_do_validate, along
with comments for the DRM_BO_HINT options. Remove the 'do_wait'
parameter as it is duplicated by DRM_BO_HINT_DONT_BLOCK.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5181d2506be332db8b07c02cdf37c6e25545c4d

Git commit 5f23519b14e54823c94f5db5ad81e6bd5ffd3877 by Keith Packard on 15/12/2007 at 20:10..
Document drm_bo_handle_validate. Match drm_bo_do_validate parameter order.

Document parameters and usage for drm_bo_handle_validate. Change parameter
order to match drm_bo_do_validate (fence_class has been moved to after
flags, hint and mask values). Existing users of this function have been
changed, but out-of-tree users must be modified separately.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f23519b14e54823c94f5db5ad81e6bd5ffd3877

Git commit 7461519fed25f6d63415a9dd4b915c6cc668a69c by Keith Packard on 15/12/2007 at 20:10..
Document fence_class mess in drm_bo_setstatus_ioctl

drmBOSetStatus does not bother to set the fence_class parameter.
Fortunately, drm_bo_setstatus_ioctl doesn't end up using it as it
calls drm_bo_handle_validate with use_old_fence_class = 1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7461519fed25f6d63415a9dd4b915c6cc668a69c

Git commit 9d17373ffbba3cc4ee5f63ff02ff24d48ab99fe0 by Keith Packard on 15/12/2007 at 20:10..
Document drm_buffer_object_validate function.

Just add documentation for this function, no code changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d17373ffbba3cc4ee5f63ff02ff24d48ab99fe0

Git commit 0b031dbd63bbb3e0ba6d39e1e5c4eb4e87985158 by Keith Packard on 15/12/2007 at 20:10..
Document drm_ttm_set_user.

Add a comment explaining the parameters for this function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b031dbd63bbb3e0ba6d39e1e5c4eb4e87985158

Git commit 6180dbda203161b8926513cca4ee963bbbf18cc9 by Dave Airlie (on behalf of Jesper Juhl) on 16/12/2007 at 23:45..
While reading some code I stumbled across the use of 'err' in
drivers/char/drm/mga_dma.c::mga_do_cleanup_dma() and I think there's a small
problem.

The variable is only used inside #if __OS_HAS_AGP which is fine, but all
that
ever happens is an assignment to the variable - it is never actually used
for
anything.  The variable is nicely initialized to zero which is also what the
return statement at the end of function returns (always at the moment).

It looks to me like that function should be returning 'err' instead of
always
just returning 0.  Here's a patch to do that.

Signed-off-by: Jesper Juhl <jesper.juhl at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6180dbda203161b8926513cca4ee963bbbf18cc9

Git commit 2db6400396ea5c8a5ce54fe9e211b9d01a11d506 by Dave Airlie (on behalf of Li Zefan) on 16/12/2007 at 23:50..
drm: don't cast a pointer to pointer of list_head

The casting is safe only when the list_head member is the first member of
the structure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2db6400396ea5c8a5ce54fe9e211b9d01a11d506

Git commit e239882b1e90cba0297118ec7dc432bea06b0bd0 by Jakob Bornecrantz on 18/12/2007 at 01:21..
Modesetting Hotplug
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e239882b1e90cba0297118ec7dc432bea06b0bd0

Git commit bdbc34e297bd7e4cb036df6244dfb0d816eed36d by Jakob Bornecrantz on 18/12/2007 at 01:21..
Fix and cleanup of Hotplug
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdbc34e297bd7e4cb036df6244dfb0d816eed36d

Git commit ea915c77e169a50ca7dc557512212eafa93e2205 by Jakob Bornecrantz on 18/12/2007 at 01:52..
Fixed build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea915c77e169a50ca7dc557512212eafa93e2205

Git commit b13dc383df85d75cb1ea422f4d13efc2a4a8a732 by Dave Airlie on 18/12/2007 at 06:41..
remove output names
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b13dc383df85d75cb1ea422f4d13efc2a4a8a732

Git commit 01f905c1779279811d4f0467da4bdf33ff786c86 by Dave Airlie on 18/12/2007 at 08:16..
we should not be unlocking this here
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01f905c1779279811d4f0467da4bdf33ff786c86

Git commit a19e0efb0e03dbaad68e281b7e018663fb8c3589 by Dave Airlie on 18/12/2007 at 08:17..
lockdep warned about a possible locking dependency
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a19e0efb0e03dbaad68e281b7e018663fb8c3589

Git commit 6d03411e5faa124bac014ebacec470ffd7cf2ce4 by Dave Airlie on 18/12/2007 at 08:18..
HERE BEZ HACKZ.. magic variable to make shit work
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d03411e5faa124bac014ebacec470ffd7cf2ce4

Git commit 629231c62675fe09f4eb948861a21980a9b79a5a by Dave Airlie on 18/12/2007 at 08:18..
Merge branch 'modesetting-airlied' into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/629231c62675fe09f4eb948861a21980a9b79a5a

Git commit d8c94a84b7f8da5fdf32a0799eaac72a1fc3007d by Jerome Glisse on 19/12/2007 at 17:27..
radeon_ms: add sarea & install header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8c94a84b7f8da5fdf32a0799eaac72a1fc3007d

Git commit 21b01cd4b54781cfab038016c2d644069d522787 by Jerome Glisse on 20/12/2007 at 11:35..
radeon_ms: update to follow lastest modesetting change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21b01cd4b54781cfab038016c2d644069d522787

Git commit 219ba5cd9aff2dc79e414bbe2e9f90406f7543df by Dave Airlie on 21/12/2007 at 08:38..
s/TRUE/true
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/219ba5cd9aff2dc79e414bbe2e9f90406f7543df

Git commit 6d44f48002c19d67187adb660ef74dd1870d52c2 by Keith Packard on 21/12/2007 at 20:16..
Clean up and document drm_ttm.c APIs. drm_bind_ttm -> drm_ttm_bind.

Aside from changing drm_bind_ttm to drm_ttm_bind, this patch
adds only documentation and fixes the functions inside drm_ttm.c
to all be prefixed with drm_ttm_.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d44f48002c19d67187adb660ef74dd1870d52c2

Git commit 881ee70ab7bab5d6f6140dc9bf1e19c7b5844084 by Keith Packard on 21/12/2007 at 20:16..
Move dummy_read_page from drm_ttm_set_user to drm_ttm_create.

I'm hoping to use the dummy_read_page for kernel allocated buffers to avoid
allocating extra pages for read-only buffers (like vertex and batch buffers).
This also eliminates the 'write' parameter to drm_ttm_set_user and just
has DRM_TTM_PAGE_WRITE passed into drm_ttm_create.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/881ee70ab7bab5d6f6140dc9bf1e19c7b5844084

Git commit 37fb2ac4071f62bad2c36cc9ca84f9c8feee6bf5 by Keith Packard on 21/12/2007 at 20:16..
Use dummy_read_page for unpopulated kernel-allocated ttm pages.

Previously, dummy_read_page was used only for read-only user allocations; it
filled in pages that were not present in the user address map (presumably,
these were allocated but never written to pages).

This patch allows them to be used for read-only ttms allocated from the
kernel, so that applications can over-allocate buffers without forcing every
page to be allocated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37fb2ac4071f62bad2c36cc9ca84f9c8feee6bf5

Git commit d1187641d64f442968a3b9ea6a19de6cdd45acd4 by Keith Packard on 21/12/2007 at 20:16..
Rename inappropriately named 'mask' fields to 'proposed_flags' instead.

Flags pending validation were stored in a misleadingly named field, 'mask'.
As 'mask' is already used to indicate pieces of a flags field which are
changing, it seems better to use a name reflecting the actual purpose of
this field. I chose 'proposed_flags' as they may not actually end up in
'flags', and in an case will be modified when they are moved over.

This affects the API, but not ABI of the user-mode interface.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1187641d64f442968a3b9ea6a19de6cdd45acd4

Git commit da3601e43ae75695f3b080904b1e090c8eb1cd8e by Keith Packard on 21/12/2007 at 20:16..
Change drm_bo_type_dc to drm_bo_type_device and comment usage of this value.

I couldn't figure out what drm_bo_type_dc was for; Dave Airlie finally clued
me in that it was the 'normal' buffer objects with kernel allocated pages
that could be mmapped from the drm device file.

I thought that 'drm_bo_type_device' was a more descriptive name.

I also added a bunch of comments describing the use of the type enum values and
the functions that use them.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da3601e43ae75695f3b080904b1e090c8eb1cd8e

Git commit 5d8d64ad3881c10bc3cd3fd5cab1ac14268da5ce by Xiang, Haihao on 25/12/2007 at 08:57..
i915: i915_execbuffer ioctl32 routine, fix #13732
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d8d64ad3881c10bc3cd3fd5cab1ac14268da5ce

Git commit b9417f41418321d5081547a3a3386dcccae7541f by Xiang, Haihao on 26/12/2007 at 09:13..
i915: return fence argument from i915_execbuffer ioctl32 routine
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9417f41418321d5081547a3a3386dcccae7541f

Git commit 96a00054beb84050d618c8418e2da999530b117f by Dave Airlie on 03/01/2008 at 06:03..
remove duplicate pciids
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96a00054beb84050d618c8418e2da999530b117f

Git commit 5e99b42b043e36a8db4a27522be27944a344715e by Dave Airlie on 03/01/2008 at 06:05..
Merge branch 'r500-support'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e99b42b043e36a8db4a27522be27944a344715e

Git commit 9ab620d661253f9b08f683a2a6f9ddee002015bc by Dave Airlie (on behalf of Márton Németh) on 03/01/2008 at 06:56..
drm: cleanup DRM_DEBUG() parameters

As DRM_DEBUG macro already prints out the __FUNCTION__ string (see
drivers/char/drm/drmP.h), it is not worth doing this again. At some
other places the ending "\n" was added.

airlied:- I cleaned up a few that this patch missed also
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ab620d661253f9b08f683a2a6f9ddee002015bc

Git commit 97b8c9591cfeb88d02bd9255adf8a1f9aaa72630 by Dave Airlie on 03/01/2008 at 07:10..
mach64: cleanup some of the macro formatting
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97b8c9591cfeb88d02bd9255adf8a1f9aaa72630

Git commit 78d6649069a40c5c30ecc482eea803a5dc89c080 by Dave Airlie on 03/01/2008 at 07:44..
mach64: some more minor cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78d6649069a40c5c30ecc482eea803a5dc89c080

Git commit 381724a35b662302b70f9a5c04f1412ff2c2ad5b by Stephane Marchesin (on behalf of Stuart Bennett) on 04/01/2008 at 04:07..
[PATCH] nouveau: Fix nv20/30 context loading

Don't set the context as valid until it has been loaded
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/381724a35b662302b70f9a5c04f1412ff2c2ad5b

Git commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707 by Stephane Marchesin (on behalf of Stuart Bennett) on 04/01/2008 at 04:08..
[PATCH] nouveau: reset AGP on init for < nv40

This is necessary for AGP to work after running bios init scripts on nv3x, and
is seen in mmio traces of all cards (nv04-nv4x)

I'm not making the equivalent change to nv40_mc.c, as early cards (6200, 6800gt)
use the 0x000018XX PBUS and later cards use the 0x000880XX PBUS and I don't know
the effects of using the wrong one
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71adbfc874517efbba8b9f7c3f90baad0d7fb707

Git commit 10937cf20b6814e4cf68114fab4619fad94eafcb by Dave Airlie on 04/01/2008 at 05:12..
drm: move drm_head to drm_minor and fix up users
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10937cf20b6814e4cf68114fab4619fad94eafcb

Git commit 30fba69a68efc196908dab22581d1b99cf8750ae by Dave Airlie (on behalf of Xavier Bachelot) on 04/01/2008 at 06:29..
via: add P4M900 pci id.

bug 12108
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30fba69a68efc196908dab22581d1b99cf8750ae

Git commit df9cfeff37d40722df4e8a785478ac41246ca51f by Dave Airlie on 04/01/2008 at 06:48..
crtc: fixup allocation size
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df9cfeff37d40722df4e8a785478ac41246ca51f

Git commit d3da253adbf471c9af9c68b2ff67cbf516856352 by Dave Airlie on 04/01/2008 at 06:49..
drm: add initial support for a drm control device node
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3da253adbf471c9af9c68b2ff67cbf516856352

Git commit f5e5e5c0ea7d7a69f7bf16c718bf757fbb4b541d by Pekka Paalanen on 04/01/2008 at 22:42..
drm: One forgotten rename of 'mask' to 'proposed_flags'.

Due to commit d1187641d64f442968a3b9ea6a19de6cdd45acd4.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5e5e5c0ea7d7a69f7bf16c718bf757fbb4b541d

Git commit bd5d760a105e0a7aec00791d397511a0f7bc27ea by Jeremy Kolb on 06/01/2008 at 15:09..
nouveau: Add ctx_voodoo for NV86
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd5d760a105e0a7aec00791d397511a0f7bc27ea

Git commit de522ae742bd058780135eb21fe287e9a9dc263a by Stephane Marchesin on 07/01/2008 at 04:54..
Nouveau: move PPC bios copy to firstopen.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de522ae742bd058780135eb21fe287e9a9dc263a

Git commit cd19dcef4f7cc454f68618a0a1e903f159db21ad by Stephane Marchesin on 07/01/2008 at 05:11..
Nouveau: ppc oops.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd19dcef4f7cc454f68618a0a1e903f159db21ad

Git commit 3d3d509dcae7f26cfcbe63e527a16f181a24e37c by Ben Skeggs on 07/01/2008 at 06:08..
nv50: some cleanups + small changes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d3d509dcae7f26cfcbe63e527a16f181a24e37c

Git commit fa5e18679fcdb7bd2d69c605183b0b205416bf2b by Ben Skeggs on 07/01/2008 at 06:09..
nv50: use dummy page in gart tables

Just to be safe, we don't really know exactly how the tables work yet, so
we can't be certain there's a way to say "page not present".
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa5e18679fcdb7bd2d69c605183b0b205416bf2b

Git commit 15f8fd34df11d9fceb3f813c9478ffe66cae3473 by Ben Skeggs on 07/01/2008 at 06:09..
nv50: some needed ctx vals
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15f8fd34df11d9fceb3f813c9478ffe66cae3473

Git commit 7a4ba7273c740503b6f254f74b2e06312c15790a by Ben Skeggs on 07/01/2008 at 06:13..
nv50: abort on chips without ctx ucode
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a4ba7273c740503b6f254f74b2e06312c15790a

Git commit 3d248cd7e4538ced5c0b652a784eb4ef309d5e11 by Ben Skeggs on 07/01/2008 at 06:23..
nv50: hook up timer funcs...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d248cd7e4538ced5c0b652a784eb4ef309d5e11

Git commit 942b500e24fba25e3e047c7756b75a2782076512 by Ben Skeggs on 07/01/2008 at 07:19..
nv50: oops, lost some state saving along the way somewhere.

xf86-video-nv will now work again after nouveau.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/942b500e24fba25e3e047c7756b75a2782076512

Git commit 0bfd09f719fb1de3e489fe513a122f29cdcef0c3 by Ben Skeggs on 07/01/2008 at 07:56..
nv50: more small changes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bfd09f719fb1de3e489fe513a122f29cdcef0c3

Git commit 5f15f317fb304f6a2321c033d401f603b365f2d0 by Stuart Bennett on 08/01/2008 at 20:30..
nouveau: AGP reset correction - don't touch FW bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f15f317fb304f6a2321c033d401f603b365f2d0

Git commit 844199da71f29556be3436fa0fead2f0cc0bfc1b by David Nusinow on 09/01/2008 at 01:18..
Kill the manifest code.
It served its purpose for the monolith and is now dead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/844199da71f29556be3436fa0fead2f0cc0bfc1b

Git commit 135f51306b08f9863d77ac85b69989288c62f147 by Dave Airlie on 09/01/2008 at 05:21..
drm: only call suspend/resume on control node
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/135f51306b08f9863d77ac85b69989288c62f147

Git commit ebbc2e0a2e19f5e0fdc06af0951d7fc2cc9ddcbe by Dave Airlie on 09/01/2008 at 05:31..
add control ioctls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebbc2e0a2e19f5e0fdc06af0951d7fc2cc9ddcbe

Git commit 8d6e3c208f8090ccc32ef3a38c58f2aca7f4be2a by Dave Airlie on 09/01/2008 at 05:43..
allow control getversion
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d6e3c208f8090ccc32ef3a38c58f2aca7f4be2a

Git commit 73bf5e867089b58b2c4baaa833d15a2b1fb268a4 by Dave Airlie on 09/01/2008 at 05:44..
add internals for opening a control node
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73bf5e867089b58b2c4baaa833d15a2b1fb268a4

Git commit 87a32efcdde124df59656e00a402ba50a0ba1e45 by Dave Airlie on 09/01/2008 at 07:11..
add control node open
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87a32efcdde124df59656e00a402ba50a0ba1e45

Git commit e04d942ee8e74fce90e332446e740a100d782033 by Dave Airlie on 09/01/2008 at 07:11..
fixup crtcinfo on modes from userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e04d942ee8e74fce90e332446e740a100d782033

Git commit 0a4df3372aec219298e3787f6f377941bc51bfcb by Jakob Bornecrantz on 10/01/2008 at 04:03..
Updated test mode and added modedemo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a4df3372aec219298e3787f6f377941bc51bfcb

Git commit f0b7c45653b510693821ad68a20a3820c29195ef by Ben Skeggs on 11/01/2008 at 01:51..
nv05: enable ctx/op methods, and ignore patch valid failures.

Yes, I'm quite aware "real" nv04 doesn't support this, hopefully the GPU
will just ignore those PGRAPH_DEBUG_3 bits on that hw.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0b7c45653b510693821ad68a20a3820c29195ef

Git commit 0b69c1d1d6a09d55d3367296dfdf23269f2721ea by Jakob Bornecrantz on 11/01/2008 at 01:55..
Added fixed misc framebuffer problems
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b69c1d1d6a09d55d3367296dfdf23269f2721ea

Git commit 12a47cd136803883231c9763f2007216236ec3b2 by Jakob Bornecrantz on 11/01/2008 at 03:23..
Updated the modedemo test
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12a47cd136803883231c9763f2007216236ec3b2

Git commit f07942f74a08e4c65e3b5e5c46f543686ae30c2b by Jakob Bornecrantz on 11/01/2008 at 16:13..
Panning now works without modeset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f07942f74a08e4c65e3b5e5c46f543686ae30c2b

Git commit e6fc47129ffe972bbee1c08fd822a8c171f21322 by Jakob Bornecrantz on 11/01/2008 at 16:33..
Fix for X axis panning problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6fc47129ffe972bbee1c08fd822a8c171f21322

Git commit 269d518008a20dc81231574f2d07d101553d3824 by Stephane Marchesin on 14/01/2008 at 02:16..
nouveau: make mem alloc debug a little more verbose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/269d518008a20dc81231574f2d07d101553d3824

Git commit 62df4f0a48776e55443d7f61a41e1ed0fb77b6ed by Dave Airlie on 14/01/2008 at 09:38..
fixup i915 compat resource allocation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62df4f0a48776e55443d7f61a41e1ed0fb77b6ed

Git commit 806c1929dcd344f6eab3133584a9c4ce9f3f47bc by Zou Nan hai on 15/01/2008 at 01:19..
this is to fix a deadloop in drm hang system issue.
 (1 << bits) is an undefined value when bits == 32.
 gcc may generate 1 with this expression
 which will lead to an infinite retry loop in
 drm_ht_just_insert_please.
 Because of the different implement of hash_long,
 this  issue is more frequenly see on 64 bit system
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/806c1929dcd344f6eab3133584a9c4ce9f3f47bc

Git commit 099e89edf094ec231621b67129e9226ba50e99ad by Thomas Hellstrom on 15/01/2008 at 08:47..
Define i915_compat.c upper_32_bits for kernels < 2.6.21
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/099e89edf094ec231621b67129e9226ba50e99ad

Git commit 88c511e49dce869d1c4e3271bf642cbb22fef0cf by Thomas Hellstrom on 15/01/2008 at 09:03..
Properly propagate the user-space fence flags.
This avoids a sync flush when user-space has already programmed
and MI_FLUSH in the batchbuffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88c511e49dce869d1c4e3271bf642cbb22fef0cf

Git commit f1f934c8c97d6664fb5e1920a41154c09cc7f293 by John Doe (on behalf of Jerome Glisse) on 15/01/2008 at 13:17..
radeon_ms: add rom parsing & adapt code

Add rom (only combios for now) parsing and use informations
retrieve instead of hardcoded table. Shuffle code around a
bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1f934c8c97d6664fb5e1920a41154c09cc7f293

Git commit 20a8e2d30e99a3248e6f02f792a29d20ec9f2ce5 by John Doe (on behalf of Jerome Glisse) on 15/01/2008 at 13:30..
radeon_ms: cope with lastest drm modesetting change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20a8e2d30e99a3248e6f02f792a29d20ec9f2ce5

Git commit 6ba979ea467ef6ff76c32ee63ee9a6d4073ec672 by John Doe (on behalf of Jerome Glisse) on 15/01/2008 at 15:01..
radeon_ms: use radeon connector type insted of drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ba979ea467ef6ff76c32ee63ee9a6d4073ec672

Git commit ac6b3780c816f81c8159ff5ba07a77563e26a1c5 by Kristian Høgsberg (on behalf of Zhenyu Wang) on 15/01/2008 at 18:06..
i915: Add chipset id for Intel Integrated Graphics Device

This adds new chipset id in drm.

Signed-off-by: Zhenyu Wang <zhenyu.z.wang at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac6b3780c816f81c8159ff5ba07a77563e26a1c5

Git commit 44a9fa8cc6c7d598163d1885bf69e4bf747a004b by Eric Anholt on 18/01/2008 at 00:55..
Add additional explanation of DRM_BO_FLAG_CACHED_MAPPED before I forget again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44a9fa8cc6c7d598163d1885bf69e4bf747a004b

Git commit c6f175cbea1dba3fc26426243acc55b89b8a8064 by Eric Anholt (on behalf of Kyle McMartin) on 18/01/2008 at 00:55..
i915: fix invalid opcode exception on cpus without clflush

i915_flush_ttm was unconditionally executing a clflush instruction
to (obviously) flush the cache. Instead, check if the cpu supports
clflush, and if not, fall back to calling wbinvd to flush the entire
cache.

Signed-off-by: Kyle McMartin <kmcmartin at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6f175cbea1dba3fc26426243acc55b89b8a8064

Git commit fb9ea12438de95a6ac085879e079055eaea3daf8 by Jakob Bornecrantz on 18/01/2008 at 14:00..
Made radeon_ms not always compile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb9ea12438de95a6ac085879e079055eaea3daf8

Git commit 641c9a2ecccb4fd51e2453c18df5d1e6a209d6e3 by Stephane Marchesin on 21/01/2008 at 20:01..
nouveau: new card family for old card designs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/641c9a2ecccb4fd51e2453c18df5d1e6a209d6e3

Git commit 616cef5ec84b97eb676ee7cc6699451d778fad3b by Stephane Marchesin on 21/01/2008 at 20:11..
nouveau: don't forget NV80.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/616cef5ec84b97eb676ee7cc6699451d778fad3b

Git commit 5231a524f53babd127a576d7567671dafb29651b by Dave Airlie on 22/01/2008 at 03:42..
Revert "Fix pipe<->plane mapping vs. vblank handling (again)"

This reverts commit bfc29606e4a818897eebca46a5e23bbe7bc3ce25.

This regresses i915 here for me I can't get greater than 0.333 fps with gears
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5231a524f53babd127a576d7567671dafb29651b

Git commit 0cd4cbc9a6330bd619608f274592082de7c05bcf by Jesse Barnes on 22/01/2008 at 17:42..
Merge branch 'master' into vblank-rework, including mach64 support

Conflicts:

	linux-core/drmP.h
	linux-core/drm_drv.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
	shared-core/mga_irq.c
	shared-core/radeon_irq.c
	shared-core/via_irq.c

Mostly trivial conflicts.

mach64 support from Mathieu Bérard.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cd4cbc9a6330bd619608f274592082de7c05bcf

Git commit 893e311999d1565943899d73c56c674fc9b6e502 by Jesse Barnes on 22/01/2008 at 21:11..
i915 irq fixes

Ack the IRQs correctly (PIPExSTAT first followed by IIR).  Don't read
vblank counter registers on disabled pipes (might hang otherwise).  And
deal with flipped pipe/plane mappings if present.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/893e311999d1565943899d73c56c674fc9b6e502

Git commit 531f25cfe9d0319f78fe58260bfed08d5e3e8bcc by Jesse Barnes on 22/01/2008 at 23:16..
Correct vblank count value

The frame count registers don't increment until the start of the next
frame, so make sure we return an incremented count if called during the
actual vblank period.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/531f25cfe9d0319f78fe58260bfed08d5e3e8bcc

Git commit 2f19fe44983647328a97cb4ce513d773459ca853 by Dave Airlie on 23/01/2008 at 06:44..
drm/i915: add support for E7221
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f19fe44983647328a97cb4ce513d773459ca853

Git commit c57f43e3a266d247c8a2be6fd7702caab2dc009b by Dave Airlie on 23/01/2008 at 06:45..
i915/flush: get the ret the right way around
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c57f43e3a266d247c8a2be6fd7702caab2dc009b

Git commit 7c726086dd6591c7b32bffdcfd8e180309aad14d by Maarten Maathuis on 23/01/2008 at 15:40..
nouveau: Fix warning in nouveau_mem.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c726086dd6591c7b32bffdcfd8e180309aad14d

Git commit cb917843711ab5fe22f311cbd3eb597bce105df5 by Jesse Barnes on 23/01/2008 at 16:38..
Fix IS_I915G macro

One to many parantheses...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb917843711ab5fe22f311cbd3eb597bce105df5

Git commit b5a34f5da50e22ecb80853f0f422beb90857dc2d by Jesse Barnes on 23/01/2008 at 16:39..
Fix thinko in get_vblank_counter

Should use vtotal not htotal to figure out if we're in a vblank period.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5a34f5da50e22ecb80853f0f422beb90857dc2d

Git commit 34b71eb45124b32377b82b4d3737537b9195b0a7 by Dave Airlie on 24/01/2008 at 04:37..
i915 make relocs use copy from user

Switch relocs to using copy from user and remove index and pass buffer
handles in instead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34b71eb45124b32377b82b4d3737537b9195b0a7

Git commit 5b9930645227d52f47b6dc85cd1aee65bb5820ad by Dave Airlie on 24/01/2008 at 05:18..
i915: fix missing header when copying data from userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b9930645227d52f47b6dc85cd1aee65bb5820ad

Git commit c7ee6cc269c26d8e7ed98a16a272eca63daab201 by Jesse Barnes on 24/01/2008 at 16:57..
Remove broken 'in vblank' accounting

We need to return an accurate vblank count to the callers of
->get_vblank_counter, and in the Intel case the actual frame count
register isn't udpated until the next active line is displayed, so we
need to return one more than the frame count register if we're currently
in a vblank period.

However, none of the various ways of doing this is working yet, so
disable the logic for now.  This may result in a few missed events, but
should fix the hangs some people have seen due to the current code
tripping the wraparound logic in drm_update_vblank_count.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7ee6cc269c26d8e7ed98a16a272eca63daab201

Git commit e3c42f00042ffacc7868ed608b9ecf786dcc4e4a by Eric Anholt on 24/01/2008 at 20:44..
Merge commit 'airlied/i915-ttm-cfu'

This requires updated Mesa to handle the new relocation format.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3c42f00042ffacc7868ed608b9ecf786dcc4e4a

Git commit bfdddd218ec3e7ce3f8e765b93af35661a7bf0fd by Jesse Barnes on 25/01/2008 at 05:13..
Fixup modeset ioctl number & typedef usage

Should be 0x08 rather than 0xa0, and shouldn't use typedefs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfdddd218ec3e7ce3f8e765b93af35661a7bf0fd

Git commit e7a41d7f5be49241480a20eb733262712e0f8dcb by Dave Airlie on 25/01/2008 at 05:27..
Merge remote branch 'origin/master' into modesetting-101

Conflicts:

	linux-core/drm_bo.c
	linux-core/drm_drv.c
	shared-core/drm.h
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
	shared-core/radeon_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7a41d7f5be49241480a20eb733262712e0f8dcb

Git commit fa7b779c91cbac16ec699efab4ee150412d4ba74 by Dave Airlie on 25/01/2008 at 06:32..
don't reinit ring if already initialised
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa7b779c91cbac16ec699efab4ee150412d4ba74

Git commit 98361cf28c62530e34758b27aa1eea805269e0e5 by Dave Airlie on 25/01/2008 at 06:34..
if irq already enabled well just keep trucking
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98361cf28c62530e34758b27aa1eea805269e0e5

Git commit 6bfb9b639ab2ab71969eeeb72105ce7e0c487462 by George Sapountzis on 25/01/2008 at 14:54..
mach64: fix after vblank-rework

don't disable vblank interrupts (similar to r128)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6bfb9b639ab2ab71969eeeb72105ce7e0c487462

Git commit b8755ff7c33baac2abe5b5fe00897b33a896a098 by Dave Airlie (on behalf of Maciej Cencora) on 27/01/2008 at 02:50..
drm: add initial rs690 support for drm.

This adds support for configuring the RS690 GART.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8755ff7c33baac2abe5b5fe00897b33a896a098

Git commit a2254c5a9670a3e865f0eb5acd46e905c9b146ce by Jakob Bornecrantz on 28/01/2008 at 02:14..
Added cursor support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2254c5a9670a3e865f0eb5acd46e905c9b146ce

Git commit b9b6f9234dd9e702a7d58978cbd88dc297b2b51a by Jakob Bornecrantz on 28/01/2008 at 21:06..
Misc panning fixes for intel_fb
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9b6f9234dd9e702a7d58978cbd88dc297b2b51a

Git commit 01f6afcfea9d315ad1473045da141bfc95bcb7e6 by Jesse Barnes on 29/01/2008 at 05:05..
Fix hibernate save/restore of VGA attribute regs

In hibernate, we may end up calling the VGA save regs function twice, so we
need to make sure it's idempotent.  That means leaving ARX in index mode after
the first save operation.  Fixes hibernate on 965.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01f6afcfea9d315ad1473045da141bfc95bcb7e6

Git commit 0744cb153aabd290fd4832288a530adeb5561e2c by Alex Deucher (on behalf of Mirko) on 29/01/2008 at 15:11..
Add new RV380 pci id

bug 14289
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0744cb153aabd290fd4832288a530adeb5561e2c

Git commit 9a7e45858d8faa7afbe31b130d2de1be781085da by Ben Skeggs on 30/01/2008 at 00:50..
nv40: some more nv67 changes

With some luck the drm-side will be OK now for this chipset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a7e45858d8faa7afbe31b130d2de1be781085da

Git commit 841ef9eb8da8058d6495e9f8e1b14af2709dfaa1 by Jakob Bornecrantz on 30/01/2008 at 14:47..
ModeFB demo now display cursor
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/841ef9eb8da8058d6495e9f8e1b14af2709dfaa1

Git commit abed0995585050d5fd179958d01f14f7e430e795 by Jakob Bornecrantz on 30/01/2008 at 15:16..
Fix for cursor off
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abed0995585050d5fd179958d01f14f7e430e795

Git commit f1edb7ad91d8b92057ffa02eb162e3740d05a147 by Thomas Hellstrom on 30/01/2008 at 21:06..
Simplify the fencing code and differentiate between flushes and
waiting types.
Add a "command_stream_barrier" method to the bo driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1edb7ad91d8b92057ffa02eb162e3740d05a147

Git commit 47ee6237fe86a8621744bbd6cecb8b5e58848b05 by Thomas Hellstrom on 30/01/2008 at 21:14..
i915: Avoid calling drm_fence_flush_old excessively.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47ee6237fe86a8621744bbd6cecb8b5e58848b05

Git commit c77b0937f290568604961fa0013691349c5fcf3b by Thomas Hellstrom on 31/01/2008 at 13:11..
Add an fence_class_manager::last_queued_sequence member, since a
sequence number may actually turn up before the corresponding fence
object has been queued on the ring.

Fence drivers can use this member to determine whether a
sequence number must be re-reported.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c77b0937f290568604961fa0013691349c5fcf3b

Git commit 733e07663e50087ca1e9af8e9b5def556521e3b5 by Maarten Maathuis on 02/02/2008 at 11:46..
nouveau: NV40 can/should now be able to run after the blob.

- Moved the fix from the ddx to drm, because it seemed more appropriate.
- Don't be shy, report if it works for you or not.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/733e07663e50087ca1e9af8e9b5def556521e3b5

Git commit a0781e762295ce3d5f6e839d437a0de505cefa3b by Stuart Bennett on 04/02/2008 at 16:38..
nouveau: make nv34 work every time, not just every 2nd time

And make nv30_graph_init a bit more like mmio-traces
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0781e762295ce3d5f6e839d437a0de505cefa3b

Git commit d8bbd02a6086ebe302859cec22c503d32ed77dc6 by Jakob Bornecrantz on 04/02/2008 at 19:51..
Modedemo now uses two crtc and output pairs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8bbd02a6086ebe302859cec22c503d32ed77dc6

Git commit 709aa4629321533bfa30c72c4e33f229c895358a by Alan Hourihane on 05/02/2008 at 09:28..
Remove duplicate
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/709aa4629321533bfa30c72c4e33f229c895358a

Git commit c9772f8c037667ed3586337f90904e7978f8ab14 by Alan Hourihane on 05/02/2008 at 09:28..
consistency
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9772f8c037667ed3586337f90904e7978f8ab14

Git commit 76748efae2f51409813eeb6b91b783c73cb2845e by Thomas Hellstrom on 05/02/2008 at 09:36..
i915: Re-report breadcrumbs on poll to the fence manager,

since a breadcrumb may actually turn up before a corresponding fence object
has been placed on the fence ring.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76748efae2f51409813eeb6b91b783c73cb2845e

Git commit 7cc825f5946659ad586fd4aa4fd867a1373f3373 by Alan Hourihane on 05/02/2008 at 10:10..
Add missing round_jiffies_relative() for older kernels
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cc825f5946659ad586fd4aa4fd867a1373f3373

Git commit f2c706e24782940582b75d5286f9bbf2fe37f0cd by Alan Hourihane on 05/02/2008 at 10:11..
Fix function declaration
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2c706e24782940582b75d5286f9bbf2fe37f0cd

Git commit 5e81a40f3b531ef95f84581a40b5a5badd9ee986 by Alan Hourihane on 05/02/2008 at 10:11..
build fix for older kernels
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e81a40f3b531ef95f84581a40b5a5badd9ee986

Git commit de0084590bc34c2c23cb3d7a754f3e98059f4cf2 by Alan Hourihane on 05/02/2008 at 10:11..
fix some warnings
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de0084590bc34c2c23cb3d7a754f3e98059f4cf2

Git commit 53937a189f8dbe2dd82fb97c0e88454d29a6c7cd by Alan Hourihane on 05/02/2008 at 10:12..
build fix for older kernels
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53937a189f8dbe2dd82fb97c0e88454d29a6c7cd

Git commit 7af1bb874d9b8b1b8760ad200cee587c41c23434 by Alan Hourihane on 05/02/2008 at 15:12..
DRM_CONTROL_ALLOW logic was reversed
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7af1bb874d9b8b1b8760ad200cee587c41c23434

Git commit 5997e10ca75ac87fd54b3bc0035938e1a9ad7929 by Alan Hourihane on 05/02/2008 at 15:15..
consistency
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5997e10ca75ac87fd54b3bc0035938e1a9ad7929

Git commit 936e32b08c05c9658cc51cd8fe118e0342733a79 by Alan Hourihane on 05/02/2008 at 15:18..
make modefb/modedemo match each others test output.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/936e32b08c05c9658cc51cd8fe118e0342733a79

Git commit 127cb1ff9a7bbb7af73cc418a7adc30d68c454d2 by Alan Hourihane on 05/02/2008 at 15:24..
tweak it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/127cb1ff9a7bbb7af73cc418a7adc30d68c454d2

Git commit 516c7a7b28ebf4bba797eaa718450b51aa772c6e by Alan Hourihane on 05/02/2008 at 15:30..
update app to cycle through 4 fbdev's
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/516c7a7b28ebf4bba797eaa718450b51aa772c6e

Git commit 87d5f9cb2d2812c1da726e38965f0eb78c2b8dfa by Jakob Bornecrantz on 07/02/2008 at 18:22..
Small update to modedemo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87d5f9cb2d2812c1da726e38965f0eb78c2b8dfa

Git commit 34b76e0fac579e4afd269ebd3cbcbdd0416ec944 by Jakob Bornecrantz on 07/02/2008 at 18:23..
Added hotplug ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34b76e0fac579e4afd269ebd3cbcbdd0416ec944

Git commit 0618ac8a07d834e469cb96818a1dfee6f50662b8 by Jakob Bornecrantz on 07/02/2008 at 18:24..
Added kernel part of hotplug ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0618ac8a07d834e469cb96818a1dfee6f50662b8

Git commit c8b45e9362aa16fed08540996af6d0b1e2e730d0 by Jakob Bornecrantz on 07/02/2008 at 18:25..
Added userspace part of hotplug ioctl and demo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8b45e9362aa16fed08540996af6d0b1e2e730d0

Git commit 2ceafcccb77723a464abd51d07e664933e117b6e by Jakob Bornecrantz on 07/02/2008 at 18:32..
Wrong open call
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ceafcccb77723a464abd51d07e664933e117b6e

Git commit 79d69285202b55f269aa88a6bcda257257c9dee3 by Jesse Barnes on 07/02/2008 at 18:40..
Fix vblank enable/disable callbacks

There were two problems with the existing callback code:  the vblank
enable callback happened multiple times per disable, making drivers more
complex than they had to be, and there was a race between the final
decrement of the vblank usage counter and the next enable call, which
could have resulted in a put->schedule disable->get->enable->disable
sequence, which would be bad.

So add a new vblank_enabled array to track vblank enable on per-pipe
basis, and add a lock to protect it along with the refcount +
enable/disable calls to fix the race.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79d69285202b55f269aa88a6bcda257257c9dee3

Git commit 8b6c96dedd4ba5dfbfec6a7c831d566e31d28781 by Jesse Barnes on 07/02/2008 at 18:48..
i915: save/restore interrupt state

On resume, if the interrupt state isn't restored correctly, we may end
up with a flood of unexpected or ill-timed interrupts, which could cause
the kernel to disable the interrupt or vblank events to happen at the
wrong time.  So save/restore them properly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b6c96dedd4ba5dfbfec6a7c831d566e31d28781

Git commit 6f19473191ae543fcc199d252c5865c0734d38ad by Jesse Barnes on 07/02/2008 at 19:21..
Fix saveGR array size

Make sure we have enough room for all the GR registers or we'll end up
clobbering the AR index register (which should actually be harmless
unless the BIOS is making an assumption about it).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f19473191ae543fcc199d252c5865c0734d38ad

Git commit fe83c068612dd1abef8cf6d224b6b0330604a8f1 by Alan Hourihane on 07/02/2008 at 21:18..
Revert "DRM_CONTROL_ALLOW logic was reversed"

This reverts commit 7af1bb874d9b8b1b8760ad200cee587c41c23434.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe83c068612dd1abef8cf6d224b6b0330604a8f1

Git commit f51dc37d75b0b1b8e5636f8f2c201e29986517ea by Alan Hourihane on 07/02/2008 at 22:21..
After the previous revert fix libdrm to start at minor 1
and fixup the demos
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f51dc37d75b0b1b8e5636f8f2c201e29986517ea

Git commit db2a1a223b94a5da9c5483b7963660c70052f025 by Jakob Bornecrantz on 07/02/2008 at 22:49..
Added you can now clone displays in modedemo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db2a1a223b94a5da9c5483b7963660c70052f025

Git commit d63b57749f097b36df04c6beff9b35a1dd859523 by Jesse Barnes on 08/02/2008 at 01:33..
Restore pipeconf regs unconditionally

On many chipsets, the checks for DPLL enable or VGA mode will prevent the
pipeconf regs from being restored, which could result in a blank display or X
failing to come back after resume.  So restore them unconditionally along with
actually restoring pipe B's palette correctly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d63b57749f097b36df04c6beff9b35a1dd859523

Git commit 04257f1a5a28550dc430d8051bb58fd0ac34e77d by John Doe (on behalf of Jerome Glisse) on 09/02/2008 at 17:23..
radeon_ms: bring radeon_ms up to date with lastest changes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04257f1a5a28550dc430d8051bb58fd0ac34e77d

Git commit f276c845bde4c712aa383540a2dd2055ecc00031 by Dave Airlie on 13/02/2008 at 02:12..
drm: re-write minor number allocation to use an idr.

Fixup the minor number allocation scheme to use an idr and move the control
nodes up higher.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f276c845bde4c712aa383540a2dd2055ecc00031

Git commit db85ed25afc616acfaadb21facf6066354f9d490 by Dave Airlie on 13/02/2008 at 02:20..
Revert "After the previous revert fix libdrm to start at minor 1"

This reverts commit f51dc37d75b0b1b8e5636f8f2c201e29986517ea.

Conflicts:

	tests/modedemo/demo.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db85ed25afc616acfaadb21facf6066354f9d490

Git commit 0fbee62ec14d08714dbc558dd20cc00b9a79c042 by Dave Airlie on 13/02/2008 at 05:19..
major port of multi-master ideas into modesetting
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0fbee62ec14d08714dbc558dd20cc00b9a79c042

Git commit a4fc1d7ac6be8d2648acda463723d56c68e4122e by Dave Airlie on 13/02/2008 at 06:30..
start moving over to proper hierarchy wrt master accesses
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4fc1d7ac6be8d2648acda463723d56c68e4122e

Git commit 4feb0638f1a8eb8527647ff47312ee61e3f683f9 by Kristian Høgsberg on 13/02/2008 at 18:34..
i915: Make sarea_priv setup optional.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4feb0638f1a8eb8527647ff47312ee61e3f683f9

Git commit ee15459483d50b2efe630051b45f36cfbb351683 by Kristian Høgsberg on 13/02/2008 at 18:34..
i915: Add I915_PARAM_CHIPSET_ID param to get chipset ID.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee15459483d50b2efe630051b45f36cfbb351683

Git commit db3f03ae3538bea3d29ef66ac24d9a1f54cff418 by Kristian Høgsberg on 13/02/2008 at 18:34..
i915: Only look up dev_priv->mmio_map if it's not already set up
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db3f03ae3538bea3d29ef66ac24d9a1f54cff418

Git commit 373dbcf8b25750967e9ba24433cff872df41cb74 by Kristian Høgsberg on 13/02/2008 at 18:34..
i915: Add a dri2 init path that gets the lock from the dri2 sarea.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/373dbcf8b25750967e9ba24433cff872df41cb74

Git commit 8bf8cd63bb4631b57ceb27058f81d767a94edc74 by Dave Airlie on 13/02/2008 at 21:37..
missing bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8bf8cd63bb4631b57ceb27058f81d767a94edc74

Git commit f2f8ace3e1342d83096bf392922130d39cd86ec2 by Dave Airlie on 14/02/2008 at 23:57..
remove drm_minors_limit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2f8ace3e1342d83096bf392922130d39cd86ec2

Git commit 75b01cf996f2efdd72c5280238460443d5d1fbc7 by Dave Airlie on 15/02/2008 at 00:04..
switch naming to new proposed scheme
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75b01cf996f2efdd72c5280238460443d5d1fbc7

Git commit 222092a1a810b67b014ad6881f0c028ec6563329 by Dave Airlie on 15/02/2008 at 06:15..
various fixes from trying to get userspace started
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/222092a1a810b67b014ad6881f0c028ec6563329

Git commit 088b38382962a9dccca59a53af2444a1fe8bc18f by Dave Airlie on 15/02/2008 at 06:42..
fb: fixup the offset by getting it from the right place
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/088b38382962a9dccca59a53af2444a1fe8bc18f

Git commit 15cbde683f5006b541b22c41ff840aefb017ff8e by Ben Skeggs on 15/02/2008 at 17:47..
nv40: actually init all tile regs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15cbde683f5006b541b22c41ff840aefb017ff8e

Git commit 2b1c9cd696049d23845870329d2b61a5873f7b13 by Jesse Barnes on 16/02/2008 at 00:13..
i915: initial (and untested) TV out support

Ported from xf86-video-intel.  Still need to tie in TV modes somehow, though
preferably w/o using the properties mechanism.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b1c9cd696049d23845870329d2b61a5873f7b13

Git commit cd87e6352bf529ae0bc57e8434ddfccec3660d9a by Stephane Marchesin on 16/02/2008 at 02:50..
nouveau: no GART on ia64 either.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd87e6352bf529ae0bc57e8434ddfccec3660d9a

Git commit 5d8c754bc2c720d70bbdeca6b294660105717a62 by Keith Packard on 17/02/2008 at 04:14..
[915]: more registers for S3 (DSPCLK_GATE_D, CACHE_MODE_0, MI_ARB_STATE)

Failing to preserve the MI_ARB_STATE register was causing FIFO underruns on
the VGA output on my HP 2510p after resume.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d8c754bc2c720d70bbdeca6b294660105717a62

Git commit f24ed2ad6c66e50268fd175146a1661ae4bbd350 by Alan Hourihane on 18/02/2008 at 22:35..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	linux-core/i915_fence.c
	linux-core/via_fence.c
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f24ed2ad6c66e50268fd175146a1661ae4bbd350

Git commit 8caf6e95712bfae8d1a42ffabafcbb9686766116 by Alan Hourihane on 19/02/2008 at 15:17..
Fix up conflicts for DRI2 (untested)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8caf6e95712bfae8d1a42ffabafcbb9686766116

Git commit 6c41e5381fb8ea890943b6679fe6ae7ac4cfea4d by Dave Airlie on 20/02/2008 at 00:02..
drm: add support for passing state into the suspend hooks.

fix i915 driver to use state for hibernate save avoidance.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c41e5381fb8ea890943b6679fe6ae7ac4cfea4d

Git commit 2c409f9a07a9d815b95fc8a5a4705d7988afe5df by Dave Airlie on 20/02/2008 at 01:27..
ttm: make sure userspace can't destroy kernel create memory managers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c409f9a07a9d815b95fc8a5a4705d7988afe5df

Git commit 8844245cfcc5b19caafc772fd457401ab3253a28 by Dave Airlie on 20/02/2008 at 01:27..
drm/fb: get rid of offset from structure use bo offset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8844245cfcc5b19caafc772fd457401ab3253a28

Git commit e484681a43964502bf7e61a1701bb85ab6befab3 by Dave Airlie on 20/02/2008 at 01:44..
remove more offset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e484681a43964502bf7e61a1701bb85ab6befab3

Git commit 66cd6bd66667433f56feecdcc94a2bb228d5a7ca by Alan Hourihane on 20/02/2008 at 19:55..
compatibility code for  pci_get_bus_and_slot()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66cd6bd66667433f56feecdcc94a2bb228d5a7ca

Git commit 88cb873045b76bf947f45fb127baa96f055ad32c by Alan Hourihane on 20/02/2008 at 19:55..
minor test fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88cb873045b76bf947f45fb127baa96f055ad32c

Git commit 3f6c8f64aa8c3a9e427d453433e828693fb4e017 by Alan Hourihane on 20/02/2008 at 22:22..
fix SAREA
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f6c8f64aa8c3a9e427d453433e828693fb4e017

Git commit 9d1061b8cfaf91bff6b55398c6059be97c2e0165 by Alan Hourihane on 20/02/2008 at 22:23..
fix SAREA
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d1061b8cfaf91bff6b55398c6059be97c2e0165

Git commit 374b41e5bcdb5c22471c8c16dd794ac54c4f76d2 by Michel Dänzer on 21/02/2008 at 10:49..
linux: Clean up vblank related resources from drm_irq_uninstall().

This fixes at least two problems:

* The vblank_disable_fn timer callback could get called after the DRM was
  de-initialized, e.g. on X server shutdown.
* Leak of vblank related resources when disabling and re-enabling the IRQ, e.g.
  on an X server reset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/374b41e5bcdb5c22471c8c16dd794ac54c4f76d2

Git commit ea3de6daa4226cdcc4b50c339e0df6130014d2fe by Alan Hourihane on 21/02/2008 at 11:37..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	linux-core/drm_sysfs.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea3de6daa4226cdcc4b50c339e0df6130014d2fe

Git commit 32c67922b722e375268789600cd89b80749e7a71 by Kristian Høgsberg on 21/02/2008 at 20:31..
Don't free irq resources until after we've unregistered the handler.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32c67922b722e375268789600cd89b80749e7a71

Git commit e85ec6693ac85a75da1f4b20beee255b6672cb33 by Alan Hourihane on 21/02/2008 at 23:56..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e85ec6693ac85a75da1f4b20beee255b6672cb33

Git commit 0d1cb1e8408d497fec66d9f31603f93800049c75 by Dave Airlie on 22/02/2008 at 03:49..
hopefully shit works now without this...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d1cb1e8408d497fec66d9f31603f93800049c75

Git commit cdad850ebc3570e5ff5a0996f36832c965aa8a1d by Dave Airlie on 22/02/2008 at 03:49..
add ioctl to get back memory managed area sized - used for kernel inited areas
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdad850ebc3570e5ff5a0996f36832c965aa8a1d

Git commit fad1db2d73f8dd95f17db10c7ea381c7774e3c29 by Dave Airlie on 22/02/2008 at 03:49..
modesetting: fix memory leak and misallocation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fad1db2d73f8dd95f17db10c7ea381c7774e3c29

Git commit b0fee67a305cf37cf2a71d6c3753fba825400b71 by Kristian Høgsberg on 22/02/2008 at 05:12..
i915: Remove leading underscore from struct tags.

This matches the changes in mesa to use the system drm includes
for the definitions of the drm ioctl structs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0fee67a305cf37cf2a71d6c3753fba825400b71

Git commit a72399da2a89aecdcf293bc262d76d8c6e10d0ef by Alan Hourihane on 22/02/2008 at 11:39..
silence warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a72399da2a89aecdcf293bc262d76d8c6e10d0ef

Git commit b7086e6ae5632ad3c0f7c54ffd641519959d84a6 by Kristian Høgsberg on 22/02/2008 at 16:22..
Fix one last occurance of struct _drm_i915_batchbuffer.

Thanks to Todd Merrill for pointing it out.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7086e6ae5632ad3c0f7c54ffd641519959d84a6

Git commit 7e5f9c8bd33c503fef9bea20b955a5a48e255621 by Maarten Maathuis on 22/02/2008 at 18:28..
nouveau: A single define of dma skips is more than enough.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e5f9c8bd33c503fef9bea20b955a5a48e255621

Git commit 0d32015974f019e8d2ea1eb48acd9e082389d9c5 by Maarten Maathuis on 22/02/2008 at 18:28..
nouveau: Remove some random (french) comment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d32015974f019e8d2ea1eb48acd9e082389d9c5

Git commit 20d0e539160fcbdd65ecbe188ac1ce2800af1b5c by Jesse Barnes on 22/02/2008 at 21:57..
i915: put ARX back into index mode before doing restore

Fixes resume from hibernate in some configurations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20d0e539160fcbdd65ecbe188ac1ce2800af1b5c

Git commit d6098db1409e8ee45052920d3acdd3b6f2cb80aa by Roland Scheidegger on 23/02/2008 at 10:01..
fix texture uploads with large 3d textures (bug 13980)

Texture uploads could hit the blitter coordinate limit, adjust the texture
offset when uploading the pieces. Make sure to check the end address of the
upload too.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6098db1409e8ee45052920d3acdd3b6f2cb80aa

Git commit 56bb29cf37c27b283efcd1a32d3583393e5208ea by Thomas Hellstrom on 25/02/2008 at 23:05..
Make the execbuffer code reasonably safe against errors.

In particular -EAGAINs, which should be common during Xserver operation.
Also handle the fence creation failure case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56bb29cf37c27b283efcd1a32d3583393e5208ea

Git commit 879fb12e289e8997ef325dd5b0068d0d4d6c26df by Dave Airlie on 26/02/2008 at 06:11..
drm: fix pick crtcs mode selection code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/879fb12e289e8997ef325dd5b0068d0d4d6c26df

Git commit 35d1b13b4a574faf3a95bf3b7cdd14897ef07f67 by Dave Airlie on 26/02/2008 at 06:13..
i915_mmio: add overlay regs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35d1b13b4a574faf3a95bf3b7cdd14897ef07f67

Git commit b92e343dc46212b665f0465274ef6767882bb10c by Dave Airlie on 26/02/2008 at 06:20..
i915: fix typos
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b92e343dc46212b665f0465274ef6767882bb10c

Git commit e87cec19687089f9f268ec0eb81b57e6fb8de6a9 by Thomas Hellstrom on 26/02/2008 at 09:47..
[i915] Relocation fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e87cec19687089f9f268ec0eb81b57e6fb8de6a9

Git commit 2476cb209ebbb11edace4bbce0cfaff4e1599dca by Alan Hourihane on 26/02/2008 at 15:19..
Implement short circuit for base change only

Allow mode to be set with fb_id set to -1, meaning set
the mode with the current fb (if we have one bound).

Allow intelfb to hook back up it's fb if modesetting
clears it (maybe temporary).

Move any crtc->fb related register changes to set_base
in intel_fb.

General intelfb cleanups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2476cb209ebbb11edace4bbce0cfaff4e1599dca

Git commit 89f65c50d70fd2165433ead3cfaa88ee9519e261 by Alan Hourihane on 26/02/2008 at 15:20..
define PRETHAW
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89f65c50d70fd2165433ead3cfaa88ee9519e261

Git commit 191385d51880d5757c8038ff4b46ee5ccb3561c1 by Alan Hourihane on 26/02/2008 at 15:20..
DRM_INFO -> DRM_DEBUG
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/191385d51880d5757c8038ff4b46ee5ccb3561c1

Git commit 73cb02b5430b3881cbce5fb4852ac573c11ff831 by Alan Hourihane on 26/02/2008 at 15:21..
DRM_INFO  -> DRM_DEBUG
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73cb02b5430b3881cbce5fb4852ac573c11ff831

Git commit 1e66322633943bc27bf5e68609f564fa95e6e6a1 by Alan Hourihane on 26/02/2008 at 15:42..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	shared-core/i915_dma.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e66322633943bc27bf5e68609f564fa95e6e6a1

Git commit 75c9e0d3462f04766d490fac5cc93569957a8365 by John Doe (on behalf of Jerome Glisse) on 26/02/2008 at 22:30..
radeon: remove TTM from an earlier merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75c9e0d3462f04766d490fac5cc93569957a8365

Git commit 72983ff30183745cd96760aa07b857c44daebde7 by Thomas Hellstrom on 27/02/2008 at 18:46..
Don't wait for buffer idle before applying relocations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72983ff30183745cd96760aa07b857c44daebde7

Git commit fd595fa4dc6f788a8a1e1b56178e15f411706cb9 by Thomas Hellstrom on 27/02/2008 at 20:44..
Reinstate buffer idle before applying relocations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd595fa4dc6f788a8a1e1b56178e15f411706cb9

Git commit 132ba667f4a88bb182e2d2abc7c4e60699398380 by Dave Airlie on 28/02/2008 at 02:59..
drm: add a check for if modesetting is supported.

This is Linux only code, it just uses sysfs to see if a control
device has been registered on the requested PCI ID
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/132ba667f4a88bb182e2d2abc7c4e60699398380

Git commit 01dcc47d895997f77c9457558e974d41c23ed4e1 by Dave Airlie on 28/02/2008 at 06:24..
drm: add modesetting as a driver feature.

This change adds a driver feature that for i915 is controlled by a module
parameter. You now need to do insmod i915.ko modeset=1 to enable it the
modesetting paths.

It also fixes up lots of X paths. I can run my new DDX driver on this code
with and without modesetting enabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01dcc47d895997f77c9457558e974d41c23ed4e1

Git commit 40c9e6a26dd251fe2bf207bb259ba7e4a7704fbe by Thomas Hellstrom on 28/02/2008 at 12:47..
Add a compat kmap_atomic_prot_pfn to do quick kernel map / unmaps of
PCI- or high memory.
This is substantially more efficient than drm_bo_kmap,
since the mapping only lives on a single processor.
Unmapping is done use kunmap_atomic(). Flushes only a single tlb() entry.

Add a support utility int drm_bo_pfn_prot() that returns the
pfn and desired page protection for a given bo offset.

This is all intended for relocations in bound TTMS or vram.
Mapping-accessing-unmapping must be atomic, either using preempt_xx() macros
or a spinlock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40c9e6a26dd251fe2bf207bb259ba7e4a7704fbe

Git commit 28d4d02d6791c15f61b718039f1d4b907f0e31e9 by Thomas Hellstrom on 28/02/2008 at 13:05..
Initial commit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28d4d02d6791c15f61b718039f1d4b907f0e31e9

Git commit 8ef838e5ff7b3c005d7fbc725e17bcccd0e1e1eb by Thomas Hellstrom on 28/02/2008 at 13:06..
Add a compat kmap_atomic_prot_pfn to do quick kernel map / unmaps of

PCI- or high memory.
This is substantially more efficient than drm_bo_kmap,
since the mapping only lives on a single processor.
Unmapping is done use kunmap_atomic(). Flushes only a single tlb() entry.

Add a support utility int drm_bo_pfn_prot() that returns the
pfn and desired page protection for a given bo offset.

This is all intended for relocations in bound TTMS or vram.
Mapping-accessing-unmapping must be atomic, either using preempt_xx() macros
or a spinlock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ef838e5ff7b3c005d7fbc725e17bcccd0e1e1eb

Git commit cdbd616ea5f0ee491ff82cac74b918a14b039917 by Dave Airlie on 29/02/2008 at 00:16..
agp: export the correct symbol
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdbd616ea5f0ee491ff82cac74b918a14b039917

Git commit 0e72819629741339af46d0e303f33482acdf0972 by Dave Airlie on 29/02/2008 at 04:07..
drm: change fb api to take a bo handle not the bo pointer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e72819629741339af46d0e303f33482acdf0972

Git commit 2305100c0fce9ec86a22660e5fed54791cff030b by Thomas Hellstrom on 29/02/2008 at 12:25..
More post-ioctl work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2305100c0fce9ec86a22660e5fed54791cff030b

Git commit 1d068973d5f5e6d8d14b4c0c6e28588107aafc6f by Thomas Hellstrom on 29/02/2008 at 12:32..
Fix compilation breakage on x86-64.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d068973d5f5e6d8d14b4c0c6e28588107aafc6f

Git commit 612c22f131a25915196e69d7ec1adb6f4ec84a60 by Thomas Hellstrom on 29/02/2008 at 14:38..
Working revision.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/612c22f131a25915196e69d7ec1adb6f4ec84a60

Git commit 09999c90ab1bf3f7d8b277895c962c8a7b3afc18 by Patrice Mandin on 29/02/2008 at 20:57..
FIX_KMAP_BEGIN requires CONFIG_HIMEM (see include/asm-i386.h/fixmap.h)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09999c90ab1bf3f7d8b277895c962c8a7b3afc18

Git commit 9c5ba9f5d153877ab2e7cb623cab5607aa5cd4a8 by Alan Hourihane on 02/03/2008 at 21:48..
Add FENCE registers to MMIO list
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c5ba9f5d153877ab2e7cb623cab5607aa5cd4a8

Git commit 63fd6f284ddd1096d34b39941683ae244c1e01fc by Zou Nan hai on 03/03/2008 at 06:49..
[i915] 2D driver may reset Frame count value, this may lead driver
  to leap it's vblank count a huge value.
  This will stall some applications that switch video mode if vblank_mode is set to a non zero value in drirc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63fd6f284ddd1096d34b39941683ae244c1e01fc

Git commit eedf3fa2f08eb774a36109c2fbda7207bf83fbe9 by Eric Anholt on 04/03/2008 at 20:16..
Don't shortcut the info syscall for drmBOBusy on nonshareable objects.

This broke the results when you're trying to check if a buffer you dispatched
some time ago is done being rendered from.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eedf3fa2f08eb774a36109c2fbda7207bf83fbe9

Git commit d41846adb72ba89c94ea1164e366032b1d36bd55 by Eric Anholt on 04/03/2008 at 21:40..
Clarify through the names what drm_ttm_alloc_pages() and friend actually did.

These are all about the page directory (pointers to pages) rather than the
actual pages backing the allocation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d41846adb72ba89c94ea1164e366032b1d36bd55

Git commit 3332a0add63162222bd9c829117cd7e30d981aa7 by Eric Anholt on 04/03/2008 at 21:41..
Remove unused DRM_FENCE_FLAG_WAIT_IGNORE_SIGNALS.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3332a0add63162222bd9c829117cd7e30d981aa7

Git commit a6a2f2c8c491617de702dc7d62bb55cbada4d42b by Eric Anholt on 04/03/2008 at 21:45..
Clarify when WAIT_LAZY is relevant to users.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6a2f2c8c491617de702dc7d62bb55cbada4d42b

Git commit 81db48536c9d7bb23c448af6a6f1de81df755585 by Dave Airlie on 05/03/2008 at 00:36..
remove unused functions + include header file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81db48536c9d7bb23c448af6a6f1de81df755585

Git commit 43891ff2d0176f013796b3c2a340b7d379d703ee by Dave Airlie on 05/03/2008 at 00:37..
Merge remote branch 'origin/master' into modesetting-101

Conflicts:

	linux-core/drm_compat.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43891ff2d0176f013796b3c2a340b7d379d703ee

Git commit 4aa7efe398911bd58fb348703444a92114e45114 by Dave Airlie on 05/03/2008 at 00:41..
libdrm: fix warnings in mode code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4aa7efe398911bd58fb348703444a92114e45114

Git commit 4dbf447f4305e3c2aa8914b5ccfc07d9bf8ef28e by Dave Airlie on 05/03/2008 at 05:28..
drm: fixup compat with old x.org drivers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4dbf447f4305e3c2aa8914b5ccfc07d9bf8ef28e

Git commit f78cdac8e512642db1aaf09bf9178e23ede25586 by Dave Airlie on 05/03/2008 at 05:28..
fixup previous merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f78cdac8e512642db1aaf09bf9178e23ede25586

Git commit 638353103d009d44bd5bdbe97cc7cef1bf011cdf by Xiang, Haihao on 05/03/2008 at 07:09..
i915: Evict if relocatee buffer is CACHED_MAPPED before
writting relocations, otherwise the GPU probably sees some
inconsistent data. Fix fd.o bug#14656
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/638353103d009d44bd5bdbe97cc7cef1bf011cdf

Git commit a875821f7b19a1bcee238cef5c3b507d2869542d by Dave Airlie (on behalf of Benjamin Herrenschmidt) on 05/03/2008 at 09:25..
drm: Fix for non-coherent DMA PowerPC

This patch fixes bits of the DRM so to make the radeon DRI work on
non-cache coherent PCI DMA variants of the PowerPC processors.

It moves the few places that needs change to wrappers to that
other architectures with similar issues can easily add their
own changes to those wrappers, at least until we have more useful
generic kernel API.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a875821f7b19a1bcee238cef5c3b507d2869542d

Git commit 12574590cdf7871755d1939463ca6898251fd0d1 by Dave Airlie on 05/03/2008 at 19:21..
drm: reorganise minor number handling using code from modesetting branch

Rip out the whole head thing and replace it with an idr and drm_minor
structure.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12574590cdf7871755d1939463ca6898251fd0d1

Git commit e00dea812ddb9b483de9f58f7a7aa7105427512d by Dave Airlie on 05/03/2008 at 19:26..
Merge branch 'master' of ../../drm into modesetting-101

Conflicts:

	linux-core/drmP.h
	linux-core/drm_drv.c
	linux-core/drm_proc.c
	linux-core/drm_stub.c
	linux-core/drm_sysfs.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e00dea812ddb9b483de9f58f7a7aa7105427512d

Git commit 180c9188f4cb7163f1e3e7d5098eaabf29a98540 by Dave Airlie on 05/03/2008 at 19:31..
drm/ttm: add ioctl to get back memory managed area sized

taken from modesetting branch but could be useful outside it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/180c9188f4cb7163f1e3e7d5098eaabf29a98540

Git commit d5c0101252e9f48ef1b59f48c05fea7007df97f0 by Dave Airlie on 05/03/2008 at 19:37..
ttm: make sure userspace can't destroy kernel create memory managers

this adds something to say the kernel initialised the memory region not
the userspace. and blocks userspace from deallocating kernel areas
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5c0101252e9f48ef1b59f48c05fea7007df97f0

Git commit 44a2209790e3f9651b72a884cc8539144b619d1c by Dave Airlie on 05/03/2008 at 19:39..
Merge branch 'master' of ../../drm into modesetting-101

Conflicts:

	shared-core/drm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44a2209790e3f9651b72a884cc8539144b619d1c

Git commit 5662934ee467c3a29f9551a40fc7b2f6ee16280a by Alan Hourihane on 05/03/2008 at 10:35..
Fix connector description table
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5662934ee467c3a29f9551a40fc7b2f6ee16280a

Git commit 3ea1902be993e88c068ce67355e2b3d253d1c9f2 by Alan Hourihane on 05/03/2008 at 10:35..
propogate failed fixups back up
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ea1902be993e88c068ce67355e2b3d253d1c9f2

Git commit 8bfe29d9e44690a3896406acb25ca654dfad054d by Alan Hourihane on 05/03/2008 at 10:35..
Use ARRAY_SIZE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8bfe29d9e44690a3896406acb25ca654dfad054d

Git commit 1a959a2095aef397ea14a6f6cbdf2a035ec0eb5c by Alan Hourihane on 05/03/2008 at 10:35..
Check mode before adding to EDID
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a959a2095aef397ea14a6f6cbdf2a035ec0eb5c

Git commit b87c7ff79ee88ec39a285bc17bd2996252b9fd48 by Alan Hourihane on 05/03/2008 at 10:35..
Add property info.

fix bo handle
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b87c7ff79ee88ec39a285bc17bd2996252b9fd48

Git commit fef1c93aa87a1ccbc473749a7e42557fc90a1fca by Alan Hourihane on 05/03/2008 at 10:35..
build fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fef1c93aa87a1ccbc473749a7e42557fc90a1fca

Git commit 92a30dd608c2838dea97efc04e1447056f37d0b5 by Dave Airlie on 06/03/2008 at 04:43..
drm/bo: allow non-suser priv to add kernel BOs.

modprobe can be run with dropped capabilities we still want the kernel bos
to work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92a30dd608c2838dea97efc04e1447056f37d0b5

Git commit 48a166af14d7455835b9dc2ffd831347d18635d2 by Dave Airlie on 06/03/2008 at 22:49..
woah somehow got these upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48a166af14d7455835b9dc2ffd831347d18635d2

Git commit add7d21c79e2bd2012d92bb0043023230ec9aa74 by Dave Airlie on 06/03/2008 at 22:56..
drm: fixup for new sysfs API
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/add7d21c79e2bd2012d92bb0043023230ec9aa74

Git commit ccae12a837e7b17c4e9211295ecbd18807020742 by Dave Airlie on 06/03/2008 at 22:58..
I really screwed up that merge somehow
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccae12a837e7b17c4e9211295ecbd18807020742

Git commit 2540ea7dc6c0c4f0ebca3370d6ec7359e4276e13 by Dave Airlie on 06/03/2008 at 23:29..
flush_agp_mappings commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2540ea7dc6c0c4f0ebca3370d6ec7359e4276e13

Git commit f96baf1e1ec10768ea2027f75ebaef46f7d7f30a by Dave Airlie on 07/03/2008 at 00:59..
Merge branch 'master' of ../../drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f96baf1e1ec10768ea2027f75ebaef46f7d7f30a

Git commit 47b7ec71fefc2574293c48172c563f549c31f87a by Dave Airlie on 07/03/2008 at 01:15..
drm/modesetting: fixup irq removal on exit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47b7ec71fefc2574293c48172c563f549c31f87a

Git commit 348d95e00be73b650dabcf121e6b18d669bf4192 by Dave Airlie on 07/03/2008 at 01:25..
worst merge effort ever
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/348d95e00be73b650dabcf121e6b18d669bf4192

Git commit cf28ca4212662c3c7e4bfbe51aee307ac539fb3d by Dave Airlie on 07/03/2008 at 02:03..
actually turn the irq off
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf28ca4212662c3c7e4bfbe51aee307ac539fb3d

Git commit 33cb42a9f7c7c4f4dd91756af55de7352944efa4 by Dave Airlie on 07/03/2008 at 02:03..
make startup of Xorg smoother if the mode doesn't change.

just flip the framebuffer in when required.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33cb42a9f7c7c4f4dd91756af55de7352944efa4

Git commit cd924de02927a091c517b0ac6b9cd8f065ce448c by Ben Skeggs on 07/03/2008 at 04:18..
nouveau: don't touch NV_USER regs on channel destroy.

Not only was this entirely pointless, it actually causes my NV30GL to
die randomly when channels are destroyed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd924de02927a091c517b0ac6b9cd8f065ce448c

Git commit 1ccccbd4ce3463edb459eb193feb572938fce19e by Ben Skeggs on 07/03/2008 at 04:18..
nouveau: redo channel idle detection

Will hopefully work a bit better than previous code, which depended on
knowing the channel's most recent PUT value.  Some chips always return
0 on reading these regs, and currently userspace is the only other entity
which knows the value.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ccccbd4ce3463edb459eb193feb572938fce19e

Git commit 9f19e79f955281b9de393219e4ad9835ffe29c49 by Dave Airlie on 07/03/2008 at 06:09..
drm: we already worked out the pitch. multiplying by 4 is just madness..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f19e79f955281b9de393219e4ad9835ffe29c49

Git commit ce3733572e4eea6d9adb167d8fccac745455445b by Dave Airlie on 07/03/2008 at 22:30..
drm/radeon: check sarea_priv exists
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce3733572e4eea6d9adb167d8fccac745455445b

Git commit 2848f048616c2c97f02701386ee73137a1307e2c by Keith Packard on 08/03/2008 at 08:04..
Switch from PIPE_VBLANK to PIPE_EVENT interrupts.

My 965GM gets interrupts stuck when using the old PIPE_VBLANK interrupt.
Switch to the PIPE_EVENT interrupt mechanism, and set the PIPE*STAT
registers to use START_VBLANK on 965 and VBLANK on previous chips.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2848f048616c2c97f02701386ee73137a1307e2c

Git commit 07ba3b7193f1a50c3ef0509f9e37dab41457f81b by Dave Airlie on 10/03/2008 at 08:30..
remove unneeded load call
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07ba3b7193f1a50c3ef0509f9e37dab41457f81b

Git commit a7dc4d08b9b4f8fe6fcaa4c778f6dd3718d1e36a by John Doe (on behalf of Jerome Glisse) on 10/03/2008 at 22:35..
rradeon_ms: rework fence code and bring radeon ms up to date
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7dc4d08b9b4f8fe6fcaa4c778f6dd3718d1e36a

Git commit a7e6ca62ad0d9c3c45fd9e1d81b59c2db2d714cf by John Doe (on behalf of Jerome Glisse) on 10/03/2008 at 22:36..
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7e6ca62ad0d9c3c45fd9e1d81b59c2db2d714cf

Git commit 52748d17923b7e501b707b950227864c0b64d8a1 by Dave Airlie on 11/03/2008 at 03:23..
drm: hopefully fix cursors on 965
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52748d17923b7e501b707b950227864c0b64d8a1

Git commit 5a7f4b3074d5cda909fc7329bc91da11d89181e1 by Dave Airlie on 11/03/2008 at 06:05..
drm: fix oops on unload.

if we are unloading the module, there is no master so therefore no lock
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a7f4b3074d5cda909fc7329bc91da11d89181e1

Git commit f13936f7fc4d4932d5c511ccec29f1c4d24dc2dc by Stuart Bennett on 11/03/2008 at 16:45..
nouveau: move AGP reset to mem_init_agp

Also, power cycle PGRAPH when resetting AGP -- it seems to fix problems encountered by p0g on nv25
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f13936f7fc4d4932d5c511ccec29f1c4d24dc2dc

Git commit 903d9231d6f998657cc80ee6f20ded4df68e691b by Alan Hourihane on 11/03/2008 at 20:30..
Add support for monitor hotplug signals/waits

Also adjust i915 irq handling as it follows the 16bit'ism's
of the i8xx series.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/903d9231d6f998657cc80ee6f20ded4df68e691b

Git commit cf1a2499ed9a0051bcd8627136fb53b496b6484c by Alan Hourihane on 11/03/2008 at 21:24..
global hotplug events happen in the pipe A stat register,
they are not pipe A specific. Remove pipe B code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf1a2499ed9a0051bcd8627136fb53b496b6484c

Git commit 981f515e2bd4d570ea33bb74ae82cd5b56cc9121 by Dave Airlie on 12/03/2008 at 04:48..
drm: fix fd closing ordering.

If the master fd goes away before the aiglx fd, we try and get a lock
that actually doesn't exist.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/981f515e2bd4d570ea33bb74ae82cd5b56cc9121

Git commit 8a18d123f55a7fb11ce333f0b1095020918b8616 by Thomas Hellstrom on 12/03/2008 at 08:49..
Avoid large kmallocs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a18d123f55a7fb11ce333f0b1095020918b8616

Git commit fa1d88e3b2de843f33c9d77c9d95db762a950a14 by Thomas Hellstrom on 12/03/2008 at 08:56..
Make sure other TTM memory types than TT is really unbound when evicted.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa1d88e3b2de843f33c9d77c9d95db762a950a14

Git commit f1a681ebe5573c2ec7806ba4cb754314baef6935 by Thomas Hellstrom on 12/03/2008 at 09:02..
Avoid duplicate calls to drm_ttm_bind in some cases.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1a681ebe5573c2ec7806ba4cb754314baef6935

Git commit 7bcce66a1d5c93ff9b9f20d45d5b2c33c8ca8da9 by Thomas Hellstrom on 12/03/2008 at 09:07..
Fix kernel crash when we hit OOM conditions.
(Alan Hourihane)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bcce66a1d5c93ff9b9f20d45d5b2c33c8ca8da9

Git commit c0a1cd052ac44d1b342fa3f26afe1bd21d92b194 by Thomas Hellstrom on 12/03/2008 at 09:10..
Add an emergency pinnable memory quota for root-only processes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0a1cd052ac44d1b342fa3f26afe1bd21d92b194

Git commit 32625774072f905d15024cc40ce7fd364d9ee4cd by Thomas Hellstrom (on behalf of Alan Hourihane) on 12/03/2008 at 09:11..
Add error message
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32625774072f905d15024cc40ce7fd364d9ee4cd

Git commit 88be276a427124cc545a7d89b137e4ae6dd79acb by Thomas Hellstrom (on behalf of Alan Hourihane) on 12/03/2008 at 09:13..
Fix for debug memory routines
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88be276a427124cc545a7d89b137e4ae6dd79acb

Git commit 5bebcd7a0b548b29a9859b2949b06662968cc868 by Thomas Hellstrom on 12/03/2008 at 09:19..
Dont allow !sysadmin clients to alter the memory type of
NO_EVICT buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bebcd7a0b548b29a9859b2949b06662968cc868

Git commit 2a618e5a7f6d26fe85e7d931d0ef08d9f18b1b7c by Thomas Hellstrom on 12/03/2008 at 09:36..
Bug # 14712
Disable page saving for GPU read-only TTMs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a618e5a7f6d26fe85e7d931d0ef08d9f18b1b7c

Git commit 7f04dd06e6003dd492ae5ddc876121a686f49157 by Alan Hourihane on 12/03/2008 at 09:48..
Add sample code to test hotplug events
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f04dd06e6003dd492ae5ddc876121a686f49157

Git commit b6dc381fabb199e70dc681e44e31452af8536313 by Alan Hourihane on 12/03/2008 at 10:18..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6dc381fabb199e70dc681e44e31452af8536313

Git commit 88bd1e4a350d011ec44f6786e0bfdf8fb386800c by Thomas Hellstrom on 12/03/2008 at 10:34..
Merge branch 'intel-post-reloc'

Conflicts:

	linux-core/drm_compat.c
	linux-core/drm_compat.h
	linux-core/drm_ttm.c
	shared-core/i915_dma.c

Bump driver minor to 13 due to introduction of new
relocation type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88bd1e4a350d011ec44f6786e0bfdf8fb386800c

Git commit 1766e1c07b03c6ccf545469663334be762c0bddf by Ben Skeggs on 12/03/2008 at 13:23..
nv50: force channel vram access through vm

If we ever want to be able to use the 3D engine we have no choice.  It
appears that the tiling setup (required for 3D on G8x) is in the page tables.

The immediate benefit of this change however is that it's now not possible
for a client to use the GPU to render over the top of important engine setup
tables, which also live in VRAM.

G8x VRAM size is limited to 512MiB at the moment, as we use a 1-1 mapping
of real vram pages to their offset within the start of a channel's VRAM
DMA object and only populate a single PDE for VRAM use.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1766e1c07b03c6ccf545469663334be762c0bddf

Git commit 9be916f3537599489e083437c9a948eb93004904 by Alex Deucher on 12/03/2008 at 15:16..
Fix chip family for RV550
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9be916f3537599489e083437c9a948eb93004904

Git commit 631c6af4d926fd1fe73f017cfb032538cee7ea7d by Alan Hourihane on 13/03/2008 at 11:47..
Fix green offset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/631c6af4d926fd1fe73f017cfb032538cee7ea7d

Git commit ae1bb96a7e24362500e02cf3a86bd268c2dcc835 by Dave Airlie (on behalf of Mike Isely) on 13/03/2008 at 23:53..
drm: Fix race that can lockup the kernel

The i915_vblank_swap() function schedules an automatic buffer swap
upon receipt of the vertical sync interrupt.  Such an operation is
lengthy so it can't be allowed to happen in normal interrupt context,
thus the DRM implements this by scheduling the work in a kernel
softirq-scheduled tasklet.  In order for the buffer swap to work
safely, the DRM's central lock must be taken, via a call to
drm_lock_take() located in drivers/char/drm/drm_irq.c within the
function drm_locked_tasklet_func().  The lock-taking logic uses a
non-interrupt-blocking spinlock to implement the manipulations needed
to take the lock.  This semantic would be safe if all attempts to use
the spinlock only happen from process context.  However this buffer
swap happens from softirq context which is really a form of interrupt
context.  Thus we have an unsafe situation, in that
drm_locked_tasklet_func() can block on a spinlock already taken by a
thread in process context which will never get scheduled again because
of the blocked softirq tasklet.  This wedges the kernel hard.

To trigger this bug, run a dual-head cloned mode configuration which
uses the i915 drm, then execute an opengl application which
synchronizes buffer swaps against the vertical sync interrupt.  In my
testing, a lockup always results after running anywhere from 5 minutes
to an hour and a half.  I believe dual-head is needed to really
trigger the problem because then the vertical sync interrupt handling
is no longer predictable (due to being interrupt-sourced from two
different heads running at different speeds).  This raises the
probability of the tasklet trying to run while the userspace DRI is
doing things to the GPU (and manipulating the DRM lock).

The fix is to change the relevant spinlock semantics to be the
interrupt-blocking form.  After this change I am no longer able to
trigger the lockup; the longest test run so far was 20 hours (test
stopped after that point).

Note: I have examined the places where this spinlock is being
employed; all are reasonably short bounded sequences and should be
suitable for interrupts being blocked without impacting overall kernel
interrupt response latency.

Signed-off-by: Mike Isely <isely at pobox.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae1bb96a7e24362500e02cf3a86bd268c2dcc835

Git commit 1ea8a470fe9103036817ae3a960522c37901bddc by Alan Hourihane on 14/03/2008 at 00:25..
fix build problems
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ea8a470fe9103036817ae3a960522c37901bddc

Git commit 76946ed83df2e39e3867538e54dc743fecb4f8e8 by Dave Airlie on 16/03/2008 at 02:56..
drm: this u32 should be a dma_addr_t

doesn't fix anything but just making it consistent
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76946ed83df2e39e3867538e54dc743fecb4f8e8

Git commit dd9eb923edd15284113dc12c05fb341ad60f1b46 by Dave Airlie on 16/03/2008 at 02:58..
drm: set rs690 gart base completly.

The docs state bits 4-11 represent bits 32-39 of a 40-bit address
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd9eb923edd15284113dc12c05fb341ad60f1b46

Git commit 5b1d9263d3c108be7360ccd3aeed4cc3a0bf1ada by Dave Airlie on 16/03/2008 at 04:00..
drm/rs690: set AGP_BASE_2 to 0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b1d9263d3c108be7360ccd3aeed4cc3a0bf1ada

Git commit afa803ee40c1d06066f58a34761be58ba03badb5 by Dave Airlie on 16/03/2008 at 05:02..
ati: fix rs690 igp gart by allocating the page table in 32-bit memory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afa803ee40c1d06066f58a34761be58ba03badb5

Git commit 563fe9dcd4d08de8864ade161258df891f3db471 by Thomas Hellstrom on 16/03/2008 at 10:45..
[via] Fix driver after vblank-rework merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/563fe9dcd4d08de8864ade161258df891f3db471

Git commit 7d3d15e67de27f7c47859f36bb55002f0c9d52d6 by Thomas Hellstrom on 16/03/2008 at 10:45..
[via] The millionth fixup for the millionth-1 attempt to stabilize the AGP
DMA command submission. It's worth remembering that all new bright ideas on how
to make this command reader work properly and according to docs
will probably fail :( Bring in some old code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d3d15e67de27f7c47859f36bb55002f0c9d52d6

Git commit b81d7b3b8d7ca83a9b79d2dbea22f00e78180516 by Thomas Hellstrom on 16/03/2008 at 10:45..
[via] Allow a little larger stride for SG DMA DownloadFromScreen.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b81d7b3b8d7ca83a9b79d2dbea22f00e78180516

Git commit 3a3a9485aadced820f7619ef7f2a11e72782769f by Thomas Hellstrom on 16/03/2008 at 10:45..
[via] Remove some leftover vars.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a3a9485aadced820f7619ef7f2a11e72782769f

Git commit 1a2d8c4bfa96dd176ec084811ad286f95968ee52 by Thomas Hellstrom on 16/03/2008 at 19:07..
Avoid unnecessary waits for command regulator pause.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a2d8c4bfa96dd176ec084811ad286f95968ee52

Git commit 1f96e9a98245b18c99cc6a7e66372a076b9abf6b by Dave Airlie on 16/03/2008 at 21:05..
drm/pcigart: fix the pci gart to use the drm_pci wrapper.

This is the correct fix for the RS690 and hopefully the dma coherent work.

For now we limit everybody to a 32-bit DMA mask but it is possible for
RS690 to use a 40-bit DMA mask for the GART table itself,
and the PCIE cards can use 40-bits for the table entries.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f96e9a98245b18c99cc6a7e66372a076b9abf6b

Git commit 3add9494037e7c88b5e5a476001176784d743a26 by Dave Airlie on 17/03/2008 at 01:08..
initial r500 RS and FP register and upload code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3add9494037e7c88b5e5a476001176784d743a26

Git commit d1513528d7e1a7bd119468087baa6839897627f4 by Dave Airlie on 17/03/2008 at 06:38..
drm: select the correct master to attempt to remove the lock from.

When destroying DRI sarea, make sure you use the master associated with the
sarea and not the one currently in charge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1513528d7e1a7bd119468087baa6839897627f4

Git commit e6be93b2a6f508b2284a6d352f5f0640ef1a542a by Dave Airlie on 17/03/2008 at 06:38..
drm: pick correct master for cleaning up

When a master is exiting, make sure we clean it up and not the currently
in charge master.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6be93b2a6f508b2284a6d352f5f0640ef1a542a

Git commit 2d0411cb7544ea45b5879d4f454cb9ee3c9ff5fb by Dave Airlie on 17/03/2008 at 06:38..
i915: safety check the sarea map still exists
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d0411cb7544ea45b5879d4f454cb9ee3c9ff5fb

Git commit 607964ed9e5f6d86a0960bef2341e7f5de9c71da by Dave Airlie on 17/03/2008 at 06:38..
drm: add master set/drop protocol

this may not survive long - just need something for testing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/607964ed9e5f6d86a0960bef2341e7f5de9c71da

Git commit 602800a280ecaf562427eada19b118b990ab26e1 by Thomas Hellstrom on 17/03/2008 at 10:38..
Evict cached_mapped relocatee before applying reloc.

Fix that got left out after the intel-post-reloc merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/602800a280ecaf562427eada19b118b990ab26e1

Git commit d18c2c684229ec6923e1a578ae837f34e6b97422 by Dave Airlie on 17/03/2008 at 23:07..
drm: add new rs690 pci id
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d18c2c684229ec6923e1a578ae837f34e6b97422

Git commit a3c808d8feff9dc379f71f971ca20ec3c686b0c0 by Dave Airlie on 19/03/2008 at 06:10..
move some more r300 regs into not allowed on r500
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3c808d8feff9dc379f71f971ca20ec3c686b0c0

Git commit d8af16d2a75f38dacb9b87a4b317790c88c6ba40 by Alex Deucher on 19/03/2008 at 18:57..
RADEON: production microcode for all radeons, r1xx-r6xx

This updated microcode is not in use yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8af16d2a75f38dacb9b87a4b317790c88c6ba40

Git commit 9e4f9082872838084a3c4f9661d65c12768d3dc4 by Alex Deucher on 19/03/2008 at 19:37..
RADEON: switch over to new production microcode

This needs to be tested thoroughly before pushing to the
kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e4f9082872838084a3c4f9661d65c12768d3dc4

Git commit 1021799b6ca6b195ad2d5f002e45668f69c44651 by Stuart Bennett on 20/03/2008 at 02:57..
nouveau: do not set on-board timer's numerator/denominator to bad values
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1021799b6ca6b195ad2d5f002e45668f69c44651

Git commit 316979356f05796c5bd5a47dfc29fe48d6874b49 by Dave Airlie on 20/03/2008 at 04:20..
drm: fixup r500fp submission
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/316979356f05796c5bd5a47dfc29fe48d6874b49

Git commit 6ef119abf5d19c85fe039fd19d12e9bd64fd44df by John Doe (on behalf of Jerome Glisse) on 20/03/2008 at 16:43..
radeon_ms: fix fence
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ef119abf5d19c85fe039fd19d12e9bd64fd44df

Git commit 71b66b00435a10e762a4bb7abedb263196942da4 by John Doe (on behalf of Jerome Glisse) on 20/03/2008 at 16:44..
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71b66b00435a10e762a4bb7abedb263196942da4

Git commit 36e11dd3801734ff5af9f5edb7aa698f0e2c49c2 by Dave Airlie on 21/03/2008 at 06:59..
r500: fragment program upload is also used to upload constants.

Limit frag address to 8 bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36e11dd3801734ff5af9f5edb7aa698f0e2c49c2

Git commit bef8b301bf7649b4156bef2dc26ebf9f7f9244ad by Julien Cristau on 21/03/2008 at 10:53..
xsfbs.mk: make 'serverabi' depend on 'install'

See bug#471193, thanks to Bernhard R. Link <brlink at debian.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bef8b301bf7649b4156bef2dc26ebf9f7f9244ad

Git commit 6f4b3de284e93e8fdb133f0aadfc86d298f45916 by Ben Skeggs on 23/03/2008 at 16:26..
nv40: allocate massive amount of PRAMIN for grctx on all chipsets.

More or less a workaround for issues on some chipsets where a context
switch results in critical data in PRAMIN being overwritten by the GPU.

The correct fix is known, but may take some time before it's a feasible
option.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f4b3de284e93e8fdb133f0aadfc86d298f45916

Git commit 24ba0c9c3bd0f160eb0c3a820fd407998f85fd55 by Ben Skeggs on 23/03/2008 at 16:26..
nv40: voodoo - not quite.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24ba0c9c3bd0f160eb0c3a820fd407998f85fd55

Git commit a244d2905052d3263bdcc26b295558a354702b89 by Ben Skeggs on 23/03/2008 at 16:26..
nouveau: silence warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a244d2905052d3263bdcc26b295558a354702b89

Git commit 4323ee3e5b263a1dc8cfdf72485a20a3c1d8f144 by Dave Airlie on 24/03/2008 at 08:47..
Merge branch 'r500-fp'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4323ee3e5b263a1dc8cfdf72485a20a3c1d8f144

Git commit b0817a42e789a83454e6acba0578116829e2bf51 by Dave Airlie on 24/03/2008 at 08:52..
i915: fix oops on agp=off

Kernel bug 10289.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0817a42e789a83454e6acba0578116829e2bf51

Git commit a81d07f64d7557da3c4888867a20d2eec94b4ec1 by Stuart Bennett on 25/03/2008 at 18:32..
nouveau: nv20 bios does not initialise PTIMER

The wait functions depend on PTIMER, so write the old (incorrect, but working) values for uninitialised hw
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a81d07f64d7557da3c4888867a20d2eec94b4ec1

Git commit acb6c9ef97df999f3fa87639b1bb4f2840970f71 by Dave Airlie on 27/03/2008 at 05:55..
drm: remove authentication on master exit.

using contexts for this is bad for multiple masters
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/acb6c9ef97df999f3fa87639b1bb4f2840970f71

Git commit 0da289bafd2da72a14f3d5cf82fec836d30f7b8d by John Doe (on behalf of Jerome Glisse) on 27/03/2008 at 19:08..
radeon_ms: this is a modesetting driver, bring things up to date
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0da289bafd2da72a14f3d5cf82fec836d30f7b8d

Git commit 1674d2817929fe4ee4e1c4762e89600119dbdc50 by Oliver McFadden on 29/03/2008 at 17:31..
r300: Correctly translate the value for the R300_CMD_WAIT command.

Previously, the R300_CMD_WAIT command would write the passed directly to the
hardware. However this is incorrect because the R300_WAIT_* values used are
internal interface values that do not map directly to the hardware.

The new function I have added translates the R300_WAIT_* values into appropriate
values for the hardware before writing the register.

Thanks to John Bridgman for pointing this out. :-)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1674d2817929fe4ee4e1c4762e89600119dbdc50

Git commit 753a4bdf1b554490f7b288c0203050b5114433c3 by Dave Airlie on 29/03/2008 at 21:33..
drm/r300: fix wait interface mixup

This interface was defined completely wrong, however userspace has only
ever used 4 values from it (0x1, 0x2, 0x3 and 0x6), so fix the interface to do what userspace actually expected but define new defines for new users to use
it properly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/753a4bdf1b554490f7b288c0203050b5114433c3

Git commit 2d9eccfd056425e4ebdf1a7b879979fd0a9d1340 by John Doe (on behalf of Jerome Glisse) on 30/03/2008 at 10:50..
radeon_ms: add hang debuging helper functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d9eccfd056425e4ebdf1a7b879979fd0a9d1340

Git commit 68b83a88135cd236be220dafde65c877e396eb0d by Maarten Maathuis on 30/03/2008 at 12:48..
nouveau: Add ctx values for nv86.

- Note that this may not work for all nv86.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68b83a88135cd236be220dafde65c877e396eb0d

Git commit cf3c0123a038a825d478fa10e29cd7490bab369e by Maarten Maathuis on 30/03/2008 at 12:50..
nouveau: forgot to add a break
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf3c0123a038a825d478fa10e29cd7490bab369e

Git commit b8567bafff58cfb9d77145088fd5b8ad2e5cde6b by Thomas Hellstrom (on behalf of Thomas Hellström) on 30/03/2008 at 13:11..
Don't call fence::poll during irq if there are no waiters.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8567bafff58cfb9d77145088fd5b8ad2e5cde6b

Git commit 1f4ba62567d32fdd32786273326e1aab17d5d412 by Thomas Hellstrom on 30/03/2008 at 13:14..
[i915] Report buffer state _after_ fence submission to user-space.
This fixes a problem where the wrong bo->fence_type was reported, and
also saves some memory space.
[bo core] export the drm_bo_fill_rep_arg function.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f4ba62567d32fdd32786273326e1aab17d5d412

Git commit 22d931f9664e1857e07ce7ab8aad760a4a22f15e by Thomas Hellstrom on 30/03/2008 at 19:30..
Initialize the fence::error member.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22d931f9664e1857e07ce7ab8aad760a4a22f15e

Git commit 09e637848a6afa54a091c4c70fdfbfbdce7ac805 by John Doe (on behalf of Jerome Glisse) on 30/03/2008 at 22:55..
radeon_ms: initial pass at command buffer validation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09e637848a6afa54a091c4c70fdfbfbdce7ac805

Git commit 562f95ea96f08e1d73a872dc87237614292c873a by Dave Airlie on 31/03/2008 at 01:34..
nouveau: fix return from function..

dude kernel moduless use kernel errors :)

this fixes an oops on init when this codepath hits.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/562f95ea96f08e1d73a872dc87237614292c873a

Git commit 960042345866ff4ab7d76b56e4af60e800c60a36 by John Doe (on behalf of Jerome Glisse) on 31/03/2008 at 19:50..
radeon_ms: small fix & cleanup to command checking
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/960042345866ff4ab7d76b56e4af60e800c60a36

Git commit 3fc444a5e8e35ffec7a1426c80c9644e5777ddbe by Maarten Maathuis on 02/04/2008 at 23:13..
nv50: primitive display interrupt handler.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fc444a5e8e35ffec7a1426c80c9644e5777ddbe

Git commit 4dfb959238cbaac6b4db425d9349c7907f4e32fd by John Doe (on behalf of Jerome Glisse) on 03/04/2008 at 01:14..
radeon_ms: fixes fb handling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4dfb959238cbaac6b4db425d9349c7907f4e32fd

Git commit dfc8d2b2fe70a84de53f72f0eeff911c58469089 by John Doe (on behalf of Jerome Glisse) on 03/04/2008 at 01:15..
radeon_ms: add crtc set base callback & fix palette
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfc8d2b2fe70a84de53f72f0eeff911c58469089

Git commit 1692d30cea263a084bfea824cd8638000e97bc57 by Maarten Maathuis on 05/04/2008 at 19:02..
nv50: primitive i2c interrupt handler
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1692d30cea263a084bfea824cd8638000e97bc57

Git commit 87ae5b22e3120d205f520a99cea31743903d49a2 by Thomas Hellstrom on 06/04/2008 at 08:30..
Fix emergency allocation accounting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87ae5b22e3120d205f520a99cea31743903d49a2

Git commit 51a0fdcf3fef5af57938d9958efd698e96d78803 by Thomas Hellstrom on 06/04/2008 at 08:30..
[I915] Fix VRAM eviction.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51a0fdcf3fef5af57938d9958efd698e96d78803

Git commit c3888b97f60fbbc0b1382e5a16689eecaa2f79a5 by Thomas Hellstrom on 06/04/2008 at 08:32..
Use clflush() when available for cache flushing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3888b97f60fbbc0b1382e5a16689eecaa2f79a5

Git commit e89710bef7691e4e9d0bc7d427542bfae6ce4258 by Thomas Hellstrom on 06/04/2008 at 09:21..
Place highmem pages last in the ttm page array.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e89710bef7691e4e9d0bc7d427542bfae6ce4258

Git commit 91bfd69745dbb62dc28c57f940ff44da867e96ea by Jerome Glisse on 06/04/2008 at 17:01..
radeon_ms: check for NULL fb
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91bfd69745dbb62dc28c57f940ff44da867e96ea

Git commit 060e725a0e8aa1f1157f97ca8e7dfa60d02d17ac by Jerome Glisse on 06/04/2008 at 17:23..
radeon_ms: fix framebuffer code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/060e725a0e8aa1f1157f97ca8e7dfa60d02d17ac

Git commit c12b60b5094fe97db60cd0f18fafd1720679bd38 by Ben Skeggs on 07/04/2008 at 03:05..
nouveau: enable m2mf for tt<->vram moves, fix fence_poll
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c12b60b5094fe97db60cd0f18fafd1720679bd38

Git commit dfa9f0399223d86a6478bf93be879da476f93eda by Ben Skeggs on 07/04/2008 at 03:29..
nouveau: enable accelerated move to sysmem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfa9f0399223d86a6478bf93be879da476f93eda

Git commit 27c3785d3f12743a9e160238a4d00353060ec2f2 by Daniel Stone (on behalf of Hasso Tepper) on 07/04/2008 at 12:27..
Add DragonFly BSD support for device creation

DragonFly behaves just like FreeBSD in this regard.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27c3785d3f12743a9e160238a4d00353060ec2f2

Git commit fee64980c4581f1c3cac4be834fa5fb663c2029b by Jerome Glisse on 07/04/2008 at 18:49..
radeon_ms: another fb fix reset mode if fb changed
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fee64980c4581f1c3cac4be834fa5fb663c2029b

Git commit db61f02bd7e4b9d5ac416f1ef98bac1bd4d984bc by Patrice Mandin on 07/04/2008 at 20:24..
Missing KERNEL_VERSION macro
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db61f02bd7e4b9d5ac416f1ef98bac1bd4d984bc

Git commit 779e826c1e2c127f4950c78a56cc314c43b7eb56 by Jerome Glisse on 08/04/2008 at 00:18..
radeon_ms: command buffer validation use array of function pointer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/779e826c1e2c127f4950c78a56cc314c43b7eb56

Git commit 5a3ce06f3a3dfa9412b9660c1e1f35d24c815dbb by Jesse Barnes on 08/04/2008 at 19:42..
Improved DRM sysfs support

This patch ties outputs, output properties and hotplug events into the
DRM core.  Each output has a corresponding directory under the primary
DRM device (usually card0) containing dpms, edid, modes, and connection
status files.

New hotplug change events occur when outputs are added or hotplug events
are detected.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a3ce06f3a3dfa9412b9660c1e1f35d24c815dbb

Git commit a2edd07f20df67e741026097c5d46f12296d7c9d by Jesse Barnes on 08/04/2008 at 19:44..
Add devname in modeset case

If the driver is 'modeset' enabled, it'll register it's interrupt
handler at load time.  Set the devname in this case so that
/proc/interrupts makes sense.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2edd07f20df67e741026097c5d46f12296d7c9d

Git commit e3c7a0fcb0122400e5b5035125ad4fa88599f28a by Jesse Barnes on 08/04/2008 at 19:48..
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3c7a0fcb0122400e5b5035125ad4fa88599f28a

Git commit fa116081a919e716eb95fcfa421d93f10f6f0a4f by Jesse Barnes on 09/04/2008 at 18:30..
Fixup sysfs output registration

Put off registering new outputs with sysfs until they're properly configured,
or we may get duplicates if the type hasn't been set yet (as is the case with
SDVO initialization).  This also means moving de-registration into the cleanup
function instead of output destroy, since the latter occurs during the normal
course of setup when an output isn't found (and therefore not registered with
sysfs yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa116081a919e716eb95fcfa421d93f10f6f0a4f

Git commit 61a81a043cce747a32e514bf0e78fe3993a62f00 by Alan Hourihane on 09/04/2008 at 21:07..
Older kernels don't have kobject_uevent_env(), so punt
the event for these older kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61a81a043cce747a32e514bf0e78fe3993a62f00

Git commit 256a96135e6b48f5d3545896f7226edea8c70a0c by Jesse Barnes on 09/04/2008 at 21:13..
Add newline to debug output for output add
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/256a96135e6b48f5d3545896f7226edea8c70a0c

Git commit 6c92689dcc627886c32afd4eca8f0da25bd07183 by Jesse Barnes on 09/04/2008 at 21:13..
Port pipe reservation code for load detection

TV out needs to do load detection, which means we have to find an
available pipe to use for the detection.  Port over the pipe reservation
code for this purpose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c92689dcc627886c32afd4eca8f0da25bd07183

Git commit b3737f3fd9210aead1f7fc4187dd05eea77ed0a6 by Jesse Barnes on 09/04/2008 at 21:13..
Fix TV load detection

Now that we can allocate load detect pipes, we can perform TV out load
detection correctly.  Call the new routines and enable proper TV
detection.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3737f3fd9210aead1f7fc4187dd05eea77ed0a6

Git commit 386ea38b8e3af9bc9166d4ab63c4beb7e0e2267b by Jesse Barnes on 09/04/2008 at 21:13..
Add TV out hotplug detection

Doesn't yet work on my i915 test machine, but most of the necessary bits
should be there.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/386ea38b8e3af9bc9166d4ab63c4beb7e0e2267b

Git commit 0a6e301e6de3421f116d1b5d8205ca4f442091e2 by Jesse Barnes on 10/04/2008 at 18:23..
Keep display info in struct display_info

Some fields had snuck into the drm_output structure.  Put them back and
fill in more stuff from the EDID block.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a6e301e6de3421f116d1b5d8205ca4f442091e2

Git commit ebd154497383e3bcb6b5c6284148aff3633a5d99 by Jesse Barnes on 10/04/2008 at 18:27..
Fix masking in get_load_detect_pipe

Start i at -1 so that the masking works right.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebd154497383e3bcb6b5c6284148aff3633a5d99

Git commit bee546ad696e3157b878dfa90e563786b5b5c7ac by Jesse Barnes on 11/04/2008 at 02:02..
Remove structure fields & code

Cleanup some random cruft left over from the initial port.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bee546ad696e3157b878dfa90e563786b5b5c7ac

Git commit 83c3acb7da1043a63d260d5443f7149b2c664b08 by Jesse Barnes on 11/04/2008 at 03:30..
Split TV property creation into its own routine

It needs to take arguments from the caller about supported TV formats,
so declare it in drm_crtc.h and export it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83c3acb7da1043a63d260d5443f7149b2c664b08

Git commit 3b32ee36ae58f733f281a2fa569ea8a8a926bb6d by Jesse Barnes on 11/04/2008 at 03:31..
Fixup Intel TV property code

Use the new TV property creation routine and fixup the set_property code
to actually do a mode set call when properties change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b32ee36ae58f733f281a2fa569ea8a8a926bb6d

Git commit 5891b0bd2ae441d738e78737a4c4826bd2e60b43 by Jerome Glisse on 11/04/2008 at 22:15..
radeon_ms: rework command submission ioctl & cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5891b0bd2ae441d738e78737a4c4826bd2e60b43

Git commit 6cc2d7e7ae92bbac630d0053fc214521ce610dc6 by Jerome Glisse on 11/04/2008 at 22:15..
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6cc2d7e7ae92bbac630d0053fc214521ce610dc6

Git commit b986d7d2c9090fc62c1853f62886dd124e8066c1 by Keith Packard on 12/04/2008 at 03:31..
Save and restore dsparb and d_state regs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b986d7d2c9090fc62c1853f62886dd124e8066c1

Git commit c87ea43906787791a87a659c0a9d6312945ffb32 by Julien Cristau on 13/04/2008 at 01:12..
Remove xsfbs-autoreconf.mk

It has never been used, and that doesn't look likely to change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c87ea43906787791a87a659c0a9d6312945ffb32

Git commit 65dd0e68ff0e0e354925adb7d5fffeb0ffbb485c by Thomas Hellstrom on 14/04/2008 at 10:13..
Fix up buffer manager locking.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65dd0e68ff0e0e354925adb7d5fffeb0ffbb485c

Git commit c9b73ef6daff75df27d17260a9fc84e68f1b21b4 by Thomas Hellstrom on 14/04/2008 at 10:13..
Unlock the BO mutex while waiting for idle, unmapped, unfenced.

Move unfenced checking into idle checking.
Never time out while waiting for software events like unmapped or unfenced.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9b73ef6daff75df27d17260a9fc84e68f1b21b4

Git commit c5955c652302d66719984cb5a218cb590c74ad42 by Thomas Hellstrom on 14/04/2008 at 10:14..
Fix buffer object creation validation.

BO lock fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5955c652302d66719984cb5a218cb590c74ad42

Git commit 1ad1bd5bd95db71500edfcea8b46421d7f3cdb15 by Thomas Hellstrom on 14/04/2008 at 11:52..
Fix buffer object map wait error.
Add some branch prediction hints.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ad1bd5bd95db71500edfcea8b46421d7f3cdb15

Git commit 21a93915d8a21518c5da76a739f9459ed7f99d6a by Jesse Barnes (on behalf of Hong Liu) on 17/04/2008 at 18:43..
Porting DVO stuff

Ported from Xorg intel 2d driver. Changed interfaces definitions, which needed
to be changed later if other device wants to use these DVO stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21a93915d8a21518c5da76a739f9459ed7f99d6a

Git commit 21dbba5a227e20dd64ce300cc78927e139a684dd by Keith Packard on 20/04/2008 at 08:56..
On I965, use correct 3DSTATE_DRAWING_RECTANGLE command in vblank

The batchbuffer submission paths were fixed to use the 965-specific command,
but the vblank tasklet was not. When the older version is sent, the 965 will
lock up.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21dbba5a227e20dd64ce300cc78927e139a684dd

Git commit f0e38f521790becbf9ca13ef5c579d12c6985d52 by Keith Packard on 20/04/2008 at 23:10..
[I915] Handle tiled buffers in vblank tasklet

The vblank tasklet update code must build 2D blt commands with the
appropriate tiled flags.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0e38f521790becbf9ca13ef5c579d12c6985d52

Git commit ce8c8425185cfe0390230b7b537f2e0514c721c6 by Dave Airlie on 22/04/2008 at 06:08..
i915: gfx hw and i945gme fixes from upstream

From Jesse and Zhenyu originally.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce8c8425185cfe0390230b7b537f2e0514c721c6

Git commit b3967765c082c4fae1954ec70474fb428ef42c70 by Pekka Paalanen on 22/04/2008 at 19:07..
linux-core Makefile: add GIT_REVISION

This tries to automatically fetch a git revision string and if succeeds,
it #defines GIT_REVISION string macro. Packagers can override it by
'make GIT_REVISION=foo'.

Update Nouveau to use GIT_REVISION, if defined, instead of DRIVER_DATE
in struct drm_driver.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3967765c082c4fae1954ec70474fb428ef42c70

Git commit c250104c8f81026b4191ec8b2a709ff7ab5baedb by Jesse Barnes (on behalf of Hong Liu) on 23/04/2008 at 01:32..
fix removing output_attrs

fix a typo in removing output sysfs.

Signed-off-by: Hong Liu <hong.liu at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c250104c8f81026b4191ec8b2a709ff7ab5baedb

Git commit 8a390e058fcea70b0c3a912543816bdf4c3e7c4c by Jesse Barnes (on behalf of Hong Liu) on 23/04/2008 at 01:34..
clear interrupt status before install irq

On my 865G machine, it seems the CPU will receive interrupt before
irq_postinstall is called. This will cause kernel oops because vblank is not
inited at that time. Clear interrupt status before install seems fixing this
problem.

Signed-off-by: Hong Liu <hong.liu at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a390e058fcea70b0c3a912543816bdf4c3e7c4c

Git commit b57e1f7efd6e27efbf960ab11323981e016ea86e by Jesse Barnes (on behalf of Hong Liu) on 23/04/2008 at 01:35..
add sysfs entry for DVO output

forget to add it in the previous DVO porting patch.

Signed-off-by: Hong Liu <hong.liu at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b57e1f7efd6e27efbf960ab11323981e016ea86e

Git commit 8dc4d4fa1f1394c2faed89760e1183287577fed3 by Jesse Barnes on 23/04/2008 at 01:41..
i915: allocate devname at init time

Since it'll be freed at unload time, we should alloc devname rather than
pointing to the DRIVER_NAME string.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8dc4d4fa1f1394c2faed89760e1183287577fed3

Git commit feff72929e94b6c17e352a2ec86b3440b9edf059 by Xiang, Haihao on 23/04/2008 at 09:17..
i915: fix for compatibility mode
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/feff72929e94b6c17e352a2ec86b3440b9edf059

Git commit 9ba3aaaa1a22663ec3d8d9d1792edf10a25d0ad7 by Jakob Bornecrantz on 23/04/2008 at 10:43..
Fixed unlock check on EAGAIN
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ba3aaaa1a22663ec3d8d9d1792edf10a25d0ad7

Git commit 10b9a116a7b7fe3acf0848de9e0cf40f8e1bcd75 by Thomas Hellstrom on 23/04/2008 at 15:34..
Don't disable IRQs, just tasklets, when taking the drm lock spinlock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10b9a116a7b7fe3acf0848de9e0cf40f8e1bcd75

Git commit 33fa02f2d850da252d5ddd9ef7428b02de7bd6a7 by Kristian Høgsberg on 23/04/2008 at 16:42..
Make radeon_ms compile.

Remove lock functions and use pci_map_rom() instead of pci_map_rom_copy().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33fa02f2d850da252d5ddd9ef7428b02de7bd6a7

Git commit 55a9941977953d16b36bbf3e1dcad392ac70e1ef by Kristian Høgsberg on 23/04/2008 at 16:43..
Make via compile.

Chase the lock to it's new location.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55a9941977953d16b36bbf3e1dcad392ac70e1ef

Git commit c82894034f611696c54c5aaf2112be638aa2cb35 by Eric Anholt on 23/04/2008 at 17:42..
Clarify that drm_agp_ttm_backend is associated with a drm_ttm.

On first looking at it I assumed it was an aspect of the ttm backend as a
whole rather than specific allocations from a backend.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c82894034f611696c54c5aaf2112be638aa2cb35

Git commit 47a2b7dc03e35d4eaf8148b87aeea8dd96723b4d by Eric Anholt on 23/04/2008 at 17:42..
Initial add of mmfs module.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47a2b7dc03e35d4eaf8148b87aeea8dd96723b4d

Git commit 8665b666c7e2ecdee7d27e1ad540910a0223ba6d by Eric Anholt on 23/04/2008 at 18:23..
Move mmfs.h userland interface to shared-core.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8665b666c7e2ecdee7d27e1ad540910a0223ba6d

Git commit c1fec43b553ea93460b58995a1229e84d8bb45b4 by Eric Anholt on 23/04/2008 at 18:36..
Extend the mmfs basic test to do a couple of ioctls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1fec43b553ea93460b58995a1229e84d8bb45b4

Git commit 8c741ed54e1be63528e79222b600f37506c6d6d2 by Eric Anholt on 23/04/2008 at 21:25..
Add pread/pwrite ioctls to mmfs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c741ed54e1be63528e79222b600f37506c6d6d2

Git commit 22877864c204139fe1c46899bedd237e38f0e849 by Eric Anholt on 23/04/2008 at 23:22..
Add mmap ioctl to mmfs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22877864c204139fe1c46899bedd237e38f0e849

Git commit b45fe49bcd989be4e1327c13dd734410b395761c by Jesse Barnes on 27/04/2008 at 00:11..
Enum-ectomy of vblank modesetting ioctl

Enum can be of pretty much any size since C leaves the choice of size up to the implementation.  So avoid using it in new interfaces like the vblank pre- & post-modeset ioctl.  Thanks to hch for spotting this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b45fe49bcd989be4e1327c13dd734410b395761c

Git commit 7f8e4060859651993921281445ec00940c577222 by Jesse Barnes on 27/04/2008 at 16:42..
Use fixed sized types in new ioctls

Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat
issues.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f8e4060859651993921281445ec00940c577222

Git commit 7f269bec7ed49385de394fdbd970f463ef2060f0 by Thomas Hellstrom on 28/04/2008 at 10:10..
Merge branch 'master' into modesetting-101

Conflicts:

	linux-core/Makefile.kernel
	linux-core/drm_compat.c
	linux-core/drm_fops.c
	linux-core/drm_lock.c
	shared-core/drm.h
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f269bec7ed49385de394fdbd970f463ef2060f0

Git commit 3ad8db2071d30c198403e605f2726fc5c3e46bfd by Eric Anholt on 28/04/2008 at 23:54..
Rename drm_mm.c and its fuctions to drm_memrange.

It's not really a graphics memory allocator, just something to track ranges
of address space.  It doesn't involve actual allocation, and was consuming
some desired namespace.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ad8db2071d30c198403e605f2726fc5c3e46bfd

Git commit f31e04a96013c059fc90c98a878de14adbea524a by Maarten Maathuis on 29/04/2008 at 17:34..
nouveau: NV9x cards exist as well.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f31e04a96013c059fc90c98a878de14adbea524a

Git commit cb33133ef354b77a8cf06b16ce95a0babbe8bc6f by Jesse Barnes on 29/04/2008 at 19:39..
i915: fix off by one in VGA save/restore of AR & CR regs

Turns out it's important to save/restore AR14 in particular.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb33133ef354b77a8cf06b16ce95a0babbe8bc6f

Git commit dabd056bf34b389585b618cf03a297877505f06b by Eric Anholt on 29/04/2008 at 20:32..
Move mmfs ioctls into the DRM. Untested.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dabd056bf34b389585b618cf03a297877505f06b

Git commit 3148c1636408cc422ab83c149a8963916dd376b0 by Eric Anholt on 29/04/2008 at 20:45..
Move mmfs tests over to be drm tests.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3148c1636408cc422ab83c149a8963916dd376b0

Git commit 81ba8ded7e01b21e600069977e496017c8966d66 by Eric Anholt on 29/04/2008 at 20:48..
Remove the remainder of the mmfs device.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81ba8ded7e01b21e600069977e496017c8966d66

Git commit 1a8406795052e3ec49e400465f3211d04fd9dd86 by Eric Anholt on 30/04/2008 at 23:03..
Hacking towards hooking up execbuffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a8406795052e3ec49e400465f3211d04fd9dd86

Git commit b92efd59565b9c63734b762b9d2be46447309007 by Ben Skeggs on 01/05/2008 at 13:50..
nv50: I cave...  Add nv84 initial context values.

I swore I'd actually do this properly and not go the horrible route
we did with nv4x, but I won't get around to it just yet with so many
*actually* interesting things to do first.. One day.

Since someone already added nv86, why not!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b92efd59565b9c63734b762b9d2be46447309007

Git commit e317dfdabfb836165fbe3b006e53a88a1bc7c264 by Ben Skeggs on 01/05/2008 at 14:06..
nv50: PGRAPH exception handling completely different from earlier chips
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e317dfdabfb836165fbe3b006e53a88a1bc7c264

Git commit bfbe4ade3253330bd0c625d50fa2e7b5cb62dada by Ben Skeggs on 01/05/2008 at 14:51..
nouveau: gather nsource in trap_info()

The IRQ handling stuff really is a mess.. On the TODO :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfbe4ade3253330bd0c625d50fa2e7b5cb62dada

Git commit 5c4c778c0d7d3f4749efade3b1023b8b22c029a9 by Ben Skeggs on 01/05/2008 at 14:52..
nouveau: restore original NV_PFIFO_CACHES_REASSIGN value in fifo handler

Doesn't fix any issue I've seen, but is a potential issue if a FIFO IRQ
occurs during channel creation/takedown.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c4c778c0d7d3f4749efade3b1023b8b22c029a9

Git commit 77d20928b330acda5b6ceb469f50757b5300702b by Ben Skeggs on 01/05/2008 at 14:53..
nouveau: disable all card interrupts when unknown PFIFO IRQ occurs.

This is possibly temporary.  I can trigger an unending IRQ storm on G8x
in some circumstances, and have no idea how to handle that particular PFIFO
exception correctly yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77d20928b330acda5b6ceb469f50757b5300702b

Git commit 6d8062ac1e048c3643d3a9d2432e497e17f717de by Ben Skeggs on 01/05/2008 at 15:36..
nouveau: guard against channels potentially not having a context, fix nv50
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d8062ac1e048c3643d3a9d2432e497e17f717de

Git commit 3ac74f3208ed15a990a0a26742fbfe566f08aa80 by Ben Skeggs on 01/05/2008 at 15:36..
nv50: enable 0x400500 bit 0 after PGRAPH exception also

No solid idea about what these 2 bits do, but nv50 can now survive a few
PGRAPH exceptions just as nv40 does :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ac74f3208ed15a990a0a26742fbfe566f08aa80

Git commit 2140e102f942edf7982cee2a3f00caf234551687 by Eric Anholt on 01/05/2008 at 18:39..
checkpoint: rename to GEM and a few more i915 bits.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2140e102f942edf7982cee2a3f00caf234551687

Git commit 5af87acbc2025b9f72d51b30f176e9c3909695ac by Eric Anholt on 01/05/2008 at 21:20..
checkpoint: gtt binding written.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5af87acbc2025b9f72d51b30f176e9c3909695ac

Git commit ccd1bae0f676490a88240c62f02e072d2cf3b030 by Eric Anholt on 01/05/2008 at 22:22..
checkpoint: relocations support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccd1bae0f676490a88240c62f02e072d2cf3b030

Git commit 793549116ee6e9202fc7e474bd382eb19ffeb87f by Eric Anholt on 01/05/2008 at 22:40..
Add pin/unpin object ioctls for gem.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/793549116ee6e9202fc7e474bd382eb19ffeb87f

Git commit d2529d13961f0df00754393e1ad9b72da5e998a4 by Eric Anholt on 01/05/2008 at 23:27..
Remove _args from gem ioctl argument structure tags.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2529d13961f0df00754393e1ad9b72da5e998a4

Git commit c530011aaaf485157ba6284c0c32c0db83523b64 by Eric Anholt on 01/05/2008 at 23:38..
Update mm tests for GEM rename.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c530011aaaf485157ba6284c0c32c0db83523b64

Git commit 7d5f783eca3302ec7efa164e2980c75e5e591585 by Eric Anholt on 01/05/2008 at 23:38..
Make GEM object handles be nonzero.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d5f783eca3302ec7efa164e2980c75e5e591585

Git commit 3f641b56c79d48f7e11aa3eb1dc678e09c8e01f7 by Eric Anholt on 01/05/2008 at 23:48..
Fix missing member settings in obj/obj_priv, and some error paths.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f641b56c79d48f7e11aa3eb1dc678e09c8e01f7

Git commit ddc80651d561ef3820e205255f34dc7c60dc2e7c by Eric Anholt on 02/05/2008 at 00:31..
Fix offset passed to AGP to be pages instead of bytes.

Fix some utterly bonged loop while we were staring at it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddc80651d561ef3820e205255f34dc7c60dc2e7c

Git commit c10695bb7ab44494badc21c822eac3140cf4e117 by Eric Anholt on 02/05/2008 at 00:31..
Unbind objects when freeing, fix some error paths, and warn in others.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c10695bb7ab44494badc21c822eac3140cf4e117

Git commit abc896638fdcd8ccb457ad7b43dbe7ad229ba501 by Keith Packard on 02/05/2008 at 03:12..
Use krefs for refcounting.

krefs are way easier than a custom-coded spinlock+int combo.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abc896638fdcd8ccb457ad7b43dbe7ad229ba501

Git commit 30efad5113944681c1abd6452e10355c105e9c39 by Keith Packard on 02/05/2008 at 03:31..
Fix gem ioctls to be 32/64-bit clean.

mixed 32/64 bit systems need 'special' help for ioctl where the user-space
and kernel-space datatypes differ. Fixing the datatypes to be the same size,
and align the same way for both 32 and 64-bit ppc and x86 environments will
elimiante the need to have magic 32/64-bit ioctl translation code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30efad5113944681c1abd6452e10355c105e9c39

Git commit 0d547c9ed92c0183f2c727496154baa2849f326e by Keith Packard on 02/05/2008 at 03:41..
Add alignment to all aperture allocation requests.

When pinning buffers, or using execbuffer, allow the application to specify
the necessary aperture allocation alignment constraints.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d547c9ed92c0183f2c727496154baa2849f326e

Git commit 5b5b68ffd220f43d4da35ac475b8a3dd91ebbfa7 by Keith Packard on 02/05/2008 at 17:34..
Fix nouveau warning when returning pointers in uint64_t objects.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b5b68ffd220f43d4da35ac475b8a3dd91ebbfa7

Git commit 49e8e3372afcf5fab9ffef5691d87ad8bc19599a by Keith Packard on 02/05/2008 at 17:36..
Remove drm_driver argument to functions taking drm_gem_object.

Now that drm_gem_object has a drm_driver * in it, functions don't need both
parameters.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49e8e3372afcf5fab9ffef5691d87ad8bc19599a

Git commit 39e20bcd5f4bf9fedac80188fda2e9fcab2f0360 by Keith Packard on 02/05/2008 at 19:29..
Add name/open ioctls, separate handle and pointer ref counts.

Names are just another unique integer set (from another idr object).
Names are removed when the user refernces (handles) are all destroyed --
this required that handles for objects be counted separately from
internal kernel references (so that we can tell when the handles are all
gone).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39e20bcd5f4bf9fedac80188fda2e9fcab2f0360

Git commit ab3549d1336fc6c08581a9fd14a83513649d9187 by Keith Packard on 02/05/2008 at 23:34..
Add a bit of /proc/dri/*/gem support. Clean up some refcount/pagelock issues.

Track named objects in /proc/dri/0/gem_names.
Track total object count in /proc/dri/0/gem_objects.
Initialize device gem data.
return -ENODEV for gem ioctls if the driver doesn't support gem.
Call unlock_page when unbinding from gtt.
Add numerous misssing calls to drm_gem_object_unreference.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab3549d1336fc6c08581a9fd14a83513649d9187

Git commit 5f0614b86ff5760016bef87c6f6012fe4f42e14e by Keith Packard on 03/05/2008 at 00:13..
Check for do_mmap errors
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f0614b86ff5760016bef87c6f6012fe4f42e14e

Git commit afe574f328fca42f2fa5fbc1c7a1c13d0f35d2f6 by Eric Anholt on 03/05/2008 at 00:49..
Don't include the tail guard memrange in foreach callbacking.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afe574f328fca42f2fa5fbc1c7a1c13d0f35d2f6

Git commit 166ff364fb09ec9885a164fca517c079a1d88718 by Eric Anholt on 03/05/2008 at 00:50..
Don't forget to set the memrange private, and reset ring on kernel entry.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/166ff364fb09ec9885a164fca517c079a1d88718

Git commit d015219bd0b25f367be23e5df8355f479ee53a0f by Dave Airlie on 05/05/2008 at 07:03..
r500: add allowed range for us config/pixsize
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d015219bd0b25f367be23e5df8355f479ee53a0f

Git commit b6f173c4300e90be9bdd3b24003b800afd8819c5 by Keith Packard on 05/05/2008 at 17:51..
Add i915_dispatch_gem_execbuffer (broken).

This function submits a gem-based execbuffer to the ring.
It doesn't work yet.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6f173c4300e90be9bdd3b24003b800afd8819c5

Git commit 4511e6cd80b4c47a142db48727753da8d0898857 by Keith Packard on 05/05/2008 at 18:27..
Correct execbuffer offset. Add memory barrier and chipset flush.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4511e6cd80b4c47a142db48727753da8d0898857

Git commit 4867780bd6900293880d1db963798d075ec9b01a by Keith Packard on 05/05/2008 at 20:32..
Emit clflush and chipset flush when mapping objects to gtt
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4867780bd6900293880d1db963798d075ec9b01a

Git commit f0bc796a028dc7c6281d3d0cb2deef9df37e380a by Keith Packard on 05/05/2008 at 21:22..
Add object base to relocation store address.

The relocated value was being written to the wrong location, missing
the object base address.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0bc796a028dc7c6281d3d0cb2deef9df37e380a

Git commit d59a9300ec2ec5d6dc606f847a7589c197994793 by Keith Packard on 05/05/2008 at 21:32..
Remove some debug messages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d59a9300ec2ec5d6dc606f847a7589c197994793

Git commit dafe48e6239a4e9b49dd87b8c70224e8eeeb6079 by Eric Anholt on 05/05/2008 at 21:38..
GEM: Replace drm_memrange_for_each with just evicting what we brought in.

I was wrong about how the data structure worked, and didn't care to fix it
to support debugging code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dafe48e6239a4e9b49dd87b8c70224e8eeeb6079

Git commit 5b0d0fa7f81fb297778af97124a2273b2af317bb by Keith Packard on 05/05/2008 at 21:40..
Merge commit 'anholt/drm-gem' into drm-gem

Conflicts:

	linux-core/i915_gem.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b0d0fa7f81fb297778af97124a2273b2af317bb

Git commit 2c8f970baaba9c72c882677f40ce8271bff03bac by Keith Packard on 06/05/2008 at 00:17..
Unlock pages right after getting them.

pages come back from find_or_create_page locked, but must not stay locked
for long. Unlock them immediately instead of waiting until we're done with
them to avoid deadlock when applications try to touch them.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c8f970baaba9c72c882677f40ce8271bff03bac

Git commit ed6657fa8e7977b19bb836782ac8e87f0f703cef by Keith Packard on 06/05/2008 at 05:09..
Monitor ACTHD register while polling for idle ring.

When batch buffers are executing, the ring may be stuck for a long time.
Monitor the ACTHD pointer which will show if the execution engine is
actually hung.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed6657fa8e7977b19bb836782ac8e87f0f703cef

Git commit 91cba3ae17eb34d1836164f86c13a2a8e08c2a29 by Keith Packard on 06/05/2008 at 05:10..
Dump last batch buffer when hardware lockup is detected.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91cba3ae17eb34d1836164f86c13a2a8e08c2a29

Git commit 8551bfc6dba03dcd9d182b2099a0906153ecfa01 by Eric Anholt on 06/05/2008 at 18:18..
GEM: Save the last ioremapped page for relocations in case we need it again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8551bfc6dba03dcd9d182b2099a0906153ecfa01

Git commit dd6976c56f9f14ea8aa630833e9cc9711157d74f by Eric Anholt on 06/05/2008 at 18:25..
GEM: Skip relocation if presumed offset matches.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd6976c56f9f14ea8aa630833e9cc9711157d74f

Git commit d2373b2a341868882208bb4297ab4f2f51302031 by Eric Anholt on 06/05/2008 at 20:28..
GEM: Use irq-based fencing rather than syncing and evicting every exec.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2373b2a341868882208bb4297ab4f2f51302031

Git commit 631e86c5c4ad9b2cdd40749ea3b351204a362c80 by Keith Packard on 06/05/2008 at 21:43..
Start coding up memory domains
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/631e86c5c4ad9b2cdd40749ea3b351204a362c80

Git commit 2b9ef32669acf8197cf7d9b73b851c001db494cd by Keith Packard on 06/05/2008 at 21:43..
Merge commit 'anholt/drm-gem' into drm-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b9ef32669acf8197cf7d9b73b851c001db494cd

Git commit 61253f4f677518537368103799c9510b8b5ad1e3 by Keith Packard on 07/05/2008 at 03:00..
[intel-GEM] Add memory domain support.

Memory domains allow the kernel to track which caches to flush and how to
move objects before buffer execution.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61253f4f677518537368103799c9510b8b5ad1e3

Git commit 6a6c37af9ecaabfe1399a1300cadaff730767013 by Keith Packard on 07/05/2008 at 04:59..
[intel-GEM] ref count objects in gtt-lru.

If objects on the lru aren't ref counted, they'll get pulled from the gtt as
soon as they are freed. This change does cause objects to get stuck in the
gtt until they're forced out by new requests. The lru should get cleaned
when the irq occurs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a6c37af9ecaabfe1399a1300cadaff730767013

Git commit b44f2da380e78769b58c751e81f376f0fa1f48aa by Dave Airlie on 07/05/2008 at 05:10..
drm: nopage compat fixup for drm_vm

The kernel has removed nopage so move the old nopage codepaths into a compat vm file and switch to using the fault paths.

nopfn is on its way out in the future also, so we should switch to using fault
for that path as well soon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b44f2da380e78769b58c751e81f376f0fa1f48aa

Git commit 5f5f01ed91f5ad50f2b38e11740a30441ac845a4 by Eric Anholt on 07/05/2008 at 19:46..
GEM: Extend cache domain stuff for 965.

One of our MI_FLUSH bits is reserved on 965, being always implied, and there's
a vertex cache that was forgotten.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f5f01ed91f5ad50f2b38e11740a30441ac845a4

Git commit 06e9761f94599c6378c8fa0cdbd1e1c1776bae7a by Eric Anholt on 07/05/2008 at 21:10..
GEM: Wait for existing rendering to complete before writing relocation data.

This should already have been generally safe since we don't change contents
and put in new relocations between execbufs, so if we were writing in a new
relocation then we'd already waited rendering to complete when we moved
the target of the relocation.  However, doing the right thing will be required
if we do buffer reuse.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06e9761f94599c6378c8fa0cdbd1e1c1776bae7a

Git commit aa0621a19ffcdf2a92eac08fa4950e0423a8dd2b by Eric Anholt (on behalf of Arjan van de Ven) on 07/05/2008 at 22:54..
Apply a few stylistic cleanups to match kernel code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa0621a19ffcdf2a92eac08fa4950e0423a8dd2b

Git commit effc6d998f080ba6f9c81d1b4b0e75a42be0238e by Eric Anholt on 07/05/2008 at 23:00..
GEM: fix testcases for new ioctl args.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/effc6d998f080ba6f9c81d1b4b0e75a42be0238e

Git commit ef204fb5c24f9bd09192a9abebad6a06dd0b88db by Dave Airlie on 08/05/2008 at 00:25..
Merge remote branch 'origin/master' into modesetting-101

Conflicts:

	linux-core/Makefile.kernel
	shared-core/i915_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef204fb5c24f9bd09192a9abebad6a06dd0b88db

Git commit 9d1db4ced1cd8e9e23f9ae945625a54d4f7f3721 by Dave Airlie on 08/05/2008 at 00:26..
cursor: pass handle not BO.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d1db4ced1cd8e9e23f9ae945625a54d4f7f3721

Git commit df46e0691bdd62da8ccc6b3811f57731dd5a2a4b by Dave Airlie on 08/05/2008 at 00:45..
drm: fix typo from previous merge
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df46e0691bdd62da8ccc6b3811f57731dd5a2a4b

Git commit ed072ed075ec431b0746ac1aa8bad5f687d75d8c by Dave Airlie on 08/05/2008 at 04:02..
drm_mode: initial replacefb implemenation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed072ed075ec431b0746ac1aa8bad5f687d75d8c

Git commit 576cba86b704c0de484ba852b8dce5b24d683f7e by Dave Airlie on 08/05/2008 at 06:09..
drm: fix replacefb to change fb properties
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/576cba86b704c0de484ba852b8dce5b24d683f7e

Git commit 74a49aea6104ebea7525a04760ef21646a3ffaf4 by Dave Airlie on 08/05/2008 at 06:10..
intel: set correct limits on screen width/height from DDX
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74a49aea6104ebea7525a04760ef21646a3ffaf4

Git commit 19abd5c1ac3456e67241fbd2d8cd08148d6de9f9 by Dave Airlie on 08/05/2008 at 06:10..
drm: set crtc->fb to NULL
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19abd5c1ac3456e67241fbd2d8cd08148d6de9f9

Git commit 442e12412396280eb5164d7b8f6792969c2cf6a0 by Dave Airlie on 08/05/2008 at 06:11..
drm: check for NULL fb here, shouldn't happen but avoid oops for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/442e12412396280eb5164d7b8f6792969c2cf6a0

Git commit 2a78ad22647933aa8842d534bce6495ff93fbf76 by Dave Airlie on 08/05/2008 at 06:14..
i915: fix vbl swap for multi-master

patch from F9 tree
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a78ad22647933aa8842d534bce6495ff93fbf76

Git commit 4466fea7bab2af5c1e25947af474d0ae69df1ffd by Dave Airlie on 08/05/2008 at 07:12..
Revert "i915: fix vbl swap for multi-master"

This reverts commit 2a78ad22647933aa8842d534bce6495ff93fbf76.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4466fea7bab2af5c1e25947af474d0ae69df1ffd

Git commit ba36d54ad4a3ea52b338d55ca19a864283e7c9ce by Jakob Bornecrantz on 08/05/2008 at 13:03..
drm: Made set_config use drm_mode_set as a argument
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba36d54ad4a3ea52b338d55ca19a864283e7c9ce

Git commit 9d9104ad5fcd2d284a0a87385e9eb1a77adc869e by Jakob Bornecrantz on 08/05/2008 at 13:25..
i915: Fixed indent in intel_fb.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d9104ad5fcd2d284a0a87385e9eb1a77adc869e

Git commit 9af4c497433398fa4576a7c1c31036448cf4f24c by Keith Packard on 08/05/2008 at 17:44..
[intel-gem] Move domains to relocation records. add set_domain ioctl.

Domain information is about buffer relationships, not buffer contents. That
means a relocation contains the domain information as it knows how the
source buffer references the target buffer.

This also adds the set_domain ioctl so that user space can move buffers to
the cpu domain.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9af4c497433398fa4576a7c1c31036448cf4f24c

Git commit 7bcbc443f4f5161ab1e1a11cb6694e6d6269377c by Jakob Bornecrantz on 08/05/2008 at 18:10..
i915: Changed intel_fb to use the new drm_crtc_set_config interface
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bcbc443f4f5161ab1e1a11cb6694e6d6269377c

Git commit 2f573e6df4890784124eea24ce168702574f0152 by Eric Anholt on 08/05/2008 at 19:46..
GEM: Fix oops on NULL dereference when we try clflushing when we don't need to.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f573e6df4890784124eea24ce168702574f0152

Git commit 07ad5ce1e199ebca1e51a831503f923fa49cc57e by Keith Packard on 08/05/2008 at 20:08..
Clean up whinging from checkpatch.pl in drm_gem.c

Whitespace changes, a few too-long-lines and some extra braces.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07ad5ce1e199ebca1e51a831503f923fa49cc57e

Git commit ec75369b402235d74b06b08907572050962075a6 by Keith Packard on 08/05/2008 at 20:09..
[i915] clean up whinging from checkpatch.pl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec75369b402235d74b06b08907572050962075a6

Git commit 7317e774b5cddb7218c1416fa4d9ee98756e4890 by Alan Hourihane on 09/05/2008 at 08:26..
Fix test applications for recent DRM changes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7317e774b5cddb7218c1416fa4d9ee98756e4890

Git commit eeff906aa0f64da12a0154c66d99e8492dd95107 by Alan Hourihane on 09/05/2008 at 15:36..
Fix build problems
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeff906aa0f64da12a0154c66d99e8492dd95107

Git commit 1e26ca44c9f3e8a1a30652aa860b405e0248aae1 by Keith Packard on 09/05/2008 at 19:18..
[gem] API cleanup. allocate->create unreference->close name->flink

Make the API names a bit more consistent.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e26ca44c9f3e8a1a30652aa860b405e0248aae1

Git commit 12725a37af691345e74fe22d53300abec2581852 by Jesse Barnes on 09/05/2008 at 21:19..
i915:  add basic VBT support

Map the VBIOS (and therefore VBT) at init time for use by various output
initialization routines.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12725a37af691345e74fe22d53300abec2581852

Git commit 6ee0c09b0e2746022c25962cbfe655f2f1d5c53e by Jesse Barnes on 09/05/2008 at 21:19..
i915:  use BDB TV flag for TV detection

Even if the TV encoder hasn't been fused off, we may not have a TV connector on
the platform.  The BDB in the BIOS should give us this info in some cases.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ee0c09b0e2746022c25962cbfe655f2f1d5c53e

Git commit dce34421947d1828ff76c001281107e937e307d4 by Jesse Barnes (on behalf of Hong Liu) on 09/05/2008 at 21:29..
fixup i915 workqueue handling when modeset=1

Fixup workqueue creation error handling and make sure we destroy the queue on
unload.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dce34421947d1828ff76c001281107e937e307d4

Git commit f0ae335cd70077043f2f7af39d7edcc529367c61 by Eric Anholt on 09/05/2008 at 22:02..
GEM: Avoid leaking refs on target objects on presumed offset success.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0ae335cd70077043f2f7af39d7edcc529367c61

Git commit f56f2acb5a3f34ad6916ff315d3d2058bd4b8f9c by Eric Anholt on 09/05/2008 at 22:07..
GEM: Clear obj_priv->agp_mem when we free it.

Still managing to get something wrong with this, oopsing down in agp.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f56f2acb5a3f34ad6916ff315d3d2058bd4b8f9c

Git commit c5c59eab809604e4d0d4d1dc71fc11186d0220f8 by Eric Anholt on 10/05/2008 at 00:38..
GEM: Separate the LRU into execution list and LRU list.

Now, the LRU list has objects that are completely done rendering and ready
to kick out, while the execution list has things with active rendering,
which have associated cookies and reference counts on them.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5c59eab809604e4d0d4d1dc71fc11186d0220f8

Git commit 48a8531aa403ea250696338aa8717e3e36477370 by Eric Anholt on 10/05/2008 at 01:23..
GEM: Fix arguments to drm_memrange_init so we don't exceed our allocation.

It takes (offset, size), not (offset, end).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48a8531aa403ea250696338aa8717e3e36477370

Git commit a37ac493da1730436028ecc79a38513380ce15d0 by Keith Packard on 11/05/2008 at 04:04..
[intel-GEM] Clean up GEM ioctl naming.

Rename 'validate_entry' to 'exec_object', then clean up some field names in
structures (renaming buffer_offset to just offset, for example).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a37ac493da1730436028ecc79a38513380ce15d0

Git commit 177b8b07033c56c84d335808121690d235516bb5 by Keith Packard on 11/05/2008 at 04:04..
[GEM] Add drm-gem.txt

Add some API and implementation documentation for GEM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/177b8b07033c56c84d335808121690d235516bb5

Git commit 1f9eaceb71792879a3ecb0046b64dbf65b870d50 by Keith Packard on 11/05/2008 at 04:05..
Merge commit 'anholt/drm-gem' into drm-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f9eaceb71792879a3ecb0046b64dbf65b870d50

Git commit 1b0bf301431e76712de1ee43681bc818383b2e56 by Keith Packard on 11/05/2008 at 05:04..
[intel-GEM] exec list can contain pinned, lru cannot.

The exec list contains all objects, in order of use. The lru list contains
only unpinned objects ready to be evicted. This required two changes -- the
first was to not migrate pinned objects from exec to lru, the second was to
search for the first unpinned object in the exec list when doing eviction.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b0bf301431e76712de1ee43681bc818383b2e56

Git commit ff39db099b9ca6c8feee68101a2269345b7bd798 by Keith Packard on 11/05/2008 at 07:10..
[GEM] Make pread/pwrite manage memory domains. No luck with movnti though.

pread and pwrite must update the memory domains to ensure consistency with
the GPU. At some point, it should be possible to avoid clflush through this
path, but that isn't working for me.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff39db099b9ca6c8feee68101a2269345b7bd798

Git commit 8f7fc880e8bbe9e59521df707f2ddd3e80e06e6f by Dave Airlie on 12/05/2008 at 06:28..
drm: fix oops on reading proc file with no master
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f7fc880e8bbe9e59521df707f2ddd3e80e06e6f

Git commit 1eedeed09192738334570e13acab381441f3d817 by Dave Airlie on 12/05/2008 at 06:28..
drm: masters are always authenticated
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1eedeed09192738334570e13acab381441f3d817

Git commit 3f66a0005c1273b0fc935b9bd62a6fabaf99c2be by Dave Airlie on 12/05/2008 at 06:29..
drm: remove root only from a lot of drm ioctls to get stuff running as non-root
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f66a0005c1273b0fc935b9bd62a6fabaf99c2be

Git commit a34025ce227e8755505b483b1a77c4cf5d7fece5 by Alex Deucher on 12/05/2008 at 12:56..
Radeon IGP: clean up registers and magic numbers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a34025ce227e8755505b483b1a77c4cf5d7fece5

Git commit 68b7f550ba140d275c6f9bb26c2186069354be24 by Alex Deucher on 12/05/2008 at 13:00..
Radeon IGP: wrap MCIND access

first step in merging rs4xx/rs6xx gart setup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68b7f550ba140d275c6f9bb26c2186069354be24

Git commit fb9eaff74712b7b29a7e76209d803fec21c0318c by Alex Deucher on 12/05/2008 at 13:13..
Radeon IGP: merge RS4xx/RS6xx gart setup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb9eaff74712b7b29a7e76209d803fec21c0318c

Git commit c307e50724c8d0d88b9ac1788de02b8478261967 by Alex Deucher on 12/05/2008 at 13:18..
R300+: fixup PURGE/FLUSH macros
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c307e50724c8d0d88b9ac1788de02b8478261967

Git commit d26af273f8558c8ee6eca1914b35bfd174129da7 by Alex Deucher on 12/05/2008 at 13:21..
RADEON: write AGP_BASE_2 on chips that support it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d26af273f8558c8ee6eca1914b35bfd174129da7

Git commit 3582e82f140cdae947864af8403674e6e117588e by Alex Deucher on 12/05/2008 at 13:24..
RS4xx: fix MCIND index mask
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3582e82f140cdae947864af8403674e6e117588e

Git commit 5532b8d2a006451555c4f1309987e62971660cea by Alex Deucher on 12/05/2008 at 13:30..
R300+: fixup pixcache flush
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5532b8d2a006451555c4f1309987e62971660cea

Git commit e16a7101e809aa816463547e0c0284853b0247ed by Alex Deucher on 12/05/2008 at 13:35..
RADEON: cleanup radeon_do_engine_reset()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e16a7101e809aa816463547e0c0284853b0247ed

Git commit 75bc739bee366b8e0520c61c9b9cc10b94524525 by Alex Deucher on 12/05/2008 at 13:44..
R3/4/5: init pipe setup in drm

Similar (broken) code in mesa needs to be removed
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75bc739bee366b8e0520c61c9b9cc10b94524525

Git commit 10d754f0a2ba2bdda87c243305c8fc46616e965c by Alex Deucher on 12/05/2008 at 18:49..
RADEON: fix copy/pasto in last commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10d754f0a2ba2bdda87c243305c8fc46616e965c

Git commit af60d87869303d7f17352c82d2fb1cebb9a8f7ff by Jesse Barnes (on behalf of Hong Liu) on 12/05/2008 at 19:04..
fix G33 hardware status page in modeset

We need to alloc a hw status page bo for G33 if modeset is enabled since the 2D
driver can't alloc gfx memory when working in drm modeset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af60d87869303d7f17352c82d2fb1cebb9a8f7ff

Git commit f1b9bbe2b8f2339359afa39bf27702eca6f6c975 by Jesse Barnes (on behalf of Hong Liu) on 12/05/2008 at 19:07..
modeset init code cleanup

moving modeset init code into one function and correct error
handling druing i915 init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1b9bbe2b8f2339359afa39bf27702eca6f6c975

Git commit b2dee13f5d7209b62c5e9ba8cd059717a8302fec by Jesse Barnes (on behalf of Hong Liu) on 12/05/2008 at 19:07..
free dummy read page if fail to init mm

Since drm_bo_driver_init will be called in driver_load, we need to free
what it alloced when error to avoid memory leak.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2dee13f5d7209b62c5e9ba8cd059717a8302fec

Git commit a51e38548cfdece2978e9b5f0d6f0467ba7a7272 by Jesse Barnes (on behalf of Hong Liu) on 12/05/2008 at 19:31..
fix kernel oops when removing fb

drm_crtc->fb may point to NULL, f.e X server will allocate a new fb
and assign it to the CRTC at startup, when X server exits, it will destroy
the allocated fb, making drm_crtc->fb points to NULL.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a51e38548cfdece2978e9b5f0d6f0467ba7a7272

Git commit 6950b7da7157d4d775fc09c7bc31fb0e769c4249 by Keith Packard on 12/05/2008 at 20:00..
[gem] Clarify use of explicit domain control. Remove Gen3 from I-cache usage.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6950b7da7157d4d775fc09c7bc31fb0e769c4249

Git commit 6aeff6b9e32b61beed0d5c3d871968fa6217b79d by Keith Packard on 12/05/2008 at 20:01..
[gem] Set write domain to CPU when doing pwrite.

Leave the flush call in place, which can fix domains up if necessary.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6aeff6b9e32b61beed0d5c3d871968fa6217b79d

Git commit 7e7ea313c4a38370194290d05697bdb6a746669d by Keith Packard on 12/05/2008 at 20:03..
[intel] When polling for ring space, sleep for a lot longer (10ms)

If the ring is full, the engine will surely be running for more than 10ms.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e7ea313c4a38370194290d05697bdb6a746669d

Git commit 17e8000ac046e912bf02649e67165cafed270e2e by Keith Packard on 12/05/2008 at 20:04..
[intel] Minor kludge -- wait for the ring to be nearly empty before queuing

No need to fill the ring that much; wait for it to become nearly empty
before adding the execbuffer request. A better fix will involve scheduling
ring insertion in the irq handler.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17e8000ac046e912bf02649e67165cafed270e2e

Git commit f650d7240a5b6eea8e605734f1211c20727c21d7 by Eric Anholt on 12/05/2008 at 20:17..
[GEM] Typo (and thinking) fixes in drm-gem.txt and doxygen.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f650d7240a5b6eea8e605734f1211c20727c21d7

Git commit 6e46a3c762919af05fcc6a08542faa7d185487a1 by Eric Anholt on 12/05/2008 at 22:42..
[GEM] Update testcases for new API.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e46a3c762919af05fcc6a08542faa7d185487a1

Git commit d32ce7f621c0d8e42cdf88ce6f1d15638a3d34b7 by Jesse Barnes on 12/05/2008 at 22:47..
i915: TV hotplug fixes

In order to avoid recursive ->detect->interrupt->detect->interrupt->...
we need to disable TV hotplug interrupts in
intel_tv.c:intel_tv_detect_type.  We also need to enable the TV interrupt
detection and hotplug sequence properly in i915_irq.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d32ce7f621c0d8e42cdf88ce6f1d15638a3d34b7

Git commit 5be53a0881c5248146c585015bf60bb2958773af by Jakob Bornecrantz on 13/05/2008 at 07:26..
i915: execbuf now works without i915_dma_init being called
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5be53a0881c5248146c585015bf60bb2958773af

Git commit ee631e1b8604a176b9118396998ce5bfc6475dae by Jesse Barnes on 13/05/2008 at 21:44..
i915: register definition & header file cleanup

It would be nice if one day the DRM driver was the canonical source for
register definitions and core macros.  To that end, this patch cleans
things up quite a bit, removing redundant definitions (some with
different names referring to the same register) and generally tidying up
the header file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee631e1b8604a176b9118396998ce5bfc6475dae

Git commit e4f29968f4860008c13635fa0891cb535e672b93 by Jesse Barnes on 13/05/2008 at 21:47..
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4f29968f4860008c13635fa0891cb535e672b93

Git commit caace3692f3121dcc18fa5e9260ffe1a4abbb943 by Alex Deucher on 14/05/2008 at 01:02..
RS4xx: separate out RS400 and RS480 IGP chips

RS400 (intel based IGP) and RS480 (AMD based IGP) have
different MC and GART setups.  Currently we only support
RS480.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/caace3692f3121dcc18fa5e9260ffe1a4abbb943

Git commit dd1f33f83cbbb9917e13f194fadda4f7066ea98a by Dave Airlie on 14/05/2008 at 12:35..
ati_pcigart: fill out 40-bit gart table support properly

Thanks to Alex for supplying this info.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd1f33f83cbbb9917e13f194fadda4f7066ea98a

Git commit bc0836e12a9790f1cc83f8bc29bc05043c4bc840 by Dave Airlie on 14/05/2008 at 12:42..
ati_pcigart: fixup properly this version might even work
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc0836e12a9790f1cc83f8bc29bc05043c4bc840

Git commit 2712cdeec319d73187a6cccb06522a4125eef619 by Dave Airlie on 14/05/2008 at 12:43..
Revert "ati_pcigart: fixup properly this version might even work"

This reverts commit bc0836e12a9790f1cc83f8bc29bc05043c4bc840.

tree has some kref hacks in it - oops
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2712cdeec319d73187a6cccb06522a4125eef619

Git commit 4c6ec02eb8b1a5723f1a00dc420740d440a9ee0d by Dave Airlie on 14/05/2008 at 12:44..
ati_pcigart: stop working in the evenings you mess up too often
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c6ec02eb8b1a5723f1a00dc420740d440a9ee0d

Git commit a09c0bbe11004a020d0fac47f7517db55fb91754 by Dave Airlie on 14/05/2008 at 12:48..
ati_pcigart: oops wrong way around not that it actually mattered
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a09c0bbe11004a020d0fac47f7517db55fb91754

Git commit aafafe507ba6d073bad25b74c808b73c428db67f by Eric Anholt on 15/05/2008 at 18:59..
[gem] typo fix in comment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aafafe507ba6d073bad25b74c808b73c428db67f

Git commit 3ab152da66f6c7bcc68a13efcf4a62800354f13b by Eric Anholt on 15/05/2008 at 18:59..
[gem] Rename the GTT LRU lists to active (executing) and inactive (idle).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ab152da66f6c7bcc68a13efcf4a62800354f13b

Git commit 7dced2f33a952ad12aafb7a3e34747156020a3ae by Eric Anholt on 16/05/2008 at 01:45..
[gem] Hold dev->struct_mutex to protect structure data.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dced2f33a952ad12aafb7a3e34747156020a3ae

Git commit 83996561061b99bb490fa0692a491ac9e51245a1 by Dave Airlie on 17/05/2008 at 00:22..
r500: add more register ranges for Mesa driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83996561061b99bb490fa0692a491ac9e51245a1

Git commit 6c3ac484b049681f9f3e692f9a6238ed122a8191 by Eric Anholt on 20/05/2008 at 17:52..
[gem] Clean up active/inactive list handling using helper functions.

Additionally, a boolean active field is added to indicate which list an
object is on, rather than smashing last_rendering_cookie to 0 to show
inactive.  This will help with flush-reduction later on, and makes the code
clearer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c3ac484b049681f9f3e692f9a6238ed122a8191

Git commit ab36a6f983107971890e81473452b3f0313fb692 by Eric Anholt on 20/05/2008 at 17:53..
[gem] Rename sequence numbers from "cookie" to "seqno"
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab36a6f983107971890e81473452b3f0313fb692

Git commit af8e087157ef5034fa12d93202037f87da61355d by Eric Anholt on 20/05/2008 at 21:16..
[gem] Use a separate sequence number field from classic/ttm

This lets us get some qualities we desire, such as using the full 32-bit
range (except zero), avoiding DRM_WAIT_ON, and a 1:1 mapping of active
sequence numbers to request structs, which will be used soon for throttling
and interrupt-driven list cleanup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af8e087157ef5034fa12d93202037f87da61355d

Git commit 91c6c4b2403caca80273e8010e9ced74cf900be3 by Dave Airlie on 21/05/2008 at 11:27..
rs690/r500: vblank support.

The new display controller has the vblank interrupts in a different place.

Add support for vbl interrupts for these chips
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91c6c4b2403caca80273e8010e9ced74cf900be3

Git commit f8e38e49dd70bf4a5ef97c29f0c405a1fc5023f5 by Eric Anholt (on behalf of Keith Packard) on 21/05/2008 at 22:00..
[intel-gem] invalidate ring locals for pin/unpin/set_domain/free functions

Ring locals must be reloaded from hardware in case the X server ran.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8e38e49dd70bf4a5ef97c29f0c405a1fc5023f5

Git commit 7078978db0e014a2621984f6c67ca65fa4f23f3a by Eric Anholt on 21/05/2008 at 22:04..
[gem] Hold a reference on the object in i915_gem_wait_space.

Otherwise, in the middle of the function called using it the last ref
might disappear.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7078978db0e014a2621984f6c67ca65fa4f23f3a

Git commit 54fa32cdfe1529023324a0a261ee5d4e033f46ea by Eric Anholt on 21/05/2008 at 22:15..
[gem] Fix bad test for list_for_each completion.

Since it's a circular list, the entry won't be NULL at termination.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54fa32cdfe1529023324a0a261ee5d4e033f46ea

Git commit d6f796857780fc54641047e2aa4e7091376928eb by Eric Anholt on 21/05/2008 at 23:40..
[gem] Replace ring throttling hack with actual time measurement.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6f796857780fc54641047e2aa4e7091376928eb

Git commit e8320a716d97504d91299d20d640b847c86e4b17 by Jesse Barnes (on behalf of Hong Liu) on 22/05/2008 at 17:34..
i915: init bo mm at driver init only when modeset=1

To avoid bo memory manager being inited twice, it will be called
at firstopen when modeset is not enabled.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8320a716d97504d91299d20d640b847c86e4b17

Git commit 1cde3cc1ac467eb0527ed55127cf3bb983afde80 by Jesse Barnes (on behalf of Hong Liu) on 22/05/2008 at 17:35..
i915: check dummy page before freeing

The dummy read page will point to NULL if drm_bo_driver_init failed at
firstopen (modeset is not enabled), and will cause kernel oops at
subsequent drm_lastclose call, so be sure to check it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cde3cc1ac467eb0527ed55127cf3bb983afde80

Git commit 74a9ea896e4c3f4bb3c7195872755ad40da30828 by Dave Airlie on 22/05/2008 at 23:40..
drm: fix nouveau warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74a9ea896e4c3f4bb3c7195872755ad40da30828

Git commit 49075b678fad6c3a5cadd1af67a37332b9255ace by Dave Airlie on 22/05/2008 at 23:40..
r500: add two more register ranges for mesa driver to setup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49075b678fad6c3a5cadd1af67a37332b9255ace

Git commit 5e662f90d1143de53db866e2b8a94f1bfbe5fc51 by Eric Anholt on 23/05/2008 at 05:00..
[gem] Release GEM buffers from work task scheduled from IRQ.

There are now 3 lists.  Active is buffers currently in the ringbuffer.
Flushing is not in the ringbuffer, but needs a flush before unbinding.
Inactive is as before.  This prevents object_free → unbind →
wait_rendering → object_reference and a kernel oops about weird refcounting.

This also avoids an synchronous extra flush and wait when freeing a buffer
which had a write_domain set (such as a temporary rendered to and then from
using the 2d engine).  It will sit around on the flushing list until the
appropriate flush gets emitted, or we need the GTT space for another
operation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e662f90d1143de53db866e2b8a94f1bfbe5fc51

Git commit da3f099a7c4a18468ff84819ed39e42bec641e11 by Eric Anholt (on behalf of Keith Packard) on 23/05/2008 at 05:00..
[intel-gem] invalidate ring locals for pin/unpin/set_domain/free functions

Ring locals must be reloaded from hardware in case the X server ran.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da3f099a7c4a18468ff84819ed39e42bec641e11

Git commit a51c3a76ff415104426493a97ac686ccfe3f3926 by Eric Anholt (on behalf of Keith Packard) on 23/05/2008 at 05:00..
[intel] Add debug code to verify the cached ring tail pointer.

Recording the tail pointer in a local variable improves performance, but if
someone messes up and fails to reload at the right time, the driver will
write commands to the wrong part of the ring and scramble execution badly.

This change (available by setting I915_RING_VALIDATE to 1) checks to make
sure the cached tail pointer matches the hardware tail pointer at each ring
buffer addition, calling BUG_ON when that's not true.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a51c3a76ff415104426493a97ac686ccfe3f3926

Git commit 71b09a5f75c6063a592f7be07465761519839bcd by Eric Anholt (on behalf of Keith Packard) on 23/05/2008 at 05:00..
[intel-gem] Force ring retire by emiting flush before user-interrupt.

Commands in the ring are parsed and started when the head pointer passes by
them, but they are not necessarily finished until a MI_FLUSH happens. This
patch inserts a flush after the execbuffer (the only place a flush wasn't
already happening).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71b09a5f75c6063a592f7be07465761519839bcd

Git commit 44ed693ca6f8d19acb39174c6efada070652a027 by Eric Anholt (on behalf of Keith Packard) on 23/05/2008 at 05:00..
[gem] Use CPU domain for new or pageable objects

Newly allocated objects need to be in the CPU domain as they've just been
cleared by the CPU. Also, unmapping objects from the GTT needs to put them
into the CPU domain, both to flush rendering as well as to ensure that any
paging action gets flushed before we remap to the GTT.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44ed693ca6f8d19acb39174c6efada070652a027

Git commit 8c2b207f9b1fb1cf6df23c7ef73ca57dfb5dd459 by Keith Packard on 23/05/2008 at 06:08..
[intel-gem] Encourage multiple caches to hold read data

When reading from multiple domains, allow each cache to continue
to hold data until writes occur somewhere. This is done by
first leaving the read_domains alone at bind time (presumably the CPU read
cache contains valid data still) and then in set_domain, if no write_domain
is specified, the new read domains are simply merged into the existing read
domains.

A huge comment was added above set_domain to explain how things are
expected to work.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c2b207f9b1fb1cf6df23c7ef73ca57dfb5dd459

Git commit 9d66b3441b36e5a47ffc288ba21f2fd929e869d0 by Julien Cristau on 23/05/2008 at 09:12..
Remove the .pc directory properly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d66b3441b36e5a47ffc288ba21f2fd929e869d0

Git commit b4d8cda8e6d6ea319ab7c471d6d68b8af8693cfe by Jesse Barnes on 24/05/2008 at 01:41..
drm_mode_debug_printmodeline doesn't need struct drm_device *

Makes printing modelines from some routines easier.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4d8cda8e6d6ea319ab7c471d6d68b8af8693cfe

Git commit 9fc4ea5c00dfb91ebff893fb5092e768155cc2e2 by Jesse Barnes on 24/05/2008 at 01:42..
i915: do a better job of parsing VBIOS data

Add code to get panel modes from the VBIOS if present and check whether certain
outputs exist.  Should make our display detection code a little more robust.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fc4ea5c00dfb91ebff893fb5092e768155cc2e2

Git commit c69b81df62cb7e04f956f2cf77091216754c3632 by Keith Packard on 26/05/2008 at 03:41..
[intel-gem] replace call to jiffies_to-msec with simple inline
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c69b81df62cb7e04f956f2cf77091216754c3632

Git commit 6d1d11704ab36e4ee50b2c1d3b984ab6bb691417 by Keith Packard on 26/05/2008 at 03:44..
[intel-gem] Compute npages instead of nbytes in flush_pwrite

i915_gem_flush_pwrite optimizes short writes to the buffer by clflushing
only the modified pages, but it was miscomputing the number of pages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d1d11704ab36e4ee50b2c1d3b984ab6bb691417

Git commit 7cf3fd29fe058a0bfc2ba7e889d1b360398be161 by Keith Packard on 26/05/2008 at 03:45..
[intel-gem] Add DRM_I915_GEM_BUSY ioctl to check for idle buffers.

This new ioctl returns whether re-using the buffer would force a wait.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cf3fd29fe058a0bfc2ba7e889d1b360398be161

Git commit d434b64f6a760d85295e32298a9a1f3624ee1b69 by Keith Packard on 26/05/2008 at 10:25..
[i915] leave interrupts masked off when not in use.

The interrupt enable register cannot be used to temporarily disable
interrupts, instead use the interrupt mask register.

Note that this change means that a pile of buffers will be left stuck on the
chip as the final interrupts will not be recognized to come and drain things.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d434b64f6a760d85295e32298a9a1f3624ee1b69

Git commit 1f4e36081bd6ff7d7b53a62e0c8db7c0f82edf99 by Keith Packard on 27/05/2008 at 00:41..
[intel-gem] Must hold DRM lock while setting object domain

Object domain transfer can involve adding flush ops to the request queue,
and so the DRM lock must be held to avoid having the X server smash pointers
badly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f4e36081bd6ff7d7b53a62e0c8db7c0f82edf99

Git commit ad8eb0ed01d96cc16cdafd3b48c0f0cd73d315b4 by Eric Anholt on 27/05/2008 at 21:25..
[FreeBSD] Convert from drm_device_t to struct drm_device for consistency.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad8eb0ed01d96cc16cdafd3b48c0f0cd73d315b4

Git commit 8cd045079e21093437b99cb150b97403e945d2c2 by Eric Anholt (on behalf of Robert Noland) on 27/05/2008 at 21:25..
[FreeBSD] Add vblank-rework support and get drivers building.

The i915 driver now works again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cd045079e21093437b99cb150b97403e945d2c2

Git commit e45f95a03b7242115030a74ab27b142bc5c004c4 by Eric Anholt (on behalf of Jie Luo) on 27/05/2008 at 21:55..
[i915] Fix typo in (unused) START_ADDR definition.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e45f95a03b7242115030a74ab27b142bc5c004c4

Git commit 200ac59573b43abd112d27a1ddda3c124ba9db2a by Eric Anholt (on behalf of Owain Ainsworth) on 27/05/2008 at 21:59..
[BSD] Remove superfluous recursive locking in drm_add_magic.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/200ac59573b43abd112d27a1ddda3c124ba9db2a

Git commit 9a2ae28fbe0e1e5cce0a5d89fbcc84fbdba1206e by Eric Anholt (on behalf of Owain Ainsworth) on 27/05/2008 at 22:07..
[BSD] Fix lock leaks in error paths in drm_bufs.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a2ae28fbe0e1e5cce0a5d89fbcc84fbdba1206e

Git commit cc7ad27fe414cdf87b7561778a766a012541f116 by Eric Anholt (on behalf of Owain Ainsworth) on 27/05/2008 at 22:11..
[BSD] Fix lock leak in drm_update_draw malloc failure path.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc7ad27fe414cdf87b7561778a766a012541f116

Git commit df127c303d944720937fa6b54a8a9f84bc2fe518 by Eric Anholt (on behalf of Owain Ainsworth) on 27/05/2008 at 22:12..
[BSD] Move unlock in drm_vm.c from accidental platform #ifdeffing.

Also remove an unreachable unlock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df127c303d944720937fa6b54a8a9f84bc2fe518

Git commit 59c953245c583bb1062d3a8409a9b615a3a19654 by Alex Deucher on 27/05/2008 at 22:34..
RADEON: add get_param for number of GB pipes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59c953245c583bb1062d3a8409a9b615a3a19654

Git commit c06096d34fa4afb3f24d610ccfb385f92dbc1e83 by Dave Airlie on 28/05/2008 at 00:02..
radeon: bump release date/version for r500 3D support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c06096d34fa4afb3f24d610ccfb385f92dbc1e83

Git commit 0c8a8db1b6c97dd0fad18bd72a1bc56e2a673a10 by Dave Airlie on 28/05/2008 at 00:28..
i915: fix BSD bh, DRI2 not uses anywhere else
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c8a8db1b6c97dd0fad18bd72a1bc56e2a673a10

Git commit e10502002f0ebb2b56b19384b2f2eae7a7a84512 by Eric Anholt on 28/05/2008 at 01:03..
[intel-gem] Replace idlelock usage with real lock acquisition.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e10502002f0ebb2b56b19384b2f2eae7a7a84512

Git commit 5b86823fa36513f521412a38c240cb18f02dcc9a by Dave Airlie on 28/05/2008 at 01:12..
radeon: split microcode out into a separate header file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b86823fa36513f521412a38c240cb18f02dcc9a

Git commit c28c1cf756979cebb67ffd64bc29ba371f1a9c4b by Dave Airlie on 28/05/2008 at 05:08..
libdrm: make a branch for libdrm which drops all the TTM apis.

This will be the next release of libdrm as 2.3.1, Mesa needs to deal with this for 7.1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c28c1cf756979cebb67ffd64bc29ba371f1a9c4b

Git commit f892b4adf4021e82a7d4f2eb06256d6f4200ed15 by Dave Airlie on 28/05/2008 at 05:31..
remove include
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f892b4adf4021e82a7d4f2eb06256d6f4200ed15

Git commit 070755af3fecefb6b09e8ef98738e4926e4148a7 by Jesse Barnes on 28/05/2008 at 15:24..
i915: unmap BIOS when we're done with it

At the moment, we only read it at startup time, so we can just unmap it there
when we're done.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/070755af3fecefb6b09e8ef98738e4926e4148a7

Git commit 3a3f39d144c47ce937d6924d344a9ad3d82a2db5 by Alan Hourihane on 28/05/2008 at 20:01..
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

	shared-core/i915_dma.c
	shared-core/i915_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a3f39d144c47ce937d6924d344a9ad3d82a2db5

Git commit ee5afc63428488c9c39e5ecd7d8cdc646a7b65b7 by Dave Airlie on 29/05/2008 at 03:58..
modeset: disable radeon ms by default

as I'm going to break it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee5afc63428488c9c39e5ecd7d8cdc646a7b65b7

Git commit df8cd54286fbae5903d8ede390ec4a11cb6c4b6c by Dave Airlie on 29/05/2008 at 04:02..
modesetting: reorganise code into core and helper functions.

This splits a lot of the core modesetting code out into a file of
helper functions, that are only called from themselves and/or the driver.

The driver gets called into more often or can call these functions from itself
if it is a helper using driver.

I've broken framebuffer resize doing this but I didn't like the API for that
in any case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df8cd54286fbae5903d8ede390ec4a11cb6c4b6c

Git commit 19ff3366e4ed591741af4bcf49991823115bdb17 by Eric Anholt (on behalf of Keith Packard) on 29/05/2008 at 06:56..
[intel-gem] Clean up active/inactive/flushing list debugging.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19ff3366e4ed591741af4bcf49991823115bdb17

Git commit 3b1e4e6dc38029e697afb8e6ec81ebbed7adf442 by Eric Anholt on 29/05/2008 at 19:53..
[intel-gem] Write the presumed_offset back out after updating it.

Otherwise, 965 constant state buffers get re-relocated every exec.  Ouch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b1e4e6dc38029e697afb8e6ec81ebbed7adf442

Git commit 98c5cf7f6fc51f1a8f5f90b3895009cd38dd8f22 by Dave Airlie on 30/05/2008 at 01:25..
modesetting: reorganise out crtc/outputs are allocated.

Use subclassing from the drivers to allocate the objects. This saves
two objects being allocated for each crtc/output and generally makes
exit paths cleaner.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98c5cf7f6fc51f1a8f5f90b3895009cd38dd8f22

Git commit 9654c776fda55d6420a14449bf2e274839c444a6 by Dave Airlie on 30/05/2008 at 01:47..
drm/modesetting: add initial encoder structures and setup functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9654c776fda55d6420a14449bf2e274839c444a6

Git commit 6b970f193b69a912183dcbf85b9dc51ec99aeefe by Dave Airlie on 30/05/2008 at 01:48..
drm: remove unused init func from outputs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b970f193b69a912183dcbf85b9dc51ec99aeefe

Git commit 8ae82f3a2feb8b8fe56214c4c9e806bf1f87cbf8 by Dave Airlie on 30/05/2008 at 02:03..
drm: add encoder / get encoder to the modesetting resources interface
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ae82f3a2feb8b8fe56214c4c9e806bf1f87cbf8

Git commit 16a8f824face8067029ef6f3d10f1723d87b23f6 by Dave Airlie on 30/05/2008 at 02:10..
libdrm: add encoder retrival
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/16a8f824face8067029ef6f3d10f1723d87b23f6

Git commit fae2c17b313e2838652c32ea4a576172b4063639 by Dave Airlie on 30/05/2008 at 02:14..
drm: add more encoder interfaces
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fae2c17b313e2838652c32ea4a576172b4063639

Git commit b72419a8f74bfb1d3b6a5ca1d8f6dfa3c6a84e86 by Dave Airlie on 30/05/2008 at 02:19..
drm: add encoder ids to the output handling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b72419a8f74bfb1d3b6a5ca1d8f6dfa3c6a84e86

Git commit 6b5592790dcaed503bec8f441eab52d22b76d7c1 by Dave Airlie on 30/05/2008 at 02:20..
drm: add red hat copyright.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b5592790dcaed503bec8f441eab52d22b76d7c1

Git commit 1542492b797fbdf4970e0213827e2f9887d6174d by Dave Airlie on 30/05/2008 at 02:24..
drm: init the encoder list/count
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1542492b797fbdf4970e0213827e2f9887d6174d

Git commit 514147e3f3180b46d3e9e6e906580fe232d4ad26 by Dave Airlie on 30/05/2008 at 02:29..
drm: add encoder free function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/514147e3f3180b46d3e9e6e906580fe232d4ad26

Git commit 4403c59b76c55c9c430decac8bc76e4230a253ab by Dave Airlie on 30/05/2008 at 03:22..
tests: add basic encoder reading to test
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4403c59b76c55c9c430decac8bc76e4230a253ab

Git commit 9239cf511f65a43eb578fbb6a7c5255e05db2101 by Dave Airlie on 30/05/2008 at 03:31..
drm: add encoder attach/detach
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9239cf511f65a43eb578fbb6a7c5255e05db2101

Git commit 1c4b25a2b1c31df190eab173128702d1b5871906 by Dave Airlie on 30/05/2008 at 03:49..
drm: fix a couple of bugs in the encoder return to userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c4b25a2b1c31df190eab173128702d1b5871906

Git commit 6aeef92c0cad784a5019ea90d97ab81f4e51fdd9 by Dave Airlie on 30/05/2008 at 03:57..
drm: attach an encoder.

Time to do some renaming on the connectors I think
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6aeef92c0cad784a5019ea90d97ab81f4e51fdd9

Git commit 9d38448ed33aaff324cc4bbe1e0878593e97d07d by Dave Airlie on 30/05/2008 at 05:10..
modesetting: the great renaming.

Okay we have crtc, encoder and connectors.

No more outputs exposed beyond driver internals

I've broken intel tv connector stuff.
Really for TV we should have one TV connector, with a sub property for the
type of signal been driven over it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d38448ed33aaff324cc4bbe1e0878593e97d07d

Git commit 30fc88fdf9084ffcb9e76acbdee95d9691ac4ba4 by Dave Airlie on 30/05/2008 at 05:18..
modesetting: drop crtcs/clones from the connectors
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30fc88fdf9084ffcb9e76acbdee95d9691ac4ba4

Git commit 5d47185eb69d73dd7e6ee3ddde4d0c7642c2d5b7 by Dave Airlie on 30/05/2008 at 05:32..
drm: switch possible crtc/clones over to encoders
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d47185eb69d73dd7e6ee3ddde4d0c7642c2d5b7

Git commit d9066a28b95e1a74e9f6ebac8e71e07fca321cd1 by Julien Cristau on 30/05/2008 at 09:54..
xsfbs.sh: add remove_conffile_lookup

This variant of remove_conffile_prepare looks for the given conffile's
canonical md5sum in dpkg's status database itself instead of using
provided values.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9066a28b95e1a74e9f6ebac8e71e07fca321cd1

Git commit dcf4204d5328834172df80951a18de014b0f74ef by Julien Cristau on 30/05/2008 at 10:26..
xsfbs.sh: use 'local' now that policy allows it

Policy 3.7.3 allows /bin/sh scripts to use 'local'.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dcf4204d5328834172df80951a18de014b0f74ef

Git commit 6e8a2cff66ac0d6afaf9bb233bc81449c2014078 by Dave Airlie on 30/05/2008 at 10:27..
r500: attempt to make AGP work by programming agp base in the MC correctly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e8a2cff66ac0d6afaf9bb233bc81449c2014078

Git commit efb48c6cf7bbb57e7b2ea6ce7671905e84384963 by Kristian Høgsberg on 30/05/2008 at 18:24..
Fix ivch i2c read function to use the "special" i2c format.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efb48c6cf7bbb57e7b2ea6ce7671905e84384963

Git commit 4f92ed34270ae4afaa0ddba38d227c6e359bcc98 by Eric Anholt on 30/05/2008 at 19:42..
[intel-gem] Add an option to check GTT versus CPU coherency at execbuf time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f92ed34270ae4afaa0ddba38d227c6e359bcc98

Git commit 50bce2bc625deb439dd61f504496dddd0cd4f572 by Eric Anholt on 30/05/2008 at 20:47..
[intel-gem] Only update obj->write_domain if we're actually changing it.

The problem was revealed where on 965, the display list vertex buffer would see:

create		      -> (CPU, CPU)
set_domain (CPU, CPU) -> (CPU, CPU)
set_comain (CPU, 0)   -> (CPU, 0) (no clflush occurred)
execbuf	   (GPU, 0)   -> (CPU+GPU, 0) (still no clflush)

instead of:

create		      -> (CPU, CPU)
set_domain (CPU, CPU) -> (CPU, CPU)
set_comain (CPU, 0)   -> (CPU, CPU)
execbuf	   (GPU, 0)   -> (CPU+GPU, 0) (clflushed)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50bce2bc625deb439dd61f504496dddd0cd4f572

Git commit 461bfa3da6f85b85c21cd84f81bb4eefa5481418 by Eric Anholt on 30/05/2008 at 21:42..
Merge commit 'origin/master' into drm-gem

Conflicts:

	linux-core/Makefile.kernel
	shared-core/i915_drv.h
	shared-core/nouveau_state.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/461bfa3da6f85b85c21cd84f81bb4eefa5481418

Git commit a12cbf8aa5cf21d30bd2c798ff059cb1ba92b382 by Alex Deucher on 30/05/2008 at 22:20..
RADEON: fix typo in last commit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a12cbf8aa5cf21d30bd2c798ff059cb1ba92b382

Git commit 4c2fb5aa80a15b5a9a9b51b03c7dc30496a22561 by Brice Goglin on 31/05/2008 at 11:23..
Update xsfbs/quilt patching rules to be compatible with the
"3.0 (quilt)" source package.

Thanks to Raphael Hertzog.
See http://lists.debian.org/debian-x/2008/05/msg01250.html for details.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c2fb5aa80a15b5a9a9b51b03c7dc30496a22561

Git commit 2186f9f6eff4b3b4f605d35a030c0910646865ab by Eric Anholt (on behalf of Robert Noland) on 01/06/2008 at 19:07..
[FreeBSD] Call drm_vblank_cleanup during irq uninstall

I needed to re-arrange some functions for this.
Also needed to call DRM_SPINUNINIT on the vbl_lock during cleanup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2186f9f6eff4b3b4f605d35a030c0910646865ab

Git commit ac4da869285173ad0ac947bdf41ffe10efe21c05 by Eric Anholt (on behalf of Robert Noland) on 01/06/2008 at 19:07..
[FreeBSD] Add symlink for radeon_microcode.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac4da869285173ad0ac947bdf41ffe10efe21c05

Git commit e439e74776b215d70d8e34e8aa9cea22179dcbc6 by Dave Airlie on 02/06/2008 at 00:05..
drm/modesetting: another re-org of some internals.

Move dpms into the helper functions.
Move crtc into the encoder.
Move disable unused functions into the helper.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e439e74776b215d70d8e34e8aa9cea22179dcbc6

Git commit dba95ec34315d62934ff0e493e085aa6a03cde7c by Dave Airlie on 02/06/2008 at 00:41..
drm: fixup some interfaces so test code works again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dba95ec34315d62934ff0e493e085aa6a03cde7c

Git commit 0dd000b578adec6ff101c957bce7dc9a32b76713 by Dave Airlie on 02/06/2008 at 01:12..
drm/modesetting: move some connector functions to helper.

Migrated the output mode collection into the helper.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dd000b578adec6ff101c957bce7dc9a32b76713

Git commit 46c78a2223802b9105a87b7125fd4872ab69c4ca by Dave Airlie on 02/06/2008 at 01:44..
drm/modesetting: add best encoder finding for modesetting

This asks the driver to suggest the best encoder for the connector
during the pick crtcs stage.

Need to also do this during mode setting stages
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46c78a2223802b9105a87b7125fd4872ab69c4ca

Git commit 7fec6c0e2a2457925b88ed3bd70d9defde77b81b by Dave Airlie on 02/06/2008 at 02:57..
drm: fixup encoder picking in set_config stage
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fec6c0e2a2457925b88ed3bd70d9defde77b81b

Git commit eba6cdc936cb33d929997ccb9bade6f75bb40670 by Dave Airlie on 02/06/2008 at 02:58..
Merge branch 'modesetting-101-encoders' into modesetting-101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eba6cdc936cb33d929997ccb9bade6f75bb40670

Git commit 4ce47fd328cd885d66abdd42db1f7c054bd44498 by Eric Anholt (on behalf of Robert Noland) on 02/06/2008 at 03:33..
[FreeBSD] Get rid of vbl_lock and re-use irq_lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ce47fd328cd885d66abdd42db1f7c054bd44498

Git commit 416754f1cc5a55b1c6b2d2fa2f501b18462d62e6 by Eric Anholt (on behalf of Robert Noland) on 02/06/2008 at 03:33..
[FreeBSD] Declare vblank_disable_fn callout MPSAFE.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/416754f1cc5a55b1c6b2d2fa2f501b18462d62e6

Git commit 4e7b24639808e5e1e2c05143028db1a3bc2812e9 by Dave Airlie on 02/06/2008 at 04:04..
drm: add functions to get/set gamma ramps
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e7b24639808e5e1e2c05143028db1a3bc2812e9

Git commit c321bc4f9280fe93e2df2b1c47e13cba7499e486 by Dave Airlie on 02/06/2008 at 04:33..
drm: only report framebuffers available on this fd.

Not 100% sure this is a good idea, but I think I'd rather things
communicate with bo handles not fb ids.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c321bc4f9280fe93e2df2b1c47e13cba7499e486

Git commit 50d3e5bd020d0b6877a5fef441408f16e31121cd by Dave Airlie on 02/06/2008 at 06:19..
drm/modesetting: redo object handles around a core object.

handle crtc/encoders/connectors/fb/mode/property/blob using this system.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50d3e5bd020d0b6877a5fef441408f16e31121cd

Git commit 149b17311ad5f117e8f53a7a8cc032e369b95ed2 by Dave Airlie on 02/06/2008 at 06:45..
drm: initial mode object groups.

This creates a default group attached to the legacy drm minor nodes.

It covers all the objects in the set. make set resources only return
objects for this set. Need to fix up other functions to only work on
objects in their allowed set.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/149b17311ad5f117e8f53a7a8cc032e369b95ed2

Git commit dc022084cda0a5558f033c3caa657d5af84ef544 by Alan Hourihane on 02/06/2008 at 09:03..
Fix warnings
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc022084cda0a5558f033c3caa657d5af84ef544

Git commit 3ed17803d826b10f8f94d09acf12877e9738823c by Alan Hourihane on 02/06/2008 at 09:44..
more checks for NULL encoder so we don't segfault.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ed17803d826b10f8f94d09acf12877e9738823c

Git commit 1cb2940a252f970bad0f88a5f14b4d39ea53ef1f by Keith Packard on 02/06/2008 at 17:59..
[intel-gem] Propagate set_domain errors.

set_domain can block waiting for rendering to complete. If that process is
interrupted by a signal, it can return -EINTR. Catch this error in all
callers and correctly deal with the result.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cb2940a252f970bad0f88a5f14b4d39ea53ef1f

Git commit 867c2bb461e4bf7765fdbf502f625b739ceecb96 by Keith Packard on 02/06/2008 at 19:37..
[intel-gem] reloc_and_validate_object → object_bind_and_relocate

Just renaming this function and related parameters to match terminology used
elsewhere in the driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/867c2bb461e4bf7765fdbf502f625b739ceecb96

Git commit f1e12d40af6ce9b6159c28529bcbdc877c565c82 by Dave Airlie on 03/06/2008 at 02:44..
drm/ati_pcigart: use proper page mapping function

This should be pci_map_page not pci_map_single
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1e12d40af6ce9b6159c28529bcbdc877c565c82

Git commit d5ae19ebcf2dc6402872e0575b5786b6e8117b6f by Dave Airlie on 03/06/2008 at 02:44..
drm: sg alloc should write back the handle to userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5ae19ebcf2dc6402872e0575b5786b6e8117b6f

Git commit 6b520005c6714d8a8afa68b8a43065a40da298cc by Michel Dänzer on 03/06/2008 at 09:27..
Revert "don't copy back if an error was returned."

This reverts commit 6671ad1917698b6174a1af314b63b3800d75248c.

The vblank ioctl needs to update the userspace parameters when interrupted by
a signal, which was prevented by this. Let's see if this breaks other ioctls...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b520005c6714d8a8afa68b8a43065a40da298cc

Git commit 0144ebeb8a713b1420d35004075037cd4b0495a1 by Michel Dänzer on 03/06/2008 at 09:28..
vblank: Don't return current sequence number and time if interrupted by signal.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0144ebeb8a713b1420d35004075037cd4b0495a1

Git commit d1dcb2b32e0c51d7cbcaa2ba1e0544452cf8f47b by Michel Dänzer on 03/06/2008 at 09:28..
vblank: Special-case driver vblank counter going back by 1.

Turns out the radeon driver is affected by the same problem that prompted i915
to revert to less useful counter flipping at the end of the vblank interval. In
the long term, we can hopefully implement more reliable methods to achieve
counter flipping at the beginning of vblank, but otherwise this should be an
acceptable workaround.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1dcb2b32e0c51d7cbcaa2ba1e0544452cf8f47b

Git commit 237172b7670611b36d92be3b92983674846f6564 by Michel Dänzer on 03/06/2008 at 09:28..
vblank: Clean up compensation for spurious wraparounds of driver counter.

Only compensate when the driver counter actually appears to have moved
backwards.

The compensation deltas need to be incremental instead of absolute; drop the
vblank_offset field and just use atomic_sub().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/237172b7670611b36d92be3b92983674846f6564

Git commit ba7263b8c2f8c14c647da725ecbc73fcd456d63c by Michel Dänzer on 03/06/2008 at 09:28..
vblank: Don't wait or update the counter while the CRTC is supposedly disabled.

Without kernel modesetting, this requires cooperation of the userspace
modesetting driver. We may have to leave the vblank interrupt enabled otherwise
to avoid problems.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba7263b8c2f8c14c647da725ecbc73fcd456d63c

Git commit 6a9eb08a872ac0388aad2c901888888964f14559 by Eric Anholt on 03/06/2008 at 21:44..
Import bufmgr code to libdrm.  Not yet hooked up to the build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a9eb08a872ac0388aad2c901888888964f14559

Git commit c4857429c716f35e1fa054d1990cae28055d96d7 by Eric Anholt on 03/06/2008 at 21:44..
Fix and hook up bufmgr code to the build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4857429c716f35e1fa054d1990cae28055d96d7

Git commit 8a3b510405f9fc6c920c456e3481bddd296a2af7 by Eric Anholt on 03/06/2008 at 21:44..
Fix libdrm to actually include the new code instead of just building it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a3b510405f9fc6c920c456e3481bddd296a2af7

Git commit 40229b6ad539cebad5ebe8ca373796ca2422efdb by Dave Airlie on 04/06/2008 at 00:36..
drm: make mode comparison more betterer.

This compares the clocks after converting to fb pico timings so we
get the same answer if the X and fb modes are the same.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40229b6ad539cebad5ebe8ca373796ca2422efdb

Git commit 76a44f14d6339e5bc0c936ef4a360f6c152511bd by Dave Airlie on 04/06/2008 at 01:59..
drm/modesetting: overhaul the fb create/delete.

Move TTM code into the driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76a44f14d6339e5bc0c936ef4a360f6c152511bd

Git commit fd27591c6cadd2a868f4110b8993a86c37837d3e by Dave Airlie on 04/06/2008 at 03:00..
drm/modesetting: pass object handle to driver !bo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd27591c6cadd2a868f4110b8993a86c37837d3e

Git commit 58aca7485a4cd9fcccc6e4044325048abcc2f9c7 by Dave Airlie on 04/06/2008 at 03:03..
drm: remove sysfs in driver for now.. should probably be in helper
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58aca7485a4cd9fcccc6e4044325048abcc2f9c7

Git commit 8690ad8ae0778f2ccd8b428e1c6a8614ebc51707 by Dave Airlie on 04/06/2008 at 03:09..
drm/modesetting: bo not used anymore
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8690ad8ae0778f2ccd8b428e1c6a8614ebc51707

Git commit 8e4c61e52651c47f3d9fbbe5e80455baff0de2bb by Dave Airlie on 04/06/2008 at 03:09..
intel: use kzalloc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e4c61e52651c47f3d9fbbe5e80455baff0de2bb

Git commit 9f31bd09c1e748f72a30f6a0861cd72d93258992 by Dave Airlie on 04/06/2008 at 03:16..
drm/sysfs: don't try an unregister if not registered
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f31bd09c1e748f72a30f6a0861cd72d93258992

Git commit 382aa3ceeb79165a9bdddc8f944de131c8cbf2dd by Dave Airlie on 04/06/2008 at 03:50..
drm: introduce generation counter to interface.

Idea being if you want to add new crtc/output/encoder dynamically later,
you just increase the generation counter and userspace should re-read
all the resources
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/382aa3ceeb79165a9bdddc8f944de131c8cbf2dd

Git commit 9390bdab7cce67ad0eb8103da8782aec7bfad017 by Dave Airlie on 04/06/2008 at 03:53..
libdrm: shouldn't rely on this
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9390bdab7cce67ad0eb8103da8782aec7bfad017

Git commit 0903de0c8f7d2566c1bd65600142a71572eec07e by Keith Packard on 04/06/2008 at 04:49..
Drop struct_mutex while waiting in drm_client_lock_take

struct_mutex cannot be held while blocking on DRM lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0903de0c8f7d2566c1bd65600142a71572eec07e

Git commit a8725d95bc2b51500ff56c4e6365408d15f3bc6e by Dave Airlie on 04/06/2008 at 05:17..
intel: report a known connector
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8725d95bc2b51500ff56c4e6365408d15f3bc6e

Git commit cf1964f971cc298ece91064953f7d00ed13e541d by Dave Airlie on 04/06/2008 at 05:17..
drm: fix hotplug oops
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf1964f971cc298ece91064953f7d00ed13e541d

Git commit 52183fb05b8f8db0705e230fc0b8a436512759a1 by Jesse Barnes on 04/06/2008 at 16:38..
Fix crash in drm_mode_connector_update_edid_property

We need to initialize the edid_blob_ptr to NULL when we init a connector,
otherwise drm_mode_connector_update_edid_property may think there's a valid
EDID lying around and try to destroy it, causing a crash.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52183fb05b8f8db0705e230fc0b8a436512759a1

Git commit e90716671d7a5dabf13c22a339f750dba77f438a by Jesse Barnes on 04/06/2008 at 19:50..
i915: use kzalloc to allocate intel_output for lvds

Better to initialize all the struct fields to 0.  Also more consistent with
other output init routines.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e90716671d7a5dabf13c22a339f750dba77f438a

Git commit 967bd219116a4f20aec828b890a225d2f92afd0b by Dave Airlie on 05/06/2008 at 01:11..
modesetting: initial attempt at debonging fb
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/967bd219116a4f20aec828b890a225d2f92afd0b

Git commit 1d980669e6d448e15c61507d81552c532b93bcd8 by Dave Airlie on 05/06/2008 at 01:20..
modesetting: add surface width/heights
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d980669e6d448e15c61507d81552c532b93bcd8

Git commit 1495dd31d60e588743f20a9e470c8b0045313e7c by Dave Airlie on 05/06/2008 at 01:24..
modesetting: use surface width height for buffer allocs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1495dd31d60e588743f20a9e470c8b0045313e7c

Git commit 56a1293184e4f628498c88e38e1601349b05ad93 by Dave Airlie on 05/06/2008 at 01:43..
modesetting: fix fb clearing up
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56a1293184e4f628498c88e38e1601349b05ad93

Git commit f73e54bbf0b97a8f5184ede64d4f263020d623ee by Dave Airlie on 05/06/2008 at 03:40..
drm: modesetting unify the hotplug init paths a lot.

remove fb callbacks, just probe into the driver to sort it out
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f73e54bbf0b97a8f5184ede64d4f263020d623ee

Git commit efcf066eff690887ace33c0f1192168a31115805 by Dave Airlie on 05/06/2008 at 05:21..
drm/modesetting: attempt to make fb code more sane
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efcf066eff690887ace33c0f1192168a31115805

Git commit b31adb005afc5553fb30aa2c1710faee299bc730 by Dave Airlie on 05/06/2008 at 05:55..
drm/modesetting: more fb interface cleanups
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b31adb005afc5553fb30aa2c1710faee299bc730

Git commit d9ead89c79732124f54b4a9dfe698bc7aad7faee by Dave Airlie on 05/06/2008 at 06:32..
drm/modeset: add more debugging and fixup some fb enable/disabe bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9ead89c79732124f54b4a9dfe698bc7aad7faee

Git commit d198e9b091e919a90895e551e48fb30d36a849ef by Eric Anholt on 05/06/2008 at 15:45..
Add a function to bufmgr_fake to evict all buffers in the GTT.

This will be used by the X Server for VT switch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d198e9b091e919a90895e551e48fb30d36a849ef

Git commit 6905c7a29d2a3bc0e605a09b98ac02a4a50893d0 by Michel Dänzer (on behalf of Dennis Kasprzyk) on 05/06/2008 at 16:23..
radeon: Restore software interrupt on resume.

Fixes performance drop after suspend/resume on some systems.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6905c7a29d2a3bc0e605a09b98ac02a4a50893d0

Git commit 03bf1fba67413f381d2a548fe08bd634a48fcc48 by Jesse Barnes on 05/06/2008 at 22:58..
sysfs registration/teardown fixups

A check in drm_sysfs_connector_remove was supposed to allow it to be called
even with unregistered objects, to make cleanup paths a little simpler.
However, device_is_regsitered didn't always seem to return what we thought it
would, so we'd sometimes end up leaving objects lying around rather than
unregistering them.

Fix this situation up by requiring devices to be registered before being
removed.  Any problems resulting from this change should be easier to track
down than the alternative (which is leaving kobjects registered after unload).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03bf1fba67413f381d2a548fe08bd634a48fcc48

Git commit 5f94172f81120c56ba07843ff860a9e265dac1f8 by Dave Airlie on 06/06/2008 at 00:31..
intel: if no spare crtc exists don't just take one.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f94172f81120c56ba07843ff860a9e265dac1f8

Git commit 25c1bb334f3a32e3e635e9d5de1abf8abdcc87f0 by Dave Airlie on 06/06/2008 at 00:39..
drm/intel: make hotplug just be an event
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25c1bb334f3a32e3e635e9d5de1abf8abdcc87f0

Git commit 8387a232a3305d10c4ac4cd08f9ebd0888944e55 by Dave Airlie on 06/06/2008 at 02:02..
intelfb: move mode sets into the intel crtcs

better place to store them.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8387a232a3305d10c4ac4cd08f9ebd0888944e55

Git commit fc08877b1759f569890665b9d24ea35d11352158 by Dave Airlie on 06/06/2008 at 04:53..
intelfb: admit fbdev is crap and punt on trying to resize to a larger fbdev.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc08877b1759f569890665b9d24ea35d11352158

Git commit e6a3a1fdadd162e3cf12e88ad13c4342f9ee23a1 by Dave Airlie on 06/06/2008 at 04:55..
intelfb: remove duplicate define
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6a3a1fdadd162e3cf12e88ad13c4342f9ee23a1

Git commit be501f00a3c91a8ae78189577873d8a6b8ea1c67 by Dave Airlie on 06/06/2008 at 05:21..
intelfb: add multi fb paths
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be501f00a3c91a8ae78189577873d8a6b8ea1c67

Git commit ec774e4d7201cf875a48cd2fb799e8e5b7f30cc8 by Dave Airlie on 06/06/2008 at 05:21..
Merge remote branch 'origin/modesetting-101' into modesetting-101-fb
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec774e4d7201cf875a48cd2fb799e8e5b7f30cc8

Git commit 00bb548c6129ee712742d0e893aaa50fc65e49fc by Dave Airlie on 06/06/2008 at 05:38..
intel: don't set the mode on the framebuffer if isn't set to scanout our framebuffer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00bb548c6129ee712742d0e893aaa50fc65e49fc

Git commit 6d4ffd12cd8d3713067adf5fa3bdcb023b0745f1 by Dave Airlie on 06/06/2008 at 06:24..
drm: fix up fb resize again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d4ffd12cd8d3713067adf5fa3bdcb023b0745f1

Git commit 118baeee1820102177f4f5bb48dd2a1e3d95d21e by Keith Packard on 06/06/2008 at 20:00..
[intel-gem] Dump error status on wait_request failure
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/118baeee1820102177f4f5bb48dd2a1e3d95d21e

Git commit 84162ccb7dc0286336292ac7f8e80678bfc11804 by Keith Packard on 06/06/2008 at 20:00..
Ignore X server provided mmio address
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84162ccb7dc0286336292ac7f8e80678bfc11804

Git commit 5f5badb26f761eec87b951ce1b7b3a51a5060c50 by Keith Packard on 06/06/2008 at 20:00..
[intel] Allocate hardware status page at driver load time

I couldn't get the re-allocated HWS to work on my 965GM, so I just gave up
and made it persist across the lifetime of the driver instead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f5badb26f761eec87b951ce1b7b3a51a5060c50

Git commit a919ff5d5ec2fe716cbf5c593be7cc0705499107 by Keith Packard on 06/06/2008 at 20:00..
[libdrm/intel] Reuse entire dri_bo_gem structure

The code was discarding the dri_bo_gem structure and saving only the kernel
handle. This lost the mmap address, causing pain when the next buffer user
wanted to map the buffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a919ff5d5ec2fe716cbf5c593be7cc0705499107

Git commit 5a55b48a410bb25666177c0ea8e5711ea2e3c795 by Keith Packard on 06/06/2008 at 20:00..
[libdrm/intel] Remove unused intel_validate_entry structure
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a55b48a410bb25666177c0ea8e5711ea2e3c795

Git commit 329e0862255e8ad27e2aa4e3755421a18ea1acc5 by Keith Packard on 06/06/2008 at 20:00..
[libdrm/intel] Eliminate extra dri_gem_bo_bucket_entry structure

Place the buffer reuse links right into the dri_bo_gem object.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/329e0862255e8ad27e2aa4e3755421a18ea1acc5

Git commit 56a96841d01d112d7d4adfebb572016398551ba8 by Keith Packard on 06/06/2008 at 20:00..
[intel-gem] Add explicit throttle ioctl

Instead of throttling and execbuffer time, have the application ask to
throttle explicitly. This allows the throttle to happen less often, and
without holding the DRM lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56a96841d01d112d7d4adfebb572016398551ba8

Git commit a708106c77f74f146722fba35eae772fb554ee9a by Keith Packard on 06/06/2008 at 20:00..
[intel] free the hardware status page at driver_unload

This goes with the other hardware status page patch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a708106c77f74f146722fba35eae772fb554ee9a

Git commit 9f46c6935d154743162c6239903a4a9e443907bc by Keith Packard on 06/06/2008 at 20:00..
[intel-gem] Use timers to retire requests periodically.

Without the user IRQ running constantly, there's no wakeup when the ring
empties to go retire requests and free buffers. Use a 1 second timer to make
that happen more often.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f46c6935d154743162c6239903a4a9e443907bc

Git commit 6cd0ef06a6c2bdcede166d9a2d0434e58e4a01f2 by Keith Packard on 06/06/2008 at 20:26..
[intel] remove settable use_mi_batchbuffer_start

The driver can know what hardware requires MI_BATCH_BUFFER vs
MI_BATCH_BUFFER_START; there's no reason to let user mode configure this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6cd0ef06a6c2bdcede166d9a2d0434e58e4a01f2

Git commit c2fc142ea7e9dd651702773efbc9c3366f977aa6 by Alan Hourihane (on behalf of Keith Packard) on 06/06/2008 at 20:54..
[intel] remove settable use_mi_batchbuffer_start

    The driver can know what hardware requires MI_BATCH_BUFFER vs
    MI_BATCH_BUFFER_START; there's no reason to let user mode configure this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2fc142ea7e9dd651702773efbc9c3366f977aa6

Git commit 500c81d194115fb3c4b97d742519689478eeb4e8 by Eric Anholt on 07/06/2008 at 00:13..
[gem] Don't forget to munmap in the non-bo-reuse object-freeing case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/500c81d194115fb3c4b97d742519689478eeb4e8

Git commit fc74c2e9d65dbd0c611e1610886df098c6e3273b by Robert Noland on 08/06/2008 at 05:53..
[FreeBSD] Go back to using vbl_lock and move init/destroy to load/unload.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc74c2e9d65dbd0c611e1610886df098c6e3273b

Git commit 93c57ff4e5d9f62be0a353222fef564dd9e59e39 by Robert Noland on 08/06/2008 at 05:53..
[FreeBSD] Remove the locks in the vblank_disable_fn

They are recursive and causing panics with witness enabled.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93c57ff4e5d9f62be0a353222fef564dd9e59e39

Git commit ec3d9960219e49e1bd24a097e04c3da88e2fcc53 by Robert Noland on 08/06/2008 at 05:53..
[FreeBSD] Forgot to call mtx_destroy on all the locks at unload.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec3d9960219e49e1bd24a097e04c3da88e2fcc53

Git commit 6d6921719c7d475856199ddbe88bbe11fc882ba6 by Robert Noland on 08/06/2008 at 05:53..
[FreeBSD] Incorporate vblank fixes for bsd.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d6921719c7d475856199ddbe88bbe11fc882ba6

Git commit 96141bd33c0d6c4b95a2adb668538ffc1103cc18 by Robert Noland on 08/06/2008 at 06:00..
[FreeBSD] We need to request busmastering support.

This seems to be the key to getting at least some radeon
cards working.  Most, if not all drivers need it enabled,
so just request it once the driver has attached.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96141bd33c0d6c4b95a2adb668538ffc1103cc18

Git commit 3b6ca4bf3f334341a158a9917ef117c23f145597 by Robert Noland on 08/06/2008 at 06:00..
[FreeBSD] Rework ati_pcigart.c

This is mostly just a diff reduction with the linux version.
I'm not convinced that it will make anything better.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b6ca4bf3f334341a158a9917ef117c23f145597

Git commit d43f3cb0974b635c1a31b839807e5a691c44b4c6 by Dave Airlie on 08/06/2008 at 19:32..
r300/r500: add hier-z regs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d43f3cb0974b635c1a31b839807e5a691c44b4c6

Git commit 116870a908edd8da02381d23694b321e8878f92e by Robert Noland on 08/06/2008 at 17:56..
I915 suspend/resume for FreeBSD
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/116870a908edd8da02381d23694b321e8878f92e

Git commit 63eb58040deff42e8272f1a580f7fd947af1b488 by Robert Noland on 09/06/2008 at 03:46..
Fix typo in i915_suspend

Reported by vehemens
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63eb58040deff42e8272f1a580f7fd947af1b488

Git commit f6982b54c96bc871df94d01abad72a501e87aa65 by Alex Deucher on 09/06/2008 at 20:28..
RADEON: switch IGP gart to use radeon_write_agp_base()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6982b54c96bc871df94d01abad72a501e87aa65

Git commit 4b8aecbde8e62af5370d5401d49a8ab8d089fe8e by Alex Deucher on 09/06/2008 at 20:58..
RADEON: Add untested support for RS400 chips

GART setup appears to work the same as RS480 chips.
Also RC4xx chips are actually RS400 based, not RS480 based.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b8aecbde8e62af5370d5401d49a8ab8d089fe8e

Git commit c987e76d953b6aecbfb69058fc4c387aa3fb33c9 by Jesse Barnes on 09/06/2008 at 23:20..
Add EDID quirk handling

Port over EDID quirks from X.Org so we can handle more monitors.  This meant
adding size info to the drm_display_mode struct, but other than that the
changes were isolated to the DRM EDID handling code (as they should be).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c987e76d953b6aecbfb69058fc4c387aa3fb33c9

Git commit cdd0cb0ab372ac93adc73945627f4071f86f75c0 by Dave Airlie on 10/06/2008 at 06:27..
ati_pcigart: split out the page insert function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdd0cb0ab372ac93adc73945627f4071f86f75c0

Git commit 4f3da2f200577fcfbf913985246b3a4d23c6a818 by Ian Romanick on 10/06/2008 at 18:29..
xgi: Fix 64-bit kernel / 32-bit user issue.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f3da2f200577fcfbf913985246b3a4d23c6a818

Git commit a1d96007241a78dd2b4a718df8e0568fe7994c22 by Jesse Barnes on 11/06/2008 at 00:31..
Merge commit 'origin/drm-gem' into modesetting-gem

Passed the compile test; it's ready to ship.

Conflicts:

	libdrm/Makefile.am
	linux-core/Makefile.kernel
	linux-core/drmP.h
	linux-core/drm_memrange.c
	linux-core/drm_stub.c
	shared-core/drm.h
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1d96007241a78dd2b4a718df8e0568fe7994c22

Git commit b535567ee95b8407d7860a4d6350df8e8fbac15a by Ian Romanick on 11/06/2008 at 05:18..
xgixp: Remove dependency on TTM fences
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b535567ee95b8407d7860a4d6350df8e8fbac15a

Git commit 2150da5d1a57d25d0f4bc39bb6c883d410f586d1 by Eric Anholt on 11/06/2008 at 05:57..
[gem] Manage the ringbuffer from the kernel in the GEM case.

This requires that the X Server use the execbuf interface for buffer
submission, as it no longer has direct access to the ring.  This is
therefore a flag day for the gem interface.

This also adds enter/leavevt ioctls for use by the X Server.  These would
get stubbed out in a modesetting implementation, but are required while
in an environment where the device's state is only managed by the DRM while
X has the VT.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2150da5d1a57d25d0f4bc39bb6c883d410f586d1

Git commit 62a3be962f1915d17813ecbfc9544232908b44e4 by Eric Anholt on 11/06/2008 at 06:11..
[intel] Fix BUG_ON trigger in irq masking if you did on/off with irqs disabled.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62a3be962f1915d17813ecbfc9544232908b44e4

Git commit f5412a944fa4666e25f4fa27b6ed85c21ccb65a0 by Jesse Barnes on 11/06/2008 at 17:25..
Merge commit 'origin/drm-gem' into modesetting-gem

Use new GEM based ring buffer initialization.  Still need to init GEM & use it
for framebuffer allocation etc.

Conflicts:

	shared-core/i915_dma.c
	shared-core/i915_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5412a944fa4666e25f4fa27b6ed85c21ccb65a0

Git commit dac3bcb414a21a77847c96740a1578f3488c774f by Eric Anholt on 11/06/2008 at 18:28..
[gem] Remove carefully-sprinkled i915_kernel_lost_context().

They are not unnecessary since the kernel's the only thing touching the ring.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dac3bcb414a21a77847c96740a1578f3488c774f

Git commit 2a35d857b35c9d30d073e2372aa302cd999321ba by Eric Anholt on 11/06/2008 at 19:20..
Remove override of drm module list in preparation for merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a35d857b35c9d30d073e2372aa302cd999321ba

Git commit 2655005762b8915d5f44d1d1ee7e6c2eb34841d7 by Eric Anholt on 11/06/2008 at 21:42..
[gem] Move potentially device-specific ioctls to the intel driver.

This is the create (may want location flags), pread/pwrite/mmap
(performance tuning hints), and set_domain (will 32 bits be enough for
everyone?) ioctls.  Left in the generic set are just flink/open/close.

The 2D driver must be updated for this change, and API but not ABI is broken
for 3D.  The driver version is bumped to mark this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2655005762b8915d5f44d1d1ee7e6c2eb34841d7

Git commit a07c82183abdcde9777a456d45b7ae741ddfd44c by Alex Deucher on 11/06/2008 at 22:25..
RADEON: use DSTCACHE_CTLSTAT rather than RB2D_DSTCACHE_CTLSTAT

According to the hw guys, you should use DSTCACHE_CTLSTAT to flush
the 2D dst cache rather than RB2D_DSTCACHE_CTLSTAT.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a07c82183abdcde9777a456d45b7ae741ddfd44c

Git commit 846d792ac10c4b2738bb5ff59e56df168b9921ff by Eric Anholt on 11/06/2008 at 22:51..
[gem] Another round of cleanups from checkpatch.pl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/846d792ac10c4b2738bb5ff59e56df168b9921ff

Git commit 57b4c4c32d3b474939775042bb8a17423def446d by Eric Anholt on 11/06/2008 at 22:58..
Move the renaming of mm.c symbols to #defines in the header.

This reduces the diff from Mesa and reduces the illegibility of what I did.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57b4c4c32d3b474939775042bb8a17423def446d

Git commit 4a2e29bf9982165deeeabb5c585fc0a8a659f380 by Jesse Barnes on 11/06/2008 at 22:59..
Use GEM in modesetting

Use GEM for ring buffer setup and framebuffer allocation.  This means reworking
the hardware status page stuff a bit (just use the basic range allocator for
vram for now) and #ifdef'ing out the TTM & DRI2 code.  Works well enough to
load/unload several times and display fbcon on my T61 (though there's still
some unexplained console corruption).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a2e29bf9982165deeeabb5c585fc0a8a659f380

Git commit b2606e325ac02782297def5ce27028c7fe2287c8 by Eric Anholt on 11/06/2008 at 23:19..
[gem] Remove the drm_client_lock_take in set_domain.

We no longer need to use it to protect against shared ringbuffer access.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2606e325ac02782297def5ce27028c7fe2287c8

Git commit cc74ac359053e95fd79d7011a2e18defcefb5c19 by Eric Anholt on 12/06/2008 at 17:56..
Don't clear USER_INTERRUPT if we're not handling it.

This fixes a regression from commit d434b64f6a760d85295e32298a9a1f3624ee1b69
which could cause us to fail to wake up for user interrupts if we lost a race.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc74ac359053e95fd79d7011a2e18defcefb5c19

Git commit 100d6f3f83b559be000f69c04f9e5596cdc17c77 by Eric Anholt on 12/06/2008 at 20:22..
Bump libdrm version to 2.4.0.

We need a version to depend on from the other components that require GEM and
the bufmgr code.  Some interfaces will be removed before the 2.4.0 release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/100d6f3f83b559be000f69c04f9e5596cdc17c77

Git commit 5d99e79c3ee027a035d4ef0a920e3fc30bd053c1 by Ian Romanick on 12/06/2008 at 22:36..
xgi: Bump kernel version

This should have been bumped when the fence interface was changed the
other day.  Better late than never, I suppose.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d99e79c3ee027a035d4ef0a920e3fc30bd053c1

Git commit 1aafbb83d97ccc78b78d5cbd311f1239a3dad11e by Jerome Glisse on 13/06/2008 at 07:54..
radeon: r345xx fixe hard lockup

This patch should fixe hard lockup and convert them in
softlockup (ie you can ssh the box but the gpu is busted
and we are waiting in loop for it to come back to reason).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1aafbb83d97ccc78b78d5cbd311f1239a3dad11e

Git commit 00b406390649175bb432da5693bfbd3360ad21b3 by Jerome Glisse on 13/06/2008 at 08:02..
radeon: bump driver date to know if lockup fix is in
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00b406390649175bb432da5693bfbd3360ad21b3

Git commit 8ce4a6ec3dbd9063a3ec71bede8065273bec4a26 by Brice Goglin on 13/06/2008 at 11:37..
Misc fixes to debian/control and debian/copyright

  * Update upstream URL in debian/copyright.
  * Bump Standards-Version to 3.7.3 (no changes).
  * Drop the XS- prefix from Vcs-Git and Vcs-Browser fields in debian/control.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ce4a6ec3dbd9063a3ec71bede8065273bec4a26

Git commit a8514d54f0b3ab289ea08eb0659ff357fec2b065 by Brice Goglin on 13/06/2008 at 11:37..
Install the upstream ChangeLog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8514d54f0b3ab289ea08eb0659ff357fec2b065

Git commit 69b1d3fe86ad71c2c540c1c21eff8ad31af73473 by Julien Cristau on 13/06/2008 at 15:01..
Merge branch 'libdrm-2_3-branch' of git://anongit.freedesktop.org/git/mesa/drm into debian-experimental

Conflicts:

	bsd-core/Makefile
	bsd-core/ati_pcigart.c
	bsd-core/drmP.h
	bsd-core/drm_agpsupport.c
	bsd-core/drm_auth.c
	bsd-core/drm_bufs.c
	bsd-core/drm_context.c
	bsd-core/drm_dma.c
	bsd-core/drm_drawable.c
	bsd-core/drm_drv.c
	bsd-core/drm_fops.c
	bsd-core/drm_ioctl.c
	bsd-core/drm_irq.c
	bsd-core/drm_lock.c
	bsd-core/drm_memory.c
	bsd-core/drm_pci.c
	bsd-core/drm_scatter.c
	bsd-core/drm_sysctl.c
	bsd-core/drm_vm.c
	bsd-core/i915_drv.c
	bsd-core/mach64_drv.c
	bsd-core/mga_drv.c
	bsd-core/r128_drv.c
	bsd-core/radeon_drv.c
	bsd-core/savage_drv.c
	bsd-core/sis_drv.c
	bsd-core/tdfx_drv.c
	bsd-core/via_drv.c
	linux-core/Kconfig
	linux-core/Makefile
	linux-core/Makefile.kernel
	linux-core/README.drm
	linux-core/ati_pcigart.c
	linux-core/drmP.h
	linux-core/drm_agpsupport.c
	linux-core/drm_auth.c
	linux-core/drm_bo.c
	linux-core/drm_bufs.c
	linux-core/drm_compat.c
	linux-core/drm_compat.h
	linux-core/drm_context.c
	linux-core/drm_dma.c
	linux-core/drm_drv.c
	linux-core/drm_fence.c
	linux-core/drm_fops.c
	linux-core/drm_hashtab.c
	linux-core/drm_hashtab.h
	linux-core/drm_ioc32.c
	linux-core/drm_ioctl.c
	linux-core/drm_irq.c
	linux-core/drm_lock.c
	linux-core/drm_memory.c
	linux-core/drm_memory.h
	linux-core/drm_memory_debug.c
	linux-core/drm_memory_debug.h
	linux-core/drm_mm.c
	linux-core/drm_object.c
	linux-core/drm_os_linux.h
	linux-core/drm_pci.c
	linux-core/drm_proc.c
	linux-core/drm_scatter.c
	linux-core/drm_sman.c
	linux-core/drm_sman.h
	linux-core/drm_stub.c
	linux-core/drm_sysfs.c
	linux-core/drm_ttm.c
	linux-core/drm_vm.c
	linux-core/ffb_context.c
	linux-core/ffb_drv.c
	linux-core/ffb_drv.h
	linux-core/i810_dma.c
	linux-core/i810_drm.h
	linux-core/i810_drv.h
	linux-core/i915_buffer.c
	linux-core/i915_drv.c
	linux-core/i915_fence.c
	linux-core/i915_ioc32.c
	linux-core/mach64_drv.c
	linux-core/mga_drv.c
	linux-core/mga_ioc32.c
	linux-core/r128_drv.c
	linux-core/r128_ioc32.c
	linux-core/radeon_drv.c
	linux-core/radeon_ioc32.c
	linux-core/sis_drv.c
	linux-core/sis_mm.c
	linux-core/via_dmablit.c
	linux-core/via_dmablit.h
	linux-core/via_mm.c
	scripts/create_lk_drm.sh
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69b1d3fe86ad71c2c540c1c21eff8ad31af73473

Git commit 4e15a1e3c5e6958966c90c39003dc4fa55a95088 by Julien Cristau on 13/06/2008 at 15:02..
autoreconf
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e15a1e3c5e6958966c90c39003dc4fa55a95088

Git commit ac7c87a8304fc6b626f25d03a100bc2d3f13dfa3 by Julien Cristau on 13/06/2008 at 15:07..
Update changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac7c87a8304fc6b626f25d03a100bc2d3f13dfa3

Git commit b5adfe24f5f85bca9bdf1668dbd30454989b86ce by Julien Cristau on 13/06/2008 at 15:15..
add missing files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5adfe24f5f85bca9bdf1668dbd30454989b86ce

Git commit c892e26bdfcacfe7213085a08dd82e2cb7faa003 by Eric Anholt on 13/06/2008 at 16:49..
[gem] Don't require the lock in execbuf now that it's not needed for the ring.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c892e26bdfcacfe7213085a08dd82e2cb7faa003

Git commit 0558d99c01c38e24e97b57ef55f66bb94a92e157 by Eric Anholt on 13/06/2008 at 16:54..
[gem] Remove the interrupt handler for retiring requests.

This was insufficient once we started masking interrupts to only when someone
was waiting for them (and would thus retire requests themselves).  It was
replaced by the retire_timer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0558d99c01c38e24e97b57ef55f66bb94a92e157

Git commit e558e1d7dacafa1e7f9681f1eaec072d663287de by Eric Anholt on 13/06/2008 at 17:04..
[gem] Catch -EINTR from blocking ioctls and restart them.

Thanks to Thomas Hellstrom for catching the issue, no thanks to the kernel
developer who authoritatively told me that they would get restarted on their
own.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e558e1d7dacafa1e7f9681f1eaec072d663287de

Git commit df4ef348c8a48cead807a42fcd315f7e422aa156 by Eric Anholt on 13/06/2008 at 17:47..
Fix i915_wait_irq in the presence of interrupt masking.

In the short-circuit code for the breadcrumb already being new enough, we
need to update the sarea_priv copy of the breadcrumb just as if we had
waited.  Otherwise userland error checking will notice that we returned
too early based on its wrong information, and call wait_irq again (leading
to spinning until someone else comes along and updates the sarea_priv).

This bug was hidden when we had interrupt masking disabled, such as in
master, since the interrupt handler would update sarea_priv.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df4ef348c8a48cead807a42fcd315f7e422aa156

Git commit f378319b5627d84ca821c8e6a9f2fee612119477 by Keith Packard on 13/06/2008 at 21:29..
Use /bin/pwd instead of trusting shell built-in
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f378319b5627d84ca821c8e6a9f2fee612119477

Git commit e5364914ac2b785f9d806c72fff8d2ae914cad61 by Keith Packard on 13/06/2008 at 21:29..
[intel-gem] Reorder i915_add_request to schedule work last

i915_add_request was calling schedule_delayed_work before adding the request
to the list; it makes more sense to do that last.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5364914ac2b785f9d806c72fff8d2ae914cad61

Git commit 462af73149b9286a74b95b9cda5e4224ebe0dd87 by Keith Packard on 13/06/2008 at 21:29..
[intel-gem] Use a delayed_work instead of a timer + work_struct

We want request retirement to occur about once a second when the request
queue is non-empty. This was done with a timer that queued a work_struct,
using a delayed_work instead makes a lot more sense.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/462af73149b9286a74b95b9cda5e4224ebe0dd87

Git commit 5957470ca3be6c0225985f74b1511401e02c014b by Keith Packard on 13/06/2008 at 21:29..
[intel] Restructure irq to pend all work until after iir write.

The interrupt identity register must be writen before any work occurs lest
we drop an interrupt on the floor. This patch just shuffles code around to
make sure that IIR is written as early as possible.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5957470ca3be6c0225985f74b1511401e02c014b

Git commit 3762c9ea6754763694b1de4df3acd9dc37247f87 by Keith Packard on 13/06/2008 at 21:29..
[intel] Enable MSI for i915 IRQ
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3762c9ea6754763694b1de4df3acd9dc37247f87

Git commit 6b2cba1ecc5f9f289b5d91e229b7f7b0999bee5b by Keith Packard on 13/06/2008 at 21:29..
[intel-gem] evict_something was failing when wait_request freed objects

When i915_wait_request clears object from the active list, it may end up
freeing them and not moving them to the inactive list. This ends up
unbinding objects from the GTT without there ever being new objects visible
to i915_gem_evict_something on the inactive list. As the only success
condition required the presence of objects on the inactive list, this would
falsely assume that no GTT space had been made available, and end up
returning -ENOMEM to the application.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b2cba1ecc5f9f289b5d91e229b7f7b0999bee5b

Git commit ced9ebf64543b4d64a38feee3293040af953acc0 by Keith Packard on 13/06/2008 at 21:29..
[intel-gem] throttle based on frames rather than time. Reduces jitter.

Record the last execbuffer sequence for each client.
Record that sequence in the throttle ioctl as the 'throttle sequence'.
Wait for the last throttle sequence in the throttle ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ced9ebf64543b4d64a38feee3293040af953acc0

Git commit baf521369478eff2842b99feda16f9d145402d27 by Keith Packard on 13/06/2008 at 21:29..
[intel-gem] Pin objects during execbuffer

Pinning the objects avoids accidentally evicting them while binding
other objects.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baf521369478eff2842b99feda16f9d145402d27

Git commit 29ffa0017d002f9e74de42817b962b6ca2e5f20a by Robert Noland on 13/06/2008 at 21:41..
[FreeBSD] Fix another lock leak

Reported by vehemens
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29ffa0017d002f9e74de42817b962b6ca2e5f20a

Git commit 4086cdb6550a4e957fd436c77a6260204e026538 by Keith Packard on 13/06/2008 at 22:38..
[intel-gem] Left the last exec buffer pinned. oops.

Loop end variable 'pinned' was set one too low.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4086cdb6550a4e957fd436c77a6260204e026538

Git commit 217beb9c8de01417ac6219b54bd25046da6d4c7a by Keith Packard on 13/06/2008 at 22:43..
[intel-gem] add gtt and pin counts to /proc/dri/*/gem_objects

Not quite portable, but these are useful for intel. Some more general
mechanism could be done...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/217beb9c8de01417ac6219b54bd25046da6d4c7a

Git commit 8b9ab108ec1f2ba2b503f713769c4946849b3cb2 by Keith Packard on 13/06/2008 at 23:03..
[libdrm] Restart all ioctls on signal receipt

Receiving a signal should be ignored by the library, so just restart any
ioctl which returns EINTR or EAGAIN.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b9ab108ec1f2ba2b503f713769c4946849b3cb2

Git commit 73bc18cad8d1c6b4481a199cebf7f0a28d19c2bb by Keith Packard on 14/06/2008 at 00:06..
[intel-gem] Wait for rendering to complete before unbinding.

Moving to the CPU domain doesn't ensure that rendering is finished, the
buffer may still be in use as a texture or other data source.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73bc18cad8d1c6b4481a199cebf7f0a28d19c2bb

Git commit a7139cb8511a9d31d9f79bcaae62020d30e09f90 by Keith Packard on 14/06/2008 at 02:35..
[intel-gem] show total GTT space in /proc/dri/*/gem_objects
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7139cb8511a9d31d9f79bcaae62020d30e09f90

Git commit 732b1960742042eb33f49c2b3cdd2d36eadbc920 by Keith Packard on 14/06/2008 at 02:37..
[intel-gem] whitespace fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/732b1960742042eb33f49c2b3cdd2d36eadbc920

Git commit 68856b619bc1a2e91e67764911c8af4e2466fad9 by Keith Packard on 14/06/2008 at 02:40..
[intel-gem] Debugging -- verify inactive list invariants

Inactive list elements may not be pinned, active or have non-CPU write
domains.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68856b619bc1a2e91e67764911c8af4e2466fad9

Git commit 93c2871eccc1abde0d88ea439cf963c4895a26fc by Keith Packard on 14/06/2008 at 02:43..
[intel-gem] BUG_ON active objects in gem_object_unbind

Now that gem_object_unbind waits for rendering to complete, objects should
not be active when they are being pulled from the GTT. BUG_ON if this is
broken.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93c2871eccc1abde0d88ea439cf963c4895a26fc

Git commit 19c3418848ccdbb163cd16b354b14b0559813d6c by Keith Packard on 14/06/2008 at 02:47..
[intel-gem] inactive list may contain objects in CPU write domain

Pin/unpin need to know whether to remove/add objects from the inactive list,
inactive objects cannot be in any GPU write domain as those would be on the
flushing list instead. However, inactive objects may be in the CPU write
domain.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19c3418848ccdbb163cd16b354b14b0559813d6c

Git commit 3e48e144992fb11b31875989d45bc8a7c041cdef by Keith Packard on 14/06/2008 at 02:49..
[intel-gem] Execute MI_FLUSH in leavevt_ioctl

In leavevt_ioctl, queue an MI_FLUSH and then block waiting for it to
complete. This will empty the active and flushing lists. That leaves only
the inactive list to evict.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e48e144992fb11b31875989d45bc8a7c041cdef

Git commit 9dd58d6568702358bfb3d6d1b6459092cf77ae91 by Jerome Glisse on 15/06/2008 at 16:49..
radeon: fix screen corruption introduced by last patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dd58d6568702358bfb3d6d1b6459092cf77ae91

Git commit 6f8cc957034a887a9cbd576c1af9922862f6a7a7 by Jerome Glisse on 15/06/2008 at 17:31..
radeon: actualy try to fix the corruption
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f8cc957034a887a9cbd576c1af9922862f6a7a7

Git commit 59112c9e521d1543e8b76635ef223e7f29d35e6a by Jerome Glisse on 15/06/2008 at 18:18..
radeon: *really* fix screen corruption thanks to Lukasz Krotowski
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59112c9e521d1543e8b76635ef223e7f29d35e6a

Git commit c847271179da382af52a6874e2edec586b88af75 by Eric Anholt on 16/06/2008 at 22:09..
[linux] Use the device's irq for handler setup instead of stale dev->irq.

This fixes registration when MSI is set up after the stub function fills in
dev->irq.  Otherwise /proc/interrupts would report attachment to the fasteoi
interrupt.  dev->irq is still exposed (and updated at IRQ setup)
for the drivers that use it for whatever reason.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c847271179da382af52a6874e2edec586b88af75

Git commit e7424e4580159b0ac3e232674dff5c862e851dff by Eric Anholt on 16/06/2008 at 22:15..
[intel] Quirk away MSI support on 945G/GM.

The PCI caps register reports MSI support even though it isn't really there.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7424e4580159b0ac3e232674dff5c862e851dff

Git commit 00f549bd5f40d9ad6ec7164cd01646ed468b9a4a by Zhenyu Wang on 18/06/2008 at 06:19..
i915: Add support for Intel 4 series chipsets

Signed-off-by: Zhenyu Wang <zhenyu.z.wang at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00f549bd5f40d9ad6ec7164cd01646ed468b9a4a

Git commit 7010d500072977f63a0bac08f2141d69dbd19595 by Jesse Barnes on 18/06/2008 at 20:57..
i915: switch back to fbcon on panic

Normally when X is running, panic messages will be invisible and the machine
will just appear to hard hang.  This patch adds support for switching back to
the fbcon framebuffer on panic (through the use of a panic notifier
registration) so we can see what happened.

Note that in order to be really useful, X will have to run its VT in something
other than KD_GRAPHICS mode.  Also, not all kernel errors result in panics,
some go through BUG() which may trigger another type of event, not resulting in
a switch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7010d500072977f63a0bac08f2141d69dbd19595

Git commit 241ff808b0f7368e3988d51d2ea3775adb75b6f4 by Jesse Barnes on 18/06/2008 at 21:01..
Merge branch 'modesetting-101' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/241ff808b0f7368e3988d51d2ea3775adb75b6f4

Git commit c843d47b906e57fb3002af4a609d3cb95c5e195d by Jesse Barnes on 18/06/2008 at 21:51..
i915: use WC mapping for framebuffer screen_base
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c843d47b906e57fb3002af4a609d3cb95c5e195d

Git commit 86accbcb344ff25fbb47a788bb0f7464b5cd797f by Jesse Barnes on 18/06/2008 at 22:25..
Merge commit 'origin/drm-gem' into modesetting-gem

Lots of conflicts, seems to load ok, but I'm sure some bugs snuck in.

Conflicts:

	linux-core/drmP.h
	linux-core/drm_lock.c
	linux-core/i915_gem.c
	shared-core/drm.h
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86accbcb344ff25fbb47a788bb0f7464b5cd797f

Git commit 57b8837b4eb3b4972390680ad8042cd6920bf003 by Jesse Barnes on 18/06/2008 at 22:31..
i915: cleanup PCI state before disabling MSI

Core MSI code will BUG() if an interrupt handler is still registered when
pci_disable_msi() is called.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57b8837b4eb3b4972390680ad8042cd6920bf003

Git commit f58e21c7d056017340dc0ecac7e53dee2b33fe3b by Jesse Barnes on 18/06/2008 at 23:49..
i915:  add blanking support to intelfb

Got tired of not having my LCD actually turn off when I left the machine at the
console.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f58e21c7d056017340dc0ecac7e53dee2b33fe3b

Git commit 8712f0a17bb135d4ad3eb85b30f47c561cf9c148 by Dave Airlie on 20/06/2008 at 02:03..
drm: fix the ioctl to not believe userspace.

believing userspace causes oopses
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8712f0a17bb135d4ad3eb85b30f47c561cf9c148

Git commit 9d79944a93e8e164e2261cdeb10cbd49ff8f314d by Dave Airlie on 20/06/2008 at 05:35..
r300: fix warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d79944a93e8e164e2261cdeb10cbd49ff8f314d

Git commit 1915de2c56d71bbd04a7c085cbd35fbe8e33af9d by Dave Airlie on 20/06/2008 at 05:35..
drm: only use kernel ioctl cmd when doing a core ioctl.

Need to overhaul the mess that is driver ioctls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1915de2c56d71bbd04a7c085cbd35fbe8e33af9d

Git commit 52e5d24fae4af6f2f4a5304a516c8c5ab347a11b by Keith Packard on 20/06/2008 at 07:21..
[intel-gem] Add DRM_IOCTL_I915_GEM_SW_FINISH to flag CPU writes

When a software fallback has completed, usermode must notify the kernel so
that any scanout buffers can be synchronized. This ioctl should be called
whenever a fallback completes to flush CPU and chipset caches.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52e5d24fae4af6f2f4a5304a516c8c5ab347a11b

Git commit 918420deefb978d4e572121b4273d717bdbfde8e by Keith Packard on 20/06/2008 at 07:21..
[intel-gem] Use shmem_getpage instead of find_or_create_page

find_or_create_page doesn't quite set up pages correctly; any newly created
pages aren't hooked into the shmem object quite right; user space mmaps of
those pages end up mapping pages full of zeros which then get written to the
real pages inappropriately. This patch requires that the kernel export
shmem_getpage.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/918420deefb978d4e572121b4273d717bdbfde8e

Git commit 2bd9799e4cf0d778e46453422157143e36274062 by Keith Packard on 20/06/2008 at 23:40..
Add device-specific proc_init and proc_cleanup hooks

This allows device drivers to add proc files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bd9799e4cf0d778e46453422157143e36274062

Git commit 71b1623e22c54d42837840a1d0479127a5049caf by Keith Packard on 21/06/2008 at 04:07..
[intel-gem] Add intel-specific /proc entries to help monitor gem operation

This adds gem_active, gem_flushing, gem_inactive, gem_request and gem_seqno
entries to monitor gem operation and help debug issues.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71b1623e22c54d42837840a1d0479127a5049caf

Git commit 54817317e9dd8a791418f97503fe574038dbe4b9 by Keith Packard on 21/06/2008 at 04:10..
[intel-gem] Use polling in i915_gem_idle instead of interrupts.

While waiting for the hardware to idle on leavevt or lastclose, poll
for the sync sequence number instead of waiting for an interrupt. This
allows the code to bail if the hardware hangs for some reason. Also, this
avoids issues with signals as the exisiting wait function is interruptible.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54817317e9dd8a791418f97503fe574038dbe4b9

Git commit f4bd566e0bead0904c38bb3a526eb9b35b215ff5 by Keith Packard on 21/06/2008 at 07:10..
[intel-gem] Remove unused variable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4bd566e0bead0904c38bb3a526eb9b35b215ff5

Git commit 33114e4a1167ac79cb53043e77c16cc7fe40a640 by Keith Packard on 21/06/2008 at 07:12..
[intel] Count received interrupts

Another patch adds this to a /proc/dri file for debugging and monitoring.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33114e4a1167ac79cb53043e77c16cc7fe40a640

Git commit 8be6ec491f7b9c633a426a34006ea4ff5a3f8392 by Keith Packard on 21/06/2008 at 07:13..
[intel-gem] Add /proc/dri/*/i915_gem_interrupt

This tracks most of the interrupt-related status, including the
interrupt registers in the chip and the sequence number variables.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8be6ec491f7b9c633a426a34006ea4ff5a3f8392

Git commit a369bf0e575697308690f532576caf652e42b4cb by Keith Packard on 21/06/2008 at 07:33..
[intel] Use IMR instead of IER to pend interrupts during ISR

Noting that the interrupt mask register was more reliable than the interrupt
enable register for managing interrupts in user_irq_on/user_irq_off, this
patch replaces the remaining IER frobbing with IMR instead.

The test which exposes IER related failures is:

$ glxgears & glxgears & glxgears
(reposition the glxgears windows away from the upper left corner)
$ while :; do x11perf -rect100 -reps 800 -repeat 1; sleep 1; done &
$ while :; do runoa; runet; done &
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a369bf0e575697308690f532576caf652e42b4cb

Git commit 207f701e1affa18b0d54e09f7bf8b6447cb16258 by Alex Deucher on 21/06/2008 at 14:46..
RADEON: 0x1002 0x5657 is actually an RV410

See bug 14289
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/207f701e1affa18b0d54e09f7bf8b6447cb16258

Git commit 11f2a2ed6f854e7b461a98408df54167e9b9566d by Dave Airlie on 22/06/2008 at 08:25..
agp: use true/false instead of TRUE/FALSE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11f2a2ed6f854e7b461a98408df54167e9b9566d

Git commit 473a1997ace1a9fb545d0457549e50d17eb36175 by Maarten Maathuis on 22/06/2008 at 14:29..
NV50: Initial import of kernel modesetting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/473a1997ace1a9fb545d0457549e50d17eb36175

Git commit b9ed0f995077f69ae806aae2e83085738ea5e651 by Ben Skeggs on 22/06/2008 at 15:00..
nouveau: allocate drm-use vram buffers from end of vram.

This avoids seeing garbage from engine setup etc before X gets around
to pointing the CRTCs at a new scanout buffer.  Not actually a noticable
problem before G80 as PRAMIN is forced to the end of VRAM by the hardware
already.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9ed0f995077f69ae806aae2e83085738ea5e651

Git commit 3809209349ccf12aa71c7848f0b21d77fa0a5f03 by Maarten Maathuis on 22/06/2008 at 15:01..
Undo something i didn't want to change.

- I made it consistent with recent kernel fb code (maybe this is older bugged code?)
- Still i don't use this and i should leave it to others.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3809209349ccf12aa71c7848f0b21d77fa0a5f03

Git commit 89cf2ee2e5b3930b36f2347f35933fc29bc42518 by Ben Skeggs on 22/06/2008 at 15:24..
nv50: use same dma object for fb/tt access

We depend on the VM fully now for memory protection, separate DMA objects
for VRAM and GART are unneccesary.  However, until the next interface break
(soon) a client can't depend on the objects being the same and must still
call NV_OBJ_SET_DMA_* methods appropriately.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89cf2ee2e5b3930b36f2347f35933fc29bc42518

Git commit 01e8f0ea426970859bafba72e067590df1a64eb0 by Ben Skeggs on 22/06/2008 at 16:42..
nv50: oops, keep VRAM allocations aligned at 64KiB - that's our page size..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01e8f0ea426970859bafba72e067590df1a64eb0

Git commit e67cd7dda9d7d6d82f4026f246d07bf4c4021a57 by Maarten Maathuis on 22/06/2008 at 16:47..
NV50: A few minor added safeties + cleanup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e67cd7dda9d7d6d82f4026f246d07bf4c4021a57

Git commit 7c9551a464e168279224139b70a439f985b601c9 by Maarten Maathuis on 22/06/2008 at 16:58..
fix typo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c9551a464e168279224139b70a439f985b601c9

Git commit b0b0f374432ecf84b5115130caa4697d6d1ca789 by Maarten Maathuis on 22/06/2008 at 17:04..
NV50: Fix a few more possible leaks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0b0f374432ecf84b5115130caa4697d6d1ca789

Git commit 30f153a7c2a9bc69e615b7fff3fb060af0e3ed83 by Maarten Maathuis on 22/06/2008 at 17:31..
nouveau: disable KMS for pre-NV50 even when specifically enabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30f153a7c2a9bc69e615b7fff3fb060af0e3ed83

Git commit a0ebcbe9d490c3e1fb8212d52e6783b7d9bd9a70 by Keith Packard on 23/06/2008 at 07:53..
[intel] allow the irq code to use either enable or mask registers

still not sure which works best on which hardware; this will make it easier
to experiment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0ebcbe9d490c3e1fb8212d52e6783b7d9bd9a70

Git commit 61caf797aeb88af42ea0d333ad3f6ba88468d37f by Keith Packard on 23/06/2008 at 07:53..
[intel-gem] pwrite through GTT

Pin/copy_from_user/unpin through the GTT to eliminate clflush costs.
Benchmarks say this helps quite a bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61caf797aeb88af42ea0d333ad3f6ba88468d37f

Git commit 1c2dd9826793579d5ef6f51fb9f5470c4af95548 by Keith Packard on 23/06/2008 at 17:07..
[intel] Switch to using IMR instead of IER
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c2dd9826793579d5ef6f51fb9f5470c4af95548

Git commit 626e9ba494b46f6e8352c9e461227187f335e229 by Keith Packard on 23/06/2008 at 17:16..
[intel-gem] Recover resources from wedged hardware.

Clean up queues, free objects. On the next entervt, unmark the hardware to
let the user try again (presumably after resetting the chip). Someday we'll
automatically recover...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/626e9ba494b46f6e8352c9e461227187f335e229

Git commit 27f61d0c9364bbf8bc88a4ffceb78b645aff6680 by Keith Packard on 23/06/2008 at 18:20..
[intel] leave interrupts disabled in ISR only on MSI again

While debugging the 915, I tried this trick there and accidentally left it
set.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27f61d0c9364bbf8bc88a4ffceb78b645aff6680

Git commit 52bf2e77b0ff77ab0c93fec374ccfeb9d214a464 by Keith Packard on 23/06/2008 at 18:21..
[intel-gem] Use I915_GEM_DOMAIN_GTT in dri_gem_bo_wait_rendering.

I915_GEM_DOMAIN_CPU is very expensive to wait for -- it generally requires
clflushing the frame buffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52bf2e77b0ff77ab0c93fec374ccfeb9d214a464

Git commit 0a45f150669eaa2737d7485c9b68ea4c483f3048 by Maarten Maathuis on 23/06/2008 at 18:33..
NV50: Improve set_config and fix some minor bugs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a45f150669eaa2737d7485c9b68ea4c483f3048

Git commit f9dad8cc22994e0e4671d14b3ee721e4b5777a68 by Maarten Maathuis on 23/06/2008 at 19:15..
libdrm: check for allocation failure
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9dad8cc22994e0e4671d14b3ee721e4b5777a68

Git commit 246b41fea462a3b1669c0e3f9fe7f6077a479832 by Maarten Maathuis on 23/06/2008 at 20:59..
[modesetting-101] update mode count after fill_modes.

- This avoids returning with a mode count of 0, thus not allocating space for the 2nd ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/246b41fea462a3b1669c0e3f9fe7f6077a479832

Git commit 5072a2911e134bb3fec06a6d7011a92e714a9953 by Maarten Maathuis on 23/06/2008 at 22:00..
NV50: fix some misc bugs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5072a2911e134bb3fec06a6d7011a92e714a9953

Git commit 020a59e46ca1d89c98a3e309b6e5571354115133 by Keith Packard on 24/06/2008 at 05:03..
drm_compat: it's CONFIG_HIGHMEM, not CONFIG_HIMEM

A mis-spelled config option (was it spelled that way in the past?)
eliminated kmap_atomic_prot_pfn from core DRM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/020a59e46ca1d89c98a3e309b6e5571354115133

Git commit 472981a4a952e551a581e5296a575a51d4f02e3d by Keith Packard on 24/06/2008 at 05:03..
[intel-gem] Include drm_compat.h to get kmap_atomic_prot_pfn
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/472981a4a952e551a581e5296a575a51d4f02e3d

Git commit e7582cfff6cb561d8bdfcd640d6843cdbb6b3391 by Maarten Maathuis on 24/06/2008 at 07:41..
NV50: These are actually errors.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7582cfff6cb561d8bdfcd640d6843cdbb6b3391

Git commit 315fef7ee44f9ca565f158a6a84fd29b34e69fd8 by Maarten Maathuis on 24/06/2008 at 08:16..
NV50: fix cursor hide/show
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/315fef7ee44f9ca565f158a6a84fd29b34e69fd8

Git commit 14522b3e1bd1129333af7f1a16a436a5f90388ea by Maarten Maathuis on 24/06/2008 at 10:38..
NV50: fix a few misc things
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14522b3e1bd1129333af7f1a16a436a5f90388ea

Git commit 01a33d742cee55a3df66a3d29c9c55b10cc9221d by Keith Packard on 24/06/2008 at 16:46..
Was using irq_enable_reg in the use_mask_reg path
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01a33d742cee55a3df66a3d29c9c55b10cc9221d

Git commit 71d975072cf57507385bdf8e0bf4af4c23b1fceb by Keith Packard on 24/06/2008 at 16:52..
[intel-gem] pwrite through GTT

Pin/copy_from_user/unpin through the GTT to eliminate clflush costs.
Benchmarks say this helps quite a bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71d975072cf57507385bdf8e0bf4af4c23b1fceb

Git commit ed73651d47a5f95c3436207144b70811366e4edd by Keith Packard on 24/06/2008 at 16:52..
[intel-gem] Recover resources from wedged hardware.

Clean up queues, free objects. On the next entervt, unmark the hardware to
let the user try again (presumably after resetting the chip). Someday we'll
automatically recover...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed73651d47a5f95c3436207144b70811366e4edd

Git commit 5540457fa5bf291e88efb23721b5ac71379c6a6e by Keith Packard on 24/06/2008 at 16:52..
[intel-gem] Use I915_GEM_DOMAIN_GTT in dri_gem_bo_wait_rendering.

I915_GEM_DOMAIN_CPU is very expensive to wait for -- it generally requires
clflushing the frame buffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5540457fa5bf291e88efb23721b5ac71379c6a6e

Git commit c0043155ad7199835d631e3daed5c641642c314e by Keith Packard on 24/06/2008 at 16:52..
drm_compat: it's CONFIG_HIGHMEM, not CONFIG_HIMEM

A mis-spelled config option (was it spelled that way in the past?)
eliminated kmap_atomic_prot_pfn from core DRM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0043155ad7199835d631e3daed5c641642c314e

Git commit 2c6feb7a5a3fe60ed3961bc133ad5d6e63b8196a by Keith Packard on 24/06/2008 at 16:52..
[intel-gem] Include drm_compat.h to get kmap_atomic_prot_pfn
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c6feb7a5a3fe60ed3961bc133ad5d6e63b8196a

Git commit ce2effbe2dd205e67e294304b97ee7bf221137b1 by Keith Packard on 24/06/2008 at 17:03..
Merge branch 'drm-gem' into drm-gem-965
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce2effbe2dd205e67e294304b97ee7bf221137b1

Git commit 5dbcb7551ff0b2c759f34ca85c30cfa95f33ba09 by Maarten Maathuis on 24/06/2008 at 18:29..
NV50: minor change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dbcb7551ff0b2c759f34ca85c30cfa95f33ba09

Git commit 893cd01a1d6bed9740e9bfccde07f41ee401f898 by Jesse Barnes on 24/06/2008 at 19:51..
i915: register definition & header file cleanup

It would be nice if one day the DRM driver was the canonical source for
register definitions and core macros.  To that end, this patch cleans things up
quite a bit, removing redundant definitions (some with different names
referring to the same register) and generally tidying up the header file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/893cd01a1d6bed9740e9bfccde07f41ee401f898

Git commit d726eb2e5e192f22e41e399d9133edcd7202f0c5 by Jesse Barnes on 24/06/2008 at 19:57..
i915: remove unused variable

Leftover dev_priv from the move of the suspend/resume code into shared-core.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d726eb2e5e192f22e41e399d9133edcd7202f0c5

Git commit e36da6a133328a4cf9c98d9347c87dc3c3a12d16 by Keith Packard on 24/06/2008 at 20:08..
[intel] Create functions to enable/disable interrupts

This shares common code sequences for managing the interrupt register bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e36da6a133328a4cf9c98d9347c87dc3c3a12d16

Git commit d250a55fc6a726a8bfaf4f871eeb09c895a9ba51 by Keith Packard on 24/06/2008 at 20:39..
[intel] Get vblank pipe from irq_mask_reg instead of hardware enable reg

With the interrupt enable/disable using only the mask register, it was wrong
to use the enable register to detect which pipes had vblank detection
turned on. Also, as we keep a local copy of the mask register around, and
MSI machines smack the hardware during the interrupt handler, it is more
efficient and more correct to use the local copy.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d250a55fc6a726a8bfaf4f871eeb09c895a9ba51

Git commit d55629a13d0f287e186e93a4828ef86b36678eba by root on 24/06/2008 at 22:18..
silence warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d55629a13d0f287e186e93a4828ef86b36678eba

Git commit 5d27fd94afaaf434c3a92af0075420b550055bfb by Ben Skeggs on 25/06/2008 at 06:49..
nv50: when destroying a channel make sure it's not still current on PFIFO

We won't get a PFIFO context switch when the same channel ID is recreated if
the hw still thinks the channel is already active, which causes fun issues.

Should allow X to be stopped and started without tearing down the entire
card state in lastclose().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d27fd94afaaf434c3a92af0075420b550055bfb

Git commit 5a0164d1e1799b68b3131efd7b9fcaf20c578257 by Maarten Maathuis (on behalf of Ben Skeggs) on 25/06/2008 at 07:55..
nouveau: allocate drm-use vram buffers from end of vram.

This avoids seeing garbage from engine setup etc before X gets around
to pointing the CRTCs at a new scanout buffer.  Not actually a noticable
problem before G80 as PRAMIN is forced to the end of VRAM by the hardware
already.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a0164d1e1799b68b3131efd7b9fcaf20c578257

Git commit be7276281694145e7c947b91a1c8e6e347de666c by Maarten Maathuis (on behalf of Ben Skeggs) on 25/06/2008 at 07:55..
nv50: when destroying a channel make sure it's not still current on PFIFO

We won't get a PFIFO context switch when the same channel ID is recreated if
the hw still thinks the channel is already active, which causes fun issues.

Should allow X to be stopped and started without tearing down the entire
card state in lastclose().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be7276281694145e7c947b91a1c8e6e347de666c

Git commit 09b67dda0bc040860aedce4a2d28bce1c80e56d6 by Maarten Maathuis on 25/06/2008 at 13:16..
NV50: Some cleanup and fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09b67dda0bc040860aedce4a2d28bce1c80e56d6

Git commit 4d85d5d25116304e476849ee64c206ffb3a7f372 by Maarten Maathuis on 25/06/2008 at 13:27..
NV50: i misunderstood NOUVEAU_MEM_INTERNAL, so remove it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d85d5d25116304e476849ee64c206ffb3a7f372

Git commit 13943fe5823c45759091c1a1f487a4abe377421e by Maarten Maathuis on 26/06/2008 at 19:28..
modesetting-101: Make dpms property optional + misc cleanup.

- intel_crt seems the only one to provide it, so init it there.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13943fe5823c45759091c1a1f487a4abe377421e

Git commit 087e3f577d795bcd007619514bb2977eede70c16 by Maarten Maathuis on 26/06/2008 at 21:12..
Revert "modesetting-101: Make dpms property optional + misc cleanup."

This reverts commit 13943fe5823c45759091c1a1f487a4abe377421e.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/087e3f577d795bcd007619514bb2977eede70c16

Git commit d88616555d2d3abc118f77d5556e14dd1512272b by Maarten Maathuis on 26/06/2008 at 21:21..
[modesetting-101] tab-cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d88616555d2d3abc118f77d5556e14dd1512272b

Git commit 701011224c048e064295ee12e8a02f7f66d4175a by Maarten Maathuis on 26/06/2008 at 23:16..
NV50: Implement DPMS.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/701011224c048e064295ee12e8a02f7f66d4175a

Git commit 01ee5eda9aaff880153223df8bb70a34b1a87cee by Maarten Maathuis on 26/06/2008 at 23:29..
NV50: A minor change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01ee5eda9aaff880153223df8bb70a34b1a87cee

Git commit 71906e86e81440037aa08b6f23f36e9fd3835639 by Maarten Maathuis on 27/06/2008 at 14:30..
[modesetting-101] Actually store properties when being changed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71906e86e81440037aa08b6f23f36e9fd3835639

Git commit 9f28da80f6cc8e45670b217a2483983f2838095d by Maarten Maathuis on 27/06/2008 at 16:45..
Change some obviously wrong things about property blobs, still broken though.

- I do not fully understand these blobs, so i'm leaving it at this for the moment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f28da80f6cc8e45670b217a2483983f2838095d

Git commit 91c742663a618e81da69ad4f098321d9af56d636 by Maarten Maathuis on 27/06/2008 at 16:58..
NV50: use list_head item instead of list_head head to avoid confusion
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91c742663a618e81da69ad4f098321d9af56d636

Git commit 409d6818eba8a2e2938e0f9281c9318928ba5a35 by Dave Airlie on 01/07/2008 at 07:55..
drm: sg alloc should write back the handle to userspace
(cherry picked from commit d5ae19ebcf2dc6402872e0575b5786b6e8117b6f)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/409d6818eba8a2e2938e0f9281c9318928ba5a35

Git commit 3530ff0f7b2ae36f04146003311daf8e844b05c9 by Julien Cristau on 01/07/2008 at 10:09..
Merge tag 'libdrm-2.3.1' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3530ff0f7b2ae36f04146003311daf8e844b05c9

Git commit f1e04d231a0ae5917b7a59c41915dd2a51814798 by Julien Cristau on 01/07/2008 at 10:17..
update changelogs and refresh patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1e04d231a0ae5917b7a59c41915dd2a51814798

Git commit bc32d1798a213d7701b20feb95781eb51a42e945 by Maarten Maathuis on 01/07/2008 at 13:14..
NV50: some i2c cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc32d1798a213d7701b20feb95781eb51a42e945

Git commit 2b9c5719c09226a36a4a1e9869e6075b8ec08824 by Maarten Maathuis on 01/07/2008 at 14:00..
NV50: switch to fixed point scale factor calculations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b9c5719c09226a36a4a1e9869e6075b8ec08824

Git commit a08e2c8f3be381251cab345bfec1374962731b52 by Timo Aaltonen on 01/07/2008 at 15:23..
Bump the shlibs to 2.3.1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a08e2c8f3be381251cab345bfec1374962731b52

Git commit e935925cd733fffef44b3e3210a875b57b3812e9 by Jesse Barnes (on behalf of Jie Luo) on 01/07/2008 at 19:22..
i915: enable bus mastering on i915 at resume time

On 9xx chips, bus mastering needs to be enabled at resume time for much of the
chip to function.  With this patch, vblank interrupts will work as expected
on resume, along with other chip functions.   Fixes kernel bugzilla #10844.

Signed-off-by: Jie Luo <clotho67 at gmail.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e935925cd733fffef44b3e3210a875b57b3812e9

Git commit 727d4f1d1667e43b3558bd5f6ed6dc2cd9c29401 by Jesse Barnes on 01/07/2008 at 19:25..
i915: only use tiled blits on 965+

When scheduled swaps occur, we need to blit between front & back buffers.  If
the buffers are tiled, we need to set the appropriate XY_SRC_COPY tile bit, but
only on 965 chips, since it will cause corruption on pre-965 (e.g. 945).

Bug reported by and fix tested by Tomas Janousek <tomi at nomi.cz>.

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/727d4f1d1667e43b3558bd5f6ed6dc2cd9c29401

Git commit 94dcc83ad2e8f848a3cac6cdc6f123e676e91cf8 by Jesse Barnes on 01/07/2008 at 23:09..
Revert "i915: only use tiled blits on 965+"

This reverts commit 727d4f1d1667e43b3558bd5f6ed6dc2cd9c29401, somehow git
deleted the symlink and replaced it with the file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94dcc83ad2e8f848a3cac6cdc6f123e676e91cf8

Git commit 301d984ea80cb250460d6701c4373cf0af8bf59e by Jesse Barnes on 01/07/2008 at 23:10..
i915: only use tiled blits on 965+

When scheduled swaps occur, we need to blit between front & back buffers.  I
the buffers are tiled, we need to set the appropriate XY_SRC_COPY tile bit,
only on 965 chips, since it will cause corruption on pre-965 (e.g. 945).

Bug reported by and fix tested by Tomas Janousek <tomi at nomi.cz>.

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/301d984ea80cb250460d6701c4373cf0af8bf59e

Git commit b28d309210475b6f671af7617c779bd1d7a6810a by Jakob Bornecrantz on 02/07/2008 at 12:01..
tests: Improved and renamed the mode app to modeprint
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b28d309210475b6f671af7617c779bd1d7a6810a

Git commit f1fe9178f1a2aef272c7feeb15c8de42c8c609d5 by Maarten Maathuis on 02/07/2008 at 14:14..
NV50: basic fbcon + misc fixes

- There is one fb, used for as many outputs as possible.
- Eventually smaller screens will be scaled to see the full console, but for the moment this'll do.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1fe9178f1a2aef272c7feeb15c8de42c8c609d5

Git commit 401f77a2ef1d55feaccc13cdae1e5379f4cfec7e by Zhenyu Wang on 02/07/2008 at 16:49..
i915: official name for GM45 chipset

Signed-off-by: Zhenyu Wang <zhenyu.z.wang at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/401f77a2ef1d55feaccc13cdae1e5379f4cfec7e

Git commit 4f233ce61858b94e0c1bd36e331b36d1b59512e5 by Jakob Bornecrantz on 02/07/2008 at 20:47..
tests: Updated modeprint
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f233ce61858b94e0c1bd36e331b36d1b59512e5

Git commit 49e1fa1d503bb66949d825c41c1d97c83cf86361 by Jakob Bornecrantz on 02/07/2008 at 21:12..
tests: modeprint s/fb/fd/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49e1fa1d503bb66949d825c41c1d97c83cf86361

Git commit 70ba0871916af586b355550184e0782b36e132c9 by Dave Airlie on 02/07/2008 at 22:00..
drm: fix encoders get permissions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70ba0871916af586b355550184e0782b36e132c9

Git commit aa2d3cfc168481b7637d935af990ce447012ebfe by Jakob Bornecrantz on 02/07/2008 at 22:04..
tests: Fix faulty error messages in modeprint
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa2d3cfc168481b7637d935af990ce447012ebfe

Git commit 59a9a756e238dd73f3051434545b2d3bf225da87 by Dave Airlie on 02/07/2008 at 22:06..
modesetting: lookup blob using correct identifier.

blob is a blob not a connector
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59a9a756e238dd73f3051434545b2d3bf225da87

Git commit 5de978905abd6d44ee2ecdc7393194a4950c595c by Maarten Maathuis on 02/07/2008 at 22:25..
[libdrm] count connectors and such has no place in a crtc object
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5de978905abd6d44ee2ecdc7393194a4950c595c

Git commit 94cf07bff1bf9a42ba6360f8feaa441b763b337f by Maarten Maathuis on 02/07/2008 at 22:30..
Forgot to fix the modeprint test.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94cf07bff1bf9a42ba6360f8feaa441b763b337f

Git commit 02b30739f7676082af4ce92448d910085d1dfc65 by Maarten Maathuis on 02/07/2008 at 23:05..
[modeseting-101] add connected field to sysfs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02b30739f7676082af4ce92448d910085d1dfc65

Git commit 47c8f317410976c679aeaee69a372ec45485d442 by Maarten Maathuis on 03/07/2008 at 05:18..
NV50: replace active by enabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47c8f317410976c679aeaee69a372ec45485d442

Git commit d5ca5c9cd379438ac303598677f3789adc3687b1 by Maarten Maathuis on 03/07/2008 at 06:07..
[drm-sysfs] connected is ambigious in the context of a connector, replace with enabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5ca5c9cd379438ac303598677f3789adc3687b1

Git commit 062d85062061199f2326982e27d54955a4ad76dc by Maarten Maathuis on 03/07/2008 at 07:08..
nv50: s/FALSE/false && s/TRUE/true
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/062d85062061199f2326982e27d54955a4ad76dc

Git commit 11b7a81c8a776aa7761ee03fe55d741a44ba5df7 by Maarten Maathuis on 03/07/2008 at 15:25..
libdrm: fix typo in comment
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11b7a81c8a776aa7761ee03fe55d741a44ba5df7

Git commit 142a309604b65c26ca95594943ee91dde8688697 by Dave Airlie on 03/07/2008 at 23:34..
modesetting: rip out all of the generation code.

not needed, hotplug will work just as well hopefully.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/142a309604b65c26ca95594943ee91dde8688697

Git commit b29578103f57a8d684b4a3a79f220e6cc626605e by Maarten Maathuis on 04/07/2008 at 15:19..
[modesetting-101] Add subconnector and select_subconnector properties.

- These facilitate DVI-I and tv-out that can drive multiple types of signals.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b29578103f57a8d684b4a3a79f220e6cc626605e

Git commit c9915d695dad8e4f75b4f551f9f78ff3d64dc666 by Maarten Maathuis on 04/07/2008 at 15:28..
modesetting-101: Move some defines used for enumeration into the public header.

- Otherwise userspace has no idea of the meaning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9915d695dad8e4f75b4f551f9f78ff3d64dc666

Git commit 0028ca33e90d3405bd47a554e9398e0c2aa6099b by Maarten Maathuis on 04/07/2008 at 15:37..
Forgot the 0'th element for the tv property.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0028ca33e90d3405bd47a554e9398e0c2aa6099b

Git commit be31a0fa73272b9c727668096ba652ea748a9735 by Maarten Maathuis on 04/07/2008 at 16:47..
modesetting-101: tv_left_margin_property shouldn't be immutable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be31a0fa73272b9c727668096ba652ea748a9735

Git commit 7cbc5f6145046f3775e3b3ca2862bfb71831ec44 by Maarten Maathuis on 05/07/2008 at 10:04..
modesetting-101: Make the interface variable names a little more consistent + modeprint changes.

- All things are now called _id when they are id's.
- modeprint now accepts driver name as first argument.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cbc5f6145046f3775e3b3ca2862bfb71831ec44

Git commit c48cddc7ef984c1e05ed4f64a7fc182b6a5031f5 by Maarten Maathuis on 05/07/2008 at 14:54..
NV50: fix switch_fb and connector_is_digital
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c48cddc7ef984c1e05ed4f64a7fc182b6a5031f5

Git commit e1cd21bcc8747fcc573708bd4d74df39b60c476a by Maarten Maathuis on 05/07/2008 at 18:17..
NV50: remove edid when monitor is gone, improve fbcon, misc fixes

- This should avoid switching crtc's when going to fbcon.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1cd21bcc8747fcc573708bd4d74df39b60c476a

Git commit d495a6e28f7fe5428c1ceb75378cad31b51a517a by Maarten Maathuis on 06/07/2008 at 08:11..
NV50: minor fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d495a6e28f7fe5428c1ceb75378cad31b51a517a

Git commit e810cb9243fe6c4905182869d9e3272d861a14cb by Maarten Maathuis on 06/07/2008 at 08:52..
modesetting-101: rename modeflags, as to avoid conflicts with the xorg definitions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e810cb9243fe6c4905182869d9e3272d861a14cb

Git commit 6738e7b00bf05529303ed690873495db6d83337c by Maarten Maathuis on 06/07/2008 at 09:08..
modesetting-101: Rename DPMS modes to avoid compatibility issues with xorg definitions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6738e7b00bf05529303ed690873495db6d83337c

Git commit 88f668a0b91a9961d599c46392f3acbb5573ed9d by Maarten Maathuis on 06/07/2008 at 09:23..
NV50: fix minor bug in fbcon crtc selection
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88f668a0b91a9961d599c46392f3acbb5573ed9d

Git commit d5d3f31b108c8514a820bb50a5736ba06fc33275 by Maarten Maathuis on 06/07/2008 at 10:51..
NV50: init gamma storage
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5d3f31b108c8514a820bb50a5736ba06fc33275

Git commit 0b7d9a97bd2383fe4382fc1b1b266542020f0c4e by Alan Hourihane on 07/07/2008 at 14:11..
Synchronize the DDC EDID read to it's fb_ddc.c counterpart
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b7d9a97bd2383fe4382fc1b1b266542020f0c4e

Git commit 7fd8a5de63781f6faa053509c80e02e8f1cdbb69 by Kristian Høgsberg on 07/07/2008 at 16:04..
Use lowercase bool constants.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fd8a5de63781f6faa053509c80e02e8f1cdbb69

Git commit 3e02f7fd310ae062d250d8db01ddc3b7de3d7943 by Kristian Høgsberg on 07/07/2008 at 19:43..
Merge commit 'origin/drm-gem' into ms-gem

Conflicts:

	linux-core/drmP.h
	linux-core/drm_drv.c
	linux-core/drm_stub.c
	linux-core/i915_drv.c
	linux-core/i915_gem.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e02f7fd310ae062d250d8db01ddc3b7de3d7943

Git commit 1f9a5307acfe2ef0d104f7036d2d93504dc7673f by Eric Anholt on 07/07/2008 at 19:49..
[intel-gem] typo fix in DRM_ERROR
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f9a5307acfe2ef0d104f7036d2d93504dc7673f

Git commit 38a5f6686cd38d5204e240f30006538bcf70f5ac by Kristian Høgsberg on 07/07/2008 at 22:00..
Add back flink, open and close ioctls.

They fell through the cracks in 86accbcb.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38a5f6686cd38d5204e240f30006538bcf70f5ac

Git commit c7ed2c67916ee8058301c53b9d4690d81728fb95 by Ben Skeggs on 08/07/2008 at 02:35..
nouveau: interface changes for nv5x 3d
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7ed2c67916ee8058301c53b9d4690d81728fb95

Git commit eac0933be75b226e0b623d8dcbf343c391eb88a2 by Dave Airlie (on behalf of martin capitanio) on 08/07/2008 at 07:58..
xgi: use true/false instead of TRUE/FALSE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eac0933be75b226e0b623d8dcbf343c391eb88a2

Git commit 2556341f8baf0e0b7b5f7843135e43e662751af0 by Dave Airlie on 09/07/2008 at 04:53..
Merge remote branch 'origin/modesetting-101' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2556341f8baf0e0b7b5f7843135e43e662751af0

Git commit a0474be4e78d678eb615b37aad355effb955ee19 by Eric Anholt on 12/07/2008 at 01:58..
intel-gem: Add two new ioctls for managing tiling on objects.

Various chips have exciting interactions between the CPU and the GPU's
different ways of accessing interleaved memory, so we need some kernel
assistance in determining how it works.

Only fully tested on GM965 so far.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0474be4e78d678eb615b37aad355effb955ee19

Git commit a9089c45570c7b2df9155c2cd73aeea59cc0e34e by Dave Airlie on 12/07/2008 at 06:32..
modesetting/helper: fix array overrun - count should be reset here
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9089c45570c7b2df9155c2cd73aeea59cc0e34e

Git commit 08a395624650a68adae791e066e0538999ace611 by Julien Cristau on 13/07/2008 at 17:01..
Add a note about breaking i915tex_dri.so
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08a395624650a68adae791e066e0538999ace611

Git commit 61df5cad010b99afcad4be79c5d37fb4c8ac9fb6 by Julien Cristau on 13/07/2008 at 17:06..
debian/rules fixups

don't call configure with --host if we're not cross-building,
and fix some rules dependencies.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61df5cad010b99afcad4be79c5d37fb4c8ac9fb6

Git commit 94ae442655c1c2862041d801b819d4b5b3435b74 by Julien Cristau on 13/07/2008 at 17:08..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94ae442655c1c2862041d801b819d4b5b3435b74

Git commit 78f1fc9cbcb383d42d903a8b9febdcf3c438ea7c by Eric Anholt on 14/07/2008 at 16:16..
intel-gem: Disable tiling if we get junk from the MCHBAR read.

One of our systems has been returning 0xffffffff from all MCHBAR reads, which
means we'll need to figure out why, or add an alternate detection method.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78f1fc9cbcb383d42d903a8b9febdcf3c438ea7c

Git commit 76c8e19a29d635d2c62937a381ab33014cfe6cea by Dave Airlie on 15/07/2008 at 06:18..
drm/pcigart: fix warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76c8e19a29d635d2c62937a381ab33014cfe6cea

Git commit abdd523c759a5e19e733e3b544c2f1bcaa7a0b9a by Dave Airlie on 15/07/2008 at 06:18..
drm: add fix for PAT on radeon with 2.6.26
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abdd523c759a5e19e733e3b544c2f1bcaa7a0b9a

Git commit 764573f3b8bec90f20c3bdd58c4b55490fbbdaf4 by Dave Airlie on 15/07/2008 at 10:27..
drm: fix missing symbol export
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/764573f3b8bec90f20c3bdd58c4b55490fbbdaf4

Git commit dfd441cf964f20e4a761cb8490d7cd82cf32e7b9 by Ian Romanick (on behalf of Hong Liu) on 15/07/2008 at 17:14..
This is a modified version of Hong's patch from last month, with a few
modifications to make it work correctly on my test hardware (altered the
backlight write function, made it enable the legacy backlight controller
interrupts on mobile hardware, sorted the interrupt function so we don't
get an excessive number of vblank interrupts). This lets the backlight
keys on my T61 work properly, though there's a 750msec or so delay
between the request and the brightness actually changing - this sounds
awfully like the hardware spinning waiting for a status flag to become
ready, but as far as I can tell they're all set correctly. If anyone can
figure out what's wrong here, it'd be nice to know.

Some of the functions are still stubs and just tell the hardware that
the request was successful. These can be filled in as kernel modesetting
gets integrated. I think it's worth getting this in anyway, since it's
required for backlight control to work properly on some new platforms.

Signed-off-by: Matthew Garrett <mjg at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfd441cf964f20e4a761cb8490d7cd82cf32e7b9

Git commit 96580f660e5509dcf6c34de5630e3d36b156bcd5 by Robert Noland on 15/07/2008 at 20:53..
[FreeBSD] We aren't allowed to hold locks over bus_dma_tag_create or bus_dmamem_alloc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96580f660e5509dcf6c34de5630e3d36b156bcd5

Git commit 78b3958b14a5298165d8500d711342be1b7b6463 by Julien Cristau on 16/07/2008 at 16:22..
xsfbs.mk: fix the prepare target for parallel make
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78b3958b14a5298165d8500d711342be1b7b6463

Git commit 6c29758eb1a2798f6b77516b7a75dc399769d217 by Julien Cristau on 16/07/2008 at 16:34..
xsfbs.mk: more parallel make fixing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c29758eb1a2798f6b77516b7a75dc399769d217

Git commit 50619e730fcaf422ffa4451468520526b2a830b8 by Julien Cristau on 16/07/2008 at 16:45..
xsfbs.mk: update the list of releases, and drop some unused code

we haven't had a separate source tree since modularization.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50619e730fcaf422ffa4451468520526b2a830b8

Git commit 74cf1f91be7f4139601624af0343e3d411190dec by Robert Noland (on behalf of Owain Gordon Ainsworth) on 17/07/2008 at 01:37..
BSD: change drm_locked_task*() to use the same scheme as linux.

The current code can sleep in an interrupt handler, that is bad. So
instead if we can't grab the lock, flag it and run the tasklet on
unlock.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74cf1f91be7f4139601624af0343e3d411190dec

Git commit b0e4619a396f2db8c594cd0a26fd2f0ab9358095 by Robert Noland on 17/07/2008 at 03:39..
FreeBSD: Fix radeon build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0e4619a396f2db8c594cd0a26fd2f0ab9358095

Git commit 86e7669f5d912824e341ea487a6257ec5433eb90 by Julien Cristau on 17/07/2008 at 13:44..
xsfbs.mk: make 'log' a separate target

'prepare' runs genscripts, and we don't want that in unpatch,
so create stampdir/log in a separate target, and make unpatch
depend on that instead of prepare.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86e7669f5d912824e341ea487a6257ec5433eb90

Git commit 2204f926abe4da87a38955c4ecf9adb73b646666 by Jesse Barnes on 17/07/2008 at 17:55..
Avoid incorrect vblank wakeups

The current code uses the hw vblank counter exclusively, which can lead
to wakeups during the active period rather than during the vblank period
if the hw counter counts displayed frames rather than vblank periods.

This change coverts the code over to using the counter while interrupts
are enabled, fixing that issue.  It also includes a couple of related
changes:  one to not enable the new enable/disable behavior until the
modeset ioctl is called (to preserve old client behavior) and another to
account for lost events due to mode setting with the new counter scheme.

BSD will require similar changes to its drm_irq.c code, but they should
be straightforward.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2204f926abe4da87a38955c4ecf9adb73b646666

Git commit a9427cf31861542ff4f4d3db498e5f2ada7da4c1 by Jesse Barnes on 17/07/2008 at 17:55..
i915: remove old broken vblank code

Remove the unused (and broken) "in vblank" code now that the core has
been fixed to use a counter while interrupts are enabled.  Also make the
vblank pipe get/set ioctls into dumb stub functions, since with the new
code we can no longer let userspace control whether vblank interrupts
are enabled, or the core code will misbehave.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9427cf31861542ff4f4d3db498e5f2ada7da4c1

Git commit 480c317a6ae634d777931eee54fadd2a50a2f650 by Robert Noland on 17/07/2008 at 18:08..
[FreeBSD] drm_irq.c updates for vblank fixes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/480c317a6ae634d777931eee54fadd2a50a2f650

Git commit ed7e1709158ca42736650379ee2aba64a827c51e by Dave Airlie on 18/07/2008 at 04:32..
drm/radeon: fixup 0 vs NULL
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed7e1709158ca42736650379ee2aba64a827c51e

Git commit 7cfdba2b30e40efc688f1704bd4f4141dc6f9a6c by Dave Airlie on 18/07/2008 at 04:36..
radeon: remove microcode version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cfdba2b30e40efc688f1704bd4f4141dc6f9a6c

Git commit 4872ac9c6204c3f212fd622ed292f6fc245020bf by Maarten Maathuis (on behalf of Ben Skeggs) on 18/07/2008 at 15:44..
nouveau: interface changes for nv5x 3d
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4872ac9c6204c3f212fd622ed292f6fc245020bf

Git commit 0ef097b598433a5756df2bd6a72deba1f0e1d1c7 by Maarten Maathuis (on behalf of Ben Skeggs) on 18/07/2008 at 16:25..
nv50: use same dma object for fb/tt access

We depend on the VM fully now for memory protection, separate DMA objects
for VRAM and GART are unneccesary.  However, until the next interface break
(soon) a client can't depend on the objects being the same and must still
call NV_OBJ_SET_DMA_* methods appropriately.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ef097b598433a5756df2bd6a72deba1f0e1d1c7

Git commit f5c2f00e2f99732311c9a35a91b6adc93047c51b by Eric Anholt on 18/07/2008 at 19:10..
intel-gem: Leave 8xx tiling on until we find any issues.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5c2f00e2f99732311c9a35a91b6adc93047c51b

Git commit 4d83a751b421ec3f3e0c572070c3bc295b9adbcc by Ian Romanick on 18/07/2008 at 19:42..
drm-gem: Fix build

On some distros missing prototypes cause kernel builds to fail.  These
are hack to make the code build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d83a751b421ec3f3e0c572070c3bc295b9adbcc

Git commit 6ac1f8a760e1e757569a5f6f420df91cf203b02d by Jesse Barnes on 19/07/2008 at 17:21..
Update vblank code to new API

In my last push I forgot to convert users of drm_update_vblank_count
over to drm_vblank_get/put, since that's where any interrupt off->on
update accounting is done now.  Since the modeset ioctl did something
similar (an open coded update of the counter) convert it over to using
get/put too, which saves us from having to deal with every combination
of interrupt off & on between calls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ac1f8a760e1e757569a5f6f420df91cf203b02d

Git commit 04893aa99abfbed8eb6d7067a974fa1f31193c87 by Jesse Barnes on 19/07/2008 at 17:21..
i915: convert to using drm_vblank_get/put around vblank counter usage

All interrupt off vblank count updates are done in drm_vblank_get/put
now, so convert users of the vblank counter over to that interface.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04893aa99abfbed8eb6d7067a974fa1f31193c87

Git commit e2ffee839ed7ae6c55a0a8c6bb8ee872ae8a2a70 by Maarten Maathuis on 19/07/2008 at 22:09..
drm: As a workaround don't tear down sg with a modesetting driver.

- This allows me to maintain a useful prototype driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2ffee839ed7ae6c55a0a8c6bb8ee872ae8a2a70

Git commit 65803e53a696347e38d7f6c2c8dc186c6764ff03 by Maarten Maathuis on 20/07/2008 at 11:49..
modesetting-101: implement optional scaling and dithering properties
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65803e53a696347e38d7f6c2c8dc186c6764ff03

Git commit 3ef1d05001a9e28ed52536de7e020323d8d34d83 by Maarten Maathuis on 20/07/2008 at 12:51..
modesetting-101: set_property should return an int, not a bool
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ef1d05001a9e28ed52536de7e020323d8d34d83

Git commit f1e4785d4cf04b679948602ffbbef2043ce81ec0 by Maarten Maathuis on 20/07/2008 at 12:55..
NV50: LVDS always needs some kind of gpu scaling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1e4785d4cf04b679948602ffbbef2043ce81ec0

Git commit e51cd78cac24df15e32e23d8db73614524e6ff0d by Maarten Maathuis on 20/07/2008 at 12:58..
modesetting-101: Only store property value when set_property was successful.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e51cd78cac24df15e32e23d8db73614524e6ff0d

Git commit 685bca02fe6b7406bb157a1a4e0f147b47ba28f8 by Maarten Maathuis on 20/07/2008 at 13:40..
NV50: delay changing gpu<->non-gpu scaling modes until next modeset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/685bca02fe6b7406bb157a1a4e0f147b47ba28f8

Git commit 014935b680d12856a01c0b2fe6077a38d69d14d3 by Michel Dänzer on 21/07/2008 at 06:13..
Remove obsolete dev->vblank_suspend[crtc] tests.

Caused drm_update_vblank_count() not to do its thing when called from
drm_modeset_ctl() -> drm_vblank_get().

The vblank functionality no longer needs to be suspended during a modeset, so
rename the field to vblank_inmodeset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/014935b680d12856a01c0b2fe6077a38d69d14d3

Git commit 205aff6a5cc7b037f53b6bbcd3fa5b2d42f43f5b by Michel Dänzer on 21/07/2008 at 06:16..
vblank-rework rework cleanups.

Remove some dead/obsolete code and make drm_update_vblank_count() static.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/205aff6a5cc7b037f53b6bbcd3fa5b2d42f43f5b

Git commit e4feaf506db0bc8ad15dbb5154e093478c3dd56a by Michel Dänzer on 21/07/2008 at 06:16..
radeon: Post-vblank-rework-rework cleanups.

Thanks to the reworked vblank-rework, we can just use the hardware frame
counter directly, and make the RADEON_PARAM_VBLANK_CRTC getparam just return
what was set by the corresponding setparam.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4feaf506db0bc8ad15dbb5154e093478c3dd56a

Git commit f529a510d200c87919084fda1e053545c25ebeab by Michel Dänzer on 21/07/2008 at 06:16..
Drop workaround for driver vblank counter going backwards.

The driver code that caused this is no longer necessary and has been dropped.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f529a510d200c87919084fda1e053545c25ebeab

Git commit 4be367b84b5a6691c28d9419039ea8113ebabc92 by Michel Dänzer on 21/07/2008 at 09:48..
Reinstate dev->vblank_enabled[].

I incorrectly thought it was obsolete.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4be367b84b5a6691c28d9419039ea8113ebabc92

Git commit b5cddbcc1536d70dfa9fec833732b2a715d82e65 by Michel Dänzer on 21/07/2008 at 11:43..
Remove accidental leftover tests.

Thanks to Nicolai Haehnle for pointing this out on IRC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5cddbcc1536d70dfa9fec833732b2a715d82e65

Git commit d00644c27ddc7023ea0e442c7be6b67d9d0da047 by Maarten Maathuis on 21/07/2008 at 12:29..
NV50: Do detect with hpd and load detect if possible.

- Appropriate error messages when an unknown situation is encountered are included.
- Fallback to i2c will occur when needed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d00644c27ddc7023ea0e442c7be6b67d9d0da047

Git commit 03f8208ab0a3ea77a8b30dd1c3fe2b62892f9d8c by Maarten Maathuis on 21/07/2008 at 12:50..
NV50: Use bios table for load pattern when possible.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03f8208ab0a3ea77a8b30dd1c3fe2b62892f9d8c

Git commit 147ef45873868a0df9216dac0370ada1ed835590 by Maarten Maathuis on 21/07/2008 at 14:40..
NV50: don't fail on LVDS by default
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/147ef45873868a0df9216dac0370ada1ed835590

Git commit 4d5b9f484885ac01457f0a8c39b24ca4aac34b5a by Maarten Maathuis on 21/07/2008 at 14:57..
NV50: Don't create a "native" mode for LVDS when there is none.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d5b9f484885ac01457f0a8c39b24ca4aac34b5a

Git commit 67d15215660407b07265c37d60ea5cac8930cef9 by Eric Anholt on 21/07/2008 at 21:19..
intel-gem: Set up HWS when it needs a vaddr during GEM init.

This requires an updated 2D driver to not try to set it up as well.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67d15215660407b07265c37d60ea5cac8930cef9

Git commit e31d27857ffc1b01ca49e70b5ba6f7425414d7c8 by Eric Anholt on 21/07/2008 at 21:21..
intel-gem: Remove recently added pci_read_base prototype.

This is in pci.h in the fixed patch to the kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e31d27857ffc1b01ca49e70b5ba6f7425414d7c8

Git commit f57f01f02843747d423f2e1c2936f0b987c5b067 by Robert Noland on 21/07/2008 at 22:06..
[FreeBSD] Improve upper_32_bits define.

Thanks to airlied.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f57f01f02843747d423f2e1c2936f0b987c5b067

Git commit c669489813c089b5aa176367e696396b071a4bee by Dave Airlie on 22/07/2008 at 08:10..
radeon: fix type DST vs Z cache flush
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c669489813c089b5aa176367e696396b071a4bee

Git commit 589f9681734770dce966bcded7d3d4bd78f4bea5 by Dave Airlie on 22/07/2008 at 08:47..
radeon: fix typo with a better typo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/589f9681734770dce966bcded7d3d4bd78f4bea5

Git commit a5d8f35f0fa651fbe8ca2897875ba188ca7dcda5 by Eric Anholt on 23/07/2008 at 17:10..
intel-gem: Move /proc debugging to a separate file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5d8f35f0fa651fbe8ca2897875ba188ca7dcda5

Git commit bddb952578d58c4dcfafe969c045a39d27666b56 by Eric Anholt on 23/07/2008 at 17:10..
intel-gem: Don't do the GTT-pwrite shortcut on tiled buffers.

These will be covered by the fence, while pread/pwrite are supposed to be
CPU-perspective writes, with manual detiling done by the client.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bddb952578d58c4dcfafe969c045a39d27666b56

Git commit 439d7106832f2e9742deb900d96f1d3bc07162b1 by Eric Anholt on 23/07/2008 at 17:10..
intel-gem: Add a quick hack to reduce clflushing on pread.

This increases overhead for the large-readpixels case due to the repeated
page cache accessing, but greatly reduces overhead for the small-readpixels
case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/439d7106832f2e9742deb900d96f1d3bc07162b1

Git commit 6d258ddf7715412e2fb6fae35ea28d49c57ee130 by Eric Anholt on 23/07/2008 at 18:49..
intel-gem: Fix pread math and logic errors.

Fixes an oops in fbotexture from walking off the end of the page list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d258ddf7715412e2fb6fae35ea28d49c57ee130

Git commit 965a72202b439068e62ac341990f51953457b202 by Robert Noland on 23/07/2008 at 23:55..
i915: Move all of the irq install/uninstall to load time.

This resolves a panic on FreeBSD which was caused by trying
to re-initialize the swap lock.  It's just much easier to
initialize all of the locks at load time.  It should also
ensure that the vblank structures are available earlier.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/965a72202b439068e62ac341990f51953457b202

Git commit 2580a065d81be645a14af1e91b8441f7e72fcbe4 by Robert Noland on 24/07/2008 at 04:21..
[FreeBSD] Catch up to linux on vblank-rework
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2580a065d81be645a14af1e91b8441f7e72fcbe4

Git commit 53428453758621da70d9608c9baec58b4b9383ec by Dave Airlie on 24/07/2008 at 05:22..
drm: use correct mode destructor
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53428453758621da70d9608c9baec58b4b9383ec

Git commit 50db5aefa18283282400fd4a5090b686b5870206 by Dave Airlie on 25/07/2008 at 03:30..
drm: don't set the signal blocker on the master process.

this lets us debug the X server through xkb startup.

Not sure what the correct answer is, probably X needs to drop
the lock when execing stuff, with input hotplug it can get
xkb stuff at any time I believe.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50db5aefa18283282400fd4a5090b686b5870206

Git commit 7a3d6624c47d87bdd46f5394b8cc5130c7a4ed0d by Robert Noland on 25/07/2008 at 17:46..
[FreeBSD] Duh, we need to actually define the drm_modeset_ctl...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a3d6624c47d87bdd46f5394b8cc5130c7a4ed0d

Git commit fb05c4d621084d7a3fb3dd52d7d9c888eac852d0 by Dave Airlie on 25/07/2008 at 22:38..
Merge remote branch 'origin/modesetting-101' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb05c4d621084d7a3fb3dd52d7d9c888eac852d0

Git commit 11d30750873260fe19498d90831f07079dfad5d8 by Dave Airlie on 25/07/2008 at 22:41..
modesetting: pass file_priv into cursor set functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11d30750873260fe19498d90831f07079dfad5d8

Git commit 2be292f6ea8df96afc1454f30918b1b391fba2ba by Dave Airlie on 25/07/2008 at 22:43..
nv50: remove TRUE/FALSE
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2be292f6ea8df96afc1454f30918b1b391fba2ba

Git commit 66723c09f5e4d60f1c746d112b065bacc1cfa89f by Dave Airlie on 25/07/2008 at 22:43..
modesetting: pass file priv to cursor
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66723c09f5e4d60f1c746d112b065bacc1cfa89f

Git commit 7fd7ba87f35aa4881e99b95bab4151b3f9db9b8e by Dave Airlie on 25/07/2008 at 22:46..
drm: don't set the signal blocker on the master process.

this lets us debug the X server through xkb startup.

Not sure what the correct answer is, probably X needs to drop
the lock when execing stuff, with input hotplug it can get
xkb stuff at any time I believe.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fd7ba87f35aa4881e99b95bab4151b3f9db9b8e

Git commit 31da9492a4129f5255e949836c51e9dfbfb270c4 by Dave Airlie on 25/07/2008 at 22:46..
Merge remote branch 'origin/modesetting-101' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31da9492a4129f5255e949836c51e9dfbfb270c4

Git commit df9871064e8b564d9ae2e56d561b64434fd004af by Dave Airlie on 25/07/2008 at 22:56..
radeon: add initial atombios modesetting and GEM -> TTM translation layer.

This is an initial import of the atom bios parser with modesetting support
for r500 hw using atombios. It also includes a simple memory manager
layer that translates a radeon GEM style interface onto TTM internally.

So far this memory manager has only been used for pinned object allocation
for the DDX to test modesetting.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df9871064e8b564d9ae2e56d561b64434fd004af

Git commit 0443d2a32ab791867cb0ce361a3905357d6a87d9 by Dave Airlie on 25/07/2008 at 22:56..
tests: add some basic radeon gem tests
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0443d2a32ab791867cb0ce361a3905357d6a87d9

Git commit c3d463840c902a28221f1514bfb69fb7905a05c2 by Nicolai Haehnle on 26/07/2008 at 14:40..
r300_cmdbuf: Always emit INDX_BUFFER immediately after DRAW_INDEX

DRAW_INDEX writes a vertex count to VAP_VF_CNTL. Docs say that behaviour
is undefined (i.e. lockups happen) when this write is not followed by the
right number of vertex indices.

Thus we used to do the wrong thing when drawing across many cliprects was
necessary, because we emitted a sequence
 DRAW_INDEX, DRAW_INDEX, INDX_BUFFER, INDX_BUFFER
instead of
 DRAW_INDEX, INDX_BUFFER, DRAW_INDEX, INDX_BUFFER
The latter is what we're doing now and which ought to be correct.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3d463840c902a28221f1514bfb69fb7905a05c2

Git commit 514c05cebe31a62f827a76f348d35596bef97811 by Michel Dänzer (on behalf of Stefan Becker) on 26/07/2008 at 14:49..
radeon: Add suspend/resume hooks for saving/clearing/restoring interrupts.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16799 .
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/514c05cebe31a62f827a76f348d35596bef97811

Git commit 5282a505b6fd1f0e2bb772b15daf652f7149f370 by Alex Deucher on 26/07/2008 at 20:57..
NV50: s/FALSE/false/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5282a505b6fd1f0e2bb772b15daf652f7149f370

Git commit 04ae66db1c517264cddc786be962fdd393c9c8ac by Eric Anholt on 27/07/2008 at 02:52..
intel-gem: Move debug-only functions to a separate file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04ae66db1c517264cddc786be962fdd393c9c8ac

Git commit 38835f9cd2b44cfb6587a52ba1bfe292b958d0e1 by Dave Airlie on 28/07/2008 at 05:21..
radeon command submission start

take code from Jerome munge into a TTM IB re-use
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38835f9cd2b44cfb6587a52ba1bfe292b958d0e1

Git commit dc3a7c023dd089150ee2dc40755fde348252bedb by Dave Airlie on 28/07/2008 at 07:27..
r300: initial command stream parser for packet 0.

this at least parses the DDX stream and lets me run gnome-terminal/metacity
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc3a7c023dd089150ee2dc40755fde348252bedb

Git commit 87520347b45e2f40a2d84831538a38d6a8d92439 by Dave Airlie on 28/07/2008 at 07:42..
r300: add some packet 3 decodes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87520347b45e2f40a2d84831538a38d6a8d92439

Git commit 42e373e903d960b38c605229ab102933b18cff73 by Dave Airlie on 28/07/2008 at 08:18..
radeon_cs: extract some offsets from packet data
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42e373e903d960b38c605229ab102933b18cff73

Git commit 478e019cb7caa0c336b19a18eb3cb4e81896b493 by Alan Hourihane on 28/07/2008 at 14:16..
set to 2.4.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/478e019cb7caa0c336b19a18eb3cb4e81896b493

Git commit f85fd1b42dc2d77266007c02144d4f4f524e4157 by Eric Anholt on 28/07/2008 at 18:25..
intel-gem: Speed up tiled readpixels by tracking which pages have been flushed.

This is around 3x or so speedup, since we would read wide rows at a time, and
clflush each tile 8 times as a result.  We'll want code related to this anyway
when we do fault-based per-page clflushing for sw fallbacks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f85fd1b42dc2d77266007c02144d4f4f524e4157

Git commit 1bdf35fe19c1aa02b301375b3cae7ad29adacef8 by Eric Anholt on 28/07/2008 at 18:29..
intel-gem: Fix regression tests.

Main fix is an oops that was triggered by the gtt pwrite path when we don't
have the gtt initialized.  Also, settle on -EBADF for "bad object handle",
and -EINVAL for "reading/writing beyond object boundary".
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bdf35fe19c1aa02b301375b3cae7ad29adacef8

Git commit 487c42bd42d93304278abce03b36c935bdc83284 by Eric Anholt on 28/07/2008 at 18:45..
intel-gem: Another checkpatch.pl pass.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/487c42bd42d93304278abce03b36c935bdc83284

Git commit 591f6bcba35e482280299eef91d57b23a69106d1 by Stuart Bennett on 29/07/2008 at 01:26..
nouveau: fix bad rename from 5a072f32c8f941d1ef301811881e8c89c8d8a5f1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/591f6bcba35e482280299eef91d57b23a69106d1

Git commit 6b903f5edfbba19980a5518df9a89643378516d4 by Stuart Bennett on 29/07/2008 at 01:32..
nouveau: fix nv04 fifo context save to save reg contents, not reg offset

clearly the function had never been used :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b903f5edfbba19980a5518df9a89643378516d4

Git commit 1d2bb68d28fe39746299ee8ddb664a62de839b0c by Eric Anholt on 29/07/2008 at 06:12..
Merge commit 'origin/master' into drm-gem

Conflicts:

	linux-core/Makefile.kernel
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d2bb68d28fe39746299ee8ddb664a62de839b0c

Git commit e68b57c17da422f61b34c8221c8f4655c676b925 by Eric Anholt on 29/07/2008 at 06:12..
intel-gem: checkpatch.pl on drm_proc.c new contents.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e68b57c17da422f61b34c8221c8f4655c676b925

Git commit 0e49e49c9f8fdbe77740c1bdcc0cb4102d26bf7a by Eric Anholt on 29/07/2008 at 06:14..
intel: Fix typo in unused register definition name.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e49e49c9f8fdbe77740c1bdcc0cb4102d26bf7a

Git commit 4234f82acc70f41e005d8cc301da56634352425c by Dave Airlie on 29/07/2008 at 06:51..
radeon_cs: add relocate hook for mm and non-mm relocations
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4234f82acc70f41e005d8cc301da56634352425c

Git commit 0452be882607f2d1601f4e592a11ccf543f5f9ca by Dave Airlie on 29/07/2008 at 08:05..
radeon: move code around putting emit into cs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0452be882607f2d1601f4e592a11ccf543f5f9ca

Git commit 90b90c65dc78648ddded5eff7628749182c73295 by Nicolai Haehnle on 29/07/2008 at 17:59..
r300: Fix cliprect emit

This makes our handling of cliprects sane. drm_clip_rect always has exclusive
bottom-right corners, but the hardware expects inclusive bottom-right corners,
so we adjust this here.

This complements Michel Daenzer's commit 57aea290e1e0a26d1e74df6cff777eb9f038f1f8
to Mesa. See also http://bugs.freedesktop.org/show_bug.cgi?id=16123 .
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90b90c65dc78648ddded5eff7628749182c73295

Git commit 0f78e30e0a189b76df3558f53ff2a92b841cd7ab by Eric Anholt on 29/07/2008 at 18:10..
intel-gem: Check return value of pci_read_base.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f78e30e0a189b76df3558f53ff2a92b841cd7ab

Git commit 8fc72aef70cdec71e3dbce548046974aecc15325 by Eric Anholt on 30/07/2008 at 03:26..
intel-gem: actually add i915_gem_debug.c.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fc72aef70cdec71e3dbce548046974aecc15325

Git commit 02b09d271c60d13fbb738c7053429a3b816397db by Dave Airlie on 30/07/2008 at 06:26..
i915: add version checks for opregion on old kernels
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02b09d271c60d13fbb738c7053429a3b816397db

Git commit 95c02743c96ca9e959f68a6e942206bdfadae53a by Dave Airlie on 30/07/2008 at 06:52..
i915: more version checks
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95c02743c96ca9e959f68a6e942206bdfadae53a

Git commit d659302e0955598ae08316ab911a0fb74d5e2f2f by Dave Airlie on 30/07/2008 at 07:05..
radeon: add some handles to the sarea + kernel mm available check
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d659302e0955598ae08316ab911a0fb74d5e2f2f

Git commit fb5542aaa87aca9b6b312968abe0a6044812cf0e by Dave Airlie on 30/07/2008 at 07:06..
radeon: hack gem to get an offset back for Mesa.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb5542aaa87aca9b6b312968abe0a6044812cf0e

Git commit 33c8e03787308c2b86a4f724ba7ce4dc43918b6a by Eric Anholt on 30/07/2008 at 18:25..
Revert "Rename drm_mm.c and its fuctions to drm_memrange."

This reverts commit 3ad8db2071d30c198403e605f2726fc5c3e46bfd.

We ended up not needing that namespace, and I'd rather not have the churn
for producing diffs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33c8e03787308c2b86a4f724ba7ce4dc43918b6a

Git commit 689548b5270a0049cfaf844013ef61ad4c9eaeea by Eric Anholt on 30/07/2008 at 18:29..
intel-gem: Remove dead field from reverted changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/689548b5270a0049cfaf844013ef61ad4c9eaeea

Git commit 6d4e147480a334d32fa59c7fde53e10d7ab6e106 by Kristian Høgsberg on 30/07/2008 at 20:34..
Make it compile again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d4e147480a334d32fa59c7fde53e10d7ab6e106

Git commit ccbaad52f79162a77d98d0dde00681b1dbf14165 by Eric Anholt on 30/07/2008 at 21:10..
intel-gem: Replace version bump signalling GEM with I915_PARAM_HAS_GEM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccbaad52f79162a77d98d0dde00681b1dbf14165

Git commit 9b8d71b5eb09857b07409731d3de182751f712a2 by Dave Airlie on 31/07/2008 at 02:54..
TTM: remove API and userspace objects.

This removes all the TTM userspace API and all userspace objects.

It also removes the drm_bo_lock.c code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b8d71b5eb09857b07409731d3de182751f712a2

Git commit 55761b2fe706f8f68ca3a8827b950fd01af1650b by Dave Airlie on 31/07/2008 at 03:11..
drm: add fault handler support so as to be more like possible upstream
(cherry picked from commit 10d5b037b85706037df89bf0275436797e4eb559)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55761b2fe706f8f68ca3a8827b950fd01af1650b

Git commit 10d5b037b85706037df89bf0275436797e4eb559 by Dave Airlie on 31/07/2008 at 03:12..
drm: add fault handler support so as to be more like possible upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10d5b037b85706037df89bf0275436797e4eb559

Git commit d2d7f3069dac4bc5ddd3c8da4d3955f690274276 by Dave Airlie on 31/07/2008 at 03:31..
drm: userspace rip out TTM API
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2d7f3069dac4bc5ddd3c8da4d3955f690274276

Git commit 296073dc5f0bf3f8b74a7d6db48b05c09a1b9242 by Dave Airlie on 31/07/2008 at 04:39..
drm: remove object hash
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/296073dc5f0bf3f8b74a7d6db48b05c09a1b9242

Git commit 5052e966ec7fe5146c2d73b90482003619add5da by Kristian Høgsberg on 31/07/2008 at 19:18..
Merge commit 'origin/master' into modesetting-gem

Conflicts:
	linux-core/Makefile.kernel
	linux-core/ati_pcigart.c
	linux-core/drm_compat.h
	linux-core/drm_irq.c
	linux-core/drm_lock.c
	linux-core/i915_drv.c
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
	shared-core/nouveau_mem.c
	shared-core/radeon_cp.c
	shared-core/radeon_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5052e966ec7fe5146c2d73b90482003619add5da

Git commit 4585787bd1a1d782b9e7c06095f98d09165b8c23 by Dave Airlie on 31/07/2008 at 21:43..
Revert "i915: Move all of the irq install/uninstall to load time."

This reverts commit 965a72202b439068e62ac341990f51953457b202.

Please re-do over properly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4585787bd1a1d782b9e7c06095f98d09165b8c23

Git commit 086716c8e2516dd71e94ebda03e20943188a5e5e by Kristian Høgsberg on 01/08/2008 at 17:35..
Merge commit 'origin/drm-gem' into modesetting-gem

Conflicts:
	linux-core/Makefile.kernel
	linux-core/drmP.h
	linux-core/drm_mm.c
	linux-core/drm_stub.c
	linux-core/i915_gem.c
	linux-core/i915_opregion.c
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/086716c8e2516dd71e94ebda03e20943188a5e5e

Git commit 922f74f3c95fae39ffe8cf0659fa47e0bc354076 by Dave Airlie on 04/08/2008 at 04:52..
drm: remove unneeded debugging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/922f74f3c95fae39ffe8cf0659fa47e0bc354076

Git commit 129c8a11814741a997e3d039ab4be542d38e5ed8 by Dave Airlie on 04/08/2008 at 04:53..
modesetting: pick_crtcs can't be static
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/129c8a11814741a997e3d039ab4be542d38e5ed8

Git commit af6efc3d778b96164849f822331938c4cdf8f4b2 by Dave Airlie on 04/08/2008 at 04:54..
i915/radeon: use rmmap locked
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af6efc3d778b96164849f822331938c4cdf8f4b2

Git commit 717dd804d0d1d9984345a998b28ee47079c70639 by Dave Airlie on 04/08/2008 at 04:54..
drm: fixup master code to use krefs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/717dd804d0d1d9984345a998b28ee47079c70639

Git commit dff84851516a71639d734e134c584f6ed4d3ee07 by Dave Airlie on 04/08/2008 at 04:55..
drm: remove unused types
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dff84851516a71639d734e134c584f6ed4d3ee07

Git commit 29649ddedee6b07b922c99233b8afc7c3a1db66f by Dave Airlie on 04/08/2008 at 04:56..
radeon: don't use ring if cp not going
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29649ddedee6b07b922c99233b8afc7c3a1db66f

Git commit aa8e15f8b51e555e78cb93e279bad5843eea5391 by Dave Airlie on 04/08/2008 at 04:59..
radeon: add userspace mm enable switch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa8e15f8b51e555e78cb93e279bad5843eea5391

Git commit fd75c02ddd380c102ca089f015f14dfe964910b1 by Dave Airlie on 04/08/2008 at 04:59..
drm: finish bo after lastclose
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd75c02ddd380c102ca089f015f14dfe964910b1

Git commit 4748fbcbd7b0337448ce88c2cdbbc500ff959e42 by Dave Airlie on 05/08/2008 at 01:36..
radeon: fix blit due to registers wrong
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4748fbcbd7b0337448ce88c2cdbbc500ff959e42

Git commit 8e41ce17b4ab72f526cc6e9acd75c3fa81a60433 by Keith Packard on 05/08/2008 at 06:34..
Expose pin/unpin/set_tiling/flink APIs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e41ce17b4ab72f526cc6e9acd75c3fa81a60433

Git commit ceb3d5e3834452f9d54f974b8066f90168467443 by Keith Packard on 05/08/2008 at 21:44..
[gem-intel] Don't clear write_domain until flush completes

In i915_gem_object_wait_rendering, if the object write domain is being
written by the GPU, the appropriate flushing commands are written to the
device and an additional request queued to mark that flush. Finally, the
function blocks on that new request.

The bug was that the write_domain in the object was cleared before the
function blocked.

If the wait is interrupted by a signal, the flushing commands may still be
pending. With the current write_domain information lost, the restarted
syscall will drop right through the write_domain test as that value was
lost, and so the function will not block at all. Oops.

Fixed by simply moving the write_domain clear until after the wait_request
succeeds. Note that the restarted system call will generate an additional
flush sequence and request, but that should be 'harmless', aside from a
slight performance impact.

Someday we'll track flushing more accurately and clear write_domains more
efficiently, but for now, this should suffice.

This bug was discovered in the 2d gem development by running x11perf
-copypixwin500 and noticing that the window got cleared accidentally.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ceb3d5e3834452f9d54f974b8066f90168467443

Git commit dc0546c87ffc6701802d6141810c24954274e1ac by Keith Packard on 05/08/2008 at 23:06..
[gem-intel] Retiring flush requests should clear flushed write_domains

When i915_gem_retire_request has a flush which matches an object write
domain, clear the write domain. This will move the object to the inactive
list rather than the flushing list, avoiding trouble with objects left stuck
on the flushing list.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc0546c87ffc6701802d6141810c24954274e1ac

Git commit 513d4c3ff1937159e0d32047376415df09031ce6 by Dave Airlie on 06/08/2008 at 00:21..
radeon: fix setting new memmap in right place
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/513d4c3ff1937159e0d32047376415df09031ce6

Git commit 04b5584c62fa3311e717692e261870276cbd6350 by Dave Airlie on 06/08/2008 at 05:56..
pcigart: fixup memset + remove wbinvd
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04b5584c62fa3311e717692e261870276cbd6350

Git commit a6c075fca6faf83ccbfa38fb27dc4f743b6cdd61 by Dave Airlie on 06/08/2008 at 05:57..
drm: don't teardown things in modeset paths
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6c075fca6faf83ccbfa38fb27dc4f743b6cdd61

Git commit 64359586730268fc83ccc0db0487e217a894335b by Dave Airlie on 06/08/2008 at 05:58..
radeon: just evict to TT not cached
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64359586730268fc83ccc0db0487e217a894335b

Git commit 8c042a0b0531117f2663ae6932d299cb47941607 by Dave Airlie on 06/08/2008 at 05:59..
radeon: fixup PCI GART table with GEM enabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c042a0b0531117f2663ae6932d299cb47941607

Git commit ac20e14d2361160cf199dc31c3fe1ffbacdf5bb7 by Keith Packard on 06/08/2008 at 17:11..
Switch from shmem_getpage to read_mapping_page
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac20e14d2361160cf199dc31c3fe1ffbacdf5bb7

Git commit c7fb19e9b074281f143b0e1c9d054ebcf5ff1091 by Jesse Barnes on 07/08/2008 at 21:02..
Merge branch 'drm-gem' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7fb19e9b074281f143b0e1c9d054ebcf5ff1091

Git commit 5968e061db90451b19c3948bbd91c6d5ac9af941 by Keith Packard on 07/08/2008 at 22:26..
Make flink save the kernel-assigned name and return it instead of creating another name
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5968e061db90451b19c3948bbd91c6d5ac9af941

Git commit 8074b2e83d18bbf85d1c3284f561d849c829dd4b by Jesse Barnes on 08/08/2008 at 00:15..
Make modesetting-gem build with recent kernels

Needed to merge in VM fault changes & pci_read_base API update.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8074b2e83d18bbf85d1c3284f561d849c829dd4b

Git commit c2184e450e4c5613c1f1a004d183ad478358013e by Dave Airlie on 08/08/2008 at 06:04..
radeon: add initial support for legacy crtc/encoders.

not all there yet
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2184e450e4c5613c1f1a004d183ad478358013e

Git commit 0c47151a571827905c34649208e22f8ec0175d62 by Stuart Bennett on 08/08/2008 at 15:25..
nouveau: wait for pgraph idle after loading or saving a context

the nvidia driver does this, and it stops the error message appearing on nv40
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c47151a571827905c34649208e22f8ec0175d62

Git commit 46e9274e8538e5b0517f611dca99dde611f4e95d by Eric Anholt on 08/08/2008 at 20:58..
Replace the check_aperture API with one we can make thread-safe.

While the bufmgr isn't thread-safe at the moment, we need it to be for shared
objects between contexts.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46e9274e8538e5b0517f611dca99dde611f4e95d

Git commit e1b8e79796b172c356af98eb49107c8abbebfe5a by Eric Anholt on 08/08/2008 at 21:05..
Merge branch 'drm-gem'

Conflicts:

	shared-core/i915_dma.c

This brings in kernel support and userland interface for intel GEM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1b8e79796b172c356af98eb49107c8abbebfe5a

Git commit 9e9d9b1741965f6529153bc2bcbe2dd8ba96ef3f by Eric Anholt on 08/08/2008 at 21:08..
Fix compile warning from check_aperture change.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e9d9b1741965f6529153bc2bcbe2dd8ba96ef3f

Git commit f7a99407153eaba5724b6f1f2cadab62c6a50a26 by Eric Anholt on 08/08/2008 at 22:57..
Drop TTM interfaces from the userland library.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7a99407153eaba5724b6f1f2cadab62c6a50a26

Git commit 12e6a114cf9ebd0e1d8ccdbf9a7aef7c67e24b58 by Dave Airlie on 09/08/2008 at 07:19..
drm: TRUE/true
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12e6a114cf9ebd0e1d8ccdbf9a7aef7c67e24b58

Git commit 2b7feebb8ad5f49391b4f6bd6fc548e4f93b94f3 by Maarten Maathuis on 09/08/2008 at 17:33..
NV50: call drm_sysfs_hotplug_event when appropriate
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b7feebb8ad5f49391b4f6bd6fc548e4f93b94f3

Git commit f79ed5546229aa923f8dd54055bebeb56efaa76c by Maarten Maathuis on 09/08/2008 at 17:47..
NV50: enable hotplug irq
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f79ed5546229aa923f8dd54055bebeb56efaa76c

Git commit 9a2adc442af9d83b85e4d558cb5e4d33597b60b9 by Maarten Maathuis on 09/08/2008 at 17:50..
NV50: minor changes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a2adc442af9d83b85e4d558cb5e4d33597b60b9

Git commit 280d415957c0af099c44aaecb69a06c68c86aebb by Dave Airlie on 11/08/2008 at 00:47..
drm: add OS_HAS_GEM option.

To build i915 driver pass OS_HAS_GEM=1 to make for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/280d415957c0af099c44aaecb69a06c68c86aebb

Git commit 08faab27e5fbf12e53dc9d4bf38eda8da1a55007 by Dave Airlie on 11/08/2008 at 00:58..
drm_vm: fix for build on 2.6.22

thanks to malc0 for pointing it out
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08faab27e5fbf12e53dc9d4bf38eda8da1a55007

Git commit 966c783e96b3f8ae0271db3dd6862177c659ab13 by Eric Anholt (on behalf of Matthieu Herrb) on 11/08/2008 at 17:48..
libdrm: Allow build outside of source tree.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/966c783e96b3f8ae0271db3dd6862177c659ab13

Git commit e9648e9107e90c3ef38a9c9ebb95bac1297d0df5 by Jesse Barnes on 13/08/2008 at 01:22..
Export a generic dri_bo handle for use by clients

We'll need something like this (either a handle field or a dri_bo_get_handle
function) for kernel mode setting to get at the handles.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9648e9107e90c3ef38a9c9ebb95bac1297d0df5

Git commit 085df6491e4975681a6e17ff9a67d01268aa7553 by Jesse Barnes on 13/08/2008 at 01:23..
Add error checking to framebuffer creation

Make the Intel routine return an error if needed and make the core check for
it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/085df6491e4975681a6e17ff9a67d01268aa7553

Git commit b0e68829462aad00ce68be998da6313bca754e9a by Kristian Høgsberg on 13/08/2008 at 02:22..
[intel_bufmgr_gem] Fix flink buffer name caching (#17085, #17092).

Store the global name in global_name, don't overwrite the gem_handle.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0e68829462aad00ce68be998da6313bca754e9a

Git commit af12ef4f6b4ca111d9a2ef45263ad89610498724 by Thomas Hellstrom on 13/08/2008 at 08:04..
Don't call the vblank tasklet with irqs disabled.
If a specific tasklet shares data with irq context,
it needs to take a private irq-blocking spinlock within
the tasklet itself.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af12ef4f6b4ca111d9a2ef45263ad89610498724

Git commit 2f03ba4aad1718a36168550b6a146b79540252e6 by Jesse Barnes on 13/08/2008 at 17:08..
Merge branch 'master' into modesetting-gem

Conflicts:

	libdrm/Makefile.am
	libdrm/xf86drm.h
	shared-core/i915_dma.c
	shared-core/i915_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f03ba4aad1718a36168550b6a146b79540252e6

Git commit b8724ae647c2c622f33f3a82d1b8632c887fa69b by Jesse Barnes on 13/08/2008 at 17:09..
Merge branch 'modesetting-101' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8724ae647c2c622f33f3a82d1b8632c887fa69b

Git commit 1c6abcefdc37f5cbb447e8fee1f3805fd7d19bea by Jesse Barnes on 13/08/2008 at 18:39..
i915: setup hardware status page if physical addrs are required

Needed for the modesetting case where we initialize the ring at load time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c6abcefdc37f5cbb447e8fee1f3805fd7d19bea

Git commit 957c71ff52e93bb2c1bc01b99d29d763d0ef3899 by Dave Airlie on 13/08/2008 at 23:10..
radeon: FEDORA: add old DMA buffers on top of GEM

This really shouldn't go upstream, it just lets me
run the old 3D driver on GEM setup system
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/957c71ff52e93bb2c1bc01b99d29d763d0ef3899

Git commit d59f41b8cf0634a433be7d11f6b473035060c5e1 by Dave Airlie on 13/08/2008 at 23:11..
radeon: add userspace call for mm support check
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d59f41b8cf0634a433be7d11f6b473035060c5e1

Git commit 18020e5e9647e218caf8f1566cdc053aac126f23 by Dave Airlie on 13/08/2008 at 23:12..
radeon: make buffer swap for older drivers work again on GEM
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18020e5e9647e218caf8f1566cdc053aac126f23

Git commit b0ee12e6bb55655c92184483a065780529c8aa63 by Dave Airlie on 13/08/2008 at 23:14..
radeon: use mm_enabled variable to denote memory manager running
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0ee12e6bb55655c92184483a065780529c8aa63

Git commit 58df2fa0ecc7e4dac83b4e7a72d70c3ea41c7ed2 by Dave Airlie on 13/08/2008 at 23:14..
radeon: remove debugging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58df2fa0ecc7e4dac83b4e7a72d70c3ea41c7ed2

Git commit 0580785030714f10f624ad329354dc7c688c32ad by Dave Airlie on 13/08/2008 at 23:15..
radeon: FEDORA: patch to make 3D driver work

set gart buffers start
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0580785030714f10f624ad329354dc7c688c32ad

Git commit b167ccf10fffb3e0ae0be14fc3b168fcacc373d8 by Dave Airlie on 13/08/2008 at 23:17..
radeon: fix kernel_mm properly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b167ccf10fffb3e0ae0be14fc3b168fcacc373d8

Git commit 7677c2dba5d06e888c742a607bc7f42d934043c6 by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
on_each_cpu() compat fixup from krh
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7677c2dba5d06e888c742a607bc7f42d934043c6

Git commit 5f427e9aaed76ec827b9523b4022205f5bd09a4a by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Brute force port of legacy crtc/encoder code

- removed save/init/restore chain with set functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f427e9aaed76ec827b9523b4022205f5bd09a4a

Git commit b6f5b8ec7169320b79561c88ad04aefa795b3497 by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
unify connector, i2c handling for atom and legacy
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6f5b8ec7169320b79561c88ad04aefa795b3497

Git commit 019745c41758173eacb910dde512de0beb6a69eb by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Add legacy dac detect stubs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/019745c41758173eacb910dde512de0beb6a69eb

Git commit d4f9eaa55a0f9c1c9b3f8d92d734eff4a6ae859e by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
various cleanups

- white space
- move i2c_lock to radeon_i2c.c
- enable tv dac on legacy
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4f9eaa55a0f9c1c9b3f8d92d734eff4a6ae859e

Git commit e20c670a5a7896a7ad6c004c744993e3be3879dc by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
LUT updates

- Add gamma set for legacy chips
- Add 16 bpp gamma set
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e20c670a5a7896a7ad6c004c744993e3be3879dc

Git commit f2351ab38c8157bdbc839ad628b1dde6693f51bd by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
atom: implement crtc lock
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2351ab38c8157bdbc839ad628b1dde6693f51bd

Git commit 5af426a2b29f5426ba5714cb6501aa5b270089b4 by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Restructure cursor handling and add support for legacy cursors
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5af426a2b29f5426ba5714cb6501aa5b270089b4

Git commit ae89ced7ded55c164c620ebbd799fdb44ed9c09f by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Convert COM BIOS to table offset lookup function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae89ced7ded55c164c620ebbd799fdb44ed9c09f

Git commit 8867eca8721a02135f4b0e65a454d5e05141eee3 by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
set base in legacy crtc mode set
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8867eca8721a02135f4b0e65a454d5e05141eee3

Git commit b486ed7f7d89528c94f2345040324946f6eadc81 by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Get legacy working finally

- extra ~ in RADEON_WRITE_P()
- re-arrange crtc setup a bit
- add debugging for tracing calls
- fix pitch calculation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b486ed7f7d89528c94f2345040324946f6eadc81

Git commit a1f12024702d0636ead0ef512fd0372d6d1aa79f by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Fix warnings
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1f12024702d0636ead0ef512fd0372d6d1aa79f

Git commit 9b79d356c171e86e529ad1a4e5e145a36d1af601 by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Add additional quirks from ddx
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b79d356c171e86e529ad1a4e5e145a36d1af601

Git commit f38fff5416bc8e40ce9426f78bfea1bad415faab by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Fill in and make use of more com bios tables on legacy chips
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f38fff5416bc8e40ce9426f78bfea1bad415faab

Git commit 2a65759d159478b126c660ef124777548dcc872c by Dave Airlie (on behalf of Alex Deucher) on 13/08/2008 at 23:19..
Add com bios asic init bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a65759d159478b126c660ef124777548dcc872c

Git commit 2d4420c6669dbaead27346b8c7e1979edc94ae5a by Dave Airlie on 13/08/2008 at 23:36..
Merge branch 'radeon-gem-cs' into modesetting-gem

Conflicts:

	libdrm/xf86drm.c
	linux-core/Makefile.kernel
	linux-core/drmP.h
	linux-core/drm_compat.h
	linux-core/drm_drv.c
	linux-core/drm_stub.c
	linux-core/drm_vm.c
	shared-core/i915_dma.c
	shared-core/r300_cmdbuf.c
	shared-core/radeon_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d4420c6669dbaead27346b8c7e1979edc94ae5a

Git commit 9dff806802bad79242c58cc5dca3fd108099982b by Dave Airlie on 13/08/2008 at 23:43..
i915: fixup from last merge hopefully
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dff806802bad79242c58cc5dca3fd108099982b

Git commit 5f9e4a764ac7acf1311388dd693bc4f0e6c0c4e9 by Jesse Barnes on 13/08/2008 at 23:57..
i915: update cursor handling to use GEM objects
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f9e4a764ac7acf1311388dd693bc4f0e6c0c4e9

Git commit eb8f9b9da4d34b9bfa16dc3847e81976a12d2d0c by Dave Airlie on 14/08/2008 at 04:41..
radeon: add copy/solid regs for rn50
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb8f9b9da4d34b9bfa16dc3847e81976a12d2d0c

Git commit 30ff279e42b3b0608e8ff6620d2958c174449798 by Dave Airlie on 14/08/2008 at 04:43..
radeon: add support for memory map init
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30ff279e42b3b0608e8ff6620d2958c174449798

Git commit e0bbd04eb0e2395872983e243d242f5ba2f2306f by Dave Airlie on 14/08/2008 at 23:42..
radeon: fix LVDS modes problem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0bbd04eb0e2395872983e243d242f5ba2f2306f

Git commit 2030db75328b7d896a5dd030fc171020b33149e1 by Dave Airlie on 14/08/2008 at 23:56..
radeon: reserve 64k of VRAM for now for text mode so we don't trample it

need to revisit this later I'm sure
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2030db75328b7d896a5dd030fc171020b33149e1

Git commit 893315d49ed678de95cf6ac553efb6093cc7343c by Jesse Barnes on 16/08/2008 at 18:35..
i915: set domain properly on fb mapping, flush out changes

The user visible ioctl does this, but since we call into GEM internals
directly, we have to flush things ourselves.  Fixes initial fb console
corruption.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/893315d49ed678de95cf6ac553efb6093cc7343c

Git commit d313108167a793652a5fe4c1015198e0a9deac4c by Jesse Barnes on 16/08/2008 at 18:45..
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d313108167a793652a5fe4c1015198e0a9deac4c

Git commit a2adc696569de830c7a95722dd111bff706a0bbc by Jesse Barnes on 16/08/2008 at 19:09..
i915: finish removing TTM bits

Makes it build again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2adc696569de830c7a95722dd111bff706a0bbc

Git commit ba840fca19077d352277519c5fa032e3b107ae27 by Maarten Maathuis on 16/08/2008 at 22:35..
linux: on_each_cpu has 3 args on 2.6.27
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba840fca19077d352277519c5fa032e3b107ae27

Git commit a5381cac55e54a535acf752970886b659948563c by Maarten Maathuis on 16/08/2008 at 22:41..
nouveau: make it compile under 2.6.27
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5381cac55e54a535acf752970886b659948563c

Git commit 6af286079b57248405e543d7d99e111931983eac by Alex Deucher on 17/08/2008 at 19:33..
radeon: get primary dac adj info from bios tables
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6af286079b57248405e543d7d99e111931983eac

Git commit 226c97e3b772f2f4bf09085374cd931b83dea2b0 by Alex Deucher on 17/08/2008 at 19:38..
radeon: remove unused legacy state
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/226c97e3b772f2f4bf09085374cd931b83dea2b0

Git commit aed70622ab33500721a30b06ec3783c581615cbb by Alex Deucher on 17/08/2008 at 22:09..
radeon: first pass at bios scratch regs

- todo: updated connected status
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aed70622ab33500721a30b06ec3783c581615cbb

Git commit 232c369a05bbd9db17a0453380229c993cbbc8bd by Alex Deucher on 17/08/2008 at 22:38..
radeon: first pass at legacy dac detect

- done: primary dac, vga on tvdac
- todo: ext dac, tv on tvdac
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/232c369a05bbd9db17a0453380229c993cbbc8bd

Git commit 41b83a99583486ad4f8760a6537d34783769bfc3 by Robert Noland (on behalf of Coleman Kane) on 18/08/2008 at 21:08..
Change prototype of drmIoctl to unsigned long request.

This resolves and issue on amd64 FreeBSD and it looks like the
linux ioctl syscall should be unsigned long as well.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41b83a99583486ad4f8760a6537d34783769bfc3

Git commit 2d4cf9cc0f31ca316b109cceffc463ea52db92f2 by Dave Airlie on 18/08/2008 at 22:20..
radeon: oops set correct scratch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d4cf9cc0f31ca316b109cceffc463ea52db92f2

Git commit 0da66c27fa2aabdbaf4c003ba3712a61253d7ffe by Stuart Bennett (on behalf of root) on 19/08/2008 at 01:01..
nouveau: fifo and graphics engine suspend and resume for nv04-nv4x

Corresponding DDX patch at http://people.freedesktop.org/~stuart/nv0x-nv4x_suspend/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0da66c27fa2aabdbaf4c003ba3712a61253d7ffe

Git commit b2c19c788a570f28a22c236e60ee31f5c1e180af by Alex Deucher on 19/08/2008 at 17:03..
radeon: legacy lvds updates
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2c19c788a570f28a22c236e60ee31f5c1e180af

Git commit ba61880ac8d5db0494816296aeef6092aadcb63f by Alex Deucher on 19/08/2008 at 17:06..
radeon: fix warning from radeon_legacy_state removal
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba61880ac8d5db0494816296aeef6092aadcb63f

Git commit 76cec451d3380c0db28be58123904b489be672a7 by Alex Deucher on 19/08/2008 at 17:08..
Merge branch 'modesetting-gem' of git+ssh://agd5f@git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76cec451d3380c0db28be58123904b489be672a7

Git commit 9afd2659430245c456cf887d47087de047c0aba8 by Dave Airlie on 21/08/2008 at 21:08..
drm: add gpu create script
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9afd2659430245c456cf887d47087de047c0aba8

Git commit 9101a0205c897fea28e6a3d875111a83ad7f7732 by Dave Airlie on 24/08/2008 at 06:54..
libdrm: add udev support.

This patch allows you to --enable-udev, and will avoid having libdrm
make device nodes. If you are using udev, you should really --enable-udev
your libdrm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9101a0205c897fea28e6a3d875111a83ad7f7732

Git commit 16c1a87580af89be02e7e6c1898f18b36829e007 by Robert Noland on 24/08/2008 at 19:25..
i915: Move spinlock init / destroy to load / unload time.

This resolves the panic on FreeBSD during VT switch, without attempting
any of the more lofty goals for the time being.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/16c1a87580af89be02e7e6c1898f18b36829e007

Git commit e6010778a8edf96dbfb4bc1f7cf0ce5706eee733 by Robert Noland (on behalf of vehemens) on 24/08/2008 at 19:25..
[FreeBSD] Fix lock leak.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6010778a8edf96dbfb4bc1f7cf0ce5706eee733

Git commit 3e9541230d7b7c32ecb36c1edc5124b6991222be by Robert Noland (on behalf of vehemens) on 24/08/2008 at 19:25..
[FreeBSD] Move vblank bits into their own structure.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e9541230d7b7c32ecb36c1edc5124b6991222be

Git commit 1f3c4dd938a1710d762bac37dfb1b17c90af4732 by Robert Noland on 24/08/2008 at 19:25..
i915: Free dev->dev_private on unload.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f3c4dd938a1710d762bac37dfb1b17c90af4732

Git commit 739b01dde43c40398d9b0d177e9d330e06cdc2ae by Robert Noland on 24/08/2008 at 19:25..
i915: Clear sarea_priv during lastclose.

sarea_priv needs to be NULL before i915_initialized is called to
properly reset it.  The stale value produces a panic any time something
opens/closes drm without calling initialize.  i.e. version checking
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/739b01dde43c40398d9b0d177e9d330e06cdc2ae

Git commit d0acbe4553d27df3fdc217c956c609c54ebb51e6 by Robert Noland on 24/08/2008 at 19:25..
i915: Convert vblank on disabled pipe DRM_ERROR to DRM_DEBUG.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0acbe4553d27df3fdc217c956c609c54ebb51e6

Git commit 0687c0a4ec78730f752cee04a5b0862f47dbf026 by Robert Noland on 24/08/2008 at 19:25..
[FreeBSD] Fix long standing memory leak in drm_remove_magic.

We shuffled all the links around to disconnect the entry, but
never free it.  We would incorrectly free the last entry in the
hash chain if nothing matched.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0687c0a4ec78730f752cee04a5b0862f47dbf026

Git commit bfea578352aaaed08555e86c9951b3932f39d122 by Robert Noland on 24/08/2008 at 19:25..
[FreeBSD] Add drm_drawable_free_all()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfea578352aaaed08555e86c9951b3932f39d122

Git commit c8fd8d3a0d37dc09165ac77c7d38938ef9942011 by Robert Noland on 24/08/2008 at 19:53..
i915: Fix i915 build on FreeBSD

ifdef out all the gem stuff for now.  Also, the msi stuff isn't portable
the way it is... I'll try and fix that up sometime soon.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8fd8d3a0d37dc09165ac77c7d38938ef9942011

Git commit 4c8e8e0d0bad839cf5aacb22524885e49fe86715 by Dave Airlie on 26/08/2008 at 07:33..
drm: add memory clean flag.

When the mapping is clean this flag will be set. This can be used
by a driver to save migrating and allocating pages for an object
that will first be used in VRAM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c8e8e0d0bad839cf5aacb22524885e49fe86715

Git commit 361ab10d2fb0c7ad73e54d92af2563194dbf7080 by Dave Airlie on 26/08/2008 at 07:39..
radeon: fixup domains and use them properly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/361ab10d2fb0c7ad73e54d92af2563194dbf7080

Git commit c72a4e20e8bb5cb0ec89eaf6effa0cea9c880a03 by Dave Airlie on 26/08/2008 at 07:42..
drm/ttm: export drm_bo_add_ttm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c72a4e20e8bb5cb0ec89eaf6effa0cea9c880a03

Git commit 203243eea5c6c91e89534cd01a1e52cc44980bfe by Dave Airlie on 26/08/2008 at 07:43..
drm: add move zero function to memset unclean buffers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/203243eea5c6c91e89534cd01a1e52cc44980bfe

Git commit 01b2e7368a1f6f14b6d7b6377c804d482bb050cb by Dave Airlie on 26/08/2008 at 07:44..
radeon/ttm: add support for zeroing the contents of VRAM buffers

This uses a solid fill fastpath, falling back to the slow memset path.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01b2e7368a1f6f14b6d7b6377c804d482bb050cb

Git commit 0239594fc318c2b55bbfbea27f23218f6d7a4b34 by Kristian Høgsberg on 26/08/2008 at 18:28..
[intel_bufmgr_gem] Remember global name when creating buffer from name.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0239594fc318c2b55bbfbea27f23218f6d7a4b34

Git commit bffbb497e2502b0aa6fd24804251d6a21d8fa034 by Stephane Marchesin on 27/08/2008 at 00:27..
Change git-describe into git describe.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bffbb497e2502b0aa6fd24804251d6a21d8fa034

Git commit a4167e7b572859a998710ee599298e5131f51620 by Dave Airlie on 27/08/2008 at 01:12..
radeon: avoid oops on encoders with no crtc set
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4167e7b572859a998710ee599298e5131f51620

Git commit f9d4c58d4327741abd99cdfdbbbfb82c803e4698 by Dave Airlie on 27/08/2008 at 02:35..
radeon: braino pointed out on mailing list

thanks to Ville Syrjälä
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9d4c58d4327741abd99cdfdbbbfb82c803e4698

Git commit 7552b2a6c3b29da308a76dade4959180d0d1c57b by Dave Airlie on 27/08/2008 at 03:41..
drm: fix some whitespace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7552b2a6c3b29da308a76dade4959180d0d1c57b

Git commit 6a27e019bc16ce901d6be6c85e63c0bad75dd16a by Dave Airlie on 28/08/2008 at 01:30..
radeon: fixup checks for crtc in dpms paths
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a27e019bc16ce901d6be6c85e63c0bad75dd16a

Git commit 9afe872ae9ef608269688e08f62beca2181f60dc by Dave Airlie on 28/08/2008 at 01:30..
radeon: limit LVDS to first CRTC for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9afe872ae9ef608269688e08f62beca2181f60dc

Git commit 23cb67dfbabe8c76ffd86b6c01abacc027d0fb72 by Dave Airlie on 28/08/2008 at 06:18..
drm: port X crtc picking algorithm.

This mimics the X.org from ajax with less options
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23cb67dfbabe8c76ffd86b6c01abacc027d0fb72

Git commit 499170ad22aaf087fc01fdcf799035819becd571 by Dave Airlie on 28/08/2008 at 06:35..
radeon: get lvds atombios info

set the correct values from atombios makes LVDS work a lot better
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/499170ad22aaf087fc01fdcf799035819becd571

Git commit d88d1eac8925f6bbc8edf50b35639f09fac84019 by Dave Airlie on 28/08/2008 at 21:20..
radeon: fixup LVDS mode getting

if we have no DDC we were oopsing. fix that.
then make a native panel mode
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d88d1eac8925f6bbc8edf50b35639f09fac84019

Git commit b460aeec3ea817540e43c8215f2cdf432c957289 by Stephane Marchesin (on behalf of Tomas Carnecky) on 28/08/2008 at 22:43..
Fix drm_realloc when you're reallocing into something smaller.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b460aeec3ea817540e43c8215f2cdf432c957289

Git commit f8a14b1f9556919617208a8eb88ff88d6c77f08d by Robert Noland on 29/08/2008 at 19:46..
[FreeBSD] Increase debugging output for vblank code.

Doing my part to make DRM_DEBUG more chatty...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8a14b1f9556919617208a8eb88ff88d6c77f08d

Git commit c7f7b6d7e2f46753381de51e4b0b00211a1a6b5f by Robert Noland on 29/08/2008 at 19:46..
[FreeBSD] Fix a couple of locking problems.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7f7b6d7e2f46753381de51e4b0b00211a1a6b5f

Git commit 043ad591b55ee8d4ac3ff65038705219d1893b12 by Robert Noland (on behalf of vehemens) on 29/08/2008 at 19:46..
[FreeBSD] Correct debug message

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/043ad591b55ee8d4ac3ff65038705219d1893b12

Git commit b92f5577670f99ded76e201a71aaa23cce8f7577 by Robert Noland (on behalf of vehemens) on 29/08/2008 at 19:46..
[FreeBSD] Catch up to vblank rework for via.

(No, we don't build via right now.)

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b92f5577670f99ded76e201a71aaa23cce8f7577

Git commit 71f0a3e389efb6c92a84299d05beb2a1bfa53469 by Robert Noland (on behalf of vehemens) on 29/08/2008 at 19:46..
[FreeBSD] Replace typedefs on bsd.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71f0a3e389efb6c92a84299d05beb2a1bfa53469

Git commit 2649103bf9c4eb471a10800f4a3161dca6249086 by Robert Noland (on behalf of vehemens) on 29/08/2008 at 19:46..
[FreeBSD] Convert drm_driver to a pointer like linux.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2649103bf9c4eb471a10800f4a3161dca6249086

Git commit 2b278047153df729caf9e516a432b2e76398cd3a by Robert Noland (on behalf of vehemens) on 29/08/2008 at 19:46..
[FreeBSD] Use driver features macros and flags

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b278047153df729caf9e516a432b2e76398cd3a

Git commit cd7d71f19cf2a16521c9da1815421c6a5f12a58e by Dave Airlie on 30/08/2008 at 21:27..
radeon: make writeback work after suspend/resume.

While re-writing this for modesetting, I find we disable writeback on
resume.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd7d71f19cf2a16521c9da1815421c6a5f12a58e

Git commit 99f8cce3eae79c9cf5e9897ef1af8eac24b38c09 by Dave Airlie on 02/09/2008 at 00:08..
drm: fix sysfs error path.

Pointed out by Roel Kluin on dri-devel.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99f8cce3eae79c9cf5e9897ef1af8eac24b38c09

Git commit fe59d04a7c30692952652f77529deb22a3e0c8bb by Dave Airlie on 04/09/2008 at 01:57..
radeon: fixup a number of avivo checks for rs690
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe59d04a7c30692952652f77529deb22a3e0c8bb

Git commit ce84511f4d647d5ce9fd52b838ee944e23050954 by Stephane Marchesin on 04/09/2008 at 22:17..
nouveau: 8200 cards are 0xA0 family.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce84511f4d647d5ce9fd52b838ee944e23050954

Git commit 9f9f171f8e0ad817414e6218b44579171d03cec0 by Dave Airlie on 05/09/2008 at 00:57..
radeon: rs690 GART tables need to be in uncached memory.

Allocate the rs480/690 tables from uncached memory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f9f171f8e0ad817414e6218b44579171d03cec0

Git commit 3f915f68e8f68fe0fc3d0e1eb8a18a16f8f397da by Robert Noland on 05/09/2008 at 16:38..
i915: fix i915_ring_validate()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f915f68e8f68fe0fc3d0e1eb8a18a16f8f397da

Git commit ed6dd03818f2fa4dd0f2ba34dee58b09c7ff253e by Robert Noland (on behalf of vehemens) on 05/09/2008 at 16:38..
Need M_NOWAIT for malloc.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed6dd03818f2fa4dd0f2ba34dee58b09c7ff253e

Git commit 76dd74c64ef9b92025e76dd256e0641ff6fce0f4 by Robert Noland (on behalf of vehemens) on 05/09/2008 at 16:42..
Style white space cleanup.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76dd74c64ef9b92025e76dd256e0641ff6fce0f4

Git commit 31709aa2be54877c45ca382bf370b41dbaf5c2ec by Robert Noland (on behalf of vehemens) on 05/09/2008 at 16:42..
Reorder lock functions like linux.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31709aa2be54877c45ca382bf370b41dbaf5c2ec

Git commit f60d9a04b892904e5dde7dd1d2876b6bd9eb80ef by Dave Airlie on 06/09/2008 at 22:09..
radeon: change interface from headers add pin_domain into padding
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f60d9a04b892904e5dde7dd1d2876b6bd9eb80ef

Git commit 6f2479c67432f764bfc4e248689f1737c1935237 by Robert Noland on 06/09/2008 at 22:37..
[FreeBSD] Ensure that drm_pci_alloc is never called while locks are held.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f2479c67432f764bfc4e248689f1737c1935237

Git commit 0808cf923d4a851b100d9b7022cb82f5e1f52e28 by Robert Noland (on behalf of vehemens) on 06/09/2008 at 22:55..
Style white space cleanup part 2.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0808cf923d4a851b100d9b7022cb82f5e1f52e28

Git commit b8a9cebddc7063bc0dae889dac43359c0cb9bfa5 by Robert Noland (on behalf of vehemens) on 06/09/2008 at 22:55..
Move order to end like linux.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8a9cebddc7063bc0dae889dac43359c0cb9bfa5

Git commit 9ad5a6d0d73ba58ec7c2f66d0c5355185f2f68c6 by Robert Noland (on behalf of vehemens) on 06/09/2008 at 22:55..
Pass lock data like linux and open.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ad5a6d0d73ba58ec7c2f66d0c5355185f2f68c6

Git commit be5fad45ee4e81997784f258fcdfaf0a303dd666 by Robert Noland (on behalf of vehemens) on 07/09/2008 at 01:07..
Free temp_pagelist on error. Free in reverse order. Noticed by open.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be5fad45ee4e81997784f258fcdfaf0a303dd666

Git commit 740f09bffde20d9207497bd107d50941ca21278a by Robert Noland on 07/09/2008 at 01:08..
[FreeBSD] IGP gart needs to be un-cached.

Airlied inadvertently discovered that the IGP gart needs to be un-cached
for radeon rs485 and rs690 to work.  Initial tests by placing a wbinvd()
after allocating the gart were successful.  This is an attempt at a more
appropriate method of achieving success.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/740f09bffde20d9207497bd107d50941ca21278a

Git commit 2880c86eb246aceeb5c750e27259a7b6d8897328 by Robert Noland on 07/09/2008 at 16:44..
[FreeBSD] Implement drm_ioremap_wc() to set a range of mem to write-combining
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2880c86eb246aceeb5c750e27259a7b6d8897328

Git commit 828ae3f6b88b5a69a56b2961307e40ed95edea29 by Robert Noland on 08/09/2008 at 20:40..
[FreeBSD] We need to call drm_detach before we free dev->driver.

The driver is in control of the show, so when you try and unload a module
the driver detach routine is called first.  It is what drives the whole
unload process and so lots of panics occur if dev->driver is already
free.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/828ae3f6b88b5a69a56b2961307e40ed95edea29

Git commit 09cf0f0213652609d09154ce2859c03cf97ab11e by Eric Anholt on 10/09/2008 at 21:07..
drm: Add tests for GEM_FLINK ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09cf0f0213652609d09154ce2859c03cf97ab11e

Git commit 738e36acbce24df0ccadb499c5cf62ccb74f56df by Eric Anholt on 10/09/2008 at 21:07..
Move intel libdrm stuff to libdrm_intel.so

dri_bufmgr.h is replaced by intel_bufmgr.h, and several functions are renamed,
though the structures and many functions remain dri_bufmgr_* and dri_bo_*
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/738e36acbce24df0ccadb499c5cf62ccb74f56df

Git commit 869d8bebedddf2075c59d6bffea8ee640cb80353 by Eric Anholt on 10/09/2008 at 21:07..
intel: Move IRQ emit/wait from callbacks into the bufmgr.

In the process, work around the glaring bugs of the kernel irq wait function.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/869d8bebedddf2075c59d6bffea8ee640cb80353

Git commit f9d98beefc9e7b8d06a29f5b69a19f10fd3c435f by Eric Anholt on 10/09/2008 at 21:07..
intel: move drm calls to exec buffers to libdrm_intel.

This avoids duplicating the effort in 3 places.  Also, added emit/wait fence
callbacks back in bufmgr_fake since we need it for non-drm 2d.  Sigh.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9d98beefc9e7b8d06a29f5b69a19f10fd3c435f

Git commit 368b392e6dcd19cb75675c0c18d02f70257af1df by Eric Anholt on 10/09/2008 at 21:07..
intel: don't forget to include config.h in bufmgr code.

Thanks to airlied for catching this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/368b392e6dcd19cb75675c0c18d02f70257af1df

Git commit b54d15d8fd252df5f0914ab245431e66b9a4e8ab by Eric Anholt on 11/09/2008 at 03:05..
Add missing \ to libdrm_la_SOURCES

Reported by jcristau.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b54d15d8fd252df5f0914ab245431e66b9a4e8ab

Git commit 973c634eaa54ee4085a72102c690bc643cb2d7a8 by Robert Noland (on behalf of vehemens) on 11/09/2008 at 03:35..
Remove incomplete and obsolete free/net/open code.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/973c634eaa54ee4085a72102c690bc643cb2d7a8

Git commit f152482bdecaa16db36b20b445a480445d18048c by Ben Skeggs on 17/09/2008 at 04:52..
nv50: add support for chipset 0x92
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f152482bdecaa16db36b20b445a480445d18048c

Git commit 301be1dc9be8a83f5092417573967f35766227bc by Ben Skeggs on 17/09/2008 at 05:02..
nv50: add ctxprog for chipset 0xaa
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/301be1dc9be8a83f5092417573967f35766227bc

Git commit 4d2f1257fab84bf66bd1154a1c829317584fd5f7 by Ben Skeggs on 17/09/2008 at 05:13..
nv50: add ctxprog for chipset 0x50
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d2f1257fab84bf66bd1154a1c829317584fd5f7

Git commit d55e8090fa9d0f3bb67eeb8cc61c0ed6345d41b4 by Ben Skeggs on 17/09/2008 at 12:03..
nv50: add initial context to match ctxprog for chipset 0x50
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d55e8090fa9d0f3bb67eeb8cc61c0ed6345d41b4

Git commit ee6bcabc506e4d506fb65447c405f8514ab1f4e1 by Ben Skeggs on 17/09/2008 at 12:18..
nv50: add initial context for chipset 0xaa

This just doesn't look right..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee6bcabc506e4d506fb65447c405f8514ab1f4e1

Git commit e23d5c03c4c9850d5e54f323fe944329b389b042 by Alex Deucher on 17/09/2008 at 22:16..
radeon: fix legacy LVDS
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e23d5c03c4c9850d5e54f323fe944329b389b042

Git commit 1062d8dcff19ded743f046e27adb889f3596ab4d by Dave Airlie on 17/09/2008 at 23:59..
modesetting: Add helper to force restore modes on crtcs at resume time
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1062d8dcff19ded743f046e27adb889f3596ab4d

Git commit 2a6dad31d84252d505f392f91dffd90689bb947c by Dave Airlie on 18/09/2008 at 00:11..
radeon: add initial suspend/resume support

plus a bunch of fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a6dad31d84252d505f392f91dffd90689bb947c

Git commit 8f23d4a44cdb17abff8f1ab3585e533ae0572224 by Dave Airlie on 18/09/2008 at 00:12..
make text reserve 256k
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f23d4a44cdb17abff8f1ab3585e533ae0572224

Git commit 0e384803c5f2528735e43b8d30f90ea82f6b3f47 by Dave Airlie on 18/09/2008 at 00:13..
radeon: don't do full edid for detection purposes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e384803c5f2528735e43b8d30f90ea82f6b3f47

Git commit ed961cb428a73a35d473c27f62809ef80bde8706 by Dave Airlie on 18/09/2008 at 00:14..
radeon: remove unneeded debugging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed961cb428a73a35d473c27f62809ef80bde8706

Git commit 5081ce12217d31d8d197e66ac3bc71adc650d463 by Dave Airlie on 18/09/2008 at 00:15..
radeon: sort out atom vs combios tables for r400 cards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5081ce12217d31d8d197e66ac3bc71adc650d463

Git commit 9b728fe4b0c154acd2291f9bec747ee67f8cce02 by Dave Airlie on 18/09/2008 at 00:16..
radeon: fixup reference counting properly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b728fe4b0c154acd2291f9bec747ee67f8cce02

Git commit b6c1a2f7eea256dad7d38020f784ed6a94accd9d by Dave Airlie on 18/09/2008 at 00:16..
radeon: fix return value
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6c1a2f7eea256dad7d38020f784ed6a94accd9d

Git commit 515aa0800cf2d91bdf4706463e0531c5081a2679 by Dave Airlie on 18/09/2008 at 00:17..
radeon: do proper memory controller init and setup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/515aa0800cf2d91bdf4706463e0531c5081a2679

Git commit 8f38c28a3924dbda5babcf035911e103f27f9a05 by Dave Airlie on 18/09/2008 at 00:19..
radeon: fail properly if we can't create the ring.

Normally this will be due to an AGP driver needing updating
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f38c28a3924dbda5babcf035911e103f27f9a05

Git commit 13e24fa7c03a4da6ba85b42d97290b4360c5ba8c by Dave Airlie on 18/09/2008 at 00:19..
[PATCH] radeon: disable blit moves
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13e24fa7c03a4da6ba85b42d97290b4360c5ba8c

Git commit f426f458f7e766cd47bb30736004ccfc9209f27f by Dave Airlie on 18/09/2008 at 00:20..
[PATCH] radeon: fixup GEM domain setting - allows more userspace paths

also dirty buffer on validate
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f426f458f7e766cd47bb30736004ccfc9209f27f

Git commit 3a497db7862dc091a8582d8ea3ebfd7fe0f16b58 by Dave Airlie on 18/09/2008 at 00:22..
radeon: fixup buffer and cs bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a497db7862dc091a8582d8ea3ebfd7fe0f16b58

Git commit 6a0248cbf2197d64f51d557f85bf2fdbaa505870 by Dave Airlie on 18/09/2008 at 00:28..
fixup radeon stuff - need to checkout irqs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a0248cbf2197d64f51d557f85bf2fdbaa505870

Git commit 8ca06eb492f861dbf049a2e104e4e2a5ba814c13 by Robert Noland on 18/09/2008 at 03:15..
[FreeBSD] Convert to using cdevpriv for file_priv tracking
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ca06eb492f861dbf049a2e104e4e2a5ba814c13

Git commit 6d0de5a899ea883693737333b4b0511c28f32d92 by Alex Deucher on 18/09/2008 at 18:30..
Export drm_put_minor
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d0de5a899ea883693737333b4b0511c28f32d92

Git commit e1e782af5ddafdd24a4cf741139bb0b8e682e543 by Alex Deucher on 18/09/2008 at 19:11..
Radeon: restructure PLL data

- store pixel clocks, core clock, and memory clocks separately
- grab all pll limits from bios tables
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1e782af5ddafdd24a4cf741139bb0b8e682e543

Git commit 34af71c42a66e5ef6a9a08250ca541030ca3cc4f by Alex Deucher on 18/09/2008 at 20:07..
radeon: add function to configure PCIE lanes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34af71c42a66e5ef6a9a08250ca541030ca3cc4f

Git commit 6988176195450da9033a0f0f21eafc6ae0a7a6a4 by Alex Deucher on 18/09/2008 at 20:42..
radeon: Add functions to set mem/eng clocks
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6988176195450da9033a0f0f21eafc6ae0a7a6a4

Git commit 075ed1d6fd1d58c1f46d556df79f44153f10edd8 by Alex Deucher on 18/09/2008 at 21:27..
radeon: pll and interlace updates from the ddx

also some formatting cleanup in radeon_reg.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/075ed1d6fd1d58c1f46d556df79f44153f10edd8

Git commit dc3a6834f615a538cf582ec7e583f203d43ba204 by Dave Airlie on 18/09/2008 at 22:03..
radeon: tmds bracket failure found by krh.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc3a6834f615a538cf582ec7e583f203d43ba204

Git commit d6b853cf81c3cd29ab81b9f93909b31330142750 by Dave Airlie on 19/09/2008 at 14:48..
radeon: fix voverplus calculation
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6b853cf81c3cd29ab81b9f93909b31330142750

Git commit 66237cd3c26faa20403ddb6903252ce49cc1fd72 by Alex Deucher on 19/09/2008 at 15:19..
radeon: rmx_fixup() fixes for legacy chips
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66237cd3c26faa20403ddb6903252ce49cc1fd72

Git commit 3949f3c9eaad9547fe046ca4d469fa7cc8f12304 by Xiang, Haihao on 22/09/2008 at 02:16..
intel: Fix driver-supplied argument to exec function (fd.o bug #17653).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3949f3c9eaad9547fe046ca4d469fa7cc8f12304

Git commit a2216491c619082ad9a01bc949648834dc5a0d2f by Dave Airlie on 23/09/2008 at 05:36..
drm: fix brace placement
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2216491c619082ad9a01bc949648834dc5a0d2f

Git commit 5fdfbee22acb8eaaa834457c30e6f68883ab1353 by Dave Airlie (on behalf of Kristian Høgsberg) on 23/09/2008 at 06:49..
Store the buffer object backing the fb as a void pointer, not a handle.

This lets us defer handle creation until userspace acutally asks for
one, at which point we also have a drm_file to associate it with.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5fdfbee22acb8eaaa834457c30e6f68883ab1353

Git commit 3d1825729370a8009f4d7ceae91a16cfd6b7956c by Dave Airlie (on behalf of Kristian Høgsberg) on 23/09/2008 at 06:50..
radeon: Fix type in check for tmds type.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d1825729370a8009f4d7ceae91a16cfd6b7956c

Git commit 0130aa0de940a49c086a0fb080e524d55b55ec8b by Dave Airlie on 23/09/2008 at 06:50..
radeon: fix minor cursor issues
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0130aa0de940a49c086a0fb080e524d55b55ec8b

Git commit 840c9a305481ed59820bbd87fbcf78dd242d5702 by Dave Airlie (on behalf of Kristian Høgsberg) on 23/09/2008 at 06:52..
Update intel modesetting to use mm_private instead of mm_handle.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/840c9a305481ed59820bbd87fbcf78dd242d5702

Git commit 1b3abe62b5751d0514d57aa850e584dca7dfc23e by Eric Anholt on 24/09/2008 at 00:10..
intel: Do strerror on errno, not on the -1 return value from ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b3abe62b5751d0514d57aa850e584dca7dfc23e

Git commit 0dccf017ab629d69fce91e18b013882ecb45f55d by Eric Anholt on 24/09/2008 at 00:10..
intel: Replace wraparound test logic in bufmgr_fake.  Again.

I'd swapped the operands, so if we weren't in lockstep with the hardware we
said the sequence was always passed.  Additionally, a race was available that
we might have failed at recovering from.  Instead, I've replaced the logic
with new stuff that should be more robust and not rely on all the parties in
userland following the same IRQ_EMIT() == 1 protocol.  Also, in a radical
departure from past efforts, include a long comment describing the failure
modes and how we're working around them.

Thanks to haihao for catching the original issue.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dccf017ab629d69fce91e18b013882ecb45f55d

Git commit 2db8e0c8ef8c7a66460fceda129533b364f6418c by Eric Anholt on 24/09/2008 at 00:10..
intel: Allow up to 15 seconds chewing on one buffer before acknowledging -EBUSY.

The gltestperf demo in some cases took over seven seconds to make it through
one batchbuffer on a GM965.

Bug #17004.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2db8e0c8ef8c7a66460fceda129533b364f6418c

Git commit dcf73de059d45ff894c417bb9234933bc650b6b2 by Dave Airlie on 24/09/2008 at 03:58..
radeon: add parsing for r6xx object tables
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dcf73de059d45ff894c417bb9234933bc650b6b2

Git commit 35e379ce5a0d23f4c812739f89e02703900cd91b by Dave Airlie on 24/09/2008 at 05:25..
radeon: add r600 modesetting registers writes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35e379ce5a0d23f4c812739f89e02703900cd91b

Git commit ea9711b954ba9093546ba13052fb8bbda860b9e4 by Jakob Bornecrantz on 25/09/2008 at 21:13..
Seperate modesetting userspace bits into drm_mode.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea9711b954ba9093546ba13052fb8bbda860b9e4

Git commit d883347f087eb1ce410392a379dfa6a44b2d14d1 by Alex Deucher on 25/09/2008 at 22:45..
radeon: first pass at using atombios on r4xx hw
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d883347f087eb1ce410392a379dfa6a44b2d14d1

Git commit 89126bb58ec82511758bed36a28e698b721fb435 by Alex Deucher on 25/09/2008 at 22:47..
Merge branch 'modesetting-gem' of git+ssh://agd5f@git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89126bb58ec82511758bed36a28e698b721fb435

Git commit 09b2dfcedc8cb35444567626131ccc25db79a8c6 by Alex Deucher on 26/09/2008 at 21:20..
radeon: make atom on r4xx a module option

default is legacy modesetting.  pass module option r4xx_atom
to try using atom on r4xx.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09b2dfcedc8cb35444567626131ccc25db79a8c6

Git commit 9c6732e790b123bebab0a6d05c592598f9cd2327 by Alex Deucher on 26/09/2008 at 21:32..
radeon: use atom for ext tmds on r4xx
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c6732e790b123bebab0a6d05c592598f9cd2327

Git commit 073cb5ee1d12a7f1a18b7d732f346c16eb740f49 by Xiang, Haihao on 27/09/2008 at 03:01..
intel: Copy data from card memory back to backing store when mapping.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=17705
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/073cb5ee1d12a7f1a18b7d732f346c16eb740f49

Git commit 972f6572652bc4a2f6c44c525e5e91f2becdb62a by Dave Airlie on 30/09/2008 at 04:13..
Merge remote branch 'origin/master' into modesetting-gem

Conflicts:

	libdrm/Makefile.am
	libdrm/dri_bufmgr.h
	linux-core/drm_irq.c
	linux-core/drm_sysfs.c
	linux-core/drm_ttm.c
	shared-core/i915_dma.c
	shared-core/i915_irq.c
	shared-core/nouveau_drv.h
	shared-core/radeon_cp.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/972f6572652bc4a2f6c44c525e5e91f2becdb62a

Git commit 7b3aa626482963cc52086da629f682fce2c7322c by Dave Airlie on 30/09/2008 at 04:17..
Merge remote branch 'origin/modesetting-gem' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b3aa626482963cc52086da629f682fce2c7322c

Git commit af2323b4b3b76070fb453531147a8956161b3718 by Jesse Barnes on 30/09/2008 at 23:35..
intel bufmgr: reinstate buffer handle tracking

We need a way of getting at the underlying handle for use with mode
setting.  We can either export it in the dri_bo object or provide a new
callback to get it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af2323b4b3b76070fb453531147a8956161b3718

Git commit 81952c7dd18d8fc4617fe4cb761fdf830de5244f by Robert Noland on 02/10/2008 at 00:49..
Use devfs_get_cdevpriv in mmap as well.

d_mmap gets called twice and we are only able to associate the file_priv
during the first call.  The second call will return EBADF and we need to
assume that the call was succesful.  d_mmap will not tolerate having an
error returned for the second call.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81952c7dd18d8fc4617fe4cb761fdf830de5244f

Git commit 4c92abfa8d0b9f2ab14e6b915bdffd47fd2e2474 by Robert Noland on 03/10/2008 at 17:56..
[FreeBSD] Do a bit of optimization on drm_order()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c92abfa8d0b9f2ab14e6b915bdffd47fd2e2474

Git commit 9c0ce38df3d9026785155d06fc62bdd7acaf8bf0 by Robert Noland on 03/10/2008 at 18:05..
[FreeBSD] Use M_WAITOK when allocating driver memory.

We don't explicitly check for error here and M_WAITOK will just put the
process to sleep waiting on resources to become available.

Suggested by John Baldwin
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c0ce38df3d9026785155d06fc62bdd7acaf8bf0

Git commit 60cf3a4db4ab8ee81aca104624e89caf5587419b by Robert Noland on 03/10/2008 at 18:11..
[FreeBSD] Don't explicitly bzero driver softc.

This is already handled for us.

Suggested by John Baldwin
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60cf3a4db4ab8ee81aca104624e89caf5587419b

Git commit ce40261012d39e1096442ef48c45b305c8d69dbd by Alex Deucher on 05/10/2008 at 00:43..
radeon: Add support for HD2100 IGP (RS740)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce40261012d39e1096442ef48c45b305c8d69dbd

Git commit 5a36cce3499c48fe1bf137b26b2a5e8a383d0332 by Alex Deucher (on behalf of Mihail Zenkov) on 06/10/2008 at 04:49..
radeon: fix missing bit from rs740 patch

See bug 17908
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a36cce3499c48fe1bf137b26b2a5e8a383d0332

Git commit a981a6860365065682f3ca295939e629b989a9d1 by Dave Airlie on 06/10/2008 at 06:39..
drm/radeon: fixup clean flag handling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a981a6860365065682f3ca295939e629b989a9d1

Git commit 4a4d7727c6c6eff4cf19d5debb91a6fcac555832 by Dave Airlie on 06/10/2008 at 06:40..
radeon: fix pin ioctl interface to mesa can find offset for pinned buffers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a4d7727c6c6eff4cf19d5debb91a6fcac555832

Git commit 4d1031a9f0e5cddb6ca403afdbd1f019c9c3df2e by Dave Airlie on 06/10/2008 at 06:40..
radeon: fix alignment so Xv works again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d1031a9f0e5cddb6ca403afdbd1f019c9c3df2e

Git commit 4b98f6d74ffb119174237d30356ed3e2724b27da by Alex Deucher on 06/10/2008 at 07:08..
radeon: fix bus master enabled bits on newer asics
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b98f6d74ffb119174237d30356ed3e2724b27da

Git commit d0aff120521db3fa170ae55cc16a4935e813816d by Dave Airlie on 06/10/2008 at 18:07..
drm: add create gpu tree script
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0aff120521db3fa170ae55cc16a4935e813816d

Git commit 8e5f5ed189fa28e08e45274c15f8ed41f627bc8b by Dave Airlie on 06/10/2008 at 18:47..
radeon: PCIE cards don't appear to have explicit bus master
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e5f5ed189fa28e08e45274c15f8ed41f627bc8b

Git commit 6f9dfa098fed73895f4ad32f9274ffaa163d3efb by Alex Deucher on 06/10/2008 at 16:01..
radeon: fix duplicate define in my last commit

That's what I get for committing at 3 AM.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f9dfa098fed73895f4ad32f9274ffaa163d3efb

Git commit 728d8e226f1bc12f50f710cc96bbb2a25f72ada3 by Alex Deucher on 06/10/2008 at 16:12..
radeon: add comment to clarify bus mastering on PCIE chips
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/728d8e226f1bc12f50f710cc96bbb2a25f72ada3

Git commit e4fa03f7ddb86720fa19cfc839689e1df72bb928 by Alex Deucher on 07/10/2008 at 18:10..
radeon: pull in recent fixes from ddx

- fixup atom digital encoder setup
- pull in add get edid (currently disabled due to
  lack of support for atom fb/scratch space)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4fa03f7ddb86720fa19cfc839689e1df72bb928

Git commit 604759d4a78efcef0abdb40bfc215526cdcf1122 by Xiang, Haihao on 09/10/2008 at 03:59..
intel: fix for write_domain and static BOs.

http://bugs.freedesktop.org/show_bug.cgi?id=17705
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/604759d4a78efcef0abdb40bfc215526cdcf1122

Git commit 3169d9639bd002b43e4064cea32e0d262076c1e0 by Eric Anholt on 09/10/2008 at 19:57..
intel: Protect bufmgr objects with a pthread mutex.

We want to be able to use the bufmgr from multiple threads for GL, and thus
we need to protect the internal structures.

The pthread-stubs package is used so that programs not linked against
pthreads get weak symbols to stubs and don't eat most of the cost.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3169d9639bd002b43e4064cea32e0d262076c1e0

Git commit 94c88c151cecae48ce1f4f01acddfaaad4b437f3 by Keith Packard on 10/10/2008 at 01:25..
Manage fences in user-mode bufmgr_fake to clean buffers

When using bufmgr_fake without DRM, the X server idles the ring whenever it
wants to wait for something to complete (brutal, but effective). In this
case, bufmgr_fake must treat the pending fence as having passed. However, it
wasn't recording the fences as it emitted them, nor cleaning buffers as they
passed.

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94c88c151cecae48ce1f4f01acddfaaad4b437f3

Git commit a8f73c214dc2accee12d84b85d37fb498ab3adad by Robert Noland on 10/10/2008 at 02:11..
i915: Cleanup interrupt handling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8f73c214dc2accee12d84b85d37fb498ab3adad

Git commit 1150a42d4398b14c5db2f34a5beba613528df147 by Robert Noland on 10/10/2008 at 02:13..
[FreeBSD] Fix linux list compat list_for_each_safe()

linux_for_each_safe would not handle lists with a single entry.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1150a42d4398b14c5db2f34a5beba613528df147

Git commit cdd3e9fc562bd57e0272e4c4d1c0707776bd01a1 by Robert Noland on 10/10/2008 at 17:06..
[FreeBSD] Rework all of the memory allocations

Allocate memory from different pools.  This allows the OS to track memory
allocations for us, much like the linux memory debugging.  This will ease
tracking down memory leaks since the OS can track the number of allocations
from each pool and help to point us in the right direction.  Also replace
drm_alloc and friends with static __inline__ versions while we are here.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdd3e9fc562bd57e0272e4c4d1c0707776bd01a1

Git commit f5327aca0cbb1b602e4f954b8f361f2e1daaf20d by Robert Noland on 10/10/2008 at 22:23..
[FreeBSD] Plug memory leak in drm_rmdraw() and drm_drawable_free_all()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5327aca0cbb1b602e4f954b8f361f2e1daaf20d

Git commit c6109df93bc062d3ec2ff2808babe826532d11b3 by Dave Airlie on 12/10/2008 at 21:16..
libdrm: don't depend or link to libdrm_intel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6109df93bc062d3ec2ff2808babe826532d11b3

Git commit 3e03d781f7c41a88d5d5f895be9c443bf3592ef0 by Eric Anholt on 13/10/2008 at 20:41..
intel: Avoid pthread mutex recursion in bufmgr_fake.

Bug #18035. Fixes deadlock in glean texCube testcase.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e03d781f7c41a88d5d5f895be9c443bf3592ef0

Git commit d9c2f65dd8e50736a33e97a55c257ef6843e1ce7 by Eric Anholt (on behalf of Julien Cristau) on 13/10/2008 at 23:39..
link libdrm_intel properly

libdrm_intel needs symbols from libdrm, so link against it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9c2f65dd8e50736a33e97a55c257ef6843e1ce7

Git commit 993383873c215ab11975d98b93f131a4e3ea7ce6 by Eric Anholt on 14/10/2008 at 20:23..
intel: Add interface for getting tiling mode of a bo.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/993383873c215ab11975d98b93f131a4e3ea7ce6

Git commit 458e2d5bc5f949d00cfcc9a3f9ce89f0c9f5628c by Eric Anholt on 14/10/2008 at 20:33..
intel: Fix compile warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/458e2d5bc5f949d00cfcc9a3f9ce89f0c9f5628c

Git commit fc33686ef044a4a59d48da2a648a0c2d0a1a7fd6 by Dave Airlie on 16/10/2008 at 00:49..
drm/radeon: initial suspend/resume fix.

This enables the evict code and also sets radeon up
to allow evict from VRAM to LOCAL
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc33686ef044a4a59d48da2a648a0c2d0a1a7fd6

Git commit 11320fd6b106c1255f3fad0860cb4da71697b46a by Dave Airlie on 16/10/2008 at 00:50..
drm: add discardable flag.

This discards memory contents on suspend/resume with the
hope the upper layers know something we don't.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11320fd6b106c1255f3fad0860cb4da71697b46a

Git commit d958cd7bb95558aa6c49824e2ae2b302f1433d2e by Dave Airlie on 16/10/2008 at 00:51..
radeon: use discardable flags on no backing store objects
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d958cd7bb95558aa6c49824e2ae2b302f1433d2e

Git commit 09f99dc5febecac63d8c636abadea53e89d879aa by Dave Airlie on 16/10/2008 at 00:51..
drm: remove stray debug code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09f99dc5febecac63d8c636abadea53e89d879aa

Git commit 3e3280eccc38cd080cbab7b471aad1b9cd12fd1b by Dave Airlie on 16/10/2008 at 00:52..
radeon: move memcpy until after CP is stopped
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e3280eccc38cd080cbab7b471aad1b9cd12fd1b

Git commit b18e6b0a0d9ef6902e4be1809ba710200f4c37be by Dave Airlie on 16/10/2008 at 00:52..
radeon: fix buffer copying for VRAM->TT
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b18e6b0a0d9ef6902e4be1809ba710200f4c37be

Git commit 9c5819fc60808b00949f6aee55424f17a8b4f419 by Dave Airlie on 16/10/2008 at 00:53..
radeon: re-enable hw blits for copying from VRAM
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c5819fc60808b00949f6aee55424f17a8b4f419

Git commit 318770a78dc563a9a2780614fa3bf6c813584889 by Dave Airlie on 16/10/2008 at 00:53..
radeon: fixup suspend/resume bus master enable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/318770a78dc563a9a2780614fa3bf6c813584889

Git commit 66740cbd5411a870dc6cc282c19a72809dd992be by Dave Airlie on 16/10/2008 at 00:55..
radeon: fixup interrupt suspend/resume
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66740cbd5411a870dc6cc282c19a72809dd992be

Git commit 8d9a11c55cf3692bd537c68044b4378aba53f438 by Dave Airlie on 16/10/2008 at 00:57..
radeon: add CS support for r100/r200 in 2D driver
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d9a11c55cf3692bd537c68044b4378aba53f438

Git commit 26076bf24a4e720e389d0a3ea616a8350397fdfc by Dave Airlie on 16/10/2008 at 00:59..
radeon: add initial agp support.

This add agpmode command line option.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26076bf24a4e720e389d0a3ea616a8350397fdfc

Git commit 769197c8f16eaf3c0a476a4459e535afd4a939cb by Xiang, Haihao on 16/10/2008 at 02:37..
intel: avoid deadlock in intel_bufmgr_fake.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/769197c8f16eaf3c0a476a4459e535afd4a939cb

Git commit 6df7b0719fe92b718e486c2b87e2f883cfa41efa by Dave Airlie (on behalf of Eric Anholt) on 16/10/2008 at 20:38..
intel: Protect bufmgr objects with a pthread mutex.

We want to be able to use the bufmgr from multiple threads for GL, and thus
we need to protect the internal structures.

The pthread-stubs package is used so that programs not linked against
pthreads get weak symbols to stubs and don't eat most of the cost.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6df7b0719fe92b718e486c2b87e2f883cfa41efa

Git commit 9dda3a8f63331cb55f4669fd8edb600f2e07ec86 by Dave Airlie on 16/10/2008 at 20:39..
libdrm: don't depend or link to libdrm_intel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dda3a8f63331cb55f4669fd8edb600f2e07ec86

Git commit 4c8aeb6fc7fa9f0aa9df4fd855696afe4bf6c0b4 by Dave Airlie on 16/10/2008 at 20:40..
link libdrm_intel properly

libdrm_intel needs symbols from libdrm, so link against it.
(cherry picked from commit d9c2f65dd8e50736a33e97a55c257ef6843e1ce7)

Conflicts:

	libdrm/Makefile.am
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c8aeb6fc7fa9f0aa9df4fd855696afe4bf6c0b4

Git commit a59ea02ff839fa0801763a90beb8b232b933c746 by Eric Anholt (on behalf of Keith Packard) on 17/10/2008 at 06:54..
intel: ioctl is not defined to return -errno

Don't count on ioctl returning -errno; use errno directly.

Signed-off-by: Keith Packard <keithp at keithp.com>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a59ea02ff839fa0801763a90beb8b232b933c746

Git commit cb8030638ff1f2328b07538001d0e82b4fc396c0 by Julien Cristau on 19/10/2008 at 12:02..
Remove a bunch of files that aren't used in userspace

Among these is some sourceless microcode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb8030638ff1f2328b07538001d0e82b4fc396c0

Git commit d633fdd7a1233d3272b82090513e5aac46e52479 by Julien Cristau on 19/10/2008 at 12:27..
update debian/changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d633fdd7a1233d3272b82090513e5aac46e52479

Git commit aa22f2e494ca7b7bdf60a9cdddce3f2ddccd4e49 by Julien Cristau on 19/10/2008 at 12:56..
Add missing Makefile.in
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa22f2e494ca7b7bdf60a9cdddce3f2ddccd4e49

Git commit 7dbeb18777a4dc1e7eb3c6bc4da3e72456afc8fc by Robert Noland on 23/10/2008 at 19:42..
[FreeBSD] This check isn't correct and causes at least mga to lockup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dbeb18777a4dc1e7eb3c6bc4da3e72456afc8fc

Git commit 8256c347cc80db0371b40b34ee8a163908d50079 by Robert Noland on 23/10/2008 at 19:46..
[FreeBSD] We should use dev2unit() rather than minor()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8256c347cc80db0371b40b34ee8a163908d50079

Git commit b7d54b1dba8eba24da1b9cdd2116a26b98365b81 by Xiang, Haihao on 24/10/2008 at 08:41..
intel: Also total child_size of the target_bos. Partial fix #17964.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7d54b1dba8eba24da1b9cdd2116a26b98365b81

Git commit 0796bf8c6b983de7fbb188bd5d84d4ea54f81525 by Jakob Bornecrantz on 24/10/2008 at 16:23..
mode: Indent defines
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0796bf8c6b983de7fbb188bd5d84d4ea54f81525

Git commit 34a3ebffc369575412a4ff2c05c50264e83c6d3e by Jakob Bornecrantz on 24/10/2008 at 16:46..
mode: Try to settle on a standard for struct fields
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34a3ebffc369575412a4ff2c05c50264e83c6d3e

Git commit 1d930fc75b99a89fc77d35d8f95f2877cfd5d7f0 by Robert Noland (on behalf of Matthias Hopf) on 25/10/2008 at 16:15..
drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831)

Olaf Kirch noticed that the i915_set_status_page() function of the i915
kernel driver calls ioremap with an address offset that is supplied by
userspace via ioctl. The function zeroes the mapped memory via memset
and tells the hardware about the address. Turns out that access to that
ioctl is not restricted to root so users could probably exploit that to
do nasty things. We haven't tried to write actual exploit code though.

It only affects the Intel G33 series and newer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d930fc75b99a89fc77d35d8f95f2877cfd5d7f0

Git commit 389b7617b5b88b6270af5b3824fe73519900c87f by Dave Airlie on 27/10/2008 at 07:06..
drm: make handles 32-bits again not sure why they changed
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/389b7617b5b88b6270af5b3824fe73519900c87f

Git commit 848f00d77381d8b442c096476302796f8fe122fa by Alex Deucher on 27/10/2008 at 16:59..
radeon: fix some fallout from the busmaster disable cleanup

rs400 is just like rs480.  I mixed up the internal
chipset names for rs600 and rs400.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/848f00d77381d8b442c096476302796f8fe122fa

Git commit e1372f67274baa44419e000f5d3d6b2e81be2b51 by Alex Deucher on 27/10/2008 at 17:18..
radeon: fix error in busmaster enable logic

- logic was wrong.  rs400/rs480 should clear the RADEON_BUS_MASTER_DIS bit
- should fix kernel bug 11798
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1372f67274baa44419e000f5d3d6b2e81be2b51

Git commit 7617d1fef7b743349b470e4a62388174bbffb56b by Jerome Glisse on 27/10/2008 at 18:27..
radeon: radeon util library
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7617d1fef7b743349b470e4a62388174bbffb56b

Git commit 3b17b50e9c49ae113c7ad1c4a0af51e873de1a7e by Jerome Glisse on 27/10/2008 at 18:33..
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b17b50e9c49ae113c7ad1c4a0af51e873de1a7e

Git commit 145d2d610b90b6129bbbebd1e1f8c71f9147cbde by Robert Noland on 27/10/2008 at 18:39..
i915: Since FreeBSD doesn't have gem support yet, don't advertise it.

This allows us to not crash X when using newer Intel ddx drivers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/145d2d610b90b6129bbbebd1e1f8c71f9147cbde

Git commit 89ef1b5483bb234278fe40e193643fc9777f50d4 by Pekka Paalanen on 27/10/2008 at 19:21..
drm: missing init_mm symbol, compatibility fix

The drm_compat.c version of kmap_atomic_prot_pfn() uses the macro
pgd_offset_k(), which references the symbol init_mm.
Starting in 2.6.25, init_mm is no longer exported by default.

The only user of kmap_atomic_prot_pfn() is i915, so this should
not hurt anyone, and it allows people to load drm.ko.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89ef1b5483bb234278fe40e193643fc9777f50d4

Git commit af118cd186407cd8e72ccd63f6deca56f1ffd905 by Jerome Glisse on 27/10/2008 at 22:26..
radeon: reloc are backend dependant
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af118cd186407cd8e72ccd63f6deca56f1ffd905

Git commit 48b73904b485d679df879522719e4451fdb96ab6 by Ben Skeggs on 28/10/2008 at 00:56..
nv50: move context-related tables a separate header file

This turns the various nvXX_graph_init_ctxvals() methods into tables,
and speeds up compliation of nv50_graph.c quite a bit.  This has bothered
me for a while, but others are complaining now so it's time to fix it :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48b73904b485d679df879522719e4451fdb96ab6

Git commit e47ab7a5081e178bad385ce2e75b01474ea7aa4c by Ben Skeggs on 28/10/2008 at 01:00..
nv50: symlink nv50_grctx.h to linux-core...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e47ab7a5081e178bad385ce2e75b01474ea7aa4c

Git commit 0e867312323fa51af324228b98bff4f49a813481 by Eric Anholt on 28/10/2008 at 21:27..
intel: Add dri_bufmgr_check_aperture support for bufmgr_gem.

This relies on a new kernel ioctl to get the available aperture size.

In order to provide reasonable performance from dri_bufmgr_check_aperture, we
now require that once a buffer has been used as the target of a relocation,
it gets no further relocations added to it.  This cuts the cost of
check_aperture from 10% to 1% in the 3D driver with no code changes, but
slightly complicates our plans for the 2D driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e867312323fa51af324228b98bff4f49a813481

Git commit 1db35ba58353b862ca04a190d46c6f074a21f223 by Jesse Barnes on 29/10/2008 at 19:18..
libdrm: fix ABI change in drm_mode_get_encoder

The encoder_type field should be at the top to match the kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1db35ba58353b862ca04a190d46c6f074a21f223

Git commit 5d861951b3714d13292d18f3731294c83e209b3a by Jerome Glisse on 29/10/2008 at 22:40..
radeon: libdrm_radeon updates bo & cs interfaces
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d861951b3714d13292d18f3731294c83e209b3a

Git commit 40c64eb5243bbd511f30e68cb4abce55b364a74f by Jerome Glisse on 29/10/2008 at 22:41..
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40c64eb5243bbd511f30e68cb4abce55b364a74f

Git commit 4b9826408f65976a1a13387beda748b65e03ec52 by Eric Anholt on 30/10/2008 at 18:29..
intel: Rename dri_ and intel_ symbols to drm_intel_.

I wanted to avoid doing this, as it's a bunch of churn, but there was a
conflict between the dri_ symbols in libdrm and the symbols that were in
Mesa in 7.2, which broke Mesa 7.2 AIGLX when the 2D driver had loaded new
libdrm symbols.  The new naming was recommended by cworth for giving the
code a unique prefix identifying where the code lives.

Additionally, take the opportunity to fix up two API mistakes: emit_reloc's
arguments were in a nonsensical order, and set_tiling lacked the stride
argument that the kernel will want to use soon.  API compatibility with
released code is maintained using #defines.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b9826408f65976a1a13387beda748b65e03ec52

Git commit 00847dabe0fa5ccf796658f486e8f6f7a77e043b by Eric Anholt on 30/10/2008 at 18:36..
libdrm 2.4.1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00847dabe0fa5ccf796658f486e8f6f7a77e043b

Git commit 87e90c73620b88005fcca5fd40aaaad0b08932e1 by Pekka Paalanen on 02/11/2008 at 11:55..
nouveau: compat fix for set_page_locked().

The set_page_locked() function has changed its name again.
2.6.28 offers __set_page_locked() instead, which uses non-atomic
__set_bit() to do the work. In this case, offer our own
set_page_locked() using the atomic set_bit(), because I do not know
if atomic access is really necessary. Atomic behaviour is the one
previously expected.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87e90c73620b88005fcca5fd40aaaad0b08932e1

Git commit 7651b4c424aa6c6ac6c47b2d07c8f65d0b9d0191 by Jerome Glisse on 02/11/2008 at 15:00..
radeon: debug bo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7651b4c424aa6c6ac6c47b2d07c8f65d0b9d0191

Git commit b09cb93e2d188228e26135149786ee231cd9b11d by Dave Airlie on 02/11/2008 at 23:23..
radeon: add some more r100 support to test AGP
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b09cb93e2d188228e26135149786ee231cd9b11d

Git commit f74721fc2553d81acfe4d4a670833405dd52092b by Dave Airlie on 02/11/2008 at 23:24..
radeon: fix unused agp functionality
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f74721fc2553d81acfe4d4a670833405dd52092b

Git commit 48f222751643a349924ba3e6c26890310822f89c by Dave Airlie on 02/11/2008 at 23:25..
radeon: export radeon_modeset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48f222751643a349924ba3e6c26890310822f89c

Git commit d275f99c9a7d915473034e6abd575f35bea5db9c by Dave Airlie on 02/11/2008 at 23:26..
radeon: don't enable dynclks on rs48x
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d275f99c9a7d915473034e6abd575f35bea5db9c

Git commit a8f07db596532912e354bb7a2b3acdfc11a8d150 by Dave Airlie on 02/11/2008 at 23:26..
radeon: workaround failure to parse some rs48x edid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8f07db596532912e354bb7a2b3acdfc11a8d150

Git commit 52ef9d87db8d3b7e0e9114f987263292e8e12d6a by Dave Airlie on 02/11/2008 at 23:27..
radeon: fix small typo in agp code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52ef9d87db8d3b7e0e9114f987263292e8e12d6a

Git commit 0dbe3436ee6e3f2a4d6d252ef5e31b7bb7e36764 by Dave Airlie on 02/11/2008 at 23:28..
radeon: fix some warnings
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dbe3436ee6e3f2a4d6d252ef5e31b7bb7e36764

Git commit a066a5f908af0e82b1a0c7099b73d4a63585c69d by Dave Airlie on 02/11/2008 at 23:28..
radeon: make writeback work again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a066a5f908af0e82b1a0c7099b73d4a63585c69d

Git commit 3fd0e1483ebe640b69da888e286ea85d11539b46 by Dave Airlie on 02/11/2008 at 23:29..
radeon: fixup scratch register interactions properly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fd0e1483ebe640b69da888e286ea85d11539b46

Git commit b4803991c8ad8596786f8cf1cffc6417c8ce446a by Dave Airlie on 02/11/2008 at 23:30..
radeon: update proper chip family
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4803991c8ad8596786f8cf1cffc6417c8ce446a

Git commit 653b16f2dd32b5fdbd5f97277edc1c6df66755a9 by Dave Airlie on 02/11/2008 at 23:31..
radeon: fix accessible VRAM sizing
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/653b16f2dd32b5fdbd5f97277edc1c6df66755a9

Git commit 1c817cc3fc09abe93539413130de3875e4c7eafe by Dave Airlie on 02/11/2008 at 23:32..
radeon: pull bus master enable into its own function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c817cc3fc09abe93539413130de3875e4c7eafe

Git commit 624da91277ee33936ea3cfaf20e7f6775293deb2 by Dave Airlie on 02/11/2008 at 23:33..
radeon: add r423 bits to modesetting
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/624da91277ee33936ea3cfaf20e7f6775293deb2

Git commit fd9e05b3f4f464ddf08097817a3af824f54a97ca by Dave Airlie on 02/11/2008 at 23:33..
radeon: release agp on module unload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd9e05b3f4f464ddf08097817a3af824f54a97ca

Git commit 563e7e5930a8d628b33cb1f7a9aaea251f2fc50b by Dave Airlie on 02/11/2008 at 23:36..
radeon/drm: fixup ref counting in on fb objs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/563e7e5930a8d628b33cb1f7a9aaea251f2fc50b

Git commit 8b2925468d326ab6fa31a312e845a3bc71343106 by Dave Airlie on 02/11/2008 at 23:39..
radeon: make new CS2 command submission interface port older interface to this
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b2925468d326ab6fa31a312e845a3bc71343106

Git commit 35f080559287ebf30f417337fa124d827709503b by Dave Airlie on 02/11/2008 at 23:40..
radeon: don't copy to user the cs ids
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35f080559287ebf30f417337fa124d827709503b

Git commit 6000fa686294019e93f815433a1a9b44db511a69 by Dave Airlie on 02/11/2008 at 23:40..
radeon: CS2 make it all work with new relocs style
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6000fa686294019e93f815433a1a9b44db511a69

Git commit e57072b5ee521ec799d0aa0ef84a7d01d8479202 by Dave Airlie on 02/11/2008 at 23:41..
radeon: fix free after refcount
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e57072b5ee521ec799d0aa0ef84a7d01d8479202

Git commit f5e6dbef797cff18953e4f3271e1c74a0b24b715 by Dave Airlie on 02/11/2008 at 23:41..
radeon: fix some warnings
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5e6dbef797cff18953e4f3271e1c74a0b24b715

Git commit 4ccec67a239517458bace47bf08f6770393abb37 by Dave Airlie on 02/11/2008 at 23:42..
radeon: remove unused gem indirect ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ccec67a239517458bace47bf08f6770393abb37

Git commit fc25c81eab2d847c854e0a44cae29f8c2213bba6 by Dave Airlie on 02/11/2008 at 23:43..
radeon: rs480 fixes for bus mastering
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc25c81eab2d847c854e0a44cae29f8c2213bba6

Git commit 31f8d4218c0f6455751d8bbc788172912359b0df by Dave Airlie on 02/11/2008 at 23:44..
radeon: add wait rendering API
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31f8d4218c0f6455751d8bbc788172912359b0df

Git commit be3dac976e07fbfd727a2d0216ea9ba3247db348 by Dave Airlie on 02/11/2008 at 23:44..
radeon: only enable dynclks if asked for
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be3dac976e07fbfd727a2d0216ea9ba3247db348

Git commit 4ef8ace9a96bd6bb4040ef5c4c3ea5572d7129e1 by Dave Airlie on 02/11/2008 at 23:45..
radeon: add proc debugging for interrupts/ring
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ef8ace9a96bd6bb4040ef5c4c3ea5572d7129e1

Git commit ce2cd141c36f330da7e9fb9a281e51abab88e0d1 by Dave Airlie on 02/11/2008 at 23:46..
radeon: fix race in sysfs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce2cd141c36f330da7e9fb9a281e51abab88e0d1

Git commit 31b8a640db9b55638bf9967f0d78ec665fa8839f by Dave Airlie on 02/11/2008 at 23:46..
radeon: overhaul ring interactions

emit in 16-dword blocks, emit irqs at same time as everything else
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31b8a640db9b55638bf9967f0d78ec665fa8839f

Git commit 13d9acd3110a32d94434311821362900a9463cf4 by Dave Airlie on 02/11/2008 at 23:47..
radeon: add more debugging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13d9acd3110a32d94434311821362900a9463cf4

Git commit e829d5b6bc9f5887c82653c007641c3c37f7ae67 by Dave Airlie on 02/11/2008 at 23:47..
radeon: setup isync cntl properly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e829d5b6bc9f5887c82653c007641c3c37f7ae67

Git commit cdddff835510eca179ac289f41a1771093939901 by Dave Airlie on 02/11/2008 at 23:48..
radeon: enable DVI-D + HDMI connectors.

This allows the rs690 to work on DVI
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdddff835510eca179ac289f41a1771093939901

Git commit 49551f87fcd21e10a4485b3e00af47f0b9f94a0f by Dave Airlie on 02/11/2008 at 23:49..
radeon: set dma bufs bo type to a kernel type
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49551f87fcd21e10a4485b3e00af47f0b9f94a0f

Git commit c153a86af7e4e782e55565f882ef2c8618650150 by Dave Airlie on 02/11/2008 at 23:49..
radeon: add more HDMI bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c153a86af7e4e782e55565f882ef2c8618650150

Git commit 28c9eb7b7493ee2478df66476c742432525f1efa by Dave Airlie on 02/11/2008 at 23:50..
radeon: commit ring after emitting the buffer discards
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28c9eb7b7493ee2478df66476c742432525f1efa

Git commit d3aa052f6174ea37136574b68ed55d7cb82c5017 by Dave Airlie on 02/11/2008 at 23:51..
radeon: disable debugging message
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3aa052f6174ea37136574b68ed55d7cb82c5017

Git commit 2b9a7d5381534122858dc6e407794e8cd5c04d3e by Dave Airlie on 02/11/2008 at 23:51..
radeon: disable AGP for certain chips if not specified until we figure it out
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b9a7d5381534122858dc6e407794e8cd5c04d3e

Git commit 0e1df6216e7ce3a69d4311e4685613e57129285f by Dave Airlie on 02/11/2008 at 23:52..
radeon: add mtrr support for VRAM aperture.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e1df6216e7ce3a69d4311e4685613e57129285f

Git commit b7108445c9ebb37d06fcc7821e984124fda928f3 by Dave Airlie on 02/11/2008 at 23:52..
radeon: fix ROP values for the paint ROP
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7108445c9ebb37d06fcc7821e984124fda928f3

Git commit 68fcb7770efc20b9e27b1724e2fb5ac112a5330e by Dave Airlie on 02/11/2008 at 23:58..
radeon: make build again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68fcb7770efc20b9e27b1724e2fb5ac112a5330e

Git commit ddfb12b32e64d00d302f7fbb36fb079deec3646f by Jerome Glisse on 05/11/2008 at 14:59..
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddfb12b32e64d00d302f7fbb36fb079deec3646f

Git commit 2d822542c74c9a38d18724f568642397b5a4d13d by Jerome Glisse on 05/11/2008 at 15:00..
radeon: libdrm_radeon add handle to debug string
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d822542c74c9a38d18724f568642397b5a4d13d

Git commit 273cc1a69887df2bccfab96120f992c506c9035e by Jerome Glisse on 05/11/2008 at 23:40..
radeon: lib radeon add bo & cs gem backend
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/273cc1a69887df2bccfab96120f992c506c9035e

Git commit 930c0e7cf4f4776f7a69e7acc6fedeed7addb235 by Eric Anholt on 07/11/2008 at 20:59..
intel: Restart on interrupt of bo_wait_rendering instead of complaining.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/930c0e7cf4f4776f7a69e7acc6fedeed7addb235

Git commit 751d024dd5c91831a8141810c0f40ecdb235e7ca by Jerome Glisse on 09/11/2008 at 17:45..
libdrm-radeon: update libdrm-radeon to match current CS relocation structures
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/751d024dd5c91831a8141810c0f40ecdb235e7ca

Git commit 7abb8416a7fd8d69f1f2317cdac2baa8e640671e by Jerome Glisse on 09/11/2008 at 17:48..
radeon: add more packet3 relocations handling
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7abb8416a7fd8d69f1f2317cdac2baa8e640671e

Git commit 31b0c4cd20d0eb843268a6307b7c32dbc07e42a0 by Dave Airlie on 10/11/2008 at 05:13..
radeon: fixup vram visible calculation to take a/c pinned objects for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31b0c4cd20d0eb843268a6307b7c32dbc07e42a0

Git commit 08ef5b5e677579892a454d44a96a12dc771b56ac by Dave Airlie on 10/11/2008 at 05:24..
radeon: force all ring writes to 16-dword alignment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08ef5b5e677579892a454d44a96a12dc771b56ac

Git commit 758376e6eb2155605ad502d0dc5147c74f3c47a6 by Dave Airlie on 10/11/2008 at 05:25..
radeon: disable HDP read cache for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/758376e6eb2155605ad502d0dc5147c74f3c47a6

Git commit 994f2405030f7f595c4ec6bee524f7c06f27cd7b by Dave Airlie on 10/11/2008 at 05:25..
radeon: fix ring tail overflow issue since alignment
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/994f2405030f7f595c4ec6bee524f7c06f27cd7b

Git commit 241a9b64141b2dd09449e581017b5ca0c0cc2357 by Dave Airlie on 10/11/2008 at 05:30..
drm/radeon: add uncached allocator to drm ttm code.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/241a9b64141b2dd09449e581017b5ca0c0cc2357

Git commit b1cf46378a54230291ba9fdb4dbbd4bc4befe049 by Dave Airlie on 10/11/2008 at 05:35..
modesetting: set the crtc x,y after the mode base change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1cf46378a54230291ba9fdb4dbbd4bc4befe049

Git commit 327631c8b50a90c8f694ffd9ebd0e5c618e99dff by Dave Airlie on 10/11/2008 at 05:35..
radeon: avivo cursors are across the full surface.

fixes cursor on second head
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/327631c8b50a90c8f694ffd9ebd0e5c618e99dff

Git commit 195cc0d817f99e25a1e961deeabbb15a40b789ed by Dave Airlie on 10/11/2008 at 05:37..
drm/radeon: add dpms connector functions
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/195cc0d817f99e25a1e961deeabbb15a40b789ed

Git commit 213a71f31b174dcae2ef5b3d8b124c1fb62d1866 by Dave Airlie on 10/11/2008 at 05:37..
radeon: fix fence race condition hopefully

For some reason reading the SCRATCH reg from RAM causes some race to occur.
Hopefully fix this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/213a71f31b174dcae2ef5b3d8b124c1fb62d1866

Git commit 532c63cddd273bffab715e3d387268abe164f148 by Dave Airlie on 10/11/2008 at 05:37..
radeon: upgrade atom headers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/532c63cddd273bffab715e3d387268abe164f148

Git commit 15464f5181538d01e8fc016211daa1a824b89531 by Dave Airlie on 10/11/2008 at 05:38..
radeon: add gart useable size to report to userspace
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15464f5181538d01e8fc016211daa1a824b89531

Git commit 72997fb3726b99b99c44e96e59abd8c70abbd8be by Jerome Glisse on 10/11/2008 at 21:18..
libdrm-radeon: be verbose on bo failure and cleanup cs a bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72997fb3726b99b99c44e96e59abd8c70abbd8be

Git commit 6d59bad8e9cab6170e1af3d67597b6f5f145c33f by Jerome Glisse on 10/11/2008 at 21:21..
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d59bad8e9cab6170e1af3d67597b6f5f145c33f

Git commit a7457915f5775137436f3b16a640eb8bd6424ca6 by Jerome Glisse on 12/11/2008 at 15:57..
radeon+libdrm-radeon: change relocation informations

Relocation now consist of the following informations (in this order) :
handle          buffer object handle identifier
start_offset    start offset of first data of the buffer object used by the cs
end_offset      end offset of last data of the buffer object used by the cs
read_domain     read domain (either VRAM, or GTT as GPU is invalid for CS)
write_domain    write domain (either VRAM, or GTT as GPU is invalid for CS)
flags           flags used for further optimization (like discard previous
                buffer content or forget buffer content after cs which can
                help in avoiding moving content in or out)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7457915f5775137436f3b16a640eb8bd6424ca6

Git commit 13948c635d83285909e25ffd5285165789a598b2 by Jakob Bornecrantz on 12/11/2008 at 17:16..
mode: Unify types for ids and strings
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13948c635d83285909e25ffd5285165789a598b2

Git commit 1ead45c8f02e7c51cfe977383726d20479385688 by Jakob Bornecrantz on 12/11/2008 at 17:40..
mode: Remove hotplug support from ioctl interface
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ead45c8f02e7c51cfe977383726d20479385688

Git commit ea849d7ca6aaedd3aba6ec7239f01426521d8604 by Jakob Bornecrantz on 12/11/2008 at 17:50..
mode: Unify userspace API to uint_t
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea849d7ca6aaedd3aba6ec7239f01426521d8604

Git commit 17789a409d3e83cad9f5cf06c2bb7123b78746b2 by Jakob Bornecrantz on 12/11/2008 at 18:10..
mode: Reorder the ioctls and numbering

	This is to fill in the gaps left by the removal of
	the hotplug ioctls. And they also look better :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17789a409d3e83cad9f5cf06c2bb7123b78746b2

Git commit 9a4cb7eab4f74747cc777a3fef31dbb46e1191e5 by Jakob Bornecrantz on 12/11/2008 at 18:17..
mode: Minor reodering and renaming
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a4cb7eab4f74747cc777a3fef31dbb46e1191e5

Git commit 276c07d8855f748c043dfe3ab8c4da954ba0fe1e by Jesse Barnes on 13/11/2008 at 21:52..
libdrm: add support for i915 GTT mapping ioctl

Add a drm_intel_gem_bo_map_gtt() function for mapping a buffer object
through the aperture rather than directly to its CPU cacheable memory.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/276c07d8855f748c043dfe3ab8c4da954ba0fe1e

Git commit 7e27b3ba88f0c40680380636a436c18e3220c7ce by Jesse Barnes on 13/11/2008 at 21:58..
libdrm_intel: fix warnings on 64 bit

Cast a couple of %llx args to unsigned long long.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e27b3ba88f0c40680380636a436c18e3220c7ce

Git commit 965b4d662a5236ee5aeb94a70f62565b6ed5644c by Jesse Barnes on 13/11/2008 at 23:30..
Merge branch 'master' into modesetting-gem

Conflicts:

	libdrm/Makefile.am
	libdrm/intel/intel_bufmgr.h
	libdrm/intel/intel_bufmgr_fake.c
	libdrm/intel/intel_bufmgr_gem.c
	shared-core/drm.h
	shared-core/i915_dma.c
	shared-core/i915_irq.c
	shared-core/radeon_cp.c
	shared-core/radeon_drv.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/965b4d662a5236ee5aeb94a70f62565b6ed5644c

Git commit bfbecc5c42d9669fceaab683d1464dd353be9492 by Jerome Glisse on 14/11/2008 at 11:16..
libdrm-radeon: new tracker tools

To keep record of bo activities and print them when necessary,
should help in tracking unbalanced ref/unref calls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfbecc5c42d9669fceaab683d1464dd353be9492

Git commit 080a45624b2b0ac9e0173f5b93760ae018394dd1 by Jerome Glisse on 14/11/2008 at 11:16..
libdrm-radeon: unreference buffer once cs stream is submited or on cs clean

BO are referenced once by reloc to make sure that they not destroyed
before we get a chance to flush the cmd stream, so we need to unreference
them once in cs submit or cs erase if cs i never submitted so bo can
be destructed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/080a45624b2b0ac9e0173f5b93760ae018394dd1

Git commit 1f6602185455957bde0fac09dcab5215326d49a0 by Dave Airlie on 15/11/2008 at 02:30..
drm/bo: fix stupid lock imbalance
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f6602185455957bde0fac09dcab5215326d49a0

Git commit 5ae79e7edd819b84d9e447a2ab9b995a862ac3a7 by Jerome Glisse on 15/11/2008 at 09:39..
libdrm-radeon: unref return current BO ptr to reflect BO destruction
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ae79e7edd819b84d9e447a2ab9b995a862ac3a7

Git commit c0ba14fd90e7495d5634c1ce0a9fb5be26230010 by Jerome Glisse on 16/11/2008 at 17:04..
libdrm-radeon: add print callback to cs & small fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0ba14fd90e7495d5634c1ce0a9fb5be26230010

Git commit 7270731a8b7ebe11fe6df4f368c2ed613a530b52 by Jerome Glisse on 16/11/2008 at 17:11..
radeon: protect cs ioctl atomic part with a mutex

A small subset of CS need to be atomic (relocation+IB commit to
ring) right now, because of the way relocation are handled, we
need to protect the whole ioctl.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7270731a8b7ebe11fe6df4f368c2ed613a530b52

Git commit f46aba43329786c9b2776e82af31d90e1c67eae0 by Jerome Glisse on 16/11/2008 at 17:13..
gem: protect idr_pre with the spinlock

There seems to be an issue if we don't protect idr_pre with
the spinlock we use for idr operations.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f46aba43329786c9b2776e82af31d90e1c67eae0

Git commit e98eda91593b7c0a7494475be8cfd8cb4740f8ec by Jerome Glisse on 17/11/2008 at 12:35..
Revert "gem: protect idr_pre with the spinlock"

This reverts commit f46aba43329786c9b2776e82af31d90e1c67eae0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e98eda91593b7c0a7494475be8cfd8cb4740f8ec

Git commit 8f5d8ba97e82072b2403bff0bf836a09640108a6 by Jesse Barnes on 19/11/2008 at 18:54..
Update modetest
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f5d8ba97e82072b2403bff0bf836a09640108a6

Git commit 60c1e3a09e33bfaec893c1d4780553b9b344293a by Jesse Barnes on 19/11/2008 at 18:56..
libdrm_intel: fix merge error

don't take the lock twice
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60c1e3a09e33bfaec893c1d4780553b9b344293a

Git commit c67a83dfe1b60f81343ff7c2604a96b18ecb3b0c by Jesse Barnes on 19/11/2008 at 20:42..
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c67a83dfe1b60f81343ff7c2604a96b18ecb3b0c

Git commit c029ed2510f32318d4bd6a195e81712d1b4ea29b by Stephane Marchesin on 19/11/2008 at 22:17..
Unbreak drm build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c029ed2510f32318d4bd6a195e81712d1b4ea29b

Git commit 5923831bafca3cf2358ffc7f8b0079ab4de9da5c by Jesse Barnes on 20/11/2008 at 18:57..
DRM: make drm_map_type match kernel

GEM is upstream, but TTM isn't, so _DRM_GEM needs to be 6, not 7.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5923831bafca3cf2358ffc7f8b0079ab4de9da5c

Git commit 2e2fd6c63204cbea3b29a4872be77ac69677c841 by Jesse Barnes on 20/11/2008 at 19:00..
DRM: make drm_map_type match upstream kernel

Since the TTM type isn't upstream yet, we need to make sure libdrm uses
what the kernel uses, which is _DRM_GEM = 6.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e2fd6c63204cbea3b29a4872be77ac69677c841

Git commit 10c3e1a8b55355b1ae1697ebf3d77ac4702d61c9 by Jesse Barnes on 20/11/2008 at 19:01..
Merge branch 'master' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10c3e1a8b55355b1ae1697ebf3d77ac4702d61c9

Git commit 52232ad702474c7f93963642987314a905ef52aa by Ben Skeggs on 21/11/2008 at 02:18..
nv50: update context-related tables for original 8800GTS

I either messed up when I pulled these from a mmio-trace last time, or
the previous values didn't work on my card.  Hopefully it's the former!

In any case, at least one of the original NV50 chipsets work now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52232ad702474c7f93963642987314a905ef52aa

Git commit 7e4e0fbbb82b0467d46386bcac1115812aaa1393 by Ben Skeggs on 23/11/2008 at 07:49..
nv50: support NV94 chipset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e4e0fbbb82b0467d46386bcac1115812aaa1393

Git commit 7949ab115e191be6d2f2c34a690a1b103f8787c0 by Timo Aaltonen on 02/12/2008 at 14:10..
Merge commit 'libdrm-2.3.1' into test
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7949ab115e191be6d2f2c34a690a1b103f8787c0

Git commit ca31c1675650c54c871e29e174245ddf06f984c5 by Timo Aaltonen on 02/12/2008 at 14:39..
Merge branch 'debian-unstable' into test

Conflicts:
	bsd-core/ati_pcigart.c
	bsd-core/drmP.h
	bsd-core/drm_agpsupport.c
	bsd-core/drm_atomic.h
	bsd-core/drm_auth.c
	bsd-core/drm_bufs.c
	bsd-core/drm_context.c
	bsd-core/drm_dma.c
	bsd-core/drm_drawable.c
	bsd-core/drm_drv.c
	bsd-core/drm_fops.c
	bsd-core/drm_ioctl.c
	bsd-core/drm_irq.c
	bsd-core/drm_linux_list.h
	bsd-core/drm_lock.c
	bsd-core/drm_memory.c
	bsd-core/drm_pci.c
	bsd-core/drm_scatter.c
	bsd-core/drm_sysctl.c
	bsd-core/drm_vm.c
	bsd-core/i915/Makefile
	bsd-core/i915_drv.c
	bsd-core/mach64_drv.c
	bsd-core/mga_drv.c
	bsd-core/r128_drv.c
	bsd-core/radeon_drv.c
	bsd-core/savage_drv.c
	bsd-core/sis_drv.c
	bsd-core/tdfx_drv.c
	bsd-core/via_drv.c
	linux-core/Makefile
	linux-core/Makefile.kernel
	linux-core/ati_pcigart.c
	linux-core/drmP.h
	linux-core/drm_agpsupport.c
	linux-core/drm_compat.c
	linux-core/drm_compat.h
	linux-core/drm_drv.c
	linux-core/drm_fops.c
	linux-core/drm_irq.c
	linux-core/drm_lock.c
	linux-core/drm_memory.c
	linux-core/drm_mm.c
	linux-core/drm_objects.h
	linux-core/drm_proc.c
	linux-core/drm_stub.c
	linux-core/drm_sysfs.c
	linux-core/drm_ttm.c
	linux-core/drm_vm.c
	linux-core/i915_drv.c
	linux-core/i915_fence.c
	linux-core/nouveau_sgdma.c
	linux-core/radeon_drv.c
	linux-core/xgi_cmdlist.c
	linux-core/xgi_drv.c
	linux-core/xgi_drv.h
	linux-core/xgi_fb.c
	linux-core/xgi_fence.c
	linux-core/xgi_misc.c
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
	shared-core/mach64_dma.c
	shared-core/nouveau_drv.h
	shared-core/nouveau_fifo.c
	shared-core/nouveau_mem.c
	shared-core/nouveau_notifier.c
	shared-core/nouveau_object.c
	shared-core/nouveau_state.c
	shared-core/nv04_fifo.c
	shared-core/nv20_graph.c
	shared-core/nv40_graph.c
	shared-core/nv50_fifo.c
	shared-core/nv50_graph.c
	shared-core/r300_cmdbuf.c
	shared-core/radeon_cp.c
	shared-core/radeon_drv.h
	shared-core/radeon_irq.c
	shared-core/radeon_mem.c
	shared-core/radeon_state.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca31c1675650c54c871e29e174245ddf06f984c5

Git commit 7402668dd36043d04fbba69caefca00080a79d3b by Timo Aaltonen on 02/12/2008 at 15:27..
Run autoreconf at build time

build-depend on automake and libtool
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7402668dd36043d04fbba69caefca00080a79d3b

Git commit d9684497b3f2c1d46851ca66fdaa45597d1780ee by Timo Aaltonen on 02/12/2008 at 15:28..
clean more generated files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9684497b3f2c1d46851ca66fdaa45597d1780ee

Git commit 8a64b2a9f22a164c7fe9093510e8428a80863026 by Timo Aaltonen on 02/12/2008 at 15:33..
Use dh_makeshlibs properly

Add a debian/libdrm2.symbols file and '-c4' parameter to dh_makeshlibs
to fail if new symbols are added. Don't use Debian versions for now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a64b2a9f22a164c7fe9093510e8428a80863026

Git commit d60c8917da3a1534d3c7da0e0e7de040f19e1dde by Timo Aaltonen on 02/12/2008 at 15:35..
Update the changelog, close a couple of bugs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d60c8917da3a1534d3c7da0e0e7de040f19e1dde

Git commit 743c8cde351daee96da56802d837d400b47fd8d3 by Timo Aaltonen on 02/12/2008 at 15:37..
Various changes from drm-snapshot.

 * Add a new package for the intel-specific bits (libdrm-intel1)
 * Build-depend on pkg-config and libpthread-stubs0-dev (closes: #502078).
 * Don't mention *.la in libdrm-dev.install.
 * Make libdrm-dev depend on libdrm-intel1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/743c8cde351daee96da56802d837d400b47fd8d3

Git commit 83a57da8352e18e26bd6ab83dec20aea776960a0 by Timo Aaltonen on 02/12/2008 at 15:37..
libdrm2.symbols: remove references to libdrm-intel1 symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83a57da8352e18e26bd6ab83dec20aea776960a0

Git commit c3e85479d97efb5818c942aa9e466eb9f26ceb30 by Timo Aaltonen on 02/12/2008 at 15:50..
Merge branch 'debian-unstable' of git+ssh://tjaalton-guest@git.debian.org/git/pkg-xorg/xsfbs into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3e85479d97efb5818c942aa9e466eb9f26ceb30

Git commit ca444377f6c83b1f59f75679a6ffde79c813d3b9 by Timo Aaltonen on 02/12/2008 at 15:52..
Remove more unneeded files from the merge.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca444377f6c83b1f59f75679a6ffde79c813d3b9

Git commit 72bcdb75f9a7733af097f131e3428d382636e267 by Julien Cristau on 02/12/2008 at 16:22..
Merge git.debian.org:/git/pkg-xorg/xsfbs into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72bcdb75f9a7733af097f131e3428d382636e267

Git commit ea8b9a8aac129ba28b2a966102b84ade351d728a by Julien Cristau on 02/12/2008 at 16:24..
Update upstream changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea8b9a8aac129ba28b2a966102b84ade351d728a

Git commit ca733ec7775279bb20b98c071ff1e8549549a4ab by Julien Cristau on 02/12/2008 at 16:24..
On Linux, let udev create the device files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca733ec7775279bb20b98c071ff1e8549549a4ab

Git commit 182fb9ca263d2e662d2c0a722d55678c55ba7aca by Julien Cristau on 02/12/2008 at 16:27..
Restrict the libdrm-dev dep on libdrm-intel1 to x86
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/182fb9ca263d2e662d2c0a722d55678c55ba7aca

Git commit 0f9a2f2c7c431dde70856718632f673018495446 by Julien Cristau on 02/12/2008 at 16:56..
Remove scripts/ directory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f9a2f2c7c431dde70856718632f673018495446

Git commit 6fb1ad767d64acbd904865bb429547c3805839cf by Eric Anholt on 02/12/2008 at 20:19..
intel: Add a function for setting (GTT,GTT) domain, for use by UXA.

This function can also serve the role that the bo_wait_rendering did, when
write_enable is unset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6fb1ad767d64acbd904865bb429547c3805839cf

Git commit b0d93c74d884b40bd94469a5ef75fdb2fef17680 by Eric Anholt on 02/12/2008 at 20:19..
Bump version to 2.4.2 to signal new libdrm_intel functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0d93c74d884b40bd94469a5ef75fdb2fef17680

Git commit d5d5aca7f959f0e357f99dd517a421c015d0712f by Jesse Barnes on 03/12/2008 at 19:53..
Merge branch 'master' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5d5aca7f959f0e357f99dd517a421c015d0712f

Git commit 12e68f8059485fb4f02a15f74ab2fa3bdff38c81 by Jesse Barnes on 03/12/2008 at 19:54..
Merge branch 'master' into modesetting-gem
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12e68f8059485fb4f02a15f74ab2fa3bdff38c81

Git commit c99566fb810c9d8cae5e9cd39d1772b55e2f514c by Dave Airlie on 08/12/2008 at 04:05..
libdrm: bump to 2.4 for lib version

we already have a 2.3.x version out there
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c99566fb810c9d8cae5e9cd39d1772b55e2f514c

Git commit 6656db10551bbb8770dd945b6d81d5138521f208 by Jesse Barnes on 09/12/2008 at 18:23..
Merge branch 'modesetting-gem'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6656db10551bbb8770dd945b6d81d5138521f208

Git commit b718b93d75664cff0af42d4f76525546a6b14544 by Jesse Barnes on 10/12/2008 at 23:37..
Update .gitignore with new modetest program
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b718b93d75664cff0af42d4f76525546a6b14544

Git commit c34539e8bb5568b1d6059abf139dd08e07e84eea by Jesse Barnes on 10/12/2008 at 23:37..
Bump version to 2.4.3 to reflect addition of mode setting header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c34539e8bb5568b1d6059abf139dd08e07e84eea

Git commit 9583c099b4a08b49e03f7b461c344b6d277fd262 by Jesse Barnes on 10/12/2008 at 23:50..
Revert "Merge branch 'modesetting-gem'"

This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208.

We really just want the libdrm and ioctl bits, not all the driver
stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9583c099b4a08b49e03f7b461c344b6d277fd262

Git commit 782316801beeaf237af8272c41af93c96c708ac4 by Eric Anholt on 15/12/2008 at 00:50..
intel: Remove the mapped flag, which is adequately covered by bo_gem->virtual.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/782316801beeaf237af8272c41af93c96c708ac4

Git commit cebbd2edb54db1780a57b3873d1d3e40cb20043f by Eric Anholt on 15/12/2008 at 00:50..
intel: don't let named buffers into the BO cache.

We wouldn't want some remaining 3D rendering to scribble on our batchbuffer.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cebbd2edb54db1780a57b3873d1d3e40cb20043f

Git commit c86d431fe6174b1c2de531929213ea7dbd92326d by Eric Anholt on 15/12/2008 at 00:50..
intel: don't skip set_domain on mapping of shared buffers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c86d431fe6174b1c2de531929213ea7dbd92326d

Git commit 731cd5526e5c732d51307b26e784f454a724a699 by Jesse Barnes on 17/12/2008 at 18:11..
libdrm: add mode setting files

Add mode setting files to libdrm, including xf86drmMode.* and the new
drm_mode.h header.  Also add a couple of tests to sanity check the
kernel interfaces and update code to support them.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/731cd5526e5c732d51307b26e784f454a724a699

Git commit b13f4e1a32ab98fa719a3233cad59ff4d49cfb38 by Eric Anholt (on behalf of Keith Packard) on 17/12/2008 at 18:28..
intel: Dump out memory usage information when the kernel fails to pin

The execbuffer ioctl returns ENOMEM when it fails to pin all of the buffers
in the GTT. This is usually caused by the DRM client attempting to use too
much memory in a single request. Dumping out the requested and available
memory values should help point out failures in the DRM code to catch over
commitments of this form.

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b13f4e1a32ab98fa719a3233cad59ff4d49cfb38

Git commit bd14b2cf7551826c6437bbf1d8409cebd45615a5 by Eric Anholt (on behalf of Keith Packard) on 17/12/2008 at 18:28..
intel: return error status from drm_intel_gem_bo_map

Applications may actually care if the mapping operation failed, so when
it happens, return an error indication. errno is probably trashed by
fprintf though.

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd14b2cf7551826c6437bbf1d8409cebd45615a5

Git commit 40334c64107a2938c41af6e34bda9f2094d1c6ec by Eric Anholt (on behalf of Keith Packard) on 17/12/2008 at 18:28..
intel: Debug output %u vs uint64_t warning fix

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40334c64107a2938c41af6e34bda9f2094d1c6ec

Git commit 18f091d136cd44ab397817f8a3e89c21e9561a31 by Eric Anholt (on behalf of Keith Packard) on 17/12/2008 at 18:29..
intel: Cache tiling/swizzle state in user mode. Reset tiling on reuse.

Remember tiling mode values provided by appplications, and
record tiling mode when creating a buffer from another application. This
eliminates any need to ask the kernel for tiling values and also makes
reused buffers get the right tiling.

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18f091d136cd44ab397817f8a3e89c21e9561a31

Git commit 06ab2f6436e26f77292d53e3ce2fe547d4a79fe3 by Eric Anholt on 17/12/2008 at 18:41..
libdrm: Fix modetest/modeprint to use automake stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06ab2f6436e26f77292d53e3ce2fe547d4a79fe3

Git commit 0243c9f801a35de3465a0321c02f18a4d07ce5b8 by Kristian Høgsberg on 18/12/2008 at 05:02..
modetest: Print more stuff. Prettier.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0243c9f801a35de3465a0321c02f18a4d07ce5b8

Git commit d221e00105477be824ff8878ba3c06b77efff84f by Eric Anholt on 23/12/2008 at 00:03..
intel: Sync GEM ioctl comments for easier diffing against the kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d221e00105477be824ff8878ba3c06b77efff84f

Git commit 28771e06dfe45027be6618f87335c19e8e88e3f6 by Eric Anholt on 23/12/2008 at 00:03..
intel: Remove linux build of i915 DRM, as it's unmaintained and a user trap.

The code's in the linux kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28771e06dfe45027be6618f87335c19e8e88e3f6

Git commit dfd7fdafd8a2bad0d63ced4a969b6278c221c000 by Eric Anholt on 23/12/2008 at 00:03..
intel: Rename plane[AB]* back to pipe[AB]*.

The values are really going to continue meaning pipe, not plane, and that's
what they're called in the kernel copy of the header.  Userland hasn't ever
made the switch to pipe!=plane, since userland checks are based on DRM
version, which is still stuck at 1.6.  However, Mesa did start using
plane[AB] names, so provide a compat define.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfd7fdafd8a2bad0d63ced4a969b6278c221c000

Git commit b48bd3a036efa3c3aa759759a5be4f80f1c3ac72 by Dave Airlie on 23/12/2008 at 01:30..
radeon: only write irq regs if irq is enabled
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b48bd3a036efa3c3aa759759a5be4f80f1c3ac72

Git commit 58d557c73b9e4ad1964fd083abeec74875c141cb by Robert Noland on 23/12/2008 at 18:56..
[FreeBSD] Fix build on FreeBSD after modesetting import.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58d557c73b9e4ad1964fd083abeec74875c141cb

Git commit a8c548034e38d7fb8afeca100230818b3cfcb9d9 by Jesse Barnes on 29/12/2008 at 17:21..
Remove executable from modeprint test dir

Accidentally committed it with the mode setting changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8c548034e38d7fb8afeca100230818b3cfcb9d9

Git commit f4f76a6894b40abd77f0ffbf52972127608b9bca by Jesse Barnes on 07/01/2009 at 18:18..
libdrm: add timeout handling to drmWaitVBlank

In some cases, vblank interrupts may be disabled or otherwise broken.
The kernel has a 3s timeout builtin to handle these cases, but the X
server's SIGALM for cursor handling may interrupt vblank wait ioctls,
causing libdrm to restart the ioctl, making the kernel's timeout
useless.

This change tracks time across ioctl restarts and returns EBUSY to the
caller if the expected vblank sequence doesn't occur within 1s of the
first call.

Fixes fdo bz #18041, which is caused by a drmWaitVBlank hanging due to
the corresponding pipe getting disabled (thus preventing further events
from coming in).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4f76a6894b40abd77f0ffbf52972127608b9bca

Git commit ca37077fb78b69a00500827f1db12b70affa1514 by Jesse Barnes on 07/01/2009 at 18:48..
libdrm: only check for vblank timeout if we caught EINTR

Michel caught a case where we might overwrite a success or other return
value with EBUSY, so check the return value before checking for the
timeout condition.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca37077fb78b69a00500827f1db12b70affa1514

Git commit badc63464cbd64606c6dff9ea561a787d072fd5f by Jesse Barnes on 07/01/2009 at 19:47..
libdrm: add autoconf check for clock_gettime

Should be more portable this way.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/badc63464cbd64606c6dff9ea561a787d072fd5f

Git commit ac8b3308b9432edef5cabe30559004314d42d98c by Ben Skeggs on 12/01/2009 at 00:33..
nv50: ack nsource to prevent continuous protection fault irqs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac8b3308b9432edef5cabe30559004314d42d98c

Git commit 13ff0e58c36458a058e5c0676af04000c64a94f6 by Jakob Bornecrantz (on behalf of Owain G. Ainsworth) on 12/01/2009 at 12:14..
Remove drmModeReplaceFb after it was removed from the kernel.

It is impossible to replace the original semantics of this call purely
in userland, since the fb_id would change.

after discussion with Dr_Jakob

Signed-Off-By: Owain Ainsworth <oga at openbsd.org>
Acked-By: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13ff0e58c36458a058e5c0676af04000c64a94f6

Git commit 65b90fb37744fdd335c59fdc70079fa058301858 by Jesse Barnes (on behalf of Owain G. Ainsworth) on 14/01/2009 at 01:18..
Don't use DRM_BO_FLAG_NO_MOVE in bufmgr fake. It's a ttm flag.

It's also unused, so worthless.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65b90fb37744fdd335c59fdc70079fa058301858

Git commit e7c9f5d51cf33e25c466f8138ea891061eebbf9f by Timo Aaltonen on 14/01/2009 at 17:50..
Merge commit 'libdrm-2.4.3' into debian-experimental

Conflicts:
	linux-core/Makefile
	linux-core/Makefile.kernel
	linux-core/drm_compat.h
	linux-core/nouveau_sgdma.c
	shared-core/nv50_graph.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7c9f5d51cf33e25c466f8138ea891061eebbf9f

Git commit 02445eab6432709abe2b06020c014be527d58ead by Eric Anholt on 15/01/2009 at 00:12..
intel: Retry pin ioctl on -EINTR.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02445eab6432709abe2b06020c014be527d58ead

Git commit 18d3cc076b53f2032eed1f9a4b21947f4cb9e4e7 by Eric Anholt on 15/01/2009 at 00:12..
bump version to 2.4.4
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18d3cc076b53f2032eed1f9a4b21947f4cb9e4e7

Git commit 225f8d6ce01803483e8e6fc13950c69d87329e18 by Timo Aaltonen on 16/01/2009 at 14:20..
Update the symbols
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/225f8d6ce01803483e8e6fc13950c69d87329e18

Git commit b9307bdcac69f4fc149f7272aff8c03d6931261c by Timo Aaltonen on 16/01/2009 at 14:29..
Merge branch 'upstream-experimental' into debian-experimental

Conflicts:
	shared-core/nouveau_irq.c
	shared-core/radeon_irq.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9307bdcac69f4fc149f7272aff8c03d6931261c

Git commit c2f1b0e41b83aeca9bc2b12f92820455c7bfb97f by Timo Aaltonen on 16/01/2009 at 14:45..
Update the changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2f1b0e41b83aeca9bc2b12f92820455c7bfb97f

Git commit 95c45d60fb8e697cb5f0708334937f8fcd3c8fb1 by Timo Aaltonen on 16/01/2009 at 14:57..
Update the upstream Changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95c45d60fb8e697cb5f0708334937f8fcd3c8fb1

Git commit dd83cfc1ba90ceb624657d1806b1ea757b87c62d by Timo Aaltonen on 16/01/2009 at 15:45..
Delete drmModeReplaceFB from libdrm2.symbols

it was dropped from 2.4.4 & the kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd83cfc1ba90ceb624657d1806b1ea757b87c62d

Git commit 27fae006853647ad0087067adc4eaa8d4ed4594a by Dave Airlie on 18/01/2009 at 20:46..
drm: remove drmstat/dristat from linux-core build

pointed out by pq
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27fae006853647ad0087067adc4eaa8d4ed4594a

Git commit 753d4c39ff87f6b73dac72db4444b7627f39d2a9 by Ben Skeggs on 26/01/2009 at 22:36..
nv04-nv40: correct RAMHT size
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/753d4c39ff87f6b73dac72db4444b7627f39d2a9

Git commit e6a062c21a73ac4ab420648e78c6fe1798de6cbd by Ben Skeggs on 26/01/2009 at 22:36..
nv50: support chipset NV96

ctxprog seen in okias' trace identical to one we use on NV94, assuming
the initial context values for NV94 will work here too.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6a062c21a73ac4ab420648e78c6fe1798de6cbd

Git commit 26ca0bca9bd5e23b1d31bc6dfb6d58b62143447b by Pekka Paalanen on 27/01/2009 at 21:10..
drm compat: fix euid for >=2.6.28

drm_fops.c reads the current process' EUID directly from task_struct.
Apparently starting in 2.6.28-rc4 this fails to build.

In Linus' tree, commit b6dff3ec5e116e3af6f537d4caedcad6b9e5082a
"CRED: Separate task security context from task_struct"
moves the euid field from task_struct to another struct.

Earlier commit 9e2b2dc4133f65272a6d3c5dcb2ce63f8a87cae9
"CRED: Introduce credential access wrappers" implements the wrapper
macros to access e.g. euid. This is in 2.6.27-rc4, and this contains the
definition of current_euid() that will be used in the DRM compatibility header
for kernels before 2.6.27. That commit also creates <linux/cred.h>, which
contains the upstream definition of current_euid().

drm_fops.c is fixed to use current_euid(), and drm_compat.h will offer
the compatibility definition for kernels <2.6.27.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26ca0bca9bd5e23b1d31bc6dfb6d58b62143447b

Git commit 2fa5f28eeef4ce13a48c1998856a115c7e4161ac by Eric Anholt (on behalf of Jesse Barnes) on 28/01/2009 at 01:23..
intel: libdrm support for fence management in execbuf

This patch tries to use the available fence count to figure out whether a
given batch can succeed or not (just like the aperture check).

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fa5f28eeef4ce13a48c1998856a115c7e4161ac

Git commit 9209c9a653e40d66435fbee7dde7450d5e470e03 by Eric Anholt on 28/01/2009 at 01:24..
intel: Fix under-counting of fences registers required in check_aperture.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9209c9a653e40d66435fbee7dde7450d5e470e03

Git commit cbdd6272c04f487c8a63b595829d2d551e2b58f8 by Eric Anholt on 28/01/2009 at 01:24..
intel: don't count fences on 965 and later, as they don't use them.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbdd6272c04f487c8a63b595829d2d551e2b58f8

Git commit e37bd24d3c99319b372517c2ddb77bfb4829f1df by Eric Anholt on 28/01/2009 at 02:00..
Clean up README for the current state of kernel module affairs.

Bug #19608.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e37bd24d3c99319b372517c2ddb77bfb4829f1df

Git commit 408fc85a21689ee9859b64cb90902242bbc7e314 by Stuart Bennett on 29/01/2009 at 23:53..
nouveau: no suspend support for nv50+
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/408fc85a21689ee9859b64cb90902242bbc7e314

Git commit 854bd8f2cae8389d1152993a1d751687632df323 by Stuart Bennett on 29/01/2009 at 23:59..
nouveau: don't save channel context if it has recently become invalid

Bug exposed by DDX change d9da090c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/854bd8f2cae8389d1152993a1d751687632df323

Git commit 84b7d5bf7a57cab80ba3696ce95028c2f67ba76d by Julien Cristau on 01/02/2009 at 00:31..
xsfbs: add a repack script for uscan

This will automatically prune upstream tarballs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84b7d5bf7a57cab80ba3696ce95028c2f67ba76d

Git commit bf46e0941fc6d342ad38057f23c8a74ac03b72f0 by Kristian Høgsberg on 02/02/2009 at 20:47..
No need to pin buffer anymore in modetest.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf46e0941fc6d342ad38057f23c8a74ac03b72f0

Git commit 39755db856794a4d0481d66b46b1b86e46a39b39 by Stephane Marchesin on 02/02/2009 at 22:47..
Remove the "nv" driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39755db856794a4d0481d66b46b1b86e46a39b39

Git commit d9c55a6becb530dcf11bc980cb6b31843be0b8c2 by Kristian Høgsberg on 03/02/2009 at 18:26..
modetest: Use a more interesting test pattern.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9c55a6becb530dcf11bc980cb6b31843be0b8c2

Git commit 669fde3472ae71c55cc7526e3b3bd6fe00d6a5a5 by Kristian Høgsberg on 03/02/2009 at 19:00..
modetest: Handle setting modes on multiple crtcs with one fb.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/669fde3472ae71c55cc7526e3b3bd6fe00d6a5a5

Git commit 2c113a1b159f57ab94b54316ece49c677cfe04ce by Kristian Høgsberg on 03/02/2009 at 19:03..
modetest: Don't sleep when just dumping state, wait for key for modeset.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c113a1b159f57ab94b54316ece49c677cfe04ce

Git commit 7a389aab86bde183de8806878b8cf055f662ee73 by Kristian Høgsberg on 03/02/2009 at 20:03..
modetest: Use cairo (if available) to paint a better pattern.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a389aab86bde183de8806878b8cf055f662ee73

Git commit cb85630c02ddb46f168064befb2296d46b69f57a by Ben Skeggs on 04/02/2009 at 03:22..
nouveau: bring in new mm api definitions, without the actual mm code

Use of the new bits is guarded with a mm_enabled=0 hardcode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb85630c02ddb46f168064befb2296d46b69f57a

Git commit 225e7e274f49d5e01fa1ad3fbbb9f1499865fe67 by Ben Skeggs on 04/02/2009 at 04:32..
nouveau: install libdrm_nouveau with libdrm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/225e7e274f49d5e01fa1ad3fbbb9f1499865fe67

Git commit 8b8803695b24d4cb4d041437a4709be06e59471b by Kristian Høgsberg on 04/02/2009 at 17:17..
modetest: Add syntax to also specify a crtc when setting a mode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b8803695b24d4cb4d041437a4709be06e59471b

Git commit 97fdadee6a79f9406a55c235ee46104814321152 by Ben Skeggs on 05/02/2009 at 13:17..
nouveau: fix some issues where buffer objects never get freed
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97fdadee6a79f9406a55c235ee46104814321152

Git commit 9c8d634e687a5a5b5d314b3fd5b34cc17a217139 by Stuart Bennett on 07/02/2009 at 21:20..
nouveau: don't try to traverse non-existent lists

Fixes nouveau_ioctl_mem_free Oops
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c8d634e687a5a5b5d314b3fd5b34cc17a217139

Git commit 889b811e319ab80a4714854a0c0b242b5e36e0ca by Ben Skeggs on 09/02/2009 at 23:11..
drm/nv50: let the card handle the initial context switch

Our PFIFO/PGRAPH context save/load functions don't really work well
(at all?) on nv5x yet.  Depending on what random state the card is
in before the drm loads, fbcon probably won't work correctly.

Luckily we've setup the GPU in such a way that it'll actually do a
hw context switch for the first context.  Not sure of how successful
this'd be currently on the older chips (actually, pretty sure it won't
work), so NV50 only for now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/889b811e319ab80a4714854a0c0b242b5e36e0ca

Git commit f43039c52c7f27b61316beba5863968996a05bc0 by Ben Skeggs on 09/02/2009 at 23:11..
drm/nv50: correct ramfc pointer in channel header

Suprisingly the card still worked without this...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f43039c52c7f27b61316beba5863968996a05bc0

Git commit efcef2c2bcd7a8ea16381cc8d6ae06fff1bc3483 by Ben Skeggs on 09/02/2009 at 23:11..
drm/nv50: use a slightly different initial context for nv96

I'm not 100% sure that the nv94 one we were using won't work.  The context
layouts are identical (well.. same ctxprog, so of course!), only a couple
of registers differ.  But, be safe until we actually get some 9xxx chips
working.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efcef2c2bcd7a8ea16381cc8d6ae06fff1bc3483

Git commit 7bbd605a21200e5e4beb94f261aefe30c4e7853d by Ben Skeggs on 11/02/2009 at 00:12..
drm/nv50: add context info for nv98

It won't work yet, just like the other 9xxx chips.  Real soon now :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bbd605a21200e5e4beb94f261aefe30c4e7853d

Git commit bc92c0edf33f3f38275f6aa4e0639b3ddeef68ca by Ben Skeggs on 11/02/2009 at 01:22..
drm/nv50: fix nv9x chipsets

NVIDIA do this fun little sequence after updating the PRAMIN page tables.

On 9xxx chips, none of the PRAMIN BAR bindings (except the initial one)
worked, hence the majority of the setup needed to create a channel
ended up in the wrong place, causing all sorts of fun.

This is done by NVIDIA on nv8x chips also, so we'll do it for them too,
even though they appear to work without it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc92c0edf33f3f38275f6aa4e0639b3ddeef68ca

Git commit 2d2f105f79921025bce1b9015378612328d2f06e by Pekka Paalanen on 11/02/2009 at 21:48..
nouveau: fix type warnings: void* arith, un/signed

nouveau_notifier.c had two places where void* was used in arithmetic,
fixed by using char*.

nouveau_dma_wait(), nouveau_notifier_wait_status() and
nouveau_resource_alloc() had signed/unsigned comparison warnings, fixed
by changing the function parameter into an unsigned type.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d2f105f79921025bce1b9015378612328d2f06e

Git commit eb78c53aa1a980e60c0dd1f2d0d2f04cb9cb2622 by Jakob Bornecrantz on 11/02/2009 at 16:11..
mode: Make xfdrmMode.[c|h] not depend on drm_mode.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb78c53aa1a980e60c0dd1f2d0d2f04cb9cb2622

Git commit 7e5c512104c3ae9b4ddd121f6bbf9464f8d73181 by Ben Skeggs on 15/02/2009 at 11:51..
libdrm: make libdrm_nouveau conditional, disabled by default

libdrm isn't supposed to ship APIs not present in a released kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e5c512104c3ae9b4ddd121f6bbf9464f8d73181

Git commit a4ac60a10239bb6d19f6d89f2c044e9b7b29837c by Ben Skeggs on 15/02/2009 at 11:52..
nv50: context info for chipset 0xa0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4ac60a10239bb6d19f6d89f2c044e9b7b29837c

Git commit 084e143d0c82f5bf6e4ccc8c84a01307c820ca93 by Ben Skeggs on 15/02/2009 at 12:06..
nv40: fail completely if we don't have a ctxprog for the chipset
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/084e143d0c82f5bf6e4ccc8c84a01307c820ca93

Git commit 709b82e1a5971fa58d627912402aa14a6d231cdd by Eric Anholt on 16/02/2009 at 02:35..
intel: Clear ioctl parameter outvalues and pads that confuse valgrind.

The minor CPU cost here is probably outweighed by bothering us with noise in
the tool.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/709b82e1a5971fa58d627912402aa14a6d231cdd

Git commit e32aa6226fe98d8342647acf34decd3699eff5e4 by Pekka Paalanen on 16/02/2009 at 18:43..
Remove i915 driver sources from linux-core

Intel developers have stated, that their DRM development continues
elsewhere in some Linux kernel trees. This makes the code in drm.git
just dead weight. This removal allows further cleanup of compatibility
code.

shared-core and bsd-core are left untouched this time.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
Acked-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e32aa6226fe98d8342647acf34decd3699eff5e4

Git commit 0054e14793e585ec0d8e95e3d7b82cbf1a684af8 by Pekka Paalanen on 16/02/2009 at 18:45..
drm_compat: remove kmap_atomic_prot_pfn()

This function is unused, and yet creates build problems: the symbol
init_mm is not exported by the latest -rc kernels and I don't believe it
ever will be. Even CONFIG_UNUSED_SYMBOLS does not provide it anymore.

If this function is needed in the future, it needs to be reinvented in
any case. So remove it.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0054e14793e585ec0d8e95e3d7b82cbf1a684af8

Git commit 2ed171f9f390de4e97141c0016d3ba615e8c943e by Julien Cristau on 17/02/2009 at 16:20..
xsfbs.sh: kill {,de}register_x_lib_dir_with_ld_so

libx11's postinst was the only post-sarge user, and it's gone now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ed171f9f390de4e97141c0016d3ba615e8c943e

Git commit 96ce587e8b915afeac38e5f547ba95803c1780f2 by Ben Skeggs (on behalf of Matthew Garrett) on 18/02/2009 at 03:48..
nouveau: Add in-kernel backlight control support

Several nvidia-based systems don't support backlight control via the
standard ACPI control mechanisms. Instead, it's necessary for the driver
to modify the backlight control registers directly. This patch adds
support for determining whether the registers appear to be in use, and
if so registers a kernel backlight device to control them. The backlight
can then be controlled via existing userspace tools.

Signed-off-by: Matthew Garrett <mjg at redhat.com>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96ce587e8b915afeac38e5f547ba95803c1780f2

Git commit 25c60cfeca16f2bce38dbf32a57f1edc04c23a19 by Pekka Paalanen (on behalf of Matthew Garrett) on 18/02/2009 at 20:31..
nv40, nv50: fix backlight build for <2.6.29 kernels

Signed-off-by: Matthew Garrett <mjg59 at srcf.ucam.org>
Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25c60cfeca16f2bce38dbf32a57f1edc04c23a19

Git commit 6a31b445fa494b992d5ddb115dd022058b787fc2 by Pekka Paalanen on 18/02/2009 at 20:46..
nouveau: support backlight only when kernel does

Loading nouveau.ko would fail with unknown symbols, if the backlight
class device support is not provided in the kernel. Let's make the
backlight support dependant on the kernel configuration.

This is a bit ugly, the proper way would be to check for the config in
Makefile.kernel whether to build nouveau_backlight.o at all, and if not,
nouveau_drv.h should provide the stubs.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a31b445fa494b992d5ddb115dd022058b787fc2

Git commit 18f2fcf5aa299fe3b7b56af37e7eefe78c921f61 by Ben Skeggs on 20/02/2009 at 04:11..
libdrm/nouveau: fix dma debugging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18f2fcf5aa299fe3b7b56af37e7eefe78c921f61

Git commit a1345338feb7af25c0a9fe02ec16c2b9cce83a9e by Ben Skeggs on 20/02/2009 at 04:11..
libdrm/nouveau: free drmVersion after we're done with it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1345338feb7af25c0a9fe02ec16c2b9cce83a9e

Git commit 25835d6ee59e9293a38ec76459658bebea115d3f by Julien Cristau on 20/02/2009 at 16:27..
Delete some kernel files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25835d6ee59e9293a38ec76459658bebea115d3f

Git commit de861b5e5bcc33d4ff1323f8d10afb3179debc08 by Julien Cristau on 20/02/2009 at 16:47..
Let linux-libc-dev provide some drm headers

Drop them from libdrm-dev.
Add dependency on linux-libc-dev >= 2.6.28.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de861b5e5bcc33d4ff1323f8d10afb3179debc08

Git commit 958c70487d16b2200f1ec19106b112d7aef83ba7 by Julien Cristau on 20/02/2009 at 16:56..
Delete some more files which aren't in libdrm tarballs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/958c70487d16b2200f1ec19106b112d7aef83ba7

Git commit 2f97e38ae3c3b315fdf4682069d443c5bd331e2d by Julien Cristau on 20/02/2009 at 16:57..
Delete useless debian/*.dirs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f97e38ae3c3b315fdf4682069d443c5bd331e2d

Git commit f41c962d175d8900e99312a789df22e4f821204c by Julien Cristau on 20/02/2009 at 17:14..
Bump shlibs to 2.4.3
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f41c962d175d8900e99312a789df22e4f821204c

Git commit 72abe983adfe7e8dcdcec11f1bc11d0b3daae063 by Eric Anholt on 21/02/2009 at 17:57..
intel: Add a new bufmgr alloc function to get BOs ready for rendering to.

This avoids using the oldest BO in the BO cache and waiting for it to be
idle before we turn around and render to it with the GPU.  Thanks to
Chris Wilson for pointing out how silly we were being.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72abe983adfe7e8dcdcec11f1bc11d0b3daae063

Git commit 2f1cdf79a7b7679f2602f27f18a0737f6e40e490 by Eric Anholt on 21/02/2009 at 17:57..
Bump version to 2.4.5 for new API additions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f1cdf79a7b7679f2602f27f18a0737f6e40e490

Git commit 4d5341340fb6df22fffa7d4a214c54c085a1b1cf by Eric Anholt on 21/02/2009 at 18:01..
Fix distcheck for optional nouveau stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d5341340fb6df22fffa7d4a214c54c085a1b1cf

Git commit 4a0d19ef4f210cea9e60c5acc355df03723ef808 by Pekka Paalanen on 22/02/2009 at 10:40..
Fix fix distcheck for optional nouveau stuff.

Tylo.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a0d19ef4f210cea9e60c5acc355df03723ef808

Git commit 9fc85b4084b69fefab3dbdf1f6cf97ccb47c963a by Kristian Høgsberg on 23/02/2009 at 20:10..
modetest: Print names of properties.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fc85b4084b69fefab3dbdf1f6cf97ccb47c963a

Git commit 6feac49398d0f037103a4ae3d5a512badeed61fb by Adam Jackson (on behalf of Ivan Kokshaysky) on 23/02/2009 at 20:54..
Fix DRM_CAS() on Alpha. (#16549)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6feac49398d0f037103a4ae3d5a512badeed61fb

Git commit a773ce1db8801fcbbdb55b54172c9cd48b92e2d7 by Eric Anholt on 23/02/2009 at 21:30..
Add libdrm_intel.pc by popular demand.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a773ce1db8801fcbbdb55b54172c9cd48b92e2d7

Git commit a9486ee3a8aaae888b4a05ae0d475cfa2a2641cb by Robert Noland on 24/02/2009 at 02:07..
FreeBSD: Set MAP_NOSYNC on mmaps.

There is no reason to gratuitously sync these maps to swap.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9486ee3a8aaae888b4a05ae0d475cfa2a2641cb

Git commit d6c97868361da48d13a5fe7fe106d67a64969ab1 by Robert Noland on 24/02/2009 at 02:16..
FreeBSD: Don't set PZERO in mtx_sleep.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6c97868361da48d13a5fe7fe106d67a64969ab1

Git commit 9d402905c07a38e1eb327db96ae561de7930f616 by Robert Noland on 24/02/2009 at 02:22..
FreeBSD: There is no compelling reason to hold the lock here.

When I was lock profiling, this was high up on the list and I
see no reason to do it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d402905c07a38e1eb327db96ae561de7930f616

Git commit 9f94e39f0d5bed48d5ea56767cd92a2509908df0 by Robert Noland on 24/02/2009 at 04:39..
i915: Rip out the use of vblank_swap
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f94e39f0d5bed48d5ea56767cd92a2509908df0

Git commit 1c381092a310af9b1b39b3a983ad5760b71a9025 by Robert Noland on 24/02/2009 at 06:22..
FreeBSD: Rip out the locked task support now that i915 no longer uses it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c381092a310af9b1b39b3a983ad5760b71a9025

Git commit a71d3edd6c09a0141fae0893cbee21b71578d99d by Kristian Høgsberg on 24/02/2009 at 16:19..
nouveau: Also dist nouveau_private.h.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a71d3edd6c09a0141fae0893cbee21b71578d99d

Git commit c3c21303e381310a0962ecc24af1797dccd9a99f by Kristian Høgsberg on 24/02/2009 at 16:42..
nouveau: Dist nouvea_dma.h as well.

Oops.  Disting is hard.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3c21303e381310a0962ecc24af1797dccd9a99f

Git commit d45bc6667c6f10cbb3832178e4a6a8cdd036b739 by Robert Noland on 24/02/2009 at 18:24..
i915: This was part of a sync to the intel driver at some point

	-Remove the old TTM interface
	-Move register definitions to i915_reg.h
	-Rework the irq handler
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d45bc6667c6f10cbb3832178e4a6a8cdd036b739

Git commit 68707804284438140413987849fee989b9fe4ba8 by Robert Noland on 24/02/2009 at 18:28..
radeon: Prepare radeon for msi support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68707804284438140413987849fee989b9fe4ba8

Git commit 04d94197e69ed7d3cad194e8579631849135b08c by Robert Noland on 24/02/2009 at 18:59..
linux: Add msi_enabled to the drm_device so the build should be happy.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04d94197e69ed7d3cad194e8579631849135b08c

Git commit a44b4ca8203e366df5a2ed5fe3d78faea4cf7d81 by Robert Noland on 24/02/2009 at 20:01..
i915:  A few whitespace cleanups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a44b4ca8203e366df5a2ed5fe3d78faea4cf7d81

Git commit 153a0803db19cf8c0b4f532e0d0243747875e154 by Robert Noland on 24/02/2009 at 20:21..
FreeBSD: Add some vblank related debugging and replace DRM_WAIT_ON with a local instance.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/153a0803db19cf8c0b4f532e0d0243747875e154

Git commit b9b8e8f3cc61a37cce2ae48957514ce6a4f30566 by Robert Noland on 24/02/2009 at 21:47..
FreeBSD: Turn on msi

There is a blacklist for devices that advertise the capability, but
don't work properly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9b8e8f3cc61a37cce2ae48957514ce6a4f30566

Git commit e96fc62e5339e3c8c8944dfe9f5163f769bccbd8 by Robert Noland on 24/02/2009 at 21:49..
FreeBSD: Drop the Giant lock.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e96fc62e5339e3c8c8944dfe9f5163f769bccbd8

Git commit efa485b2cf2f1f46760a3d9297ba1a73a2dbcd05 by Eric Anholt on 25/02/2009 at 06:31..
intel: Don't copy dirty data out when freeing a BO in the fake bufmgr.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efa485b2cf2f1f46760a3d9297ba1a73a2dbcd05

Git commit 948af0bd9b9eade489599d7ec160d42706331779 by Robert Noland on 25/02/2009 at 20:20..
i915: Backport jbarnes gm45 vblank counter patch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/948af0bd9b9eade489599d7ec160d42706331779

Git commit fa6396d6bf68b9a0154089146287245f9ad60a1e by Julien Cristau on 25/02/2009 at 20:31..
xsfbs: repack.sh needs to be executable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa6396d6bf68b9a0154089146287245f9ad60a1e

Git commit 3a73a65ea95e68e00b2f89ee93f0d58281789524 by Julien Cristau on 25/02/2009 at 20:46..
Merge tag 'libdrm-2.4.5' into debian-unstable

Conflicts:
	linux-core/Kconfig
	linux-core/Makefile
	linux-core/Makefile.kernel
	linux-core/drm_compat.c
	linux-core/drm_compat.h
	linux-core/drm_fops.c
	shared-core/nouveau_drv.h
	shared-core/nouveau_fifo.c
	shared-core/nouveau_mem.c
	shared-core/nouveau_object.c
	shared-core/nouveau_reg.h
	shared-core/nouveau_state.c
	shared-core/nv04_instmem.c
	shared-core/nv40_graph.c
	shared-core/nv50_fifo.c
	shared-core/nv50_graph.c
	shared-core/nv50_grctx.h
	shared-core/nv50_instmem.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a73a65ea95e68e00b2f89ee93f0d58281789524

Git commit 138543b85b16917585149f43fce3aa72e35807e5 by Julien Cristau on 25/02/2009 at 20:59..
Update changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/138543b85b16917585149f43fce3aa72e35807e5

Git commit 9eda40b6f11f16c5f56a15e8a156e8ad8db7e49e by Julien Cristau on 25/02/2009 at 20:59..
Symbols and shlibs update
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9eda40b6f11f16c5f56a15e8a156e8ad8db7e49e

Git commit a87c1a081b77a29fe3430dbdeb8832fb5c5bad15 by Julien Cristau on 25/02/2009 at 21:07..
Fix libdrm-intel1.symbols
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a87c1a081b77a29fe3430dbdeb8832fb5c5bad15

Git commit ab582f64fd54565f66eba866972f0fe2c313f000 by Robert Noland on 27/02/2009 at 05:51..
FreeBSD: Fix up some ioctl permissions issues missed many times over.

This was somehow hit with r600 demo.

Submitted by: 	Jung-uk Kim <jkim at FreeBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab582f64fd54565f66eba866972f0fe2c313f000

Git commit 7ce8d4c1fec618ac2578ea0ddb8915b1b41ab9cb by Eric Anholt on 27/02/2009 at 22:12..
intel: Update reloc_tree_size of the first buffer when we count the tree size.

This helps avoid the n^2 performance cost of counting tree size when we
get a lot of relocations into our batch buffer.  rgb10text on keithp's laptop
went from 136k glyphs/sec to 234k glyphs/sec.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ce8d4c1fec618ac2578ea0ddb8915b1b41ab9cb

Git commit 957b10695b619d6ed2f1098b00502395d9a3c149 by Robert Noland on 28/02/2009 at 00:16..
Move vblank_init to driver load time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/957b10695b619d6ed2f1098b00502395d9a3c149

Git commit ad64ff30d0e85486bba8fb6f0e2fcb1caa06fd5c by Robert Noland on 28/02/2009 at 00:16..
FreeBSD: Introduce a kernel tuneable to disable msi at boot time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad64ff30d0e85486bba8fb6f0e2fcb1caa06fd5c

Git commit 9e8591dbdbd99ec1cc4922d61ec4cc54ef42f0ac by Pekka Paalanen on 28/02/2009 at 14:09..
drm: build fix for Linux drm_vblank_cleanup()

The commit 957b10695b619d6ed2f1098b00502395d9a3c149, "Move vblank_init
to driver load time." forgot to add the function declaration in
linux-core/drmP.h.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e8591dbdbd99ec1cc4922d61ec4cc54ef42f0ac

Git commit a6dd0afa87558a670f970e61b023f45a396539eb by Pekka Paalanen on 28/02/2009 at 15:45..
drm, ati: fix printf format warnings

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6dd0afa87558a670f970e61b023f45a396539eb

Git commit d3f25ccca882f91071a0d68bb4b75ff871f0cc04 by Pekka Paalanen on 01/03/2009 at 21:53..
drm: drm_bo_mmap_locked() is static.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3f25ccca882f91071a0d68bb4b75ff871f0cc04

Git commit 4bdddf57155a774318ed3739ede9511f074d394e by Pekka Paalanen on 01/03/2009 at 22:13..
drm: drop Linux <= 2.6.8 support

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4bdddf57155a774318ed3739ede9511f074d394e

Git commit 4c439ac4a7fa627691dfcd6a4be67cd95d8d33ee by Pekka Paalanen on 01/03/2009 at 22:21..
drm: drop Linux < 2.6.10 support

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c439ac4a7fa627691dfcd6a4be67cd95d8d33ee

Git commit b47de8d5a3dbfc669c7ba9c6cb66a7491c30b537 by Pekka Paalanen on 02/03/2009 at 20:09..
drm: drop Linux < 2.6.12 support

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b47de8d5a3dbfc669c7ba9c6cb66a7491c30b537

Git commit 056ce26344197042cbef800436f16d3f8ba288c8 by Pekka Paalanen on 02/03/2009 at 20:31..
drm: drop Linux < 2.6.15 support

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/056ce26344197042cbef800436f16d3f8ba288c8

Git commit 62f4344c98b72535df88a5a3d577c1df314e4f9b by Pekka Paalanen on 02/03/2009 at 20:35..
drm: drop Linux < 2.6.16 support

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62f4344c98b72535df88a5a3d577c1df314e4f9b

Git commit 081b2d6da22e08e1448285d647a35b17905512cf by Pekka Paalanen on 02/03/2009 at 20:39..
drm: drop Linux < 2.6.18 support

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/081b2d6da22e08e1448285d647a35b17905512cf

Git commit f44c740dc7a05d651df7604baad8f667836d1b09 by Pekka Paalanen on 02/03/2009 at 21:14..
drm: drop Linux < 2.6.19 support

This also means dropping the DRM_ODD_MM_COMPAT case.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f44c740dc7a05d651df7604baad8f667836d1b09

Git commit a6b28a86a6141259583c3699d1a2d9b26e366ba8 by Pekka Paalanen on 03/03/2009 at 20:20..
drm, via: drop Linux < 2.6.20 support

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6b28a86a6141259583c3699d1a2d9b26e366ba8

Git commit e4b065ad9a0834fb646baf5a6051902d15716e5e by Pekka Paalanen on 03/03/2009 at 20:42..
drm: drop Linux < 2.6.21 support

This also means, that DRM_FULL_MM_COMPAT is always defined,
so it is dropped, too.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4b065ad9a0834fb646baf5a6051902d15716e5e

Git commit 4a27f1c6384c3987dc25e0d2b65e4cf56af7769a by Robert Noland on 05/03/2009 at 06:42..
FreeBSD: rework drm_scatter.c which allocates scatter / gather pages for use by
ati pci gart to use bus_dma to handle the allocations.  This fixes
a garbled screen issue on at least some radeons (X1400 tested).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a27f1c6384c3987dc25e0d2b65e4cf56af7769a

Git commit 222dc6582e7afad0cd397452a0c4bcea23efeb04 by Robert Noland on 05/03/2009 at 06:44..
FreeBSD: We only want drm to ever attach to the primary pci device.

Intel 855 chips present the same pci id for both heads.  This prevents
us from attaching to the dummy second head.  All other chips that I
am aware of either only present a single pci id, or different ids
for each head so that we only match on the correct head.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/222dc6582e7afad0cd397452a0c4bcea23efeb04

Git commit 0a227a3361054f06da4bba34d02c8dadcd448e9a by Robert Noland on 05/03/2009 at 06:46..
FreeBSD: Garbage collect entries from pcireg.h since we now include it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a227a3361054f06da4bba34d02c8dadcd448e9a

Git commit 14503dafa79cfdea69d618f2c28dafb66765a8a0 by Robert Noland on 05/03/2009 at 06:47..
FreeBSD: Rework DRM_[DEBUG,ERROR,INFO] macros a bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14503dafa79cfdea69d618f2c28dafb66765a8a0

Git commit 391c92ae1799f0d1fddb2321c5713afc58575514 by Ben Skeggs on 05/03/2009 at 23:16..
drm/nouveau: make portion of vram as reserved for PRAMIN on all chipsets

NV04 was completely busted.  Push buffers were getting allocated at the
end of VRAM, overwriting PRAMIN.  So, it turns out PRAMIN is in VRAM on
all chips.  Question answered!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/391c92ae1799f0d1fddb2321c5713afc58575514

Git commit 2221e16703bf5bf813a98926b968bd5b28eb5d70 by Robert Noland (on behalf of vehemens) on 09/03/2009 at 03:18..
FreeBSD use kdev for kernel device name

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2221e16703bf5bf813a98926b968bd5b28eb5d70

Git commit af1afb3c381797e6bf0fb56abd4505094cb6c11e by Robert Noland on 09/03/2009 at 03:55..
FreeBSD: Fix up the flags to bus_dmamem_*

Allow it to sleep waiting for resources during the allocation stage.
Only use BUS_DMA_NOWAIT when loading the map.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af1afb3c381797e6bf0fb56abd4505094cb6c11e

Git commit a3ba51bd041a448f3bb14678cebb0976e0fda47a by Robert Noland on 09/03/2009 at 18:34..
FreeBSD: Fix up the flags for bus_dmamem here as well.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3ba51bd041a448f3bb14678cebb0976e0fda47a

Git commit 82eac8060b98b425f29051bfd7830ba3622be7d8 by Robert Noland on 09/03/2009 at 18:37..
FreeBSD: Fix the printing of maps on amd64/i386 to be consistent
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82eac8060b98b425f29051bfd7830ba3622be7d8

Git commit f78040266bbddf6cf020fb957e3f92000c2bc69b by Robert Noland on 16/03/2009 at 05:01..
FreeBSD: Cast map handles to vm_offset_t

This prevents some warnings with nouveau.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f78040266bbddf6cf020fb957e3f92000c2bc69b

Git commit b0acc886069c0054da98059319a84eaf60114d32 by Robert Noland on 16/03/2009 at 05:03..
FreeBSD: Increase MAX_PCI_RESOURCE

We can have more than 3 BARs to access.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0acc886069c0054da98059319a84eaf60114d32

Git commit 2ce00c6b674a51bdfaa3276b88d2015c59d4584e by Robert Noland on 16/03/2009 at 05:07..
FreeBSD: Minor code cleanup.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ce00c6b674a51bdfaa3276b88d2015c59d4584e

Git commit 06e182d0259d1d2e775814fa070c6cce0ee233a8 by Robert Noland on 16/03/2009 at 05:08..
FreeBSD: use flsl() instead of ffsl().

I noticed that we were computing drm_order differently than linux.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06e182d0259d1d2e775814fa070c6cce0ee233a8

Git commit 6777c6bb8bb399e48500d742e80822808451010b by Robert Noland on 16/03/2009 at 05:17..
FreeBSD: Don't set the PZERO flag to mtx_sleep.

We also don't support anything old enough to need tsleep.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6777c6bb8bb399e48500d742e80822808451010b

Git commit f8f49aa6ec10e281b08279143f2bd999df118147 by Robert Noland on 16/03/2009 at 05:30..
FreeBSD: Add list_for_each_prev() to our bank of compat functions.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8f49aa6ec10e281b08279143f2bd999df118147

Git commit 44fec1a8e487a14e0221e32759cc16ce9fcd7b00 by Robert Noland on 16/03/2009 at 05:35..
FreeBSD: Improve the debug output of drm_mmap().
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44fec1a8e487a14e0221e32759cc16ce9fcd7b00

Git commit dec955d728505f060afccd047ff2b572cb4ba3c1 by Robert Noland on 16/03/2009 at 05:41..
FreeBSD: Add support for matching solely on vedor id.

This also adds that ability to set device name from VPD, but that
doesn't seem to be working...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dec955d728505f060afccd047ff2b572cb4ba3c1

Git commit e8d34762558224bb76862425de965c47858f2afd by Robert Noland on 16/03/2009 at 06:17..
FreeBSD: Set up the nouveau build infrastructure

disabled by default until the rest of the patches are in.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8d34762558224bb76862425de965c47858f2afd

Git commit 2e2e8575b1ed4703653a72ac2b60b75316c388d7 by Robert Noland on 16/03/2009 at 06:20..
libdrm_nouveau: The handle that is passed to mmap needs to be drm_handle_t

drm_handle_t is defined to be a u32 on linux and a u64 on everything
else.  This addresses an issue on FreeBSD amd64 where the map offsets
may be greater than 32bits.  When the handle is cast to 32bit, mmap
cannot match the requested map and causes X to crash.

This should be a NOOP on linux since drm_handle_t is always 32bit.

Signed-off-by: Robert Noland <rnoland at 2hip.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e2e8575b1ed4703653a72ac2b60b75316c388d7

Git commit 6169e3a6012d55522fc8028a5674891a5a99d935 by Ben Skeggs on 18/03/2009 at 00:25..
libdrm/nouveau: implement bo_handle_get for !mm_enabled

bo_handle_ref on !mm_enabled treats handle as an offset, make
bo_handle_get do the same rather than failing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6169e3a6012d55522fc8028a5674891a5a99d935

Git commit 00d8e960ca665b7f0528438331f4d0ae77fbb4cc by Maarten Maathuis on 19/03/2009 at 23:02..
libdrm/nouveau: unref fences when deleting bo

- This was causing a significant memory leak.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00d8e960ca665b7f0528438331f4d0ae77fbb4cc

Git commit c37fca4ef678667bcba9c45c6e0a59c8d174c7c5 by Ben Skeggs on 20/03/2009 at 00:25..
libdrm/nouveau: incr refcount on ref fence before decr on old fence
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c37fca4ef678667bcba9c45c6e0a59c8d174c7c5

Git commit bad16a6b22e06b0adf7663543e26caae9916444c by Ben Skeggs on 20/03/2009 at 00:32..
libdrm/nouveau: remove unneccesary null ptr checks
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bad16a6b22e06b0adf7663543e26caae9916444c

Git commit 98b0df3953f229fd5fb7484d2f566aeb0443c12f by Ben Skeggs on 20/03/2009 at 00:41..
libdrm/nouveau: ask the kernel for vram/gart aperture sizes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98b0df3953f229fd5fb7484d2f566aeb0443c12f

Git commit 541fa941fca4c0e65f0da22d6b81a9888a5a79e8 by Julien Cristau on 24/03/2009 at 21:20..
Merge branch 'debian-unstable' of git.debian.org:/git/pkg-xorg/xsfbs into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/541fa941fca4c0e65f0da22d6b81a9888a5a79e8

Git commit 1859807b495fc320997c14f1f6fc236eab554182 by Julien Cristau on 24/03/2009 at 21:20..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1859807b495fc320997c14f1f6fc236eab554182

Git commit d6ad0dba01a8246b9e7c96388f747c8ed9631ce4 by Ben Skeggs on 24/03/2009 at 22:10..
libdrm/nouveau: fix typo in nouveau_device_close()
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6ad0dba01a8246b9e7c96388f747c8ed9631ce4

Git commit b71f3f114e6f0e94e15958c0aa12e804392f9df2 by Stuart Bennett on 25/03/2009 at 02:50..
nouveau: use PFB_CSTATUS naming from ddx (reg introduced with nv10)

NV04 had a PFB_FIFO_DATA at the same address, which we don't use, so
remove it to reduce confusion
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b71f3f114e6f0e94e15958c0aa12e804392f9df2

Git commit 03ca202fa56ad7711ad0f7527a1e537154093e8a by Stuart Bennett on 25/03/2009 at 02:50..
nouveau: add linux compat defines for PCI config access, use them for nvidia IGPs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03ca202fa56ad7711ad0f7527a1e537154093e8a

Git commit c9cfeaa5542e08381a8144d0a5bd96036a19082f by Stuart Bennett on 25/03/2009 at 02:50..
nouveau: plug drm fifo ioremap leak (#14941)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9cfeaa5542e08381a8144d0a5bd96036a19082f

Git commit d81f91481ca67e7ae214712f9f979bcde0d72817 by Julien Cristau on 25/03/2009 at 09:56..
Add drm_mode.h to the list of headers we don't ship.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d81f91481ca67e7ae214712f9f979bcde0d72817

Git commit 90b9243bf63ab66a04115dc46f1d2f0fd51f454d by Julien Cristau on 25/03/2009 at 09:57..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90b9243bf63ab66a04115dc46f1d2f0fd51f454d

Git commit 2f27e0f8efffe858c286cc47a6b5345e66f40d9c by Julien Cristau on 26/03/2009 at 11:17..
Make the linux-libc-dev dependency linux-only (closes: #521253).

Thanks, Petr Salinger!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f27e0f8efffe858c286cc47a6b5345e66f40d9c

Git commit e2d7dfb61ad7a97367f050150160c205614d152e by Jesse Barnes on 26/03/2009 at 23:43..
libdrm/intel: support GTT maps correctly

libdrm has some support for GTT mapping already, but there are bugs
with it (no surprise since it hasn't been used much).

In fixing 20803, I found that sharing bo_gem->virtual was a bad idea,
since a previously mapped object might not end up getting GTT mapped,
leading to corruption.  So this patch splits the fields according to
use, taking care to unmap both at free time (but preserving the map
caching).

There's still a risk we might run out of mappings (there's a sysctl
tunable for max number of mappings per process, defaulted to 64k or so
it looks like) but at least GTT maps will work with these changes (and
some others for fixing PAT breakage in the kernel).

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2d7dfb61ad7a97367f050150160c205614d152e

Git commit 2ada85502242a3d5328b8f392d7843ef58a78780 by Jesse Barnes on 30/03/2009 at 18:25..
libdrm: bump version to 2.4.6

This version includes GTT unmap support for the Intel bufmgr.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ada85502242a3d5328b8f392d7843ef58a78780

Git commit 93e65271601e6a1c7c90453f2f13157ae24b35c2 by Stuart Bennett on 30/03/2009 at 19:48..
nouveau: nForce 1/2 IGP memory sanity check from DDX
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93e65271601e6a1c7c90453f2f13157ae24b35c2

Git commit cd5c66c659168cbe2e3229ebf8be79f764ed0ee1 by Jesse Barnes on 30/03/2009 at 21:37..
libdrm: speed up connector & mode fetching

This patch speeds up drmModeGetConnector by pre-allocating mode &
property info space before calling into the kernel.  In many cases this
pre-allocation will be sufficient to hold the returned values (it's easy
enough to tweak if the common case becomes larger), which means we don't
have to make the second call, which saves a lot of time.

Acked-by: Jakob Bornecrantz <wallbraker at gmail.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd5c66c659168cbe2e3229ebf8be79f764ed0ee1

Git commit 51d6346f9f3c425f49e57d185530c6bcaeb94f5e by Robert Noland on 31/03/2009 at 18:36..
Move drm_vblank_cleanup() after lastclose.

This may prevent a possible panic on shutdown.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51d6346f9f3c425f49e57d185530c6bcaeb94f5e

Git commit e9d6116e5bd30639d6333ef95462fe300f47ccd5 by Kristian Høgsberg on 06/04/2009 at 21:13..
Use libudev in test case to only run gem tests for intel devices.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9d6116e5bd30639d6333ef95462fe300f47ccd5

Git commit 8a5c4d567fafffbda57cbe5e4ed8c419193cada5 by Kristian Høgsberg on 06/04/2009 at 21:18..
XFAIL auth and lock test cases

They're writing to the read end of a pipe and failing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a5c4d567fafffbda57cbe5e4ed8c419193cada5

Git commit 751db3fe27d5e51925c28ceecadb828784d46028 by Kristian Høgsberg on 06/04/2009 at 21:22..
Skip tests that require root

This lets us do make distcheck as non-root.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/751db3fe27d5e51925c28ceecadb828784d46028

Git commit 1faab66cfd1a854925da6ff7109aa614292dea90 by Dave Airlie on 06/04/2009 at 23:26..
drm: fix test makefile

no idea if this is correct but it works so meh
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1faab66cfd1a854925da6ff7109aa614292dea90

Git commit a85e07b9031c819f3cdf54b66c90ac0c450e3e75 by Kristian Høgsberg on 09/04/2009 at 19:02..
test: Makefile.am grammar nazi
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a85e07b9031c819f3cdf54b66c90ac0c450e3e75

Git commit ec9b7b320a724e49d61375b4ad53e2c88fa30f66 by Kristian Høgsberg on 09/04/2009 at 19:17..
test: Avoid recursive dependency in makefile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec9b7b320a724e49d61375b4ad53e2c88fa30f66

Git commit fef29358bb407f35b90e8c6ee913e4979786cfd5 by Kristian Høgsberg on 09/04/2009 at 19:19..
Bump version to 2.4.7
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fef29358bb407f35b90e8c6ee913e4979786cfd5

Git commit 3637dcc66d707aa9ababf0b12cd4a299559522f5 by Jesse Barnes on 10/04/2009 at 22:24..
Revert "libdrm: speed up connector & mode fetching"

This reverts commit cd5c66c659168cbe2e3229ebf8be79f764ed0ee1.  It broke too
many kernel assumptions about the double ioctl (connector status, mode
fetching, etc.)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3637dcc66d707aa9ababf0b12cd4a299559522f5

Git commit 4d5e82e7d3cf9f94c1c74bd5067e3ea1fb9d0981 by Jesse Barnes on 10/04/2009 at 22:24..
Bump version to 2.4.8
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d5e82e7d3cf9f94c1c74bd5067e3ea1fb9d0981

Git commit 07646002c6835537c6ae44ef9b3f8480762279b8 by Jesse Barnes on 10/04/2009 at 22:34..
Bump version to 2.4.9

Who needs 2.4.8 anyway?
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07646002c6835537c6ae44ef9b3f8480762279b8

Git commit ce46827118d25e741e90874a4abfbbfecd8b13cb by Brice Goglin on 11/04/2009 at 20:02..
Merge tag 'libdrm-2.4.9' into debian-unstable

Conflicts:
	bsd-core/Makefile
	bsd-core/drmP.h
	bsd-core/drm_bufs.c
	bsd-core/drm_drv.c
	bsd-core/drm_irq.c
	bsd-core/drm_linux_list.h
	bsd-core/drm_lock.c
	bsd-core/drm_pci.c
	bsd-core/drm_scatter.c
	bsd-core/drm_sysctl.c
	bsd-core/drm_vm.c
	bsd-core/i915_drv.c
	bsd-core/mach64_drv.c
	bsd-core/mga_drv.c
	bsd-core/r128_drv.c
	bsd-core/radeon_drv.c
	bsd-core/savage_drv.c
	bsd-core/sis_drv.c
	bsd-core/tdfx_drv.c
	bsd-core/via_drv.c
	linux-core/ati_pcigart.c
	linux-core/drmP.h
	linux-core/drm_agpsupport.c
	linux-core/drm_bo.c
	linux-core/drm_bo_move.c
	linux-core/drm_compat.c
	linux-core/drm_compat.h
	linux-core/drm_drv.c
	linux-core/drm_irq.c
	linux-core/drm_memory.c
	linux-core/drm_memory_debug.c
	linux-core/drm_objects.h
	linux-core/drm_os_linux.h
	linux-core/drm_proc.c
	linux-core/drm_ttm.c
	linux-core/drm_vm.c
	linux-core/mga_drv.c
	linux-core/nouveau_drv.c
	linux-core/r128_drv.c
	linux-core/radeon_drv.c
	linux-core/via_dmablit.c
	linux-core/xgi_drv.c
	shared-core/i915_dma.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
	shared-core/mach64_drv.h
	shared-core/mach64_irq.c
	shared-core/mga_dma.c
	shared-core/mga_irq.c
	shared-core/nouveau_dma.c
	shared-core/nouveau_mem.c
	shared-core/nouveau_reg.h
	shared-core/nv04_instmem.c
	shared-core/nv40_mc.c
	shared-core/r128_drv.h
	shared-core/r128_irq.c
	shared-core/radeon_cp.c
	shared-core/radeon_irq.c
	shared-core/via_irq.c
	shared-core/via_map.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce46827118d25e741e90874a4abfbbfecd8b13cb

Git commit 42b85f201d5e5f2c73688a0d28e8d01e1b4faf27 by Brice Goglin on 11/04/2009 at 21:14..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42b85f201d5e5f2c73688a0d28e8d01e1b4faf27

Git commit 1ab2fa756dca9e03faf1c6b8a295a4e9d93d7aa0 by Brice Goglin on 11/04/2009 at 21:58..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ab2fa756dca9e03faf1c6b8a295a4e9d93d7aa0

Git commit 78e753d03314e3aa92af8ec601e9dbb869a938d5 by Ben Skeggs on 15/04/2009 at 02:44..
nouveau: store bo handle in public struct in bo_ref_handle
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78e753d03314e3aa92af8ec601e9dbb869a938d5

Git commit 802c9a1e5cb3130a5d5183146b686e000d3c38f6 by Brice Goglin on 15/04/2009 at 13:01..
Bump dh_makeshlibs invocation to libdrm-intel1 >= 2.4.9
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/802c9a1e5cb3130a5d5183146b686e000d3c38f6

Git commit 0b988eea4e2e8598343e93caaaa6294194a45487 by Brice Goglin on 15/04/2009 at 13:01..
Fix the changelog and reupload 2.4.9-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b988eea4e2e8598343e93caaaa6294194a45487

Git commit a1e3ab9e55047c08a4006ec389c1a99b72bc672c by Ben Skeggs on 16/04/2009 at 23:29..
nouveau: write posting got lost somewhere, bring it back
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1e3ab9e55047c08a4006ec389c1a99b72bc672c

Git commit a6f7f1d301b603fe58abaddea866d4b32282f683 by Julien Cristau on 18/04/2009 at 22:14..
Ship all drm headers on kfreebsd, again.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6f7f1d301b603fe58abaddea866d4b32282f683

Git commit 412d370b9ae4b2882691863a1c5e13a507574e92 by Dave Airlie on 22/04/2009 at 10:25..
libdrm/mode: align subpixel results
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/412d370b9ae4b2882691863a1c5e13a507574e92

Git commit 11b60973bca1bc9bbda44be4c695e22d28d8ca4a by Eric Anholt (on behalf of Jesse Barnes) on 27/04/2009 at 18:49..
intel: NULL fake bo block when freeing in evict_all

Fixes assertion failures on later use of the object.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11b60973bca1bc9bbda44be4c695e22d28d8ca4a

Git commit 68103b2758029b3c1fbfcf995baa758bfd2676de by Keith Packard on 02/05/2009 at 01:49..
libdrm/intel: assert that clients are using bo refcounting correctly

Add assertions to drm_intel_gem_bo_reference,
drm_intel_gem_bo_reference_locked and drm_intel_gem_bo_unreference_locked
that the object has not been freed (refcount > 0). Mistakes in refcounting
lead to attempts to insert a bo into a free list more than once which causes
application failure as empty free lists are dereferenced as buffer objects.

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68103b2758029b3c1fbfcf995baa758bfd2676de

Git commit 3349b34aeaa741c56ec2fc4d8478c3a483dd6361 by Julien Cristau on 03/05/2009 at 16:55..
Move -dbg packages to new debug section.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3349b34aeaa741c56ec2fc4d8478c3a483dd6361

Git commit f7f9e2c21dfda6aab07126fe38b107e129b40fba by Julien Cristau on 03/05/2009 at 16:55..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7f9e2c21dfda6aab07126fe38b107e129b40fba

Git commit e2b5fde7f6ff412cadd9cad35ad051a028cf7fae by Stuart Bennett (on behalf of Danny Tholen) on 07/05/2009 at 00:00..
nouveau: fix ppc for swab changes in Linux 2.6.29
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2b5fde7f6ff412cadd9cad35ad051a028cf7fae

Git commit 94d48d038502097ebfa2e33e4a75b9e0e675231d by Stuart Bennett on 07/05/2009 at 00:00..
nouveau: backlight compat fix

Avoid failure to build on old kernels with CONFIG_BACKLIGHT_CLASS_DEVICE set
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94d48d038502097ebfa2e33e4a75b9e0e675231d

Git commit 1bae8844cafd70f6196116f6e84b0f36c069e976 by Alan Coopersmith on 10/05/2009 at 00:22..
Delete extra libdrm_lists.h line after libdrm_la_SOURCES in libdrm/Makefile.am

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bae8844cafd70f6196116f6e84b0f36c069e976

Git commit 628dc48a16ec6796ec5a81428e695837c51463d0 by Alan Coopersmith on 10/05/2009 at 22:35..
Use C99 versions of __FUNCTION__ & __volatile__ when not building with gcc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/628dc48a16ec6796ec5a81428e695837c51463d0

Git commit 5b5ce301287fb8ef74b45fad3c10b2d4ac3a9cc6 by Keith Packard on 13/05/2009 at 01:19..
libdrm/intel: add drm_intel_bo_disable_reuse api

Scanout buffers need to be freed through the kernel as it holds a reference
to them; exposing this API allows applications allocating scanout buffers to
flag them as not reusable.

Signed-off-by: Keith Packard <keithp at keithp.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b5ce301287fb8ef74b45fad3c10b2d4ac3a9cc6

Git commit 8b8e20e0f9900fae23baee55a91533a739c1a3ec by Keith Packard on 13/05/2009 at 01:19..
Bump to version 2.4.10 to mark addition of drm_intel_bo_disable_reuse

New API, new version.

Signed-off-by: Keith Packard <keithp at keithp.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b8e20e0f9900fae23baee55a91533a739c1a3ec

Git commit afd245dd7fd85cf3ffd3e6d5fe9711252aa2ed7f by Keith Packard (on behalf of Carl Worth) on 14/05/2009 at 22:32..
Add new drm_intel_get_pipe_from_crtc_id function.

This wraps the new DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID ioctl,
allowing applications to discover the pipe number corresponding
to a given CRTC ID. This is necessary for doing pipe-specific
operations such as waiting for vblank on a given CRTC.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afd245dd7fd85cf3ffd3e6d5fe9711252aa2ed7f

Git commit f57d7f4b0b14972f92a83f155ae8033478aa7729 by Keith Packard on 14/05/2009 at 23:58..
libdrm/intel: Make get_pipe_from_crtc_id per-bufmgr. Return -1 on failure.

The convention is that all APIs are per-bufmgr, so make this one the same.
Then, have it return -1 on failure so that the application can know what's
going on and do something sensible.

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f57d7f4b0b14972f92a83f155ae8033478aa7729

Git commit 469655fab7a56eb32ff8cdefb33992813342353a by Eric Anholt on 19/05/2009 at 17:05..
intel: Only do BO caching up to 64MB objects.

This avoids making objects significantly bigger than they would be
otherwise, which would result in some failing at binding to the GTT.
Found from firefox hanging on:
http://upload.wikimedia.org/wikipedia/commons/b/b7/Singapore_port_panorama.jpg
due to a software fallback trying to do a GTT-mapped copy between two 73MB
BOs that were instead each 128MB, and failing because both couldn't fit
simultaneously.

The cost here is that we get no opportunity to cache these objects and
avoid the mapping.  But since the objects are a significant percentage
of the aperture size, each mapped access is likely having to fault and rebind
the object most of the time anyway.

Bug #20152 (2/3)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/469655fab7a56eb32ff8cdefb33992813342353a

Git commit f355ad89431c49355e626613e6fc29ef2e183dab by Eric Anholt on 19/05/2009 at 17:07..
intel: quiet a warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f355ad89431c49355e626613e6fc29ef2e183dab

Git commit 85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c by Stuart Bennett (on behalf of Danny Tholen) on 22/05/2009 at 14:43..
nouveau: backlight support for ppc laptops

Patch allows the backlight to be manipulated under gnome on apple powerpc
based NV30 machines.  It works fine on my powerbook, and should also work
for older NV17/NV18 machines.

Note that older powerpc specific tools (pbbuttonsd) have some problems with
this implementation (because the device is not yet there at the start time
of the daemon, and the code makes incorrect assumptions about the max
brightness values). However, IMHO these things can and should be addressed
in the daemon.

Some style/warning fixes applied by Stuart Bennett <stuart at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c

Git commit 4178d948cd66a938222d0d7c6353ee8d60229e40 by David Nusinow on 26/05/2009 at 00:08..
Add README.source
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4178d948cd66a938222d0d7c6353ee8d60229e40

Git commit c65a343ed29c24f812ca919f40dfeee948b6f14a by Ben Skeggs on 26/05/2009 at 05:47..
nouveau: bump for 0.0.13
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c65a343ed29c24f812ca919f40dfeee948b6f14a

Git commit 7deebf983f53c505bc25171ab77fdc408f250a6e by Julien Cristau on 26/05/2009 at 13:58..
xsfbs: don't run dpkg --print-installation-architecture

This is deprecated in new dpkg, and had no users anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7deebf983f53c505bc25171ab77fdc408f250a6e

Git commit 651e3dc6dd58a79c90db7513ee2fb28360a4560d by Ben Skeggs (on behalf of Michael Buesch) on 28/05/2009 at 07:26..
drm: Fix compilation on 2.6.30

This fixes DRM compilation of nouveau.ko on kernel 2.6.30.

Signed-off-by: Michael Buesch <mb at bu3sch.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/651e3dc6dd58a79c90db7513ee2fb28360a4560d

Git commit dbffeadcfca7cb4e3905ec0b8573d10e0418295e by Ben Skeggs on 02/06/2009 at 07:06..
nv50: magic fix for "3d busted without the binary driver first" issue

No idea what this reg does.. NVIDIA put 0x802 into it on some chips, the
criteria aren't too clear on when they do that however.  Hopefully 0x800
will work everywhere...
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbffeadcfca7cb4e3905ec0b8573d10e0418295e

Git commit 00fae87f96e1fc5198311feec81866bf9c53d0e1 by Ben Skeggs on 03/06/2009 at 00:25..
nouveau: fill in bo->tiled field for referenced buffers

Fixes the dri1 gallium driver if the front buffer happens to be non-linear.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00fae87f96e1fc5198311feec81866bf9c53d0e1

Git commit 8f72294ada477f003888b6776883c1dd98289f3f by Julien Cristau on 03/06/2009 at 01:37..
Kill custom readlink function

This was needed for very, very old versions of debianutils.
Closes: #498890
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f72294ada477f003888b6776883c1dd98289f3f

Git commit d7c42ff4c445ed2cb23f4eb3a45858c110184773 by Pekka Paalanen on 03/06/2009 at 19:30..
Fix build on kernels < 2.6.26

The commit 651e3dc6dd58a79c90db7513ee2fb28360a4560d, "drm: Fix
compilation on 2.6.30" broke all builds on kernels before 2.6.26.
Variadic functions cannot be inlined.

The variadic inline function is replaced with a variadic macro.

Also, the function dev_name() added by that same commit is never used,
so it is removed.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7c42ff4c445ed2cb23f4eb3a45858c110184773

Git commit 2cb4c64d7310904b354365c2cbc263211e9eb4a1 by Ben Skeggs on 03/06/2009 at 23:01..
nouveau: fix bo mapping issue
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2cb4c64d7310904b354365c2cbc263211e9eb4a1

Git commit 3d4bfe8c893d016ef43d1ebf28e4607aa1f540a4 by Ben Skeggs on 05/06/2009 at 04:07..
nouveau: 0.0.14 + extend bo interface to support subrange mapping

Normal map() should operate as before, and map_range()/map_flush() should
give correct results but lacking any performance difference from map().

Nothing exiting being done here yet, but the interface is a good start.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d4bfe8c893d016ef43d1ebf28e4607aa1f540a4

Git commit 729e63f6d750a9b1012d496ae52cbb18be409b6f by Julien Cristau on 08/06/2009 at 14:03..
Merge branch 'upstream-unstable' into debian-unstable

Conflicts:
	linux-core/nouveau_backlight.c
	shared-core/nouveau_state.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/729e63f6d750a9b1012d496ae52cbb18be409b6f

Git commit 25b00e91df7c2d288ed7809fa3698ca42ecc3480 by Julien Cristau on 08/06/2009 at 14:05..
Update changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25b00e91df7c2d288ed7809fa3698ca42ecc3480

Git commit 5f071fa9c06118f459d101c55d2c08978cc68a57 by Julien Cristau on 08/06/2009 at 14:15..
Update libdrm-intel1.symbols and bump shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f071fa9c06118f459d101c55d2c08978cc68a57

Git commit 875e7956459dc187a9388050ab1de2a9807ad993 by Julien Cristau on 08/06/2009 at 14:17..
Merge git.debian.org:/git/pkg-xorg/xsfbs into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/875e7956459dc187a9388050ab1de2a9807ad993

Git commit 59cd76c7478f49d3fe6731b019685c1a5f95a93f by Julien Cristau on 08/06/2009 at 14:18..
Bump Standards-Version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59cd76c7478f49d3fe6731b019685c1a5f95a93f

Git commit a7f3473bce6057ce77abe64938f221e9b0595acd by Julien Cristau on 08/06/2009 at 14:19..
Remove Thierry Reding from Uploaders

He doesn't seem to be around anymore :(
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7f3473bce6057ce77abe64938f221e9b0595acd

Git commit c283da2e66999831a5123fd5e5a5b5dbe4e8c106 by Julien Cristau on 08/06/2009 at 14:22..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c283da2e66999831a5123fd5e5a5b5dbe4e8c106

Git commit 2fa2db138ba989bfa1a8cd9ab66d83fb7369249e by Dave Airlie on 17/06/2009 at 07:47..
libdrm/radeon: add initial libdrm_radeon

requires --enable-radeon-experimental-api for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fa2db138ba989bfa1a8cd9ab66d83fb7369249e

Git commit 81644198aeced288d26e17fadd8e5eb19798352f by Jesse Barnes on 22/06/2009 at 19:27..
modetest: use gtt unmap for object

Match gtt map/unmap for correctness.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81644198aeced288d26e17fadd8e5eb19798352f

Git commit 9a33f62be1c478334572ea9384af60c37d1644a0 by Thomas Hellstrom on 22/06/2009 at 21:37..
drm: Strip old ttm.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a33f62be1c478334572ea9384af60c37d1644a0

Git commit 790097c51330090b2b7b90429b9ab8ddf259fd8e by Dave Airlie on 22/06/2009 at 23:51..
remove some old ttm bits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/790097c51330090b2b7b90429b9ab8ddf259fd8e

Git commit de1ed01214874dcdd6116ff2587c8710d6ed4d2d by Dave Airlie on 30/06/2009 at 02:19..
radeon: add support for write followed by read relocs.

the DDX does this and used to handle it internally
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de1ed01214874dcdd6116ff2587c8710d6ed4d2d

Git commit fbac5891b91c795de61f4d7cbc1a6799474364ad by Dave Airlie on 02/07/2009 at 05:42..
radeon: add buffer naming function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fbac5891b91c795de61f4d7cbc1a6799474364ad

Git commit af90222c4570ca07c6983f60ebe46c35bc980495 by Dave Airlie on 03/07/2009 at 11:13..
radeon: fix realloc of packets.

This should use ndw not cdw, using cdw leads to realloc alignment going wrong
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af90222c4570ca07c6983f60ebe46c35bc980495

Git commit 72a29340ea3225550db6b009f4e50c77c7b1f394 by Jerome Glisse on 03/07/2009 at 13:03..
radeon: fix cs buffer realloc padding

We always realloc at least 0x1000 dwords (page on most system)
when growing the cs buffer this is to avoid having to realloc
at each cs_begin.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72a29340ea3225550db6b009f4e50c77c7b1f394

Git commit 39970c67b77014caac9a4c3a33765ac7a312b54e by Dave Airlie on 06/07/2009 at 05:10..
radeon: move cs space checking code to libdrm_radeon.

This ports a lot of the space checking code into a the common
library, so that the DDX and mesa can use it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39970c67b77014caac9a4c3a33765ac7a312b54e

Git commit 3dda0050f16ddb4a64e66c80aebecea5383c72f1 by Ian Romanick (on behalf of Pauli Nieminen) on 06/07/2009 at 16:20..
libdrm: Remove typedef for non-existing enum
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dda0050f16ddb4a64e66c80aebecea5383c72f1

Git commit 015efd1bfa72ab8b80cc45f11eb22d7f1a1085f7 by Ian Romanick on 06/07/2009 at 16:23..
strcasecmp is in strings.h.

Based on patch by Pauli Nieminen.  Thanks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/015efd1bfa72ab8b80cc45f11eb22d7f1a1085f7

Git commit 90ae0f2bb8d53500f5c9d06e2dc1a18d5a5d0cf5 by Ian Romanick (on behalf of Pauli Nieminen) on 06/07/2009 at 17:05..
libdrm: Fix pci id numbers to unsigned so code won't mix signed/unsigned integers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90ae0f2bb8d53500f5c9d06e2dc1a18d5a5d0cf5

Git commit cea2d29ee49f23d560f0088a1a3dd01932a1eaf4 by Eric Anholt (on behalf of Edward O'Callaghan) on 06/07/2009 at 20:11..
intel: fix compiler warning about returning a void value.

bug #21999
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cea2d29ee49f23d560f0088a1a3dd01932a1eaf4

Git commit 78fa590a1d297f2e2fea98bd3f0cbf4cdb1e3a08 by Eric Anholt on 06/07/2009 at 20:11..
intel: Fix up math errors when allocating very large BOs.

The logbase2 would overflow and wrap the size around to 0, making the code
allocate a 4kb object instead.  By simplifying the code to just walk the
14-entry bucket array comparing sizes instead of indexing on
ffs(1 << logbase2(size)), we avoid silly math errors and have code of
approximately the same speed.

Many thanks to Simon Farnsworth for debugging and providing a working patch.
Bug #27365.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78fa590a1d297f2e2fea98bd3f0cbf4cdb1e3a08

Git commit a953b3270cef52dd2de70cc6aa08687af9d57815 by Ian Romanick on 06/07/2009 at 20:48..
libdrm: Set _XOPEN_SOURCE and _GNU_SOURCE

Several POSIX extensions are used in the libdrm code (e.g., mknod and ffs).
Set _XOPEN_SOURCE and _GNU_SOURCE to something reasonable to ensure that
prototypes for these functions are available.  This is done in configure.ac
using AC_USE_SYSTEM_MACROS.  This requires autoconf 2.60 or later.  Eventually
the code should check for the existance of these defines and do something
reasonable if they are not available.

Inspired by a patch by Pauli Nieminen and suggestions from Julien Cristau.
Thanks.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a953b3270cef52dd2de70cc6aa08687af9d57815

Git commit c5a5bbbe899400642795c1d95aef78deade9241f by Ian Romanick (on behalf of Pauli Nieminen) on 06/07/2009 at 21:17..
libdrm: Make chown check for return value

If call was interrupted by signal we have to make call again.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5a5bbbe899400642795c1d95aef78deade9241f

Git commit 4179c5f0a69b452cf94a507c13021e4918a3e02d by Ian Romanick on 06/07/2009 at 22:36..
s/AC_USE_SYSTEM_MACROS/AC_USE_SYSTEM_EXTENSIONS/

Not sure what I was thinking.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4179c5f0a69b452cf94a507c13021e4918a3e02d

Git commit f257201c11fd1aff9319aaf47556b184141ac7cb by Ben Skeggs on 09/07/2009 at 01:41..
nouveau: fix pin for buffers created with bo_wrap
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f257201c11fd1aff9319aaf47556b184141ac7cb

Git commit 80179df5f85a2fd39b2544f1b7aae61102800f0f by Dave Airlie on 09/07/2009 at 16:38..
configure: move AC_USE_SYSTEM_EXTENSIONS up higher

this was giving me a warning on automake 1.11
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80179df5f85a2fd39b2544f1b7aae61102800f0f

Git commit 3f3c5be6f908272199ccf53f108b1124bfe0a00e by Eric Anholt on 10/07/2009 at 03:17..
intel: Free buffers in the BO cache that haven't been reused in a while.

The goal of the BO cache is to keep buffers on hand for fast continuous use,
as in every frame of a game or every batchbuffer of the X Server.  Keeping
older buffers on hand not only doesn't serve this purpose, it may hurt
performance by resulting in disk cache getting kicked out, or even driving
the system to swap.

Bug #20766.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f3c5be6f908272199ccf53f108b1124bfe0a00e

Git commit eea95ed8af24300e5a5d2489dfe0d73c24300651 by Eric Anholt on 15/07/2009 at 17:04..
Bump to version 2.4.12 for release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eea95ed8af24300e5a5d2489dfe0d73c24300651

Git commit 0411c37409102c71e8ba980f9afb2d4a8c64189d by Alex Deucher on 15/07/2009 at 18:42..
Add R600_SCRATCH_REG_OFFSET to radeon_drm.h

This lets us libdrm from master for r6xx/r7xx 3d
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0411c37409102c71e8ba980f9afb2d4a8c64189d

Git commit 9aed44beeac4f250a58c792d64a4dee1dde3d086 by Alex Deucher on 15/07/2009 at 18:51..
Add RADEON_INIT_R600_CP too

this rounds out the r6xx/r7xx stuff in radeon_drm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9aed44beeac4f250a58c792d64a4dee1dde3d086

Git commit 057947a86073db22d269ecebe593edb5fae388c2 by Brice Goglin on 21/07/2009 at 13:27..
Merge tag 'libdrm-2.4.12' into debian-unstable

Conflicts:
	linux-core/Makefile
	linux-core/Makefile.kernel
	linux-core/drmP.h
	linux-core/drm_agpsupport.c
	linux-core/drm_compat.c
	linux-core/drm_drv.c
	linux-core/drm_fops.c
	linux-core/drm_os_linux.h
	linux-core/drm_proc.c
	linux-core/drm_stub.c
	linux-core/drm_sysfs.c
	linux-core/drm_vm.c
	linux-core/nouveau_backlight.c
	linux-core/xgi_cmdlist.c
	linux-core/xgi_drv.c
	linux-core/xgi_drv.h
	linux-core/xgi_fence.c
	shared-core/nouveau_drv.h
	shared-core/nouveau_reg.h
	shared-core/nv50_graph.c
	shared-core/via_drv.c
	shared-core/via_drv.h
	shared-core/via_map.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/057947a86073db22d269ecebe593edb5fae388c2

Git commit 492cd21988fb47252108d859a843a622519b84ce by Brice Goglin on 21/07/2009 at 13:28..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/492cd21988fb47252108d859a843a622519b84ce

Git commit 73a4b518629626d6bfefb2aa1ea6627f7fdcbc36 by Brice Goglin on 21/07/2009 at 13:29..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73a4b518629626d6bfefb2aa1ea6627f7fdcbc36

Git commit 30449829c0347dc7dbe29acb13e49e2f2cb72ae9 by Maarten Maathuis on 27/07/2009 at 17:24..
libdrm/nouveau: unmap before ufree means nvbo->sysmem != NULL, which inbalances cpu_prep/cpu_finish

- The bo was mapped with sysmem == NULL, so this means cpu prep is called.
- The bo was unmapped with sysmem != NULL, so this means cpu finish is not called.
- This can lead to a non-zero "cpu writers" count in ttm_bo.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30449829c0347dc7dbe29acb13e49e2f2cb72ae9

Git commit 001331f4f1f094ef02497aa618ae5eeb2febedfb by Ben Skeggs on 28/07/2009 at 10:59..
nouveau: drm api 0.0.15, update object header, remove fake bo support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/001331f4f1f094ef02497aa618ae5eeb2febedfb

Git commit 0bf8fb3bce6b4d9b4820d38d37e1ac1e73e22d23 by Ben Skeggs on 28/07/2009 at 10:59..
nouveau: user buffers need to be mappable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0bf8fb3bce6b4d9b4820d38d37e1ac1e73e22d23

Git commit 5a73f066ba149816cc0fc2de4b97ec4714cf8ebc by Ben Skeggs on 28/07/2009 at 10:59..
nouveau: don't overwrite user-specified bo size needlessly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a73f066ba149816cc0fc2de4b97ec4714cf8ebc

Git commit 8f0e310e19a45685f1688936c7da9e8ae9b660ae by Julien Cristau (on behalf of Christopher James Halse Rogers) on 28/07/2009 at 11:53..
Remove accidental 'expect this to be unstable' warning from long description of libdrm-intel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f0e310e19a45685f1688936c7da9e8ae9b660ae

Git commit 322cf6cf736b22b62656ac0431936b3cdb784038 by Dave Airlie on 01/08/2009 at 07:20..
radeon: don't map/unmap explicitly.

This caches the mapping and just use mapping as a sync point
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/322cf6cf736b22b62656ac0431936b3cdb784038

Git commit 4507863058a10d00c982975daf396f83caee0fe2 by Dave Airlie on 01/08/2009 at 07:20..
libdrm_radeon: add tiling support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4507863058a10d00c982975daf396f83caee0fe2

Git commit d74c67fb13d8c3e8c2e5968d827285d147a5dfc0 by Eric Anholt (on behalf of Anssi Hannula) on 05/08/2009 at 18:26..
link libdrm_intel with -lrt for new use of clock_gettime().

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d74c67fb13d8c3e8c2e5968d827285d147a5dfc0

Git commit 1d465178fbab77a9c0e830ea8c47bf61735def71 by Dave Airlie on 15/08/2009 at 11:32..
radeon: fix GTT writing space check

Noticed by vehemens on irc.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d465178fbab77a9c0e830ea8c47bf61735def71

Git commit f7996165fffe0a835752e8b9bb6b4d81bba5c91d by Christoph Brill on 16/08/2009 at 06:26..
Filter radeon pkgconfig file as do intel and nouveau
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7996165fffe0a835752e8b9bb6b4d81bba5c91d

Git commit 1978f6d8d1215a9501882eb074901bcd0dfc0775 by Dave Airlie on 17/08/2009 at 11:21..
radeon: fix bo wait at map time.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1978f6d8d1215a9501882eb074901bcd0dfc0775

Git commit 250ab3a38eb6ef18d747717cabd0195ad04a82e0 by Ben Skeggs on 18/08/2009 at 05:55..
nouveau: for the moment, assert if we exceed some reloc limits

Nasty, but nicer than silently not writing into the pushbuf
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/250ab3a38eb6ef18d747717cabd0195ad04a82e0

Git commit 28f4bfa04b8ad4dfcc55027f4b2385f4dd6c23c5 by Ben Skeggs on 18/08/2009 at 05:55..
nouveau: support for copy-less pushbuf ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28f4bfa04b8ad4dfcc55027f4b2385f4dd6c23c5

Git commit 64cef1e46554fbf82388acfcfc8051ce956a3dc2 by Alex Deucher (on behalf of Pauli Nieminen) on 18/08/2009 at 18:52..
libdrm/radeon: Update head of linked list not to point freed memory.

Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64cef1e46554fbf82388acfcfc8051ce956a3dc2

Git commit a474fd978c0dedbed21b5dff24126acb1c7effef by Alex Deucher (on behalf of Pauli Nieminen) on 18/08/2009 at 18:53..
libdrm_radeon: Fix loops so that compiler can optimize them.

GCC did war about optimization not possible because possible forever loop.

Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a474fd978c0dedbed21b5dff24126acb1c7effef

Git commit 8c43b79b21929e9e54e13e892f7787e222e73f39 by Alex Deucher (on behalf of Pauli Nieminen) on 18/08/2009 at 18:54..
libdrm_radeon: Optimize copy of table to cs buffer with specialized call.

Using this call in OUT_BATCH_TABLE reduces radeonEmitState cpu usage from
9% to 5% and emit_vpu goes from 7% to 1.5%. I did use calgrind to profile
gears for cpu hotspots with r500 card.

Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c43b79b21929e9e54e13e892f7787e222e73f39

Git commit cbb3ae3dab9dc82d95524726135b8d6ef86bcf27 by Ben Skeggs on 19/08/2009 at 05:56..
nouveau: fix a thinko in copyless pushbuf ioctl

No idea why G80 doesn't hit this, but, this fixes at least one NV40 card.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbb3ae3dab9dc82d95524726135b8d6ef86bcf27

Git commit caad8d85559709301c00760b9e8707d57f8c6c67 by Dave Airlie (on behalf of Pauli Nieminen) on 22/08/2009 at 03:16..
radeon: add support for busy/domain check interface.

airlied: modified the interface to drop busy return value, just return
it normally, also fixed int->uint32_t for domain

Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/caad8d85559709301c00760b9e8707d57f8c6c67

Git commit 02a4d22e95de863fe3e01a9f5658ef81417c28cd by Alex Deucher on 24/08/2009 at 22:15..
radeon: pull in z pipe changes from kernel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02a4d22e95de863fe3e01a9f5658ef81417c28cd

Git commit ce6c68dc8a893ed8673f49d381a8500c2ee3c29f by Jakob Bornecrantz on 25/08/2009 at 10:05..
Kill last remnant of replacefb ioctl

	Kenrels doesn't expose this ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce6c68dc8a893ed8673f49d381a8500c2ee3c29f

Git commit 1d0081bdf60944d8ef0935a531dfbcc5f01739c5 by Julien Cristau on 26/08/2009 at 16:20..
xsfbs.sh: remove unused check_symlinks_and_{bomb,warn}
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d0081bdf60944d8ef0935a531dfbcc5f01739c5

Git commit 8eb3d6a5ce9964876e48ea56048f1a5135ef4f28 by Julien Cristau on 26/08/2009 at 16:21..
xsfbs.sh: remove unused analyze_path
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8eb3d6a5ce9964876e48ea56048f1a5135ef4f28

Git commit b6c6eceec66066ebac16c85cc75bfa8a4f6cf58a by Julien Cristau on 26/08/2009 at 16:23..
xsfbs.sh: remove unused maplink function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6c6eceec66066ebac16c85cc75bfa8a4f6cf58a

Git commit 0dd71e12416aa7dc60ed68af8127e04609b125f4 by Julien Cristau on 26/08/2009 at 16:23..
xsfbs.sh: remove unused find_culprits function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dd71e12416aa7dc60ed68af8127e04609b125f4

Git commit 1f858adff1ce2687cf542dd9b69b81137412f8a4 by Julien Cristau on 26/08/2009 at 16:47..
xsfbs.sh: remove unused reject_whitespace function
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f858adff1ce2687cf542dd9b69b81137412f8a4

Git commit 5693792171d885769e58dcccc053c08b11acd12a by Julien Cristau on 26/08/2009 at 16:53..
xsfbs.mk: no need for shlibs.local
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5693792171d885769e58dcccc053c08b11acd12a

Git commit 0a732983f059c353b267b6bf877e1f0eea4e033f by Michel Dänzer on 27/08/2009 at 06:36..
libdrm_radeon: Always wait for BO idle in bo_map.

This allows users to eliminate explicit bo_wait calls before bo_map calls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a732983f059c353b267b6bf877e1f0eea4e033f

Git commit 19d6fadfa29993b261ebac2869b2289f6d3091c3 by Michel Dänzer on 28/08/2009 at 09:42..
Revert "libdrm_radeon: Always wait for BO idle in bo_map."

This reverts commit 0a732983f059c353b267b6bf877e1f0eea4e033f.

Paul Nieminen and Dave Airlie pointed out on IRC that this shouldn't be
necessary. I was seeing visual corruption in X before I made this change, but
I can't reproduce that anymore so it was probably an unrelated issue.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19d6fadfa29993b261ebac2869b2289f6d3091c3

Git commit 8214a65ad1f4ccd4966e0def0d43f0c4289e4bc6 by Eric Anholt on 28/08/2009 at 21:56..
Add drm_intel_bo_busy to query whether mapping a BO would block.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8214a65ad1f4ccd4966e0def0d43f0c4289e4bc6

Git commit 73b59c894380995a2889b98e79acadd2da0bb237 by Eric Anholt on 28/08/2009 at 22:20..
Bump to version 2.4.13 for release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73b59c894380995a2889b98e79acadd2da0bb237

Git commit 121b9648f846d900e67818869974ee82046e9b25 by Zhenyu Wang on 04/09/2009 at 01:24..
libdrm_intel: add new pci ids

New ids for G41, Clarkdale and Arrandale.
Make sure we don't need to count fence also on new chips.

Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/121b9648f846d900e67818869974ee82046e9b25

Git commit 47a81a11841c98986e4dd4f64cb7fed400327fbf by Julien Cristau on 05/09/2009 at 10:44..
Merge tag 'libdrm-2.4.13' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47a81a11841c98986e4dd4f64cb7fed400327fbf

Git commit c5927ee69fb74eb278f161de2b334fb1f9862f24 by Julien Cristau on 05/09/2009 at 11:15..
Update changelogs and symbols file for new release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5927ee69fb74eb278f161de2b334fb1f9862f24

Git commit a209119784450b02794fe94545875f071777c4c0 by Julien Cristau on 05/09/2009 at 11:15..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a209119784450b02794fe94545875f071777c4c0

Git commit 7f0e2de49e0a4006f5c28e6dac2e161f7a96b50c by Julien Cristau on 05/09/2009 at 12:14..
Parse space-separated DEB_BUILD_OPTIONS, and handle parallel=N.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f0e2de49e0a4006f5c28e6dac2e161f7a96b50c

Git commit 67e4172394a88d4922fb8d9c7c3d96ce7e02c5a6 by Zhenyu Wang on 07/09/2009 at 08:17..
libdrm_intel: include B43 chipset check

Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67e4172394a88d4922fb8d9c7c3d96ce7e02c5a6

Git commit cdd325b59a17a614b90fc2f8b388175e6d79e3cf by Dave Airlie on 14/09/2009 at 21:30..
radeon: fix 32/64 bit issue with sign extension

Not sure what intptr_t was up to here.

Reported and tested by: Kevin DeKorte
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdd325b59a17a614b90fc2f8b388175e6d79e3cf

Git commit 0a24654129847cf5cd61b5e8fb54c8f9c7441c55 by Keith Packard on 18/09/2009 at 00:28..
drmModeFreeConnector: free encoders and properties

These were leaking.

Signed-off-by: Keith Packard <keithp at keithp.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a24654129847cf5cd61b5e8fb54c8f9c7441c55

Git commit 456a358b9ade5c90ff86b2322a79648c69cddcdc by Eric Anholt on 21/09/2009 at 22:23..
intel: Remove the old swrast flag for reducing cache flushing.

It hasn't been doing anything effective since
52e5d24fae4af6f2f4a5304a516c8c5ab347a11b, and we pretty much don't bo_map
pinned buffers any more anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/456a358b9ade5c90ff86b2322a79648c69cddcdc

Git commit 51b89733c53458b6827f0db99eb46a20fa1c7020 by Eric Anholt on 21/09/2009 at 22:23..
intel: Remove the max_entries stuff that complicated bo reuse.

I thought I was going to do all sorts of crazy experiments with it.  I never
did, and it turned out the free-after-a-few-seconds plan is working out fine.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51b89733c53458b6827f0db99eb46a20fa1c7020

Git commit ac71f0849928f4b2fbb69c01304ac6f9df8916a1 by Eric Anholt on 21/09/2009 at 22:29..
Bump to 2.4.14 for release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac71f0849928f4b2fbb69c01304ac6f9df8916a1

Git commit 80fa8afc4302f54899069eaa09e2b24b3e1b07dc by Julien Cristau on 24/09/2009 at 19:03..
Merge tag 'libdrm-2.4.14' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80fa8afc4302f54899069eaa09e2b24b3e1b07dc

Git commit a474dd48cc59fa71be9859def132e5363297f5e0 by Julien Cristau on 24/09/2009 at 19:03..
Bump changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a474dd48cc59fa71be9859def132e5363297f5e0

Git commit b18d0e60b7d0ad8edb4a9898670140db4a7b5b1b by Julien Cristau on 24/09/2009 at 19:05..
Merge branch 'debian-unstable' of git.debian.org:/git/pkg-xorg/xsfbs into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b18d0e60b7d0ad8edb4a9898670140db4a7b5b1b

Git commit d3f408c2ef67cd532b9790f0e1adb1b5f06ae1e6 by Julien Cristau on 24/09/2009 at 19:52..
Bump Standards-Version to 3.8.3.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3f408c2ef67cd532b9790f0e1adb1b5f06ae1e6

Git commit 268376961bf59079077c80cefe1c1cf3728b1800 by Julien Cristau on 24/09/2009 at 19:53..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/268376961bf59079077c80cefe1c1cf3728b1800

Git commit bda208ec00d0b7b3632f57fb27e014684cdf73ba by Julien Cristau on 25/09/2009 at 13:33..
xsfbs.sh: fix typo and remove svn keyword
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bda208ec00d0b7b3632f57fb27e014684cdf73ba

Git commit 9a4314c976e0d22e8d47f5d86163791e407a6ecc by Julien Cristau on 25/09/2009 at 13:43..
xsfbs.mk: kill obsolete DEFAULT_DCRESOLUTIONS and SOURCE_DIR usage

These variables aren't set anywhere.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a4314c976e0d22e8d47f5d86163791e407a6ecc

Git commit 2a1b4553fc2c5ba982e8bb8be4c504e28ce79ed1 by Julien Cristau on 25/09/2009 at 14:39..
xsfbs.mk: remove more obsolete code

We can use plain debconf-updatepo, and don't need to clean the 'imports'
directory or shlibs.local.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a1b4553fc2c5ba982e8bb8be4c504e28ce79ed1

Git commit 769b10578083aa7bbee0052246d8ea6000435ae8 by Eric Anholt on 02/10/2009 at 02:09..
intel: Add a new function to check if a BO's reloc tree references some BO.

There are a bunch of places in GL where if we can't do this we have to
flush the batchbuffer, and the cost of lookups here is outweighed by flush
savings.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/769b10578083aa7bbee0052246d8ea6000435ae8

Git commit 12d9b7cc8550c1999e5c39a38b1b14e654f49065 by Eric Anholt on 02/10/2009 at 18:11..
intel: Don't free the reloc list when putting a freed BO in the cache.

This takes firefox-talos-gfx from 74 seconds to 70 seconds on my GM965.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12d9b7cc8550c1999e5c39a38b1b14e654f49065

Git commit 0fb215ae3199b5be0c9a9474e5941f8d8998c11a by Eric Anholt (on behalf of Chris Wilson) on 02/10/2009 at 19:54..
intel: Mark cached bo as purgeable

Set the DONTNEED flag on cached buffers so that the kernel is free to
discard those when under memory pressure.

[anholt: This takes firefox-talos-gfx time from ~62 seconds to ~65 seconds
on my GM965, but it seems like a hit worth taking for the improved
functionality from saving memory]

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0fb215ae3199b5be0c9a9474e5941f8d8998c11a

Git commit 04495eeec2f053be17a10cc82e646a1e23ed3830 by Eric Anholt (on behalf of Chris Wilson) on 02/10/2009 at 20:21..
intel: Use atomic refcounters

As the target architecture for Intel GPUs is the x86, we can presume to
have reasonable compiler support for Intel atomic intrinsics, i.e. gcc,
and so use those in preference to pulling in a complicated mess of
fragile assembly.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
[anholt: hand-resolved against my previous commit.  This brings cairo-gl
firefox-talos-gfx time from 65 seconds back down to 62 seconds.]
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04495eeec2f053be17a10cc82e646a1e23ed3830

Git commit a5fb264257651d50afe84be7e20f91df41242aa8 by Nicolai Hähnle on 03/10/2009 at 11:46..
libdrm_radeon: Zero-initialize structures to silence valgrind warnings

Signed-off-by: Nicolai Hähnle <nhaehnle at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5fb264257651d50afe84be7e20f91df41242aa8

Git commit 11f0e450dd7d711eb69aa9c27ed4aa72d913d697 by Michel Dänzer on 03/10/2009 at 15:37..
libdrm_radeon: Update RADEON_TILING_* flags to what's in current kernels.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11f0e450dd7d711eb69aa9c27ed4aa72d913d697

Git commit 61bddf8504461fad3e45fbf0d32956a76e0dd343 by Chris Wilson on 03/10/2009 at 21:58..
intel: report errno

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61bddf8504461fad3e45fbf0d32956a76e0dd343

Git commit ab3300c5816ee26e2d74ac99e2d84c3dfd7cdf82 by Chris Wilson on 03/10/2009 at 21:58..
intel: Add a configure option to *disable* building libdrm-intel

In conjunction with the atomic operation patch, it may be more
convenient for some people to disable building libdrm-intel and its
dependencies upon the atomic intrinsics then it is for them to use a
supported compiler.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab3300c5816ee26e2d74ac99e2d84c3dfd7cdf82

Git commit ac34f599eabcfc414d4d3300063988d4749813f4 by Chris Wilson on 03/10/2009 at 22:18..
tests: Disable intel-specific tests with --disable-intel

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac34f599eabcfc414d4d3300063988d4749813f4

Git commit 3c9bd068e0aa8069f71e8193b82b231d6513ce35 by Eric Anholt on 06/10/2009 at 20:30..
intel: Don't allocate more relocation entries than the BO could support.

This saves 32k of relocation entry storage for many 965 state buffers.  No
noticeable impact on performance for cairo-gl firefox.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c9bd068e0aa8069f71e8193b82b231d6513ce35

Git commit d70d60529f77ec73322be7b887fd6a3faf133bce by Eric Anholt on 06/10/2009 at 22:45..
intel: Reformat to the kernel coding style.  Welcome to the 8-space future.

This is done with:
Lindent *.[ch]
perl -pi -e 's|drm_intel_bo \* |drm_intel_bo *|g' *.[ch]
perl -pi -e 's|drm_intel_bufmgr \* |drm_intel_bufmgr *|g' *.[ch]
perl -pi -e 's|drm_intel_bo_gem \* |drm_intel_bo_gem *|g' *.[ch]
perl -pi -e 's|drm_intel_bufmgr_gem \* |drm_intel_bufmgr_gem *|g' *.[ch]
perl -pi -e 's|_fake \* |_fake *|g' *.[ch]
hand-editing to whack indented comments into line and other touchups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d70d60529f77ec73322be7b887fd6a3faf133bce

Git commit 02c775fc750b48ae25b6a4af51afbfe090ebada4 by Eric Anholt on 06/10/2009 at 22:45..
intel: Fix up some stale doxygen comments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02c775fc750b48ae25b6a4af51afbfe090ebada4

Git commit 3a7dfcdfafdd6ac83a4d3e7b4c1c52fd901b93ae by Eric Anholt (on behalf of Jesse Barnes) on 06/10/2009 at 22:45..
intel: Add a bo_alloc function for tiled BOs.

This simplifies driver code in handling object allocation, and also gives us
an opportunity to possibly cache tiled buffers if it turns out to be a win.

[anholt: This is chopped out of the execbuf2 patch, as it seems to be useful
separately and cleans up the execbuf2 changes to be more obvious]
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a7dfcdfafdd6ac83a4d3e7b4c1c52fd901b93ae

Git commit 9764061ab1b02e4b7bde1494b121604c5c4d4df8 by Eric Anholt on 08/10/2009 at 22:55..
intel: Remove the asserts about the ignored alignment parameter.

I slipped it in with the alloc_tiled changes, since we were explicitly
throwing the parameter away.  It caught some bogus released code, which
we've now fixed, so remove the asserts to keep old drivers working.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9764061ab1b02e4b7bde1494b121604c5c4d4df8

Git commit a107e5b12960f64722bff424502a4fc0ad33dc8f by Eric Anholt on 08/10/2009 at 23:59..
Bump to 2.4.15 for release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a107e5b12960f64722bff424502a4fc0ad33dc8f

Git commit fc8f6be5a9bd84e10149770b76ff9353d25ce2a7 by Chris Wilson on 12/10/2009 at 22:58..
configure: Conditionally build libdrm_intel

Only build libdrm_intel automatically if we have support for atomic
operations. To force configure to build drm pass --enable-intel, which
will cause the configure to error if no support is found. Or pass
--disable-intel to explicitly prevent libdrm_intel from being built.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc8f6be5a9bd84e10149770b76ff9353d25ce2a7

Git commit 24c905f84120a7b0bcd7c5e86c58e908b9e850f9 by Chris Wilson on 13/10/2009 at 13:25..
configure: Typo in error message.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24c905f84120a7b0bcd7c5e86c58e908b9e850f9

Git commit 901bacd29cb5b242f68302b8384de6e193413a49 by Chris Wilson on 13/10/2009 at 14:13..
intel: Fallback to atomic-ops.h [libatomic-ops-dev]

Use the external implementation for atomic operations across a wide
range of architectures.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/901bacd29cb5b242f68302b8384de6e193413a49

Git commit a221e4fd929f77e1851fb0089338f1cd5001ddde by Eric Anholt on 13/10/2009 at 18:36..
intel: Add the defines for the kernel overlay support landing in 2.6.33.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a221e4fd929f77e1851fb0089338f1cd5001ddde

Git commit 3a387a983ec40cd443e22c1f8d9a6b5b5a8fa0d1 by Patrice Mandin on 13/10/2009 at 20:50..
nouveau: nv30: add render target logbase2 width,height
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a387a983ec40cd443e22c1f8d9a6b5b5a8fa0d1

Git commit fdd960a95cca00b19d912a437a2ca3e69fee017e by Ben Skeggs on 18/10/2009 at 23:07..
nouveau: function to return status of bo being referenced in pushbuf

Will be used to implement gallium's is_{texture,buffer}_referenced()
callbacks properly.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdd960a95cca00b19d912a437a2ca3e69fee017e

Git commit 67628aa39dd74807989492af5451a3a5c0232e39 by Ben Skeggs on 20/10/2009 at 02:57..
nouveau: retry if pushbuf ioctl interrupted by signal

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67628aa39dd74807989492af5451a3a5c0232e39

Git commit 66d2714f5435944a26685be4210e0e0d7138f3db by Eric Anholt on 20/10/2009 at 20:31..
intel: Improve bo_references performance by skipping the tree walk.

If the target we're asking about hasn't ever been used as a relocation
target, then it obviously hasn't been used as a target by the batch's reloc
tree.  This is the common case for good GL programming where you only map
fresh buffers, and gives us a 5% win in cairo-gl.

[ # ]  backend                         test   min(s) median(s) stddev. count
before:
[  0]       gl            firefox-talos-gfx   64.680   64.756   0.06%    3/3
after:
[  0]       gl            firefox-talos-gfx   60.816   60.970   0.29%    3/3
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66d2714f5435944a26685be4210e0e0d7138f3db

Git commit 0d7ad7e43ca212b1e9f16cd18f36493cab455e61 by Eric Anholt on 20/10/2009 at 21:24..
intel: Only call clock_gettime once per unreference_final.

Notably when freeing a batchbuffer, we often end up freeing many of the
buffers it points at as well.  Avoiding repeated calls brings us a 9% CPU
win for cairo-gl.

[ # ]  backend                         test   min(s) median(s) stddev. count
before:
[  0]       gl            firefox-talos-gfx   58.941   58.966   0.75%    3/3
after:
[  0]       gl            firefox-talos-gfx   54.186   54.195   0.49%    3/3
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d7ad7e43ca212b1e9f16cd18f36493cab455e61

Git commit b0b96636dbf93445dd532b09b21fa4fc5ce6bdc7 by Jesse Barnes (on behalf of Kristian Høgsberg) on 30/10/2009 at 00:14..
Add support for vblank events

The kernel will now write data to the DRM fd for various event types if
requested.  Currently, the only supported event is a vblank event: it contains
the vblank count for the event as well as a timestamp from when the event
ocurred.  Since the DRM fd is now pollable, it's easy to integrate into
existing event loops.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0b96636dbf93445dd532b09b21fa4fc5ce6bdc7

Git commit fa39f77e2767bdd39a8c1a92a2b2f6e517d496ec by Julien Cristau on 30/10/2009 at 23:22..
Merge branch 'debian-unstable' of git.debian.org:/git/pkg-xorg/xsfbs into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa39f77e2767bdd39a8c1a92a2b2f6e517d496ec

Git commit eba53b2f81a6c31fe0f59e565818a0bb228c3604 by Julien Cristau on 30/10/2009 at 23:22..
Merge tag '2.4.15' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eba53b2f81a6c31fe0f59e565818a0bb228c3604

Git commit 3c594b7854e582df3dfef5f1bb113ae8725a6071 by Julien Cristau on 30/10/2009 at 23:23..
Bump changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c594b7854e582df3dfef5f1bb113ae8725a6071

Git commit 45c6ad83a1e31560f37710eeae7c8ba839773f91 by Julien Cristau on 30/10/2009 at 23:25..
Only build libdrm-intel on x86 (linux and kfreebsd)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45c6ad83a1e31560f37710eeae7c8ba839773f91

Git commit f1a374bbc4150272569ab95fba8c75fd07d1605b by Julien Cristau on 30/10/2009 at 23:26..
update libdrm-intel1 symbols and shlibs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1a374bbc4150272569ab95fba8c75fd07d1605b

Git commit 6eafd1cf386d93bb9e34660227ca6f26aadfeb32 by Alex Deucher (on behalf of Mathias Fröhlich) on 03/11/2009 at 16:41..
radeon: fix allocation

The old code increments the command stream size by another kbyte, but does
not make sure that the requested packet size fits into the stream. The patch
ensures that the whole next packet fits there and rounds the allocated size to
a power of two.

Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6eafd1cf386d93bb9e34660227ca6f26aadfeb32

Git commit 68c2ac9640a59881d18e2d55f666c2cd4c21e00b by Ben Skeggs on 04/11/2009 at 03:24..
nouveau: update view of available aperture space after each flush

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68c2ac9640a59881d18e2d55f666c2cd4c21e00b

Git commit 63910f8aa624be5f2eaa78e08a318d388a22f829 by Ben Skeggs on 04/11/2009 at 03:24..
nouveau: drop rendering on the floor rather than asserting if flush fails

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63910f8aa624be5f2eaa78e08a318d388a22f829

Git commit a8bdf0e00c0653fd343fd7fd64b5f2e8437bb130 by Ben Skeggs on 04/11/2009 at 04:58..
nouveau: add reloc refcnt to pending bo list

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8bdf0e00c0653fd343fd7fd64b5f2e8437bb130

Git commit f4c50630269df4201b89a538cbf8e11646f17d82 by Ben Skeggs on 04/11/2009 at 05:24..
nouveau: modify api slightly to allow caller to handle reloc failures

Signed-off-by: Ben Skeggs <skeggsb at beleth.(none)>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4c50630269df4201b89a538cbf8e11646f17d82

Git commit b7ed162d2912d53d03d94f9ceaebf7d96d570c04 by Ben Skeggs on 04/11/2009 at 07:31..
nouveau: turn another assertion into an error

Signed-off-by: Ben Skeggs <skeggsb at beleth.(none)>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7ed162d2912d53d03d94f9ceaebf7d96d570c04

Git commit 89cc98c0d5c1b43a883f13210c472339dde1a4cf by Chris Wilson (on behalf of Julien Cristau) on 05/11/2009 at 15:49..
Only install libdrm_intel.pc if we build libdrm_intel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89cc98c0d5c1b43a883f13210c472339dde1a4cf

Git commit 83a35b68f45cebc70152e55ed3f99db485c9a7cd by Chris Wilson on 11/11/2009 at 13:09..
intel: Export madvise

Wrap the madvise ioctl for use in APPLE_object_purgeable.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Acked-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83a35b68f45cebc70152e55ed3f99db485c9a7cd

Git commit c20706ffe56cc658a4814f89e391c14f6065ec57 by Pekka Paalanen (on behalf of Francisco Jerez) on 15/11/2009 at 16:13..
nouveau: Update some nouveau_class.h definitions from renouveau.xml.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c20706ffe56cc658a4814f89e391c14f6065ec57

Git commit a99680384ad3daaceee05b3b40dc492cf0e52a0f by Kristian Høgsberg on 17/11/2009 at 14:23..
Add makefile rule to copy headers from kernel tree
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a99680384ad3daaceee05b3b40dc492cf0e52a0f

Git commit 2b42af9a2fd8e35e920d61a212ce6b9c85354289 by Kristian Høgsberg on 17/11/2009 at 15:54..
Copy headers from kernel v2.6.32-rc6-130-g5b8f0be
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b42af9a2fd8e35e920d61a212ce6b9c85354289

Git commit ba79b1a8c2ea354c89371b5e34e0077f6ecaaa63 by Kristian Høgsberg on 17/11/2009 at 15:54..
Fix typo in i915 pipe_from_crtc_id ioctl struct name
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba79b1a8c2ea354c89371b5e34e0077f6ecaaa63

Git commit a66cf9ce68bdf9bd887f91a38ced4b59c129b3c7 by Kristian Høgsberg on 17/11/2009 at 15:54..
Use headers copied from kernel instead of shared-core
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a66cf9ce68bdf9bd887f91a38ced4b59c129b3c7

Git commit 9dd3613073aa2491cef440725fdfa0cf1e8f1a42 by Kristian Høgsberg on 17/11/2009 at 15:54..
Drop shared-core, bsd-core, linux-core and scripts subdirs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dd3613073aa2491cef440725fdfa0cf1e8f1a42

Git commit 4f57abfe66091281c9f59c14e6ea27b524b55d5b by Kristian Høgsberg on 17/11/2009 at 16:15..
Move libdrm/ up one level
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f57abfe66091281c9f59c14e6ea27b524b55d5b

Git commit e8523e087fc5dfe15b0e1af9b30d1ddac5d0314c by Kristian Høgsberg on 17/11/2009 at 16:15..
Drop stale TODO and unused ChangeLog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8523e087fc5dfe15b0e1af9b30d1ddac5d0314c

Git commit 2577764a5069ca9276e90154915797bcf873adab by Jesse Barnes on 17/11/2009 at 20:07..
drm/i915: add GETPARAM request for page flipping
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2577764a5069ca9276e90154915797bcf873adab

Git commit b4312b639d56a6cad78953af0fd4f863182007e3 by Alex Deucher (on behalf of Maciej Cencora) on 18/11/2009 at 21:07..
libdrm_radeon: add radeon_bo_is_referenced_by_cs function

Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4312b639d56a6cad78953af0fd4f863182007e3

Git commit 1b064cc428f03f753699d4d9fbe60453891a8529 by Kristian Høgsberg on 20/11/2009 at 22:08..
Update README
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b064cc428f03f753699d4d9fbe60453891a8529

Git commit 10ce0ec18806ae32a5d615c693626a085b0dd7b8 by Kristian Høgsberg on 20/11/2009 at 22:09..
Merge remote branch 'origin/master' into libdrm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10ce0ec18806ae32a5d615c693626a085b0dd7b8

Git commit b80bcffba6175c53ebe1f1bd02730de0338cc039 by Jesse Barnes (on behalf of Kristian Høgsberg) on 20/11/2009 at 22:53..
libdrm: add libdrm support for page flip ioctl
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b80bcffba6175c53ebe1f1bd02730de0338cc039

Git commit 1e1b3c0a93281ce8df42bbdddfe3e51dccc4d5ea by Jesse Barnes (on behalf of Kristian Høgsberg) on 20/11/2009 at 22:53..
modetest: add pageflip test case to modetest
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e1b3c0a93281ce8df42bbdddfe3e51dccc4d5ea

Git commit ee746a83cecd99d4c380fbc5d391399a6d9fde9e by Jesse Barnes on 20/11/2009 at 22:53..
Bump libdrm version to 2.4.16 for page flipping
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee746a83cecd99d4c380fbc5d391399a6d9fde9e

Git commit 3a87b1f497cc201a6c37fcd779019560ab7746ae by Pekka Paalanen on 20/11/2009 at 23:00..
nouveau: fix DRM headers

The nouveau_drmif.h is not the Nouveau DRM kernel ABI file, but purely
user space stuff. Remove it, it does not belong in include/drm/.

Copy the right header from Nouveau kernel v2.6.31-rc9-757-gaca551c.

Signed-off-by: Pekka Paalanen <pq at iki.fi>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a87b1f497cc201a6c37fcd779019560ab7746ae

Git commit 4f070d593cfc60b18c6ccb85af785b00ffb51db4 by Kristian Høgsberg on 21/11/2009 at 00:46..
Install kernel headers in ${includedir}/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f070d593cfc60b18c6ccb85af785b00ffb51db4

Git commit 6b3cbe7655ee7746c4418e1fb8af136774420dbd by Kristian Høgsberg on 21/11/2009 at 01:17..
Put mach64_drm.h back in to avoid breaking mesa build

We may want to drop mach64 from mesa instead, but that's a different
discussion.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b3cbe7655ee7746c4418e1fb8af136774420dbd

Git commit e5a1be87b6732d83074661d13f487cb365ba98ca by Julien Cristau on 23/11/2009 at 16:01..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5a1be87b6732d83074661d13f487cb365ba98ca

Git commit dd6cbe7acb1708a1aa8e101c6ddb80205bd1f63b by Kristian Høgsberg on 23/11/2009 at 16:26..
Drop duplicated radeon_*.h files in include/drm

These files are userspace headers and live in radeon/
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd6cbe7acb1708a1aa8e101c6ddb80205bd1f63b

Git commit 696fdb11f447b1e77803c4a15ad7062bfb79f0f0 by Kristian Høgsberg on 23/11/2009 at 16:41..
Output summary of enabled features at the end of configure.ac
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/696fdb11f447b1e77803c4a15ad7062bfb79f0f0

Git commit 863e39b56eea0ef95f9bde648fe4868d0b8e3f11 by Kristian Høgsberg on 23/11/2009 at 17:42..
Don't hardcore 'yes', use  in configure.ac output

Oops, I assumed intel was always enable, but it just defaults to on.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/863e39b56eea0ef95f9bde648fe4868d0b8e3f11

Git commit 500f5b524000ed5930301f4303744cb4c0a19b75 by Kristian Høgsberg on 23/11/2009 at 23:25..
Fix build on *BSD

This adds a minimal #ifdef clause to drm.h that we'll push upstream.
Once that goes in we can share drm.h between linux, libdrm, and
the bsd's.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/500f5b524000ed5930301f4303744cb4c0a19b75

Git commit 22d46669043d38fcd16efca773f5ed5693c0fb58 by Kristian Høgsberg on 24/11/2009 at 01:51..
Add drmGetDeviceNameFromFd function

Determines the /dev filename of the drm fd argument.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22d46669043d38fcd16efca773f5ed5693c0fb58

Git commit 170674a606f6d7869b5fa4457c07e10dd27f2771 by Robert Noland on 24/11/2009 at 15:27..
Finish fixing the build on FreeBSD
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/170674a606f6d7869b5fa4457c07e10dd27f2771

Git commit 82bf52fbcdf1e71840c2024bb2bc05a8daeaafad by Robert Noland on 24/11/2009 at 16:31..
More fixups to allow mesa to build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82bf52fbcdf1e71840c2024bb2bc05a8daeaafad

Git commit 9558f6377ffee680d6bec0808bc113b3139b0d5f by Alex Deucher on 24/11/2009 at 20:03..
Add missing DRM_MAX_MINOR define

lost in 500f5b524000ed5930301f4303744cb4c0a19b75

Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9558f6377ffee680d6bec0808bc113b3139b0d5f

Git commit 6f66de982ad6ee6967ec61a7399e600bdd9e5887 by Robert Noland on 25/11/2009 at 21:09..
Correctly set DRM_MAX_MINOR for all platforms.

DRM_MAJOR is platform specific, but not used outside of xf86drm.c
that I can find.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f66de982ad6ee6967ec61a7399e600bdd9e5887

Git commit 3e48613b482a8ca01ea5719e9cc342a9d4b28db0 by Jakob Bornecrantz on 26/11/2009 at 15:47..
Bring dirty code from old branch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e48613b482a8ca01ea5719e9cc342a9d4b28db0

Git commit 019a408a69896497ca728b703c349306efd1a225 by Jakob Bornecrantz on 30/11/2009 at 00:40..
Change the dirty ioctl a bit and comment it
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/019a408a69896497ca728b703c349306efd1a225

Git commit 60aa803dc76bbdfac72da4de4cdc3018717b0884 by Chris Wilson on 30/11/2009 at 20:02..
intel: Only store a buffer in the cache if it is retained.

If the kernel immediately frees the backing store for a buffer when
marking it purgeable, then there is not point adding to the cache. Free
it immediately, instead.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60aa803dc76bbdfac72da4de4cdc3018717b0884

Git commit e22fb797728c07fd05b195bd345fdf91bab47855 by Chris Wilson on 30/11/2009 at 22:18..
intel: Apply pessimistic alignment to in-aperture buffer size

For the older chipsets, i.e. pre-i965, which have severe alignment
restrictions for tiled buffers we need to pessimistically assume that we
will waste the size of buffer to meet those alignment constraints.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e22fb797728c07fd05b195bd345fdf91bab47855

Git commit b666f4151ab934d3083fa8b5f14ce19bbf999b15 by Chris Wilson on 30/11/2009 at 23:07..
intel: Clear bo->used_as_reloc_target flag on destroy

This allows us to keep the assert added in the previous commit that we do
not modify the tree_reloc_size after inserting the buffer into a relocation
tree, which was being hit here:

  #0  0xb78c2424 in __kernel_vsyscall ()
  #1  0xb74f6401 in raise () from /lib/libc.so.6
  #2  0xb74f7b42 in abort () from /lib/libc.so.6
  #3  0xb74ef5a8 in __assert_fail () from /lib/libc.so.6
  #4  0xb737e78b in drm_intel_bo_gem_set_in_aperture_size (bufmgr_gem=<value optimized out>, bo_gem=0x6) at intel_bufmgr_gem.c:373
  #5  0xb737f519 in drm_intel_gem_bo_set_tiling (bo=0xa1030a0, tiling_mode=0xbff6c85c, stride=0) at intel_bufmgr_gem.c:1386
  #6  0xb737f67f in drm_intel_gem_bo_unreference_final (bo=0xa1030a0, time=<value optimized out>) at intel_bufmgr_gem.c:768
  #7  0xb737f5e3 in drm_intel_gem_bo_unreference_locked_timed (bo=0xa1e50d0, time=<value optimized out>) at intel_bufmgr_gem.c:805
  #8  drm_intel_gem_bo_unreference_final (bo=0xa1e50d0, time=<value optimized out>) at intel_bufmgr_gem.c:756
  #9  0xb737fcbb in drm_intel_gem_bo_unreference (bo=0xa1e50d0) at intel_bufmgr_gem.c:821
  #10 0xb737b4e6 in drm_intel_bo_unreference (bo=0x0) at intel_bufmgr.c:80
  #11 0xb7325625 in intel_batch_flush (scrn=0x9d91f78, flush=1) at i830_batchbuffer.c:200

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b666f4151ab934d3083fa8b5f14ce19bbf999b15

Git commit 8ffd2e142e38d19326a40ff66dc99d052ce22100 by Chris Wilson on 01/12/2009 at 13:09..
intel: Wrap a few more syscalls with EINTR protection

Having been bitten by a missing EINTR check during mmap_gtt(), I thought
it prudent to add some more protection around the ioctls.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ffd2e142e38d19326a40ff66dc99d052ce22100

Git commit 9c8ad05e8bb1c954b804e40f2f975fed23c24550 by Chris Wilson on 02/12/2009 at 14:16..
intel: Remove the extra reference while validating the reloc tree

Buffers on the relocation tree are guarded by the reference to the batch
object and so do not need an extra reference whilst constructing the
list of execution buffer objects.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c8ad05e8bb1c954b804e40f2f975fed23c24550

Git commit 9fec2a8cb28d814da4fdd97b25e9cc5c10768c87 by Chris Wilson on 02/12/2009 at 14:16..
intel: Make bo_reference() inline for internal use.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fec2a8cb28d814da4fdd97b25e9cc5c10768c87

Git commit acb4aa671507aa181b3ff50ccf26a1c0d705a309 by Chris Wilson on 02/12/2009 at 14:17..
intel: Review use of errno.

Hitting this error lead to a segfault:

  intel_bufmgr_gem.c:919: Error mapping buffer 48607 (pixmap):
                          Cannot allocate memory.

because the errno was reused as the function return value after being
reset by the fprintf(), so caller thought the mapping had succeeded. The
convention established by libdrm is that the return value is the
negative errno and that uses of libdrm cannot trust the value of errno
afterwards, but must use the return code.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/acb4aa671507aa181b3ff50ccf26a1c0d705a309

Git commit b73612e4fd69565aa2c5c2e9677f3e0af1945f7d by Chris Wilson on 02/12/2009 at 14:17..
intel: Repeat execbuffer after EINTR

EAGAIN cannot be raised by the current code, but the system call maybe
interrupted and so return EINTR.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b73612e4fd69565aa2c5c2e9677f3e0af1945f7d

Git commit 792fed1e2460f96459141b5a628dd5ab4fbb87db by Chris Wilson on 02/12/2009 at 14:18..
intel: Check and propagate errors from building reloc-tree

Instead of forcing the caller to check after every emit_reloc(), we can
flag the object as being in error, propagating that error upwards through
the relocation tree, and failing the eventual batch buffer execution.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/792fed1e2460f96459141b5a628dd5ab4fbb87db

Git commit 57473c7f523f476ffa54c34e0c6312ffa66dcc5c by Chris Wilson on 02/12/2009 at 14:29..
intel: Free memory before inserting bo into cache.

This has the unfortunate behaviour of releasing our malloc cache, but
the alternative is for X to consume a couple of gigabytes of ram and
die during testing. Fortunately the extra mallocs have little impact on
performance whereas avoiding swap and death, lots.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57473c7f523f476ffa54c34e0c6312ffa66dcc5c

Git commit ac5595abc1c28b2c10a1463143e83d17415736f1 by Jakob Bornecrantz on 02/12/2009 at 18:39..
Change the number on the dirty ioctl to match upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac5595abc1c28b2c10a1463143e83d17415736f1

Git commit 53addc5d6ef7406d9fab5ea481cf68fa011870f1 by Jesse Barnes on 03/12/2009 at 22:17..
Merge branch 'pageflip' of git://people.freedesktop.org/~jbarnes/drm

Conflicts:
	include/drm/drm.h - RMFB had its signature changed to avoid uint32_t
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53addc5d6ef7406d9fab5ea481cf68fa011870f1

Git commit 14f5958f7fd9ebe8a772ea931feb044d2d5d967b by Jesse Barnes on 03/12/2009 at 22:27..
Bump event context structure version for page flipping
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14f5958f7fd9ebe8a772ea931feb044d2d5d967b

Git commit be957cc219d0811e2d1ed2a56549a03cb64a0f4b by Kristian Høgsberg on 03/12/2009 at 22:50..
Add RELEASING to document the release process
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be957cc219d0811e2d1ed2a56549a03cb64a0f4b

Git commit 3bd834a2178ee1273fd84628e87210a500f8fc84 by Jakob Bornecrantz on 02/12/2009 at 18:40..
Merge branch 'modesetting-dirty-libdrm'

Conflicts:
	include/drm/drm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3bd834a2178ee1273fd84628e87210a500f8fc84

Git commit bef7f88de9a1f40ec82cfd4d80c73802c640e5ed by Kristian Høgsberg on 03/12/2009 at 16:27..
Enable experimental APIs for distcheck
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bef7f88de9a1f40ec82cfd4d80c73802c640e5ed

Git commit db50f5127421ac8f4e3ce4eb7c27d27475781488 by Kristian Høgsberg on 03/12/2009 at 16:31..
Bump to 2.4.16 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db50f5127421ac8f4e3ce4eb7c27d27475781488

Git commit 89b5f6b6ed921b5abef25e4bd37a88a0fe8919e5 by Julien Cristau on 03/12/2009 at 21:40..
Merge tag '2.4.16' into debian-unstable

Conflicts:
	include/drm/i810_drm.h
	xf86mm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89b5f6b6ed921b5abef25e4bd37a88a0fe8919e5

Git commit d153e79f76111b72dea1f8058aab8c0ab79272d9 by Julien Cristau on 03/12/2009 at 21:42..
Bump changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d153e79f76111b72dea1f8058aab8c0ab79272d9

Git commit 3692950247627a5c98cc84ab69b069cdb65cdcd5 by Julien Cristau on 03/12/2009 at 22:07..
Update patch 01_default_perms.diff

Account for upstream move of libdrm to toplevel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3692950247627a5c98cc84ab69b069cdb65cdcd5

Git commit febf689bb4a453756de8151770518a6fcd1157dd by Julien Cristau on 03/12/2009 at 22:08..
Update libdrm2.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/febf689bb4a453756de8151770518a6fcd1157dd

Git commit cde76338155404bfb4f416ba213fe95620ee9bdd by Julien Cristau on 03/12/2009 at 22:08..
Update libdrm-intel1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cde76338155404bfb4f416ba213fe95620ee9bdd

Git commit 6e69551cce1d1a6ef06bed5fbb023dc49503d8c4 by Julien Cristau on 03/12/2009 at 22:15..
Wrap the build-depends field
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e69551cce1d1a6ef06bed5fbb023dc49503d8c4

Git commit aa83356d0efbd87726a561f9f6450fd54b45aa08 by Julien Cristau on 03/12/2009 at 22:17..
Bump debhelper build-dep, we use dh_strip --remaining-packages

Closes: #558443
Thanks, Sergio Gelato!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa83356d0efbd87726a561f9f6450fd54b45aa08

Git commit 54c7d6b56da45ba6c55e5238340a506b74241c08 by Julien Cristau on 03/12/2009 at 22:45..
Enable libdrm_radeon
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54c7d6b56da45ba6c55e5238340a506b74241c08

Git commit 6f1eba0548cd6a96e91a4e8be7b91ba6a936eb98 by Jesse Barnes on 04/12/2009 at 17:09..
modetest: fix build error due to page_flip_handler name change

Forgot to update this when pushing the pageflip bits.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f1eba0548cd6a96e91a4e8be7b91ba6a936eb98

Git commit 9707733a130098a7d9959e72ebd782d8119a23d3 by Chris Wilson on 05/12/2009 at 11:03..
intel: Expect caller to guarantee thread-safety of bo during reloc

This removes the foremost prolific user of mutexes in libdrm_intel.so.
The other uses of the bufmgr_gem->mutex to serial access to individual
bos are currently required by Mesa, and are far less frequent.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
[anholt: This chunk looks good...]
Acked-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9707733a130098a7d9959e72ebd782d8119a23d3

Git commit b84314a86ea4ad30e0f57a71b4ef0fa138fb24c6 by Jerome Glisse on 07/12/2009 at 17:30..
radeon: Use drmIoctl so we restart ioctl on EINTR or EAGAIN

This is needed as change in kernel will lead to ioctl returning
EINTR if they are interrupted.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b84314a86ea4ad30e0f57a71b4ef0fa138fb24c6

Git commit 28eae30689610faa0fe043ab869587e7699e82bf by Jakob Bornecrantz on 04/12/2009 at 15:07..
Ignore config.h.in
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28eae30689610faa0fe043ab869587e7699e82bf

Git commit 8c0571a73399c372644c8d92a136a474f3e05d48 by Jakob Bornecrantz on 04/12/2009 at 15:11..
libkms: Add libkms
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c0571a73399c372644c8d92a136a474f3e05d48

Git commit 201f5795a26ae7b5580a35b24f4e89e5cd3455b1 by Jakob Bornecrantz on 04/12/2009 at 15:11..
libkms: Change destroy api a bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/201f5795a26ae7b5580a35b24f4e89e5cd3455b1

Git commit 08371bc29013370558728dcbeeed6a23ad2f5a70 by Chris Wilson on 08/12/2009 at 22:35..
intel: Clear virtual after failing to mmap_gtt.

Don't store the error return in bo_gem->gtt_virtual or else we will
attempt to use that as a valid pointer in future mappings.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08371bc29013370558728dcbeeed6a23ad2f5a70

Git commit 7c82527b4fd4ec1642be20d8bba2d10f045c87ef by Ben Skeggs on 09/12/2009 at 04:51..
nouveau: move reloc code down, nothing to see here

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c82527b4fd4ec1642be20d8bba2d10f045c87ef

Git commit edc77dd291594e017ca0ee96a785412107ebff74 by Ben Skeggs on 09/12/2009 at 04:51..
nouveau: Use drmIoctl so we restart ioctl on EINTR or EAGAIN

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edc77dd291594e017ca0ee96a785412107ebff74

Git commit 002b3dae68d70547fe9ec73d236fcfb149793089 by Brice Goglin on 11/12/2009 at 08:20..
Add bug closer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/002b3dae68d70547fe9ec73d236fcfb149793089

Git commit 868e2ca87deba7115b0ad539b87ccfebe384262e by Brice Goglin on 11/12/2009 at 21:37..
Prepare Changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/868e2ca87deba7115b0ad539b87ccfebe384262e

Git commit 77ddc785660c4ff73706758124744f80e1734812 by Jakob Bornecrantz on 14/12/2009 at 21:53..
vmwgfx: Fetch the latest header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77ddc785660c4ff73706758124744f80e1734812

Git commit 1fd8dcd3405cd47cd65d6fb54f5730db5d813a6a by Brice Goglin on 15/12/2009 at 10:38..
mark 2.4.16-1 back to UNRELEASED since it was rejected from NEW
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1fd8dcd3405cd47cd65d6fb54f5730db5d813a6a

Git commit 641e0fa33099773f1ed3a974d63b18c0b2ba0c8c by Brice Goglin on 15/12/2009 at 10:39..
Bump linux-libc-dev dependency to 2.6.32
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/641e0fa33099773f1ed3a974d63b18c0b2ba0c8c

Git commit 59d97e7d6807d9cd076d4e8374aca1d9e8027a6b by Kristian Høgsberg on 15/12/2009 at 13:44..
modetest: Error out if pageflipping is requested but not available
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59d97e7d6807d9cd076d4e8374aca1d9e8027a6b

Git commit fbc8b2d95f5da096ee771a3e2ef6f89306679e89 by Kristian Høgsberg on 15/12/2009 at 13:44..
Be less chatty in drmSetMaster/drmDropMaster
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fbc8b2d95f5da096ee771a3e2ef6f89306679e89

Git commit 59ae02920ba422dd8249f28479ffbb6dc5d6e796 by Julien Cristau on 16/12/2009 at 13:03..
kill useless libdrm-radeon1.symbols

The libdrm_radeon api uses structs full of function pointers.  Any
change in these structs require a shlibs bump, and there's no way to
detect what version is needed using symbols alone.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59ae02920ba422dd8249f28479ffbb6dc5d6e796

Git commit f1660c249198b5cc14ebbb75107da7bcb6972033 by Ben Skeggs on 17/12/2009 at 03:07..
nouveau: remove delayed kernel bo creation

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1660c249198b5cc14ebbb75107da7bcb6972033

Git commit 125994ab30d4f0f126c62fa741ec62a52d69d7a8 by Dave Airlie on 20/12/2009 at 22:05..
radeon: straighten out the API insanity.

as Michel pointed out we are exposing too much info for these object
for this to be maintainable going forward.

This patch set minimises the exposed parts of the radeon_bo and
radeon_cs objects to the piece necessary for ddx/mesa to operate
at a decent speed.

The major problem is mesa contains a legacy BO/CS managers which we still
need to expose functionality to, and we really cannot change the API
until we can drop the non-KMS codepaths.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/125994ab30d4f0f126c62fa741ec62a52d69d7a8

Git commit 6de39fc73050a386a39c53e522098a0a784e7ff8 by Dave Airlie on 21/12/2009 at 04:59..
radeon: fix BO null check, should be in higher level fn
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6de39fc73050a386a39c53e522098a0a784e7ff8

Git commit fdb33d56de3edf27f24c6db0e6beaed823f7bc38 by Dave Airlie on 21/12/2009 at 05:03..
libdrm 2.4.17
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdb33d56de3edf27f24c6db0e6beaed823f7bc38

Git commit 5fd00ddc9f35ac99c93a40d34a5d5019b91e8750 by Francisco Jerez (on behalf of Marcin Kościelnicki) on 28/12/2009 at 16:49..
nouveau: Update nouveau_class.h with new renouveau.xml definitions.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5fd00ddc9f35ac99c93a40d34a5d5019b91e8750

Git commit cb1caaaa05ba96b98bf9af1190f6830d8b0608bc by Francisco Jerez on 28/12/2009 at 17:01..
nouveau: Update some object definitions from renouveau.xml.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb1caaaa05ba96b98bf9af1190f6830d8b0608bc

Git commit cd2e4ba9aac65d10cf790990a8b86feed1cdd774 by Younes Manton on 28/12/2009 at 23:07..
nouveau: Unreference pushbuf objects on channel destruction.

- unreference pushbuf objects on channel destruction

Based on Krzysztof Smiechowicz's patch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd2e4ba9aac65d10cf790990a8b86feed1cdd774

Git commit c5c503b519777fb9ebbaa22681a1ed81717c1d71 by Maarten Maathuis (on behalf of Marcin Slusarz) on 30/12/2009 at 21:11..
nouveau: add BEGIN_RING_NI
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5c503b519777fb9ebbaa22681a1ed81717c1d71

Git commit 559f2334ec4fc745dd978bad95284d9018107203 by Timo Aaltonen on 04/01/2010 at 11:43..
Merge commit '2.4.17' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/559f2334ec4fc745dd978bad95284d9018107203

Git commit d8bc06d6f693b5699d6ac3128e91ff4ecca3efef by Timo Aaltonen on 04/01/2010 at 11:46..
Update the changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8bc06d6f693b5699d6ac3128e91ff4ecca3efef

Git commit b9ca66c5318cd9a8990f3e6914914da34d419a32 by Timo Aaltonen on 04/01/2010 at 12:01..
Update libdrm2.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9ca66c5318cd9a8990f3e6914914da34d419a32

Git commit 6d3b8bbddd44b42d89adb1aafb7645e7f802673a by Jakob Bornecrantz on 05/01/2010 at 19:04..
vmwgfx: Add experimental vmwgfx kernel header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d3b8bbddd44b42d89adb1aafb7645e7f802673a

Git commit d6059c3dd1300662e941ccd5e55649534fbb9a63 by Jakob Bornecrantz on 05/01/2010 at 19:58..
libkms: Disable by default
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6059c3dd1300662e941ccd5e55649534fbb9a63

Git commit 2f7f7ceccab4176217c399502b3ff95df1517627 by Jakob Bornecrantz on 05/01/2010 at 19:59..
Merge branch 'master' into libkms-master

Conflicts:
	configure.ac
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f7f7ceccab4176217c399502b3ff95df1517627

Git commit dfbaffea07ba785d5a2d5493282f416488e217cc by Jakob Bornecrantz on 05/01/2010 at 20:04..
libkms: Remove duped vmwgfx_drm.h header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfbaffea07ba785d5a2d5493282f416488e217cc

Git commit 5dbc1b333b85695735dc5b484372758b9979b693 by Jakob Bornecrantz on 05/01/2010 at 20:06..
libkms: Make vmwgfx optional
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dbc1b333b85695735dc5b484372758b9979b693

Git commit d1308f4fe7f94aae51ca9f70947aea8e09597f37 by Chris Wilson on 06/01/2010 at 15:33..
modes: Retry GETRESOURCES if a hotplug event occurs between the two ioctls

Peter Clifton hit an issue whereby he had a spurious TV hotplug event
that occurred between the two GETRESOURCES ioctls that caused the kernel
to skip filling one array and led to a crash (as the size of the
allocated and initialised block of memory differed from the reported
size).

Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=25912
       Crash whilst probing modes

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reported-by: Peter Clifton <pcjc2 at cam.ac.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1308f4fe7f94aae51ca9f70947aea8e09597f37

Git commit 85fb3e55fdb7af9b5f59c1ec0f15d1950e601b05 by Chris Wilson on 06/01/2010 at 15:41..
modes: Free local resources after allocation failure in GETRESOURCES

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85fb3e55fdb7af9b5f59c1ec0f15d1950e601b05

Git commit e6c136ca7a4c54457b48be1aec2be024b3e4a28d by Chris Wilson on 06/01/2010 at 16:54..
modes: Fix previous commit for potential legal NULLs

If the count is 0, then the malloc is permitted to return NULL, so don't
throw an error in that case.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6c136ca7a4c54457b48be1aec2be024b3e4a28d

Git commit 04f90a44709a48fb932ea954011cb551659bf246 by Chris Wilson (on behalf of Peter Clifton) on 06/01/2010 at 23:46..
modes: Retry GETCONNECTOR if a hotplug event occurs between the two ioctls

If the available modes changes between the two GETCONNECTOR ioctls, that
caused the kernel to skip filling one array and led to a crash (as the size
of the allocated and initialised block of memory differed from the reported
size, and might be NULL if no modes were present at first).

This bug manifest its self on my machine due to spurious false positive
detections of a connected TV-out.

Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=25912
       Crash whilst probing modes

Based upon the similar fixes for the GETRESOURCES ioctls by Chris Wilson,
in the following commits:

    commit e6c136ca7a4c54457b48be1aec2be024b3e4a28d
    commit 85fb3e55fdb7af9b5f59c1ec0f15d1950e601b05
    commit d1308f4fe7f94aae51ca9f70947aea8e09597f37

Signed-off-by: Peter Clifton <pcjc2 at cam.ac.uk>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04f90a44709a48fb932ea954011cb551659bf246

Git commit 9042d72109d8ae448b8e0f23b93067cc37deff23 by Jakob Bornecrantz on 08/01/2010 at 03:05..
libkms: Pick driver backend via pci id that we get from udev
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9042d72109d8ae448b8e0f23b93067cc37deff23

Git commit bfa44bb8610f51d84b8d23f8c5ce903689d239c6 by Jakob Bornecrantz on 08/01/2010 at 03:05..
libkms: Add intel backend
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfa44bb8610f51d84b8d23f8c5ce903689d239c6

Git commit 5963c023b84daaacb91ae0aa4cf841acff63fd1f by Francisco Jerez on 08/01/2010 at 03:37..
nouveau: Update nouveau_class.h.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5963c023b84daaacb91ae0aa4cf841acff63fd1f

Git commit 8838bb1d63bdb8ffa808cd41b7e0ffd2e62ff7bc by Jakob Bornecrantz on 08/01/2010 at 15:19..
libkms/intel: Don't fail to create bo if we fail to tile
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8838bb1d63bdb8ffa808cd41b7e0ffd2e62ff7bc

Git commit d207a38701d664ac818829249d4d2566349bb359 by Jakob Bornecrantz on 08/01/2010 at 15:34..
tests: Add a very small libkms test
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d207a38701d664ac818829249d4d2566349bb359

Git commit d920fa9d0b54873d53f03a006d0fe3df11136b74 by Jakob Bornecrantz on 12/01/2010 at 21:10..
libkms: Use sysfs instead of udev to find driver

Udev code is still there just commented out.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d920fa9d0b54873d53f03a006d0fe3df11136b74

Git commit 06a2d6567e5aadc2e109942f71afae76a8398969 by Jakob Bornecrantz on 12/01/2010 at 21:35..
tests: Update kmstest a bit
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06a2d6567e5aadc2e109942f71afae76a8398969

Git commit b06cb754a1eee0746c40f62c51d4f0544c39c843 by Jerome Glisse on 14/01/2010 at 10:10..
radeon: indentation + trailing space cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b06cb754a1eee0746c40f62c51d4f0544c39c843

Git commit 6bf1ed2979ca56d3e8dd8938fc08e3810887ae8a by Jerome Glisse on 14/01/2010 at 10:24..
radeon: indentation & trailing space cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6bf1ed2979ca56d3e8dd8938fc08e3810887ae8a

Git commit 74937cda177363ff4ede9e2b4ea2bec04cda892e by Jerome Glisse on 14/01/2010 at 10:28..
radeon: indentation + trailing space cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74937cda177363ff4ede9e2b4ea2bec04cda892e

Git commit 2612371a626337452e598a3339355bf980f5be38 by Jerome Glisse on 14/01/2010 at 11:28..
radeon: simpler cs print function

We don't intend libdrm-radeon to become clever enough to
decode cs for all GPU we support. Better to let an external
tool do the job. This will print raw cs in an easy to parse
way.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2612371a626337452e598a3339355bf980f5be38

Git commit 320811b282d7f57b364f8414e2e7b714f89b0503 by Jerome Glisse on 14/01/2010 at 19:01..
radeon: get device id from the kernel, use it in cs_print

This allow external tools to know for which asics a cs
is destinated to.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/320811b282d7f57b364f8414e2e7b714f89b0503

Git commit 2959266188dd564975503d74e24b55013f58f861 by Jakob Bornecrantz on 15/01/2010 at 20:13..
libkms: Fix multiple map unmap in vmwgfx and add comment in intel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2959266188dd564975503d74e24b55013f58f861

Git commit a03dcc21040775e660afcfc3dc37a324d2dd2ed3 by Maarten Maathuis (on behalf of Marcin Slusarz) on 15/01/2010 at 22:02..
nouveau: fix memory leak in nouveau_channel_free
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a03dcc21040775e660afcfc3dc37a324d2dd2ed3

Git commit 3d3d87f3a70089f645facb2bff5a0b93ec0a0efd by Maarten Maathuis (on behalf of Marcin Slusarz) on 15/01/2010 at 22:02..
nouveau: disable flush_notify on channel_free

We don't want do call flush_notify when we will FIRE the RING
a couple of lines later, because grobj bound to this channel
might be already freed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d3d87f3a70089f645facb2bff5a0b93ec0a0efd

Git commit 683ddfe7d1468fe214deee0b17a12c0599a6257e by Julien Cristau on 16/01/2010 at 16:48..
Rename the build directory to not include DEB_BUILD_GNU_TYPE for no good reason.  Thanks, Colin Watson!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/683ddfe7d1468fe214deee0b17a12c0599a6257e

Git commit fe7b93fb493b76ade13ad74438acbc4d34d2f3bd by Alan Coopersmith on 17/01/2010 at 03:37..
Include alloca.h in tests/drmstat.c when configure detects it

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe7b93fb493b76ade13ad74438acbc4d34d2f3bd

Git commit b1ce1e6bfbb65cca3230762cf99d4c0775561781 by Alan Coopersmith on 17/01/2010 at 03:37..
Add support for Solaris libc atomic operations

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1ce1e6bfbb65cca3230762cf99d4c0775561781

Git commit dc1ed9952e639f3d5fb41401598d28c4a97f5a1c by Alan Coopersmith on 17/01/2010 at 03:37..
Support gcc's __FUNCTION__ for people using other compilers

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc1ed9952e639f3d5fb41401598d28c4a97f5a1c

Git commit 9de34e2dbf5a4b3df6773460071944248cf4d571 by Chris Wilson on 20/01/2010 at 10:42..
intel: Add pkg-config dependency on libdrm.so using 'Requires'
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9de34e2dbf5a4b3df6773460071944248cf4d571

Git commit 7b328122981a23f874105f333a5ec14ce887b0a8 by Ben Skeggs on 21/01/2010 at 05:18..
nouveau: fail channel creation if pushbuf init fails
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b328122981a23f874105f333a5ec14ce887b0a8

Git commit 0c6af37b54c17b9dfc8af6ff1cc413bbb05c339a by Julien Cristau on 23/01/2010 at 00:46..
Remove myself from Uploaders
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c6af37b54c17b9dfc8af6ff1cc413bbb05c339a

Git commit dfa72978609d923ab6dfb76083c56b25e8a049df by Jakob Bornecrantz on 23/01/2010 at 01:39..
libkms: Fix return value in vmwgfx_bo_create
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfa72978609d923ab6dfb76083c56b25e8a049df

Git commit f2730574f2d204eee62d6f37aa56567bd2d94a26 by Ben Skeggs (on behalf of Marcin Kościelnicki) on 27/01/2010 at 04:50..
nouveau: Update nouveau_drm.h
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2730574f2d204eee62d6f37aa56567bd2d94a26

Git commit 44a0e0a099eeeb6501359f08449dcaa5e9899398 by Jakob Bornecrantz on 28/01/2010 at 16:32..
libkms: Rework interface to not duplicate fields from kms and make formats explicit

List of changes:
Fixes the cursor size to 64x64, you still need ti supply width and height
Explicitly make the cursor format A8R8G8B8
Explicitly make the scanout format X8R8G8B8
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44a0e0a099eeeb6501359f08449dcaa5e9899398

Git commit 55ba98fadfb8909d23d6f810285504abd173f0ad by Francisco Jerez (on behalf of Marcin Slusarz) on 31/01/2010 at 15:09..
nouveau: add nouveau_resource_destroy

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55ba98fadfb8909d23d6f810285504abd173f0ad

Git commit 1c8347ebaccd39062dd671a3c8c01b71703c4489 by Brice Goglin on 31/01/2010 at 18:15..
Update debian/copyright
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c8347ebaccd39062dd671a3c8c01b71703c4489

Git commit d91cb22c130ac38a2d993509e50d88aa012756f2 by Brice Goglin on 31/01/2010 at 18:59..
Add libdrm-radeon1 symbols and update shlibs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d91cb22c130ac38a2d993509e50d88aa012756f2

Git commit 0d760e8ff93f6c45c1e35ffe95ca498b2c921006 by Brice Goglin on 31/01/2010 at 19:07..
Drop the Debian revision from the radeon symbols file
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d760e8ff93f6c45c1e35ffe95ca498b2c921006

Git commit 6a4648a3ae65144f398e272bccae712537441e22 by Brice Goglin on 31/01/2010 at 19:20..
Add bug closer
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a4648a3ae65144f398e272bccae712537441e22

Git commit a497cbae8d31a40c6285479b429f501f809e83c2 by Brice Goglin on 31/01/2010 at 19:20..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a497cbae8d31a40c6285479b429f501f809e83c2

Git commit 53e261c01db9beae3648ec675513b7ed662735f5 by Francisco Jerez on 01/02/2010 at 00:48..
nouveau: Regenerate nouveau_class.h.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53e261c01db9beae3648ec675513b7ed662735f5

Git commit 973d8d6bd04230da801a8bc19af41dbc60e1918d by Dave Airlie on 02/02/2010 at 00:57..
intel: check return value for calloc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/973d8d6bd04230da801a8bc19af41dbc60e1918d

Git commit 520c658706aa896d64f374cc74065394111f6122 by Dave Airlie on 02/02/2010 at 00:58..
radeon: enable by default now that kms is out of staging
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/520c658706aa896d64f374cc74065394111f6122

Git commit 1802e1a4e747b5906d3af10c4a53fd457eddcbb4 by Dave Airlie (on behalf of Pauli Nieminen) on 04/02/2010 at 02:14..
libdrm/radeon: Fix section size mismatch to reset the section.

If there is section size mismatch reusing the section object
makes section start fail.
Reseting the object before doing error checking prevents the
possible flood of errors.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1802e1a4e747b5906d3af10c4a53fd457eddcbb4

Git commit e4a519635f75bde38aeb5b09f2ff4efbf73453e9 by Kristian Høgsberg (on behalf of Matthew W. S. Bell) on 05/02/2010 at 00:45..
Tidy up compile warnings by cleaning up types.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4a519635f75bde38aeb5b09f2ff4efbf73453e9

Git commit fdcde592c2c48e143251672cf2e82debb07606bd by Chris Wilson on 09/02/2010 at 08:37..
intel: Account for potential pinned buffers hogging fences

As the kernel reports the total number of fences, we must guess how many
fences are likely to be pinned. In the typical system these will be only
used by the scanout buffers, of which there may be one per pipe, and any
number of manually pinned fenced buffers. So take a conservative guess
and reserve two fences for use by the system.

Note this reduces the number of fences to 3 for i915 and prior.

Reference:
  http://bugs.freedesktop.org/show_bug.cgi?id=25911
  The latest intel driver 2.10.0 causes kernel oops and system hangs

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdcde592c2c48e143251672cf2e82debb07606bd

Git commit 4f0f871730b76730ca58209181d16725b0c40184 by Chris Wilson on 10/02/2010 at 09:52..
intel: Handle resetting of input params after EINTR during SET_TILING

The SET_TILING is pernicious in that it overwrites the input arguments
following an error in order to report the current tiling state of the
buffer. This caught us by surprise as we then fed those arguments back
into to the ioctl unmodified following an EINTR and so the kernel then
reported success for the no-op. We interpreted this success as meaning
that the tiling on the buffer had changed so updated our state and
started using the buffer incorrectly in the new tiled/untiled manner.
This lead to all sorts of random corruption and GPU hangs, even though
the batch buffers would look sane (when the GPU had not wandered off
into forbidden territory).

References:

  Bug 25475 - [i915] Xorg crash / Execbuf while wedged
  http://bugs.freedesktop.org/show_bug.cgi?id=25475

  Bug 25554 - i830_uxa_prepare_access: gtt bo map failed: Input/output error
  http://bugs.freedesktop.org/show_bug.cgi?id=25554

(And probably every other weird bug in the last few months.)

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f0f871730b76730ca58209181d16725b0c40184

Git commit 4a17be4a86cde1065908576e44f3710f6d9d68af by Alex Deucher on 11/02/2010 at 00:39..
drm: a some new connector types from the kernel

Add eDP (embedded displayport) and generic TV

Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a17be4a86cde1065908576e44f3710f6d9d68af

Git commit b496c63143e9a4ca02011582329bce2df99d9b7c by Ben Skeggs (on behalf of Luca Barbieri) on 16/02/2010 at 00:16..
nouveau: interface changes for 0.0.16 DRM

This commit encompasses the changes necessary to run on top of the 0.0.16
nouveau interface, additional APIs to support the new features of the
interface, as well as code from Luca Barbieri to improve the pushbuf
interface, which just happens to break nouveau's libdrm ABI so was delayed
until now.

API changes as a result of 0.0.16 DRM interface:

1. No more bo_pin()/bo_unpin(), these were only there for UMS and we no
   longer support it.

2. Any random nouveau_bo can be submitted to the GPU as a push buffer.

3. Relocations can be applied on any nouveau_bo

This patch changes the pushbuffer ABI to:

1. No longer use/expose nouveau_pushbuffer. Everything is directly
   in nouveau_channel. This saves the extra "pushbuf" pointer dereference.

2. Use cur/end pointers instead of tracking the remaining size.
   Pushing data now only needs to alter cur and not both cur and remaining.

The goal is to make the *_RING macros faster and make the interface simpler
and cleaner in the process.

The *_RING APIs are unchanged, but those are inlined and the ABI is changed.

Also, anything accessing pushbuf->remaining instead of using AVAIL_RING
will need to be fixed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b496c63143e9a4ca02011582329bce2df99d9b7c

Git commit 88e8a8bbaf026aa10225880001ab7ca1c392168a by Ben Skeggs on 16/02/2010 at 05:42..
nouveau: bump MAX_PUSH to 512
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88e8a8bbaf026aa10225880001ab7ca1c392168a

Git commit 2d9990c7e8020d28fec4f581493696087def904f by Carl Worth on 16/02/2010 at 20:12..
Increment version to 2.4.18 for release.

The primary motivation of the release is the bug fix in commit
4f0f871730b76730ca58209181d16725b0c40184
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d9990c7e8020d28fec4f581493696087def904f

Git commit 4b6f70f20cbaccb18f122e87ac0d471356b01a59 by Marek Olšák on 18/02/2010 at 05:14..
radeon: add square-tiling flag
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b6f70f20cbaccb18f122e87ac0d471356b01a59

Git commit 50c80fb3ba301212df215571f4707e99b8db9b14 by Brice Goglin on 18/02/2010 at 07:01..
Merge tag '2.4.18' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50c80fb3ba301212df215571f4707e99b8db9b14

Git commit fefb184f6ca98ffa7ec509ebc793ae4be50039ba by Brice Goglin on 18/02/2010 at 07:03..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fefb184f6ca98ffa7ec509ebc793ae4be50039ba

Git commit c9cfe749f7c0a83f3ca00ab2a9aeb4afeee400db by Jakob Bornecrantz on 18/02/2010 at 12:28..
vmwgfx: Update kernel header
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9cfe749f7c0a83f3ca00ab2a9aeb4afeee400db

Git commit 25c0c638c417ec0d7130b06b39af89c264b89983 by Jakob Bornecrantz on 18/02/2010 at 12:28..
libkms: Add missing include file to libkms source
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25c0c638c417ec0d7130b06b39af89c264b89983

Git commit 97003c53f9d9ce8b13f6bde28eeb255c35f0c3bc by Jakob Bornecrantz on 18/02/2010 at 12:29..
libkms: Enable by default
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97003c53f9d9ce8b13f6bde28eeb255c35f0c3bc

Git commit a5c8f55397377994ceeb76ed0ff148ff89eb3a1b by Jakob Bornecrantz on 18/02/2010 at 15:29..
libkms: Use a standard version number
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5c8f55397377994ceeb76ed0ff148ff89eb3a1b

Git commit 1296cffc1e4740d3aba6e8c750f4dcabb33e732c by Brice Goglin on 18/02/2010 at 16:59..
Prepare Changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1296cffc1e4740d3aba6e8c750f4dcabb33e732c

Git commit bdcd12980b5560b32a006534a7451ed6e3502c33 by Patrice Mandin on 20/02/2010 at 10:50..
nv30: update for front/back stencil inversion

Signed-off-by: Patrice Mandin <patmandin at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdcd12980b5560b32a006534a7451ed6e3502c33

Git commit 3130f94c6ee32668cb9f0b96b6c8e308a7bb3b11 by Patrice Mandin on 20/02/2010 at 10:57..
nv30: update for 8 texture units
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3130f94c6ee32668cb9f0b96b6c8e308a7bb3b11

Git commit 80f8103d8f7fc6a6044c280690c182a963fbc435 by Cyril Brulebois on 22/02/2010 at 14:20..
Fix FTBFS on non-Linux architectures (Closes: #570851).

Replace --{enable,disable}-radeon-experimental-api configure flag with
--{enable,disable}-radeon since it got renamed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80f8103d8f7fc6a6044c280690c182a963fbc435

Git commit 8227ff7decf7f6f0934e23ff5154b49eeb6db9bd by Cyril Brulebois on 22/02/2010 at 14:24..
Add myself to Uploaders.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8227ff7decf7f6f0934e23ff5154b49eeb6db9bd

Git commit e7465f573d2123febaf2d3146dc25315b7004c67 by Cyril Brulebois on 22/02/2010 at 14:30..
Add ${misc:Depends} where it was missing, and fold all Depends.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e7465f573d2123febaf2d3146dc25315b7004c67

Git commit 83193c44c00c30e726e64579248077fe967cc486 by Cyril Brulebois on 22/02/2010 at 14:31..
Bump Standards-Version from 3.8.3 to 3.8.4 (no changes needed).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83193c44c00c30e726e64579248077fe967cc486

Git commit 57f8f3d4bc479d954a48683d1ce8f7be673ea815 by Cyril Brulebois on 22/02/2010 at 14:31..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57f8f3d4bc479d954a48683d1ce8f7be673ea815

Git commit c27ce8674deb11697e33f464dd38d24b6a117200 by Francisco Jerez on 25/02/2010 at 17:32..
nouveau: Update nouveau_class.h.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c27ce8674deb11697e33f464dd38d24b6a117200

Git commit f6dc964e1d4d43e4053b84b31e76d974af128276 by Eric Anholt on 25/02/2010 at 18:41..
intel: Add initial support for Sandybridge, and clean up the #defines.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6dc964e1d4d43e4053b84b31e76d974af128276

Git commit afd74ec555a61d7006db90f0c038ff026e76d303 by Jakob Bornecrantz (on behalf of Marcin Kościelnicki) on 28/02/2010 at 00:25..
Add config.h macro HAVE_NOUVEAU
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afd74ec555a61d7006db90f0c038ff026e76d303

Git commit 23f62721b707672816ad3461e11c7453ff75810f by Jakob Bornecrantz (on behalf of Marcin Kościelnicki) on 28/02/2010 at 00:25..
libkms/intel: Throw out unused intel_bo fields.

Acked-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23f62721b707672816ad3461e11c7453ff75810f

Git commit d5a2e776826f7a849f1cf654fde8611f687eb12c by Jakob Bornecrantz (on behalf of Marcin Kościelnicki) on 28/02/2010 at 00:25..
libkms/nouveau: Add support
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5a2e776826f7a849f1cf654fde8611f687eb12c

Git commit ecb668e1efd30512d27f5bfc331e8e754b6e15ca by Jakob Bornecrantz (on behalf of Marcin Kościelnicki) on 28/02/2010 at 00:25..
tests: Add nouveau to list of supported modules.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ecb668e1efd30512d27f5bfc331e8e754b6e15ca

Git commit 694ef59532253727176ed0ce9077ae3ec41dd457 by Jakob Bornecrantz (on behalf of Marcin Kościelnicki) on 28/02/2010 at 00:25..
tests: vrefresh is actually not * 1000.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/694ef59532253727176ed0ce9077ae3ec41dd457

Git commit 9a37455b35d746d694760cfe8850a8bf856d73c9 by Jakob Bornecrantz (on behalf of Marcin Kościelnicki) on 28/02/2010 at 00:25..
tests/modetest: Don't get_props on a connector after freeing it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a37455b35d746d694760cfe8850a8bf856d73c9

Git commit b50964027bef249a0cc3d511de05c2464e0a1e22 by Eric Anholt (on behalf of Jesse Barnes) on 02/03/2010 at 18:10..
libdrm/intel: execbuf2 support

This patch to libdrm adds support for the new execbuf2 ioctl.  If
detected, it will be used instead of the old ioctl.  By using the new
drm_intel_bufmgr_gem_enable_fenced_relocs(), you can indicate that any
time a fence register is actually required for a relocation target you
will call drm_intel_bo_emit_reloc_fence instead of
drm_intel_bo_emit_reloc, which will reduce fence register pressure.

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b50964027bef249a0cc3d511de05c2464e0a1e22

Git commit a1f9ea765ddc5cad45e36c4931663b21992727ee by Eric Anholt on 02/03/2010 at 18:12..
intel: Use an integer for chipset generation instead of many conditionals.

Saves a bunch of comparisons in hot paths.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1f9ea765ddc5cad45e36c4931663b21992727ee

Git commit cdc788d6456645072a1610aa9217e4ebae5cfc6b by Maarten Maathuis on 02/03/2010 at 22:25..
nouveau: make sure initial kalloc for user bo ends up in the right place

- Currently reloc'ing a user bo to gart will first cause an allocation in vram,
which is then written to by cpu, then the bo gets moved to gart.

Acked-by: Francisco Jerez <currojerez at riseup.net>
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdc788d6456645072a1610aa9217e4ebae5cfc6b

Git commit a0abb1b14ef60abfd1d5aacd83f06d6f94dc13a4 by Eric Anholt on 02/03/2010 at 23:39..
intel: add a comment about tiled buffer alloc height alignment from Mesa.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0abb1b14ef60abfd1d5aacd83f06d6f94dc13a4

Git commit acbaff24e071dce0d23c057c9890f3aec732b8ec by Eric Anholt on 02/03/2010 at 23:39..
intel: Fix typo in conversion from IS_GEN to bufmgr_gem->gen.

Luckily I caught the bug with the first consumer of the interface.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/acbaff24e071dce0d23c057c9890f3aec732b8ec

Git commit 292a5d73a244cec8f4d1042c6fec6618333c1e0e by Eric Anholt on 02/03/2010 at 23:39..
intel: Don't tile-align pitch for untiled buffers.

This allows Mesa to use drm_intel_bo_alloc_tiled() for its tiled
buffers, since it makes its decision about pitch before telling
libdrm.  They happen to be the same choices for the tiled case.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/292a5d73a244cec8f4d1042c6fec6618333c1e0e

Git commit 766fa7909f3a1af27e60f3529a6a3318cc406f67 by Eric Anholt on 03/03/2010 at 00:04..
intel: Don't enable execbuf2 fenced relocs unless we have execbuf2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/766fa7909f3a1af27e60f3529a6a3318cc406f67

Git commit 47102863eddee2fa6e28a922c072d0243ece6afd by Eric Anholt on 03/03/2010 at 18:08..
intel: Update the needs_fence flag of buffers on the validate list.

Fixes fbo-copyteximage on i915 with texture tiling and execbuf2 fenced
relocs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47102863eddee2fa6e28a922c072d0243ece6afd

Git commit b5495527f4c7087d430c0d1c2b83357c40b9c16c by Eric Anholt on 03/03/2010 at 19:10..
Increment version to 2.4.19 for release.

The primary motivation of this release is to expose the new execbuf2
Intel API.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5495527f4c7087d430c0d1c2b83357c40b9c16c

Git commit 3e21e3ba0090c4dbe976269409b336dc82fe3d36 by Chris Wilson on 04/03/2010 at 21:17..
intel: Propagate some more error returns

Ensure that errors from the kernel are propagated back to the caller,
and not masked with return 0;

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e21e3ba0090c4dbe976269409b336dc82fe3d36

Git commit 1d4d1e6b138aac8bd734c4c20617a43fb3337c63 by Eric Anholt on 05/03/2010 at 00:27..
intel: Only align Y-tiling pitch to the Y tile width.

Fixes piglit depth-tex-modes on gen4.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d4d1e6b138aac8bd734c4c20617a43fb3337c63

Git commit 581cafbc2493ad97ada41f03c8dd70f9ec4bf19d by Francisco Jerez on 06/03/2010 at 20:08..
nouveau: Update nouveau_class.h.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/581cafbc2493ad97ada41f03c8dd70f9ec4bf19d

Git commit a4041e096ce0faea3dd39b4d78014d45a8cacec0 by Chris Wilson on 07/03/2010 at 14:17..
intel: Repeat execbuffer if interrupted by signal

Repeat while EINTR, not EAGAIN! One more source of corruption
erradicated, hurray!

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4041e096ce0faea3dd39b4d78014d45a8cacec0

Git commit fe55151b813ad6ced60ea2fa543ca9cf4f4fe575 by Julien Cristau on 07/03/2010 at 14:32..
Include full SONAME in libdrm*.install to prevent accidental breakage.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe55151b813ad6ced60ea2fa543ca9cf4f4fe575

Git commit 04fd3872ee8bd8d5e2c27740508c67c2d51dbc11 by Francisco Jerez on 07/03/2010 at 18:58..
nouveau: Small lighting related addition to nouveau_class.h.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04fd3872ee8bd8d5e2c27740508c67c2d51dbc11

Git commit df7157fe2e28796ae1f6d938b850e08c8e1d382d by Francisco Jerez on 13/03/2010 at 17:57..
nouveau: Fix up the stride of NV20TCL_LIGHT_BACK_*.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df7157fe2e28796ae1f6d938b850e08c8e1d382d

Git commit a88e94deeaf9f642a108ef3b57436a534dc353e0 by Julien Cristau on 14/03/2010 at 23:29..
Add back the drm headers in libdrm-dev.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a88e94deeaf9f642a108ef3b57436a534dc353e0

Git commit 99da4f5ca2b9e82468a7149d9bc201579f22725e by Julien Cristau on 16/03/2010 at 11:29..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99da4f5ca2b9e82468a7149d9bc201579f22725e

Git commit 21105bc186d188f0bfc2f41c52b4b0ceb6742cf5 by Pauli Nieminen on 17/03/2010 at 09:48..
libdrm: Move intel_atomic.h to libdrm core for sharing.

intel_atomic.h includes very usefull atomic operations for
lock free parrallel access of variables. Moving these to
core libdrm for code sharing with radeon.

Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21105bc186d188f0bfc2f41c52b4b0ceb6742cf5

Git commit 966c9907c040b4fe4b288b4a9d82598797aee743 by Pauli Nieminen on 17/03/2010 at 10:42..
libdrm_radeon: Optimize cs_gem_reloc to do less looping.

bo->referenced_in_cs is checked if bo is already in cs. Adding and removing
reference in bo is done with atomic operations to allow parallel access to a
bo from multiple contexts.

cs->id generation code quarentees there is not duplicated ids which limits
number of cs->ids to 32. If there is more cs objects rest will get id 0.

V2:
 - Fix configure to check for atomics operations if libdrm_radeon is only selected.
 - Make atomic operations private to libdrm.

This optimization decreases cs_write_reloc share of torcs profiling from 4.3%
to 2.6%.

Tested-by: Michel Dänzer <michel at daenzer.net>
Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/966c9907c040b4fe4b288b4a9d82598797aee743

Git commit 30ce1fd1522ef266f172321438626813b78ed14c by Pauli Nieminen on 17/03/2010 at 12:34..
libdrm: Fix error message if libdrm_intel|radeon is disabled and there is no atomic ops.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30ce1fd1522ef266f172321438626813b78ed14c

Git commit 7c697b1670fe34b54a7b82d8ff0732845caa05a3 by Eric Anholt on 17/03/2010 at 18:15..
intel: Align untiled buffer pitch to 64B.

This is the largest untiled pitch requirement from gen2 through gen4.
It's only the case for gen3 rendering to color regions with depth, but
it's rare for this to be a significant factor in memory usage -- for
example, gen4 requires 1 or 2 times the element size, or up to 64
bytes depending on the size of the elements.  This is easier than
encoding all the various little quirks for untiled pitch alignment,
since we rarely do untiled now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c697b1670fe34b54a7b82d8ff0732845caa05a3

Git commit d271336925eee55057b6665e193b578da534a903 by Eric Anholt (on behalf of Julien Cristau) on 17/03/2010 at 19:45..
libdrm_intel.pc: don't include ${includedir}/drm

intel_bufmgr.h is installed in ${includedir} directly, and the other
headers are taken care of by libdrm.pc's Cflags.

Signed-off-by: Julien Cristau <jcristau at debian.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d271336925eee55057b6665e193b578da534a903

Git commit e73af7f560c95ba9c665bead7fc8eb1471db9975 by Eric Anholt (on behalf of Julien Cristau) on 17/03/2010 at 19:45..
libdrm_nouveau requires libdrm

nouveau_drmif.h includes xf86drm.h.

Signed-off-by: Julien Cristau <jcristau at debian.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e73af7f560c95ba9c665bead7fc8eb1471db9975

Git commit 976e779f9cd0571dd2c218580485b39d37bd18a0 by Eric Anholt (on behalf of Julien Cristau) on 17/03/2010 at 19:45..
Install headers to $(includedir)/libdrm

Avoids conflicts with kernel headers.

Signed-off-by: Julien Cristau <jcristau at debian.org>
Reviewed-by: Rémi Cardona <remi at gentoo.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/976e779f9cd0571dd2c218580485b39d37bd18a0

Git commit ef36c9a3b2828f5a11feda9e4d2708bf3a4a7a52 by Eric Anholt on 17/03/2010 at 19:49..
intel: Install the header file in the libdrm/ directory.

Suggested-by: Rémi Cardona <remi at gentoo.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef36c9a3b2828f5a11feda9e4d2708bf3a4a7a52

Git commit df9737094ee821289fbf8a0297d34b77587878a4 by Pauli Nieminen on 17/03/2010 at 20:43..
Check HAVE_RADEON only after checking for atomic operations.

Fixes problem that libdrm_radeon was disabled in Makefile even when configure
claimed that radeon was enabled.

Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df9737094ee821289fbf8a0297d34b77587878a4

Git commit 567128211511fcf3d20ccb22e65bc48508514e7a by Francisco Jerez on 18/03/2010 at 14:04..
nouveau: Regenerate nouveau_class.h.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/567128211511fcf3d20ccb22e65bc48508514e7a

Git commit a247fca8ba5759979607a514dbda4e4a63676889 by Ben Skeggs on 19/03/2010 at 00:19..
nouveau: remove unused field from nouveau_bo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a247fca8ba5759979607a514dbda4e4a63676889

Git commit df32c307e8f81b46ee8aa4dd7222fc18f175bbb3 by Ben Skeggs on 19/03/2010 at 00:19..
nouveau: fix segfault in nouveau_bo_new_tile() failure path
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df32c307e8f81b46ee8aa4dd7222fc18f175bbb3

Git commit c1c8bbf80b1f734e23996bf805dc78f32ebaf56f by Ben Skeggs on 19/03/2010 at 00:20..
nouveau: fix annoying compiler warning
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1c8bbf80b1f734e23996bf805dc78f32ebaf56f

Git commit 3279d82034f7c5d0e968fff8bbdab212f39f7fba by Brice Goglin on 24/03/2010 at 21:23..
Steal 03_revert_abi_change.diff from Ubuntu to revert the nouveau ABI change
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3279d82034f7c5d0e968fff8bbdab212f39f7fba

Git commit 9f62499e2dd1df046001d174d9a6518b3db929e4 by Brice Goglin on 24/03/2010 at 21:31..
Build a libdrm-nouveau1 package on Linux architectures (Closes: #568162).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f62499e2dd1df046001d174d9a6518b3db929e4

Git commit 197bdde16f9c405936f7a6cdce30322770022562 by Brice Goglin on 24/03/2010 at 21:31..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/197bdde16f9c405936f7a6cdce30322770022562

Git commit 245d6957794648d7fd83279c680fed6e4c262147 by Ben Skeggs on 25/03/2010 at 03:34..
Fix pkgconfig includes for /usr/include/drm
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/245d6957794648d7fd83279c680fed6e4c262147

Git commit e6b3f906cef26e1efb8625f5dd4e460b4c79a771 by Jesse Barnes on 26/03/2010 at 20:14..
modetest: add optional select codepath

For misc. testing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6b3f906cef26e1efb8625f5dd4e460b4c79a771

Git commit cc20ed8100834b7a5129ed403dee6c0e15d82cd1 by Jerome Glisse on 29/03/2010 at 14:39..
drm/radeon: tab/whitespace cleanup
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc20ed8100834b7a5129ed403dee6c0e15d82cd1

Git commit 734e3b2d1dcfe5db07cb19902617fd1212c0c186 by Cyril Brulebois on 01/04/2010 at 18:49..
Fix typo.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/734e3b2d1dcfe5db07cb19902617fd1212c0c186

Git commit c7650003c52ee29b7fa5ebf20dd134079f0b8488 by Jesse Barnes on 02/04/2010 at 20:46..
libdrm: bump version number to 2.4.20 for release

A few good fixes landed, get them out there.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7650003c52ee29b7fa5ebf20dd134079f0b8488

Git commit 5311a5d25cc0094d600bc83e437fa231369b55df by Brice Goglin on 06/04/2010 at 19:46..
Merge tag '2.4.20' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5311a5d25cc0094d600bc83e437fa231369b55df

Git commit a59993b9ce2309d4107f1837906bbc8551dce206 by Brice Goglin on 06/04/2010 at 19:47..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a59993b9ce2309d4107f1837906bbc8551dce206

Git commit aa2d788d799b1c065b9ccf111a1fe1354a921cd3 by Brice Goglin on 06/04/2010 at 19:48..
Update 03_revert_abi_change.diff
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa2d788d799b1c065b9ccf111a1fe1354a921cd3

Git commit 4039421e0b60cbb4adf563a28d973112113746bb by Brice Goglin on 06/04/2010 at 20:10..
Disable libkms for now
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4039421e0b60cbb4adf563a28d973112113746bb

Git commit 50d305e25d297eb6ab4b2b0221cdc22e77dd677e by Brice Goglin on 06/04/2010 at 20:17..
Update libdrm-intel1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50d305e25d297eb6ab4b2b0221cdc22e77dd677e

Git commit bba2b58cbe1d8512ad35b951f4cfa52144c5e2fd by Brice Goglin on 06/04/2010 at 20:21..
Update libdrm-radeon1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bba2b58cbe1d8512ad35b951f4cfa52144c5e2fd

Git commit 78de69713d742645c1c4347a06afca5b38f97184 by Jerome Glisse on 08/04/2010 at 15:53..
drm/radeon: add new cs command stream dumping facilities

Dump command stream + associated bo into a binary file
which follow a similar design as json file. It allows
to intercept a command stream and replay it in a standalone
program (see radeondb tools).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78de69713d742645c1c4347a06afca5b38f97184

Git commit 204c76c4d62c06eceacd9d603f2bc3e2f8e84270 by Ben Skeggs on 09/04/2010 at 10:38..
nouveau: stop shipping nouveau_class.h

The motivation behind this is that by shipping it here, it's essentially
an API which causes issues while bisecting across changes to the header
files.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/204c76c4d62c06eceacd9d603f2bc3e2f8e84270

Git commit 894c86e8400f13f1ee0dfe23ca4b5f98c32d9223 by Kristian Høgsberg on 09/04/2010 at 20:33..
Revert "Fix pkgconfig includes for /usr/include/drm"

This reverts commit 245d6957794648d7fd83279c680fed6e4c262147.

libdrm now install headers in ${includedir}/libdrm and /usr/include/drm
is reserved for the kernel headers.  We should only ever add one of these
to the CFLAGS.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/894c86e8400f13f1ee0dfe23ca4b5f98c32d9223

Git commit 3506173ba7e726a9d0a17ec42734a925a885b01e by Chris Wilson on 11/04/2010 at 17:48..
intel: Use the correct size when allocating reloc_target_info array

Thomas tracked down this error with kdm and commit b509640:

==4320== Invalid write of size 8
==4320==    at 0x9A97998: do_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0x9A97B9C: drm_intel_gem_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0xAED3234: intel_batchbuffer_emit_reloc (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF13827: brw_emit_vertices (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF1F14D: brw_upload_state (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF12122: brw_draw_prims (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xB256824: vbo_exec_vtx_flush (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0xB2523BB: vbo_exec_FlushVertices_internal (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0xB252411: vbo_exec_FlushVertices (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0xB195A3D: _mesa_PopAttrib (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0x8DF0F02: __glXDisp_Render (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x8DF517F: __glXDispatch (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==  Address 0x126a8b80 is 0 bytes after a block of size 16,368 alloc'd
==4320==    at 0x4C23E03: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4320==    by 0x9A97A64: do_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0x9A97B9C: drm_intel_gem_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0xAED3234: intel_batchbuffer_emit_reloc (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF191DB: upload_binding_table_pointers (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF1F14D: brw_upload_state (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF12122: brw_draw_prims (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xB255EF6: vbo_exec_DrawArrays (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0x8DF67A3: __glXDisp_DrawArrays (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x8DF0F02: __glXDisp_Render (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x8DF517F: __glXDispatch (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x446293: ??? (in /usr/bin/Xorg)

which is simply due to only allocating space for the pointers and not
the structs themselves. D'oh.

Reported-by: Thomas Bächler <thomas at archlinux.org>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3506173ba7e726a9d0a17ec42734a925a885b01e

Git commit 8bd2e9b523da35493db1bd781d4ef6bfbbeb2eff by Julien Cristau on 13/04/2010 at 12:06..
xsfbs.mk: don't use a directory as a make target

The timestamp on the directory gets updated each time a file is added in
it, which causes useless rebuilds.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8bd2e9b523da35493db1bd781d4ef6bfbbeb2eff

Git commit eebc0b4f31062ef36d918f8762c5b85da78fc027 by Cyril Brulebois on 14/04/2010 at 11:03..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eebc0b4f31062ef36d918f8762c5b85da78fc027

Git commit 107ccd92d4c5b34e99b70a2af3f83253ceb24b46 by Brice Goglin (on behalf of Kristian Høgsberg) on 16/04/2010 at 05:07..
Revert "Fix pkgconfig includes for /usr/include/drm"

This reverts commit 245d6957794648d7fd83279c680fed6e4c262147.

libdrm now install headers in ${includedir}/libdrm and /usr/include/drm
is reserved for the kernel headers.  We should only ever add one of these
to the CFLAGS.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/107ccd92d4c5b34e99b70a2af3f83253ceb24b46

Git commit 332739e3074135b00e781468ad8aaed1950f5453 by Brice Goglin (on behalf of Chris Wilson) on 16/04/2010 at 05:07..
intel: Use the correct size when allocating reloc_target_info array

Thomas tracked down this error with kdm and commit b509640:

==4320== Invalid write of size 8
==4320==    at 0x9A97998: do_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0x9A97B9C: drm_intel_gem_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0xAED3234: intel_batchbuffer_emit_reloc (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF13827: brw_emit_vertices (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF1F14D: brw_upload_state (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF12122: brw_draw_prims (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xB256824: vbo_exec_vtx_flush (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0xB2523BB: vbo_exec_FlushVertices_internal (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0xB252411: vbo_exec_FlushVertices (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0xB195A3D: _mesa_PopAttrib (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0x8DF0F02: __glXDisp_Render (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x8DF517F: __glXDispatch (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==  Address 0x126a8b80 is 0 bytes after a block of size 16,368 alloc'd
==4320==    at 0x4C23E03: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4320==    by 0x9A97A64: do_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0x9A97B9C: drm_intel_gem_bo_emit_reloc (in /usr/lib/libdrm_intel.so.1.0.0)
==4320==    by 0xAED3234: intel_batchbuffer_emit_reloc (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF191DB: upload_binding_table_pointers (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF1F14D: brw_upload_state (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xAF12122: brw_draw_prims (in /usr/lib/xorg/modules/dri/i965_dri.so)
==4320==    by 0xB255EF6: vbo_exec_DrawArrays (in /usr/lib/xorg/modules/dri/libdricore.so)
==4320==    by 0x8DF67A3: __glXDisp_DrawArrays (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x8DF0F02: __glXDisp_Render (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x8DF517F: __glXDispatch (in /usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==    by 0x446293: ??? (in /usr/bin/Xorg)

which is simply due to only allocating space for the pointers and not
the structs themselves. D'oh.

Reported-by: Thomas Bächler <thomas at archlinux.org>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/332739e3074135b00e781468ad8aaed1950f5453

Git commit 882cf719a5ddd2182b454c578658a89465e86a03 by Brice Goglin on 16/04/2010 at 05:08..
Update changelog with cherry-picked commits
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/882cf719a5ddd2182b454c578658a89465e86a03

Git commit bd4db40761a8c6f90674c92d7172ecaf34262fa9 by Brice Goglin on 16/04/2010 at 05:09..
Merge branch 'debian-unstable' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd4db40761a8c6f90674c92d7172ecaf34262fa9

Git commit a8ecb929d9f72b24dc7b45c03eaf606bc6c64bee by Brice Goglin on 16/04/2010 at 05:14..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8ecb929d9f72b24dc7b45c03eaf606bc6c64bee

Git commit b045afbd8277ad0c44e29d7c45802053c4335ccd by Julien Cristau on 16/04/2010 at 20:14..
Update serverabi rule for xserver 1.7.6.901

Add new variables ${xviddriver:Depends} and ${xinpdriver:Depends} for
drivers.  The ${xserver:Depends} variable is deprecated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b045afbd8277ad0c44e29d7c45802053c4335ccd

Git commit 3c7ae8abe1eee1b1231f7c81e9898485940901c7 by Alan Coopersmith on 17/04/2010 at 00:37..
Make libkms build default OS-dependent

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c7ae8abe1eee1b1231f7c81e9898485940901c7

Git commit c9065c5963db1b8196d278c47b8da2c33a3c49d1 by Alan Coopersmith on 17/04/2010 at 00:37..
Correct the Solaris definitions of atomic_add & atomic_dec

The #defines added in 966c9907c040b4fe4b288b4a9d82598797aee743 were
mapping these to functions that don't exist.

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9065c5963db1b8196d278c47b8da2c33a3c49d1

Git commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5 by Marek Olšák on 26/04/2010 at 18:09..
radeon: use the const qualifier in radeon_cs_write_table

Signed-off-by: Marek Olšák <maraeo at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5

Git commit c42d1a10e37cc2ff378511a058b89a6f8eddf1c0 by Jesse Barnes on 27/04/2010 at 19:43..
tests: add new vblank test

Simple test for event frequency.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c42d1a10e37cc2ff378511a058b89a6f8eddf1c0

Git commit bd991873133218605efe521715d0891ebfc61aed by Cyril Brulebois on 28/04/2010 at 01:11..
Upload again, faking a new upstream version, since a screw-up on ftpmaster side trashed all files from experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd991873133218605efe521715d0891ebfc61aed

Git commit 6293152eb065016a2e5e4fcd047c2db5c2fb0f36 by Michel Dänzer on 28/04/2010 at 13:27..
vbltest: Doesn't need intel stuff.

Fixes build without libdrm_intel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6293152eb065016a2e5e4fcd047c2db5c2fb0f36

Git commit 81fc271788605b52e85c2d11635a0371fb44605e by Cyril Brulebois on 02/05/2010 at 00:14..
Add xorg-driver-{video,input} to Provides.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81fc271788605b52e85c2d11635a0371fb44605e

Git commit 7ca558494dd3f68f29bb6ca981de9b8f49620b60 by Chris Wilson on 06/05/2010 at 21:56..
intel: We don't need to take the bufmgr lock whilst mapping.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ca558494dd3f68f29bb6ca981de9b8f49620b60

Git commit 07e7589d86624e9c1ca4c38d00cf6886e1445ae2 by Chris Wilson on 11/05/2010 at 07:54..
intel: query whether a buffer is reusable.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07e7589d86624e9c1ca4c38d00cf6886e1445ae2

Git commit 62731b84114e5dd3310b465921955db14278c256 by Kristian Høgsberg on 12/05/2010 at 17:34..
Pull in new kernel headers

Changes struct drm_mode_crtc_page_flip to use __u32 instead of uint32_t,
fixes

https://bugs.freedesktop.org/show_bug.cgi?id=26994
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62731b84114e5dd3310b465921955db14278c256

Git commit 52a3e9df629952e58bd019b8cd4cda1dd254a543 by Kristian Høgsberg (on behalf of Jonathan Callen) on 12/05/2010 at 17:55..
Only build tests in make check

Currently, all the tests for libdrm are built during 'make all', even
if you do not wish to run tests.  Attached is a patch, based on
version 2.4.15, to make the tests build in 'make check'.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52a3e9df629952e58bd019b8cd4cda1dd254a543

Git commit a3305b076c005e0d3bd55da0214e91413cf65b48 by Chris Wilson on 13/05/2010 at 07:25..
Revert "intel: We don't need to take the bufmgr lock whilst mapping."

This reverts commit 7ca558494dd3f68f29bb6ca981de9b8f49620b60.

This was pushed ahead of an essential review of bo level locking in
mesa, without which we cannot know whether removing this lock is safe.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3305b076c005e0d3bd55da0214e91413cf65b48

Git commit 9d9c3dc25564bba8bc5aad950f07d5db4e62e2c4 by Sven Joachim on 22/05/2010 at 11:45..
Merge branch 'debian-unstable' of git.debian.org:/git/pkg-xorg/xsfbs into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d9c3dc25564bba8bc5aad950f07d5db4e62e2c4

Git commit 61acc1d5cd496369b50930c6c6f85353aedcd66d by Sven Joachim on 22/05/2010 at 11:48..
debian/changelog entry for xsfbs update
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61acc1d5cd496369b50930c6c6f85353aedcd66d

Git commit e09302a94cf5446ea4539e75fb07b497ac566989 by Sven Joachim on 22/05/2010 at 15:05..
Update libdrm-nouveau1 to the ABI of Linux 2.6.34

Drop 03_revert_abi_change.diff.  Bump libdrm-nouveau shlibs and
symbols versions to 2.4.20-3~ to ensure that packages built against
this version are not used with an older libdrm-nouveau1 version.

Add versioned Breaks against older xserver-xorg-video-nouveau packages
which would segfault if used with this version of libdrm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e09302a94cf5446ea4539e75fb07b497ac566989

Git commit 0005bf184af82c1e74d372383ac266c8621598a7 by Sven Joachim on 22/05/2010 at 15:13..
Include full SONAME in libdrm-nouveau1.install
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0005bf184af82c1e74d372383ac266c8621598a7

Git commit fcf3e616eeeb289f96af1436d809f0a1a42bebb7 by Chris Wilson on 24/05/2010 at 17:38..
intel: Don't change tiling mode unless the kernel reports success.

Fixes:

  Bug 26686 - Some textures are distorted with libdrm 2.4.18 in GTAVC&GTA3
  http://bugs.freedesktop.org/show_bug.cgi?id=26686

This bug continues to haunt me. The kernel SET_TILING ioctl is
inconsistent in its return values when reporting an error. If one of its
sanity checks fail, then the input values are left unchanged. If the
kernel later fails to change the tiling mode, then the input values are
modified to match the current tiling on the object. In short, userspace
cannot trust the return values upon error and so we must assume that
upon error our current tiling mode matches reality and not update.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fcf3e616eeeb289f96af1436d809f0a1a42bebb7

Git commit 7eea8050f79d164bd1ffd40a481bb5e30d2dd467 by Christopher James Halse Rogers on 26/05/2010 at 07:31..
* Add libkms package
* Enable vmwgfx API; the kernel module is available in 2.6.34
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7eea8050f79d164bd1ffd40a481bb5e30d2dd467

Git commit 6f106971b54479b2d9c42773f3def889169cf045 by Christopher James Halse Rogers on 26/05/2010 at 07:32..
Better short description for libkms
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f106971b54479b2d9c42773f3def889169cf045

Git commit 8ebeda2f0a902dd1d8c0abfab431729173bd1fef by Julien Cristau on 26/05/2010 at 08:38..
Prepare changelog for upload
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ebeda2f0a902dd1d8c0abfab431729173bd1fef

Git commit a47a0b08dc6961d0f4b9745bf11aad2988a523b3 by Julien Cristau on 26/05/2010 at 08:42..
Merge remote branch 'origin/debian-experimental' into debian-experimental

Conflicts:
	debian/changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a47a0b08dc6961d0f4b9745bf11aad2988a523b3

Git commit a4dc0bccb3fd7717dd756fbd4ae4f5422a236580 by Christopher James Halse Rogers on 26/05/2010 at 10:23..
Only act on libkms when we're building libkms
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4dc0bccb3fd7717dd756fbd4ae4f5422a236580

Git commit 58e54f62c91aff4f4be96c6d8771ca9110969f49 by Eric Anholt on 26/05/2010 at 19:10..
intel_bufmgr_fake: fix compile warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58e54f62c91aff4f4be96c6d8771ca9110969f49

Git commit 607e228c263d5d171bd0615d5d93202dda371e5f by Eric Anholt on 26/05/2010 at 19:10..
Enable silent automake rules.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/607e228c263d5d171bd0615d5d93202dda371e5f

Git commit df58a9b5773568ce9e504acc552c175a1170d740 by Christopher James Halse Rogers on 27/05/2010 at 09:03..
Install libkms to /usr/lib.

Ubuntu installing libdrm to /lib doesn't make it right for Debian.  Gah.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df58a9b5773568ce9e504acc552c175a1170d740

Git commit ae57dcf6e063860200b7949d5e2365e80ac4aea7 by Daniel Stone on 01/06/2010 at 18:23..
libkms: Fix include paths

Otherwise xf86drm.h isn't found, or the wrong one.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae57dcf6e063860200b7949d5e2365e80ac4aea7

Git commit 73a42a645201a85ce2fe4fc77754df67e5097fc9 by Jesse Barnes on 03/06/2010 at 01:27..
add vbltest to .gitignore
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73a42a645201a85ce2fe4fc77754df67e5097fc9

Git commit 66375fd6e8d3e95df5d124883a1426460c1b8ed8 by Eric Anholt (on behalf of Zou Nan hai) on 06/06/2010 at 22:50..
intel: Add support for kernel multi-ringbuffer API.

This introduces a new API to exec on BSD ring buffer, for H.264 VLD
decoding.

Signed-off-by: Xiang Hai hao <haihao.xiang at intel.com>
Signed-off-by: Zou Nan hai <nanhai.zou at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66375fd6e8d3e95df5d124883a1426460c1b8ed8

Git commit f179137f8f5bf272b79266575121c7a04038290c by Eric Anholt on 08/06/2010 at 00:29..
Allow a buffer to point at itself and still get relocs.

I'm using this in experiments with the i965 Mesa driver.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f179137f8f5bf272b79266575121c7a04038290c

Git commit e65caeba9ed0e6c53830d944248aaae2228351ab by Chris Wilson on 09/06/2010 at 09:18..
intel: Convert to untiled pitches if surface is too large for tiling.

If the pitch is too large for the hardware to tile, recompute the
required surface size based on the untiled pitch and alignments. For the
older hardware, which has smaller limits and greater restrictions, this
may be a considerable saving in allocation size.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e65caeba9ed0e6c53830d944248aaae2228351ab

Git commit 0ec768e67aec8b1ded9bcf575ad1c0beb28cc0ca by Eric Anholt on 10/06/2010 at 15:56..
intel: Add more intermediate sizes of cache buckets between powers of 2.

We had two cases recently where the rounding to powers of two hurt
badly: 4:2:0 YUV HD video frames would round up from 2.2MB to 4MB, and
Urban Terror was hitting aperture size limitations.  For UT, this is
because mipmap trees for power of two texture sizes will land right in
the middle between two cache buckets.

By giving a few more sizes between powers of two, Urban Terror on my
945 ends up consuming 207MB of GEM objects instead of 272MB, and HD
video decode on Ironlake goes from 99MB to 75MB.

cairo-perf-diff of the benchmarks for gl and xlib shows a 1.09x and
1.06x speedup and a 1.07x, 1.08x, and 1.11x slowdown.  From this, I
think this patch was really a no-op in terms of performance for these
CPU-bound workloads.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ec768e67aec8b1ded9bcf575ad1c0beb28cc0ca

Git commit 4f7704aea76b3d93d997d2ff815541d0ac373535 by Eric Anholt on 10/06/2010 at 16:02..
intel: Fix several other paths for buffers pointing at themselves.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f7704aea76b3d93d997d2ff815541d0ac373535

Git commit b8c4e5836cf1eff3e8c666f24567bd4c2fa31140 by Eric Anholt on 10/06/2010 at 16:03..
Fix radeon distcheck.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8c4e5836cf1eff3e8c666f24567bd4c2fa31140

Git commit 65ec8d7699267cc59777d531f545a82a14341480 by Eric Anholt on 10/06/2010 at 16:03..
Bump version to 2.4.21 for release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65ec8d7699267cc59777d531f545a82a14341480

Git commit fc5e7c29e0f8543492f05a0998cead22a483de0b by Robert Hooker on 10/06/2010 at 18:42..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc5e7c29e0f8543492f05a0998cead22a483de0b

Git commit cf0a21ccc817eb8c110b75cb237283fe0eed02e3 by Robert Hooker on 10/06/2010 at 18:48..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf0a21ccc817eb8c110b75cb237283fe0eed02e3

Git commit 8165277148da2669892f3da6c34da49565f2ba3a by Robert Hooker on 10/06/2010 at 18:59..
Drop 02_build_libkms_against_in_tree_drm.diff (upstream)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8165277148da2669892f3da6c34da49565f2ba3a

Git commit b47654f4e18616d3e2c2810aba8eba205fedeb6a by Robert Hooker on 10/06/2010 at 19:08..
Refresh intel and radeon symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b47654f4e18616d3e2c2810aba8eba205fedeb6a

Git commit 12dedbc4491331de9f13e66aa10328560f28f2f0 by Robert Hooker on 10/06/2010 at 20:37..
Add 02_build_libkms_against_in_tree_drm.diff back, refresh it with just the needed hunk.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12dedbc4491331de9f13e66aa10328560f28f2f0

Git commit e3afb3b0605e650a6661306f68f8f91a6e9a7f70 by Julien Cristau on 10/06/2010 at 21:04..
Update the copyright file

Hopefully include all licenses variations and copyright statements from
the source tree.

Some oddities:
- name of copyright holder different from the name listed in the license
  notice
- second paragraph moved below the third, and still referencing the
  "next paragraph" (not included here)
- probably some others I forgot
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3afb3b0605e650a6661306f68f8f91a6e9a7f70

Git commit de345b3bae0d92e531cc9abf0e15651962ba9f23 by Julien Cristau on 10/06/2010 at 21:24..
Mark new libdrm_radeon symbols private.

They shouldn't actually be exported.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de345b3bae0d92e531cc9abf0e15651962ba9f23

Git commit 5dfb61589b4964c7413fb72953c845d8bd060f15 by Julien Cristau on 10/06/2010 at 21:24..
Mark libkms private symbols as such

Also don't set a minimum version to 2.4.20, since we didn't ship it
before anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dfb61589b4964c7413fb72953c845d8bd060f15

Git commit 119602662fcb75d635d79445a96ad68ab08ed58f by Julien Cristau on 10/06/2010 at 21:24..
Upload to experimental

Also adjust patch description to fit its update.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/119602662fcb75d635d79445a96ad68ab08ed58f

Git commit 056aa9be04e923a45ca00924caa587d6dbf8821d by Chris Wilson on 21/06/2010 at 13:25..
intel: Track tiling stride

We need to inform the kernel if the tiling stride changes and not only
for changes of the tiling mode.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/056aa9be04e923a45ca00924caa587d6dbf8821d

Git commit 1db22ff741f92b84450ec13093e070a6ad5fc857 by Chris Wilson on 21/06/2010 at 21:37..
intel: Defer tiling change to allocation.

As we now expose a method to allocate tiled buffers, it makes more sense
to defer the SET_TILING until required. Besides the slim chance that it
will be a no-op, by delaying the change we are less likely to stall on
waiting for a bound buffer to release a fence register.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1db22ff741f92b84450ec13093e070a6ad5fc857

Git commit 5eec286838118501dd79178c152000ad4cbd70e1 by Chris Wilson on 21/06/2010 at 21:37..
intel: Force stride to be 0 for I915_TILING_NONE.

When allocating a tiled buffer, if we remove the desired tiling mode due
to it being beyond hardware limits, also remove the stride. This ensures
that we only ever use stride 0 with I915_TILING_NONE.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5eec286838118501dd79178c152000ad4cbd70e1

Git commit f16b4164d686893949daa3217a011d21c5bd7f95 by Chris Wilson on 21/06/2010 at 21:37..
intel: Scan the cache for old bo once every second.

Rearrange the cache cleanup so that we always scan following a final
unreference, and guard against multiple scans in a single second.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f16b4164d686893949daa3217a011d21c5bd7f95

Git commit 13e8270504cffa96bd067dc5c792a79555e8b2d4 by Chris Wilson on 21/06/2010 at 21:37..
intel: Print out debugging message following ENOSPC

execbuffer() returns ENOSPC if it cannot fit the batch buffer into the
aperture which is the error we want to diagnose here.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13e8270504cffa96bd067dc5c792a79555e8b2d4

Git commit cd34cbeb9f5c65b25d241700f27c16b36e1ecce6 by Chris Wilson on 22/06/2010 at 10:09..
intel: Sanitise strides for linear buffers and SET_TILING

Ensure that the user doesn't attempt to specify a stride to use with a
linear buffer by forcing such to be zero.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd34cbeb9f5c65b25d241700f27c16b36e1ecce6

Git commit c7bbaca6a376f40d914d1ed33e119f2330701c9a by Chris Wilson on 22/06/2010 at 10:15..
intel: '===' != '=='

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7bbaca6a376f40d914d1ed33e119f2330701c9a

Git commit aba3502190a5bd2203e71ae2b1b7dd5aeb223905 by Chris Wilson on 22/06/2010 at 12:00..
intel: Restore SET_TILING for non-flinked bo.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aba3502190a5bd2203e71ae2b1b7dd5aeb223905

Git commit 6ea2bda5f5ec8f27359760ce580fdad3df0464df by Chris Wilson on 22/06/2010 at 12:03..
intel: Only adjust the local stride used for SET_TILING in tiled alloc

Mesa uses the returned pitch from alloc_tiled, so make sure that we set
it correctly before modifying the stride used for the SET_TILING call.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ea2bda5f5ec8f27359760ce580fdad3df0464df

Git commit 726210f87d558d558022f35bc8c839e798a19f0c by Chris Wilson on 24/06/2010 at 10:38..
intel: Limit tiled pitches to 8192 on pre-i965.

Fixes:

  Bug 28515 - Failed to allocate framebuffer when exceed 2048 width
  https://bugs.freedesktop.org/show_bug.cgi?id=28515

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/726210f87d558d558022f35bc8c839e798a19f0c

Git commit c3ddfea1a64b7aaaebfb429243c71feb0801da9d by Chris Wilson on 29/06/2010 at 19:16..
intel: Suppress the error return from setting domains after mapping.

If the mapping succeeds we have a valid pointer. If setting the domain
failures we may incur cache corruption. However the usual failure mode
is because of a hung GPU, in which case it is preferable to ignore the
minor error from setting the domain and continue on oblivious. If
these errors persist, we should rate limit the warning [or even just
remove it].

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3ddfea1a64b7aaaebfb429243c71feb0801da9d

Git commit c570b4b97b8ff71da9294aaf8242ed665f0c09c3 by Brian Paul (on behalf of Fernando Carrijo) on 01/07/2010 at 19:12..
Purge macro NEED_REPLIES

Signed-off-by: Fernando Carrijo <fcarrijo at yahoo.com.br>
Signed-off-by: Brian Paul <brianp at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c570b4b97b8ff71da9294aaf8242ed665f0c09c3

Git commit b803918f3f77c62edf22e78cb2095be399753423 by Chris Wilson on 01/07/2010 at 21:51..
drm mode: Return -errno on drmIoctl() failure

The high layers expect to receive a status code on error (on the
pessimistic assumption that the errno value will have been overwritten
by the time the failure is propagated all the way up), so convert
xf86drmMode.c to return -errno on an ioctl error and be consistent with
the rest of the libdrm API.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b803918f3f77c62edf22e78cb2095be399753423

Git commit 431f7f00db844534dbcf9a63da0d2832a3d91bff by Dave Airlie on 03/08/2010 at 22:41..
Copy headers from kernel drm-core-next
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/431f7f00db844534dbcf9a63da0d2832a3d91bff

Git commit b04515c5d6c95f573457a94267b855cceb639105 by Adam Jackson (on behalf of Benjamin Herrenschmidt) on 06/08/2010 at 13:38..
libdrm: Fix PCI domain domain support

This works in conjunction with newer kernels. If we succeed in requesting
interface 1.4, the we know the kernel provides proper domain numbers. If
not, ignore the domain number as it's bogus (except on Alpha).

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Adam Jackson <ajax at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b04515c5d6c95f573457a94267b855cceb639105

Git commit b61e81a191d3a5c269c5f7c40199aebc9ebc034c by Ben Skeggs on 18/08/2010 at 02:06..
nouveau: accept both 0.0.16 and 1.x.x

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b61e81a191d3a5c269c5f7c40199aebc9ebc034c

Git commit 8a76244a0fd09d0e3298fe68af812d7eaa4dbcb5 by Chris Wilson on 24/08/2010 at 20:29..
Free the property blob along the error path.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a76244a0fd09d0e3298fe68af812d7eaa4dbcb5

Git commit fa6c8eadbb8e39582fea1035a0f5a03e18071508 by Sven Joachim on 25/08/2010 at 12:52..
Bump libdrm-nouveau shlibs and symbols versions to 2.4.21-1

Needed because sid has 2.4.21-1~squeeze2 now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa6c8eadbb8e39582fea1035a0f5a03e18071508

Git commit 7649f7ab7bd2cfaf61b5d6901a2fe82b7128b9a0 by Sven Joachim on 25/08/2010 at 16:25..
Add lintian override for symbols-file-contains-debian-revision

We actually need 2.4.21-1 as minimal version, 2.4.21 or 2.4.21-1~
would not work.

Bump debhelper compatibility level to 6 so that we can use dh_lintian.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7649f7ab7bd2cfaf61b5d6901a2fe82b7128b9a0

Git commit a2b8270f6a31c51a6bacdfe9a62cac7ce54256db by Julien Cristau on 25/08/2010 at 21:14..
Upload to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2b8270f6a31c51a6bacdfe9a62cac7ce54256db

Git commit 23287f05cf2443ddf9e028e29beb5bd30979c6cf by Eric Anholt on 26/08/2010 at 22:45..
Avoid use of c++ reserved keyword "virtual" when using a C++ compiler.

Avoids requiring nasty hacks around libdrm headers in the new C++
parts of Mesa drivers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23287f05cf2443ddf9e028e29beb5bd30979c6cf

Git commit b8abe6139e5c6779ee87d983346f0f65bf67462e by Jesse Barnes on 07/09/2010 at 20:10..
modetest: add edp and TV connector names to the connector name array
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8abe6139e5c6779ee87d983346f0f65bf67462e

Git commit 0da84f89c2cb25416bd3bdecae24f287b08cdb76 by Jesse Barnes on 09/09/2010 at 17:27..
modetest: align fb pitch to 64 bytes

Docs say this is necessary, and the kernel now enforces this.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0da84f89c2cb25416bd3bdecae24f287b08cdb76

Git commit 7ec9a1effa4f551897f91f3b017723a8adf011d9 by Chris Wilson on 09/09/2010 at 17:57..
modetest: Fix drawing routines to use stride.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ec9a1effa4f551897f91f3b017723a8adf011d9

Git commit d1cec6d2a9d63411c70c6c37509129ea4afe07d8 by Ben Skeggs on 19/09/2010 at 22:07..
nouveau: fix thinko in drm version check

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1cec6d2a9d63411c70c6c37509129ea4afe07d8

Git commit 81fa7a9f56b1efb04658db921e5228c102548921 by Ben Skeggs on 21/09/2010 at 03:02..
nouveau: fix drm version check some more

... and make a mental note to not push commits before having coffee

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81fa7a9f56b1efb04658db921e5228c102548921

Git commit 6299722c478234a759b1ce748436197ca1a17ebf by Chris Wilson on 25/09/2010 at 20:38..
intel: Replace open-coded drmIoctl with calls to drmIoctl()

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6299722c478234a759b1ce748436197ca1a17ebf

Git commit 624e58e3e43c0b2c6803cb9263863444abeb3acb by Carl Worth on 29/09/2010 at 03:40..
Increment version to 2.4.22

For the upcoming 2.4.22 release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/624e58e3e43c0b2c6803cb9263863444abeb3acb

Git commit 7848397523998071cfd66a1e8d2c41ffcc43cb2e by Sven Joachim on 29/09/2010 at 06:47..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7848397523998071cfd66a1e8d2c41ffcc43cb2e

Git commit 55eca8de3790c3d67f6e05da3001c2aa0da5aca7 by Sven Joachim on 29/09/2010 at 06:59..
Bump changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55eca8de3790c3d67f6e05da3001c2aa0da5aca7

Git commit 96214860bb0a5e11e7d346351a1be248e3716144 by Chris Wilson on 01/10/2010 at 15:42..
intel: Downgrade error warnings to debug

As the higher layers check the error return from libdrm-intel and
are supposed to handle the error (and print their own warning in
extremis) the voluminous output on stderr is just noise and a hazard in
its own right.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96214860bb0a5e11e7d346351a1be248e3716144

Git commit b6edb32cd66c8c06e1e8f3a25a5e15447ae513e0 by Cyril Brulebois on 01/10/2010 at 22:41..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6edb32cd66c8c06e1e8f3a25a5e15447ae513e0

Git commit 1b9187c43a0c17600611edb9e299141748e87974 by Francisco Jerez on 12/10/2010 at 02:10..
nouveau: Define buffer object usage flags.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
Acked-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b9187c43a0c17600611edb9e299141748e87974

Git commit 09b1062628f2cbddb3ebae20e7b3b8a0a93acebf by Francisco Jerez on 12/10/2010 at 02:10..
nouveau: Let the user choose the push buffer size.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
Acked-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09b1062628f2cbddb3ebae20e7b3b8a0a93acebf

Git commit c5286f4a871e054b63dee8a60a6f06574c4ca1b8 by Francisco Jerez on 21/10/2010 at 21:02..
nouveau: Define the HAS_PAGEFLIP getparam.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5286f4a871e054b63dee8a60a6f06574c4ca1b8

Git commit 057fab3382c02af54126ce395c43d4e6dce9439a by Chris Wilson on 26/10/2010 at 10:41..
intel: Prepare for BLT ring split.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/057fab3382c02af54126ce395c43d4e6dce9439a

Git commit 0a1ff35c70730160973715b82112cd97c62ac13e by Adam Jackson on 27/10/2010 at 22:46..
s/drmStrdup/strdup/

_DRM_MALLOC hasn't been a relevant concern since we split libdrm out
from xserver.

Signed-off-by: Adam Jackson <ajax at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a1ff35c70730160973715b82112cd97c62ac13e

Git commit 362457715faacd3101929e5f0d8ae250d0ad09df by Chris Wilson on 29/10/2010 at 09:49..
intel: enable relaxed fence allocation for i915

The kernel has always allowed userspace to underallocate objects
supplied for fencing. However, the kernel only allocated the object size
for the fence in the GTT and so caused tiling corruption. More recently
the kernel does allocate the full fence region in the GTT for an
under-sized object and so advertises that clients may finally make use
of this feature. The biggest benefit is for texture-heavy GL games on
i945 such as World of Padman which go from needing over 1GiB of RAM to
play to fitting in the GTT!

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/362457715faacd3101929e5f0d8ae250d0ad09df

Git commit d0a4f2e292e5b347f7e5ee2cdbe4f077986eb9da by Francisco Jerez on 31/10/2010 at 01:09..
nouveau: Avoid unnecessary call to CPU_FINI.

nouveau_bo_unmap called the CPU_FINI IOCTL even if it was a NOSYNC
mapping. It caused no harmful effects (actually CPU_FINI is a no-op on
recent enough kernels) besides the precious CPU cycles being wasted.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0a4f2e292e5b347f7e5ee2cdbe4f077986eb9da

Git commit 6560b4766c37603f5167859513bdc300f89a4761 by Eric Anholt on 01/11/2010 at 13:50..
intel: Remove stale comment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6560b4766c37603f5167859513bdc300f89a4761

Git commit f45305c1aaf5d8053b047ff6c4ac177e26ae6d17 by Eric Anholt on 01/11/2010 at 13:54..
intel: Shove the fake bufmgr subdata implementation into the fake bufmgr.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f45305c1aaf5d8053b047ff6c4ac177e26ae6d17

Git commit 4abb65f95c79c9a2ec2cc1147a753704b5cdd22e by Eric Anholt on 02/11/2010 at 18:19..
intel: Remove gratuitous assert on bo_reference.

This couldn't be triggered except by overflow, since there's an assert
in unreference to catch the usual failure of over-unreferencing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4abb65f95c79c9a2ec2cc1147a753704b5cdd22e

Git commit a52e61b5c888444435929a2770f14109c3a94f2f by Eric Anholt on 02/11/2010 at 18:32..
intel: Drop silly asserts on mappings present at unmap time.

The intent of these was to catch mismatched map/unmap.  What it
actually did was check whether there was ever a mapping of that type
(including in a previous life of the buffer through the userland BO
cache), not whether they were mismatched.  We don't even actually want
to catch mismatched map/unmap, unless we also do refcounting, since at
one point Mesa would do map/map/use/unmap/unmap.  Just remove this
code instead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a52e61b5c888444435929a2770f14109c3a94f2f

Git commit fce8b79a889cebe9be38a4a07846383dd1d9fa24 by Cyril Brulebois (on behalf of Chris Wilson) on 07/11/2010 at 11:22..
intel: Prepare for BLT ring split.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
(cherry picked from commit 057fab3382c02af54126ce395c43d4e6dce9439a)

Signed-off-by: Cyril Brulebois <kibi at debian.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fce8b79a889cebe9be38a4a07846383dd1d9fa24

Git commit ef3a6654bee1aa76a2b95b0a2c7653230537e00c by Cyril Brulebois (on behalf of Chris Wilson) on 07/11/2010 at 11:22..
intel: enable relaxed fence allocation for i915

The kernel has always allowed userspace to underallocate objects
supplied for fencing. However, the kernel only allocated the object size
for the fence in the GTT and so caused tiling corruption. More recently
the kernel does allocate the full fence region in the GTT for an
under-sized object and so advertises that clients may finally make use
of this feature. The biggest benefit is for texture-heavy GL games on
i945 such as World of Padman which go from needing over 1GiB of RAM to
play to fitting in the GTT!

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
(cherry picked from commit 362457715faacd3101929e5f0d8ae250d0ad09df)

Signed-off-by: Cyril Brulebois <kibi at debian.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef3a6654bee1aa76a2b95b0a2c7653230537e00c

Git commit 49447a9b957047db2549b8a929e763bbd87808ba by Chris Wilson (on behalf of Albert Damen) on 07/11/2010 at 14:59..
intel: initialize bufmgr.bo_mrb_exec unconditionally

If bufmgr.bo_mrb_exec is not set, drm_intel_bo_mrb_exec returns ENODEV
even though drm_intel_gem_bo_mrb_exec2 will work fine for the RENDER ring.
Fixes xf86-video-intel after commit 'add BLT ring support' (5bed685f76)
with kernels without BSD or BLT ring support (2.6.34 and before).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31443
Signed-off-by: Albert Damen <albrt at gmx.net>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49447a9b957047db2549b8a929e763bbd87808ba

Git commit afce75cb0902190c35627ecfdc14da2fb545dd3a by Cyril Brulebois (on behalf of Albert Damen) on 07/11/2010 at 15:03..
intel: initialize bufmgr.bo_mrb_exec unconditionally

If bufmgr.bo_mrb_exec is not set, drm_intel_bo_mrb_exec returns ENODEV
even though drm_intel_gem_bo_mrb_exec2 will work fine for the RENDER ring.
Fixes xf86-video-intel after commit 'add BLT ring support' (5bed685f76)
with kernels without BSD or BLT ring support (2.6.34 and before).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31443
Signed-off-by: Albert Damen <albrt at gmx.net>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
(cherry picked from commit 49447a9b957047db2549b8a929e763bbd87808ba)

Signed-off-by: Cyril Brulebois <kibi at debian.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afce75cb0902190c35627ecfdc14da2fb545dd3a

Git commit bb47f01566c9bb6c73d99b3649cf617366ccd941 by Cyril Brulebois on 07/11/2010 at 21:47..
Document the cherry-pick.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb47f01566c9bb6c73d99b3649cf617366ccd941

Git commit 2589d4b9c64fb34dbcd4b0d815806b4fd2731b16 by Cyril Brulebois on 07/11/2010 at 21:51..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2589d4b9c64fb34dbcd4b0d815806b4fd2731b16

Git commit 877b2ce15b80975b4dac42657bdfb0a3da833e1c by Eric Anholt on 09/11/2010 at 21:57..
intel: Fix drm_intel_gem_bo_wait_rendering to wait for read-only usage too.

Both the consumers of this API (sync objects and client throttling)
were expecting this behavior.  The kernel used to actually behave the
desired (but incorrect) way for us anyway, but that got fixed a while
back.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/877b2ce15b80975b4dac42657bdfb0a3da833e1c

Git commit d17681d538ce86a3f8d6d1c7407df3ceb2bcc499 by Francisco Jerez on 22/11/2010 at 02:49..
nouveau: Add implicit pushbuf flush before gpuobj destruction.

It makes sure that GPU object destruction is executed in order with
respect to the previous FIFO commands.

Signed-off-by: Francisco Jerez <currojerez at riseup.net>
Acked-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d17681d538ce86a3f8d6d1c7407df3ceb2bcc499

Git commit 51b895041c65f7ec9ecda48e79279dde29258b07 by Chris Wilson on 22/11/2010 at 09:54..
intel: Compute in-aperture size for relaxed fenced objects

For relaxed fencing the object may only consume the small set of active
pages, but still requires a fence region once bound into the aperture.
This is the size we need to use when computing the maximum possible
aperture space that could be used by a single batchbuffer and so avoid
hitting ENOSPC.

Reported-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51b895041c65f7ec9ecda48e79279dde29258b07

Git commit 1443bea488f6ad47cb4469c01b35aea0377822c0 by Chris Wilson on 25/11/2010 at 16:59..
intel: Add a forward declaration of struct drm_clip_rect

... so that intel_bufmgr.h can be compiled standalone.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1443bea488f6ad47cb4469c01b35aea0377822c0

Git commit 8420743301a36dc1316fadf53bf8e1478068400a by Marek Olšák on 02/12/2010 at 03:17..
radeon: silence valgrind warnings by zeroing memory
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8420743301a36dc1316fadf53bf8e1478068400a

Git commit af3d282afbd3360245c2ef2d3552b2530f67481d by Chris Wilson on 03/12/2010 at 10:51..
intel: If the command is fenced inform the kernel

... but only account for a fenced used if the object is tiled.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af3d282afbd3360245c2ef2d3552b2530f67481d

Git commit 39e5e982242cd2b611a9dfc1e9b63f857d52da61 by Dave Airlie on 07/12/2010 at 04:26..
drm: don't do the create the node ourselves if we have udev.

this can remove nodes it shouldn't, let udev run the show.

this is needed for reliably GPU switch.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39e5e982242cd2b611a9dfc1e9b63f857d52da61

Git commit 537703fd4805e9cd352965fce642670986822d22 by Chris Wilson on 07/12/2010 at 20:34..
intel: Reorder need_fence vs fenced_command to avoid fences on gen4

gen4+ hardware doesn't use fences for GPU access and the older kernel
doesn't expect userspace to make such a mistake. So don't.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32190
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/537703fd4805e9cd352965fce642670986822d22

Git commit 000a0972c21ca1a17609e638907607470ee21751 by Chris Wilson on 10/12/2010 at 12:10..
tests: Update for ENOENT returns from unknown handles

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/000a0972c21ca1a17609e638907607470ee21751

Git commit 760c01a6af12c013bca0ad1f17c793ca813be4cc by Chris Wilson on 10/12/2010 at 12:10..
configure: Bump version to 2.4.23

To export new kernel API for Intel's 2010Q4 release.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/760c01a6af12c013bca0ad1f17c793ca813be4cc

Git commit 028439cd47efb8e8c762ca8be46387318f7da48e by Sven Joachim on 14/12/2010 at 13:24..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/028439cd47efb8e8c762ca8be46387318f7da48e

Git commit c45d209f232f9fe5818acd3f3af32fab2c25054f by Sven Joachim on 14/12/2010 at 13:29..
Bump changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c45d209f232f9fe5818acd3f3af32fab2c25054f

Git commit 4a0a6b449653042ac66a5a87b2944f828f265944 by Sven Joachim on 14/12/2010 at 13:47..
Rename libdrm-nouveau1 package to libdrm-nouveau1a

Upstream broke the ABI of libdrm-nouveau without changing soname, so
we have to change at least the package name.  Install a new lintian
override for the package-name-doesnt-match-sonames warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a0a6b449653042ac66a5a87b2944f828f265944

Git commit b8a75a799d9412320e07cddaf145c5d4d900e199 by Sven Joachim on 14/12/2010 at 14:12..
Bump symbols and shlibs versions of libdrm-nouveau1a

Mostly for documentary purposes, the numbers do not really matter.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8a75a799d9412320e07cddaf145c5d4d900e199

Git commit 2abd407d29cc6509728e2897e7b50f0d7f9a924e by Sven Joachim on 14/12/2010 at 15:09..
Use dh_prep instead of dh_clean -k

The latter is deprecated, and we're build-depending on a new enough
debhelper to use the former.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2abd407d29cc6509728e2897e7b50f0d7f9a924e

Git commit 0184bb1c6d946bcaf198f7680b3405adca676790 by Chris Wilson on 19/12/2010 at 13:01..
intel: Export CONSTANT_BUFFER addressing mode

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0184bb1c6d946bcaf198f7680b3405adca676790

Git commit ba731e7b58911e8caa4e37f0075a677d7ac2afc6 by Ben Skeggs on 21/12/2010 at 02:46..
nouveau: nvc0 drm has no concept of "notifier block"

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba731e7b58911e8caa4e37f0075a677d7ac2afc6

Git commit 45cfb9cf089cd56878b1cb5d15391d2470dbeb7c by Ben Skeggs on 21/12/2010 at 02:46..
nouveau: split pushbuf macros specific to nv04-nv50 out, and add nvc0

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45cfb9cf089cd56878b1cb5d15391d2470dbeb7c

Git commit bad5242a59aa8e31cf10749e2ac69b3c66ef7da0 by Ben Skeggs on 21/12/2010 at 02:46..
nouveau: fix up reloc_emit() to accept NULL target buffer

The nvc0 gallium drivers passes NULL here to indicate to the memory manager
that a buffer is being used, but without creating an actual reloc.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bad5242a59aa8e31cf10749e2ac69b3c66ef7da0

Git commit 27afd439e485e6ed52290d4114604eca2f28bc58 by Julien Cristau on 23/12/2010 at 16:57..
Upload to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27afd439e485e6ed52290d4114604eca2f28bc58

Git commit 6717b7579f84d05e45e7846d2b6e767760461709 by Chris Wilson on 12/01/2011 at 11:00..
intel: Fallback to old exec if no mrb_exec is available

Reported-by: Torsten Hilbrich <torsten.hilbrich at secunet.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33016
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6717b7579f84d05e45e7846d2b6e767760461709

Git commit 550fe2ca3b29ad2191eab4fdfbed9ed21e25492d by Chris Wilson on 12/01/2011 at 15:06..
intel: compile fix for previous commit after rebasing

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/550fe2ca3b29ad2191eab4fdfbed9ed21e25492d

Git commit 1302fb6a31ec45428cacce2caf1b9838b96db820 by Cyril Brulebois on 05/02/2011 at 10:26..
Update Uploaders list. Thanks, David & Brice!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1302fb6a31ec45428cacce2caf1b9838b96db820

Git commit 681f4acb147a22c1ea55126a2c6a108b24e9f267 by Cyril Brulebois on 05/02/2011 at 10:26..
Remove trailing spaces.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/681f4acb147a22c1ea55126a2c6a108b24e9f267

Git commit f7181ec00542fa7b7527111ed5e0f34790fa64cc by Cyril Brulebois on 05/02/2011 at 10:26..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7181ec00542fa7b7527111ed5e0f34790fa64cc

Git commit 53581b6210c024044e0065527d1506e6f5657ef5 by Chris Wilson on 14/02/2011 at 10:15..
intel: Set the public handle after opening by name

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53581b6210c024044e0065527d1506e6f5657ef5

Git commit 36d4939343d8789d9066f7245fa2d4fe69119dd8 by Chris Wilson on 14/02/2011 at 10:18..
intel: Remember named bo

... and if asked to open a bo by the same global name, return a fresh
reference to the previously allocated buffer.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36d4939343d8789d9066f7245fa2d4fe69119dd8

Git commit e4aa4696a44b2bb571bf7ba56ccdff921e562205 by Cyril Brulebois (on behalf of Chris Wilson) on 16/02/2011 at 10:04..
intel: Fallback to old exec if no mrb_exec is available

Reported-by: Torsten Hilbrich <torsten.hilbrich at secunet.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33016
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
(cherry picked from commit 6717b7579f84d05e45e7846d2b6e767760461709)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4aa4696a44b2bb571bf7ba56ccdff921e562205

Git commit 198d7bc698faaaf3c37d2a1b9379b3c622d44f12 by Cyril Brulebois (on behalf of Chris Wilson) on 16/02/2011 at 10:06..
intel: Set the public handle after opening by name

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
(cherry picked from commit 53581b6210c024044e0065527d1506e6f5657ef5)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/198d7bc698faaaf3c37d2a1b9379b3c622d44f12

Git commit ddf37b2005ab9635d2c6f06187ee6fa0db42a230 by Cyril Brulebois (on behalf of Chris Wilson) on 16/02/2011 at 10:06..
intel: Remember named bo

... and if asked to open a bo by the same global name, return a fresh
reference to the previously allocated buffer.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
(cherry picked from commit 36d4939343d8789d9066f7245fa2d4fe69119dd8)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddf37b2005ab9635d2c6f06187ee6fa0db42a230

Git commit 961bd23b6adb02726bd3307d1b53feedfa592945 by Cyril Brulebois on 16/02/2011 at 10:11..
Document cherry-picking fixes, and close #612766.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/961bd23b6adb02726bd3307d1b53feedfa592945

Git commit 070f3a6c02359e5966a747b5aa79d2bdf21140b6 by Cyril Brulebois on 16/02/2011 at 10:32..
Bump dependency to 2.4.23-3 for the drm_intel_bo_mrb_exec symbol.

Hopefully closes: #609299.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/070f3a6c02359e5966a747b5aa79d2bdf21140b6

Git commit ff3f97e2d8f6643324361806f86379675c7d25a9 by Cyril Brulebois on 16/02/2011 at 10:39..
Bump the libdrm-intel1 shlibs version for consistency.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff3f97e2d8f6643324361806f86379675c7d25a9

Git commit af6d552526b32d1b713a0fe9c4f9c1385b945a2e by Cyril Brulebois on 16/02/2011 at 10:40..
Make lintian/backporters happy…
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af6d552526b32d1b713a0fe9c4f9c1385b945a2e

Git commit 8dbd9c6ac6f5a5803a39b93d65cdd9a9fb7e21b2 by Cyril Brulebois on 16/02/2011 at 10:44..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8dbd9c6ac6f5a5803a39b93d65cdd9a9fb7e21b2

Git commit ed7d177f66885dfbc4e8410154559c4767fefa9f by Benjamin Franzke (on behalf of nobled) on 17/02/2011 at 08:26..
libkms/radeon: Add backend

Todo: What tiling should be set on scanout buffers?

Haven't tested besides compiling it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed7d177f66885dfbc4e8410154559c4767fefa9f

Git commit c75fe3ae738732afda3a7d4222bb3828ed9ef7a8 by Benjamin Franzke on 17/02/2011 at 09:46..
configure.ac: ac_define HAVE_RADEON
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c75fe3ae738732afda3a7d4222bb3828ed9ef7a8

Git commit 8fef29093fae2a08f8c1cb4946687bf4bb62a1ca by Benjamin Franzke on 17/02/2011 at 13:06..
modetest: Create buffers using libkms
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fef29093fae2a08f8c1cb4946687bf4bb62a1ca

Git commit 17762467850618323f59e91702e3fc0749fbceac by Benjamin Franzke on 17/02/2011 at 13:07..
tests/modeprint: Remove needless dependency on drm_intel
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17762467850618323f59e91702e3fc0749fbceac

Git commit 51c6ae4c3a0e5527d3c6e1632b21546baaba0b29 by Benjamin Franzke on 17/02/2011 at 13:09..
tests/modeprint: Output masks as hex numbers
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51c6ae4c3a0e5527d3c6e1632b21546baaba0b29

Git commit a697fb6acad7992c3d23bb6a663663694782eb7b by Benjamin Franzke on 17/02/2011 at 19:40..
modetest: Do no flip twice to a current front buffer

The incorrect order was:
fb, other_fb, other_fb, fb_id, other_fb, ..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a697fb6acad7992c3d23bb6a663663694782eb7b

Git commit 9a71ed93f48f4b319148913a6b56751f6341f078 by Daniel Vetter on 22/02/2011 at 17:53..
intel: fix relaxed tiling on gen2

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a71ed93f48f4b319148913a6b56751f6341f078

Git commit e6018c25ca63fa6066d8fa6e57373030d07b0392 by Daniel Vetter on 22/02/2011 at 18:11..
intel: Fixup for the fix for relaxed tiling on gen2

This is Fail.

First patch to libdrm, and I've borked it up.

Noticed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6018c25ca63fa6066d8fa6e57373030d07b0392

Git commit 0209428b3918c4336018da9293cdcbf7f8fedfb6 by Chris Wilson on 01/03/2011 at 16:02..
intel: Add I915_PARAM_HAS_RELAXED_DELTA

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0209428b3918c4336018da9293cdcbf7f8fedfb6

Git commit a926a043b8079a8e283aa231e3c2347f5ad5864f by Chris Wilson on 01/03/2011 at 18:24..
configure: Bump version to 2.4.24

New kernel headers.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a926a043b8079a8e283aa231e3c2347f5ad5864f

Git commit 9c79f727d7590f18e6455c99081c51a4c739f71c by Christopher James Halse Rogers on 04/03/2011 at 00:21..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c79f727d7590f18e6455c99081c51a4c739f71c

Git commit d9f77af478d9d4b9225df97632701b18588a0bab by Christopher James Halse Rogers on 04/03/2011 at 01:32..
Revert "intel: Fallback to old exec if no mrb_exec is available"

It seems git got confused by an upstream rebase and didn't merge this
cherry-pick with the original commit which causes the build to fail.

This reverts commit e4aa4696a44b2bb571bf7ba56ccdff921e562205.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9f77af478d9d4b9225df97632701b18588a0bab

Git commit 5be062e94c857e8c76b6e8a87ec5e0d5ceb0f9b6 by Christopher James Halse Rogers on 04/03/2011 at 01:53..
Changelog entry for new upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5be062e94c857e8c76b6e8a87ec5e0d5ceb0f9b6

Git commit a11ea35f4ffb32591da33dba6e242d246d58ad7d by Christopher James Halse Rogers on 04/03/2011 at 01:56..
Add new radeon symbols to libkms
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a11ea35f4ffb32591da33dba6e242d246d58ad7d

Git commit 3293eb95cabc83f5d2282c2890919c07e6af5205 by Kristian Høgsberg (on behalf of Matt Turner) on 04/03/2011 at 02:27..
don't try to build modetest without libkms

Signed-off-by: Matt Turner <mattst88 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3293eb95cabc83f5d2282c2890919c07e6af5205

Git commit edd41db37deb21aab5154b94354fe9470fc59cf3 by Kristian Høgsberg on 04/03/2011 at 02:35..
Build modetest for all chipsets, always build modeprint
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edd41db37deb21aab5154b94354fe9470fc59cf3

Git commit 4473a7e8234da6d16f4ccfa660fbd72ff1b7dd95 by Dave Airlie on 04/03/2011 at 04:46..
drm: add dumb interface
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4473a7e8234da6d16f4ccfa660fbd72ff1b7dd95

Git commit 5c6c6913d1260024e5d156db7973c9e46fe1ff03 by Dave Airlie (on behalf of Ben Skeggs) on 04/03/2011 at 05:25..
Implement drmGetCap() to query device/driver capabilities

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c6c6913d1260024e5d156db7973c9e46fe1ff03

Git commit bb994653667986757b4c906b8f144737667f7374 by Dave Airlie on 04/03/2011 at 05:25..
libkms: add dumb support

this uses the drm cap interface to check if the dumb ioctl
is supported.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb994653667986757b4c906b8f144737667f7374

Git commit 3b04c73650b5e9bbcb602fdb8cea0b16ad82d0c0 by Dave Airlie on 04/03/2011 at 05:48..
libdrm: oops fix get cap return value.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b04c73650b5e9bbcb602fdb8cea0b16ad82d0c0

Git commit fefbe7bcf96610372f6344ecd626d8b54b369b4a by Cyril Brulebois on 05/03/2011 at 19:17..
Add a reminder for lintian warning.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fefbe7bcf96610372f6344ecd626d8b54b369b4a

Git commit 80190376c877b3cc1fbd9888e225071f4d2bf1bd by Cyril Brulebois on 05/03/2011 at 19:27..
No need to mention previous cherry-picks.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80190376c877b3cc1fbd9888e225071f4d2bf1bd

Git commit 6c26ff465e0f680800864db026da6a98723a8412 by Cyril Brulebois on 05/03/2011 at 19:27..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c26ff465e0f680800864db026da6a98723a8412

Git commit bb14fd7d6ba25d989527cc1fd5a61a76aca417eb by Steve Langasek on 20/03/2011 at 03:24..
Build for multiarch

Install the libraries in the multiarch paths as described at
<http://wiki.debian.org/Multiarch/Implementation>.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb14fd7d6ba25d989527cc1fd5a61a76aca417eb

Git commit a3853a0540b739370fbeb6f252df15b3c4ec629a by Steve Langasek on 20/03/2011 at 03:55..
the rest of these packages are also multiarch clean; mark them as such
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3853a0540b739370fbeb6f252df15b3c4ec629a

Git commit fd3ed34a2070fca3804baf54ece40d0bc2666226 by Chris Wilson (on behalf of Javier Jardón) on 21/03/2011 at 13:43..
build: Update autotools configuration

Replace some deprecated autoconf macros and use the new libtool
syntax
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd3ed34a2070fca3804baf54ece40d0bc2666226

Git commit 06ebbf7c2c071c8a4f32d3cfac914874fe981054 by Daniel Vetter on 26/03/2011 at 14:04..
Cleanup gen2 tiling confusion

A tile on gen2 has a size of 2kb, stride of 128 bytes and 16 rows.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06ebbf7c2c071c8a4f32d3cfac914874fe981054

Git commit 5cb554a0d6e986f2d7300a91d95983fa09b17f65 by Dave Airlie on 29/03/2011 at 20:11..
drm_mode: fix types on recently added ioctls
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5cb554a0d6e986f2d7300a91d95983fa09b17f65

Git commit f395b0a25c9f99688e7b2799ac02f1f930f24e09 by Chris Wilson on 04/04/2011 at 07:59..
intel: Also handle mrb_exec fallback with ring == I915_EXEC_RENDER

Reported-by: Oliver McFadden <oliver.mcfadden at nokia.com>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f395b0a25c9f99688e7b2799ac02f1f930f24e09

Git commit be8802a9414e85ba07ae257fccadd245fcf7c7b6 by Alex Deucher (on behalf of Ilija Hadzic) on 04/04/2011 at 15:04..
libdrm: (revised) vblank wait on crtc > 1

Hi Alex,

Enclosed is a revised version of the patch sent on Mar 18, against
the master branch of the drm userspace (i.e. libdrm). Details
summarised in this thread:
http://lists.freedesktop.org/archives/dri-devel/2011-March/009499.html

This patch reconciles libdrm with the the kernel change that Dave
pushed this morning. It *supersedes* the previously sent patch (i.e.
apply it to the master branch as it exists at the time of this writing,
not as an incremental patch to the one sent previously).

Regards,

Ilija

Signed-off-by: Ilija Hadzic <ihadzic at research.bell-labs.com>
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be8802a9414e85ba07ae257fccadd245fcf7c7b6

Git commit 2dbd5ecb719d4d5d88ccad0a71c68cc1dbbd7d75 by Cyril Brulebois on 10/04/2011 at 20:51..
Bump changelog for unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dbd5ecb719d4d5d88ccad0a71c68cc1dbbd7d75

Git commit 8e069a0b0451aac2b9ee09fb0b91f60fe68b8a56 by Cyril Brulebois on 10/04/2011 at 20:56..
Mention upstream git URL in a comment.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e069a0b0451aac2b9ee09fb0b91f60fe68b8a56

Git commit 2f0483128b47a19a91352b27abf71a820ba90f28 by Cyril Brulebois on 10/04/2011 at 20:57..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f0483128b47a19a91352b27abf71a820ba90f28

Git commit ba11501bb9f5bd98110dfe1385b4501c0a9a643a by Chris Wilson on 11/04/2011 at 07:25..
configure: version bump for 2.4.25 release

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba11501bb9f5bd98110dfe1385b4501c0a9a643a

Git commit 7e8361993321edf65b9e63303cb7bd4682c91f18 by Cyril Brulebois on 18/04/2011 at 20:22..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e8361993321edf65b9e63303cb7bd4682c91f18

Git commit 0b331b0c9da7def9e115257c7b53fd86223afbd3 by Cyril Brulebois on 18/04/2011 at 20:23..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b331b0c9da7def9e115257c7b53fd86223afbd3

Git commit 318ab622d783cdabc7b9d62985b21b452ef86027 by Cyril Brulebois on 18/04/2011 at 21:24..
Update libdrm2.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/318ab622d783cdabc7b9d62985b21b452ef86027

Git commit f37180918764c3a6963bdff2e5351255fff394fc by Cyril Brulebois on 18/04/2011 at 21:28..
Update libkms1.symbols, marking dumb_create at Base as private.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f37180918764c3a6963bdff2e5351255fff394fc

Git commit a8d97776ce2fd5ce212a9377077201fc1c97d7b3 by Cyril Brulebois on 19/04/2011 at 00:29..
Switch to dh.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8d97776ce2fd5ce212a9377077201fc1c97d7b3

Git commit 27b233211c7a21bee24315915f42689b29cba8fc by Cyril Brulebois on 19/04/2011 at 00:29..
Add patch to fix make check.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27b233211c7a21bee24315915f42689b29cba8fc

Git commit 0c5a0e5dae59f871803978cbf841fc9310826174 by Cyril Brulebois on 19/04/2011 at 00:39..
Add libudev-dev build-dep on Linux so that detection works.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c5a0e5dae59f871803978cbf841fc9310826174

Git commit 874310ddf2ff5d01ad3794be1c221c0f28db6ae6 by Cyril Brulebois on 19/04/2011 at 00:52..
Since the testsuite just got enabled, let's not bail out if it fails.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/874310ddf2ff5d01ad3794be1c221c0f28db6ae6

Git commit ef9924c5181125101556d2bc4dbe15ebcdb21098 by Cyril Brulebois on 19/04/2011 at 00:56..
Remove xsfbs as it's no longer needed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef9924c5181125101556d2bc4dbe15ebcdb21098

Git commit 5d77322c4117871de92b16a9ed8b6c9c476f2dfe by Cyril Brulebois on 19/04/2011 at 00:57..
Bump Standards-Version (no changes needed).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d77322c4117871de92b16a9ed8b6c9c476f2dfe

Git commit e039fac82ba1dbbaa431fbe3d841fd90ca57ca19 by Cyril Brulebois on 19/04/2011 at 00:57..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e039fac82ba1dbbaa431fbe3d841fd90ca57ca19

Git commit 61be94018ae9c403517d53f69357719224fa6ff3 by Chris Wilson on 14/05/2011 at 10:17..
libkms: All current BO_TYPE are 32bpp

... so request a 32bpp dumb buffer rather than a 16bpp.

Fixes modetest and friends.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61be94018ae9c403517d53f69357719224fa6ff3

Git commit c1ab9be89978e029282495f6d4fde8e298166054 by Cyril Brulebois on 16/05/2011 at 17:15..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1ab9be89978e029282495f6d4fde8e298166054

Git commit 9d77603d8b95aee4f2408e437c55af15ee05b608 by Chris Wilson on 04/06/2011 at 12:01..
intel: Add interface to query aperture sizes.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d77603d8b95aee4f2408e437c55af15ee05b608

Git commit 6dd804c5a92104042b8be0a67d107946394a0b7a by Chris Wilson on 04/06/2011 at 12:01..
configure: version bump for 2.4.26 release

Push the new Intel API for use by mesa.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dd804c5a92104042b8be0a67d107946394a0b7a

Git commit 4438213695ce87e83ce02e1b91ae757e601cfd84 by Julien Cristau on 09/06/2011 at 17:50..
Merge remote branch 'origin/multiarch' into debian-unstable

Conflicts:
	debian/control
	debian/rules
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4438213695ce87e83ce02e1b91ae757e601cfd84

Git commit ce8ce08657202ca8a254f8fc02a3d3f6d9d3dabb by Julien Cristau on 09/06/2011 at 17:57..
Add changelog entry
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce8ce08657202ca8a254f8fc02a3d3f6d9d3dabb

Git commit cb38517b4494dedf1325a8ffbe3bcc0798ae14c4 by Julien Cristau on 09/06/2011 at 18:01..
Add lintian overrides for symbols-declares-dependency-on-other-package

We use that for private symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb38517b4494dedf1325a8ffbe3bcc0798ae14c4

Git commit 514f38a13b15767ef4f1d4f0487aaea56f5d4436 by Julien Cristau on 09/06/2011 at 18:03..
Bump Standards-Version to 3.9.2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/514f38a13b15767ef4f1d4f0487aaea56f5d4436

Git commit b7b99dbe72246771a0c1365bc5b25f76ac36db7f by Julien Cristau on 09/06/2011 at 18:06..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7b99dbe72246771a0c1365bc5b25f76ac36db7f

Git commit 673f04a3ee796e4849ad521979ff2b671c2ecb9f by Cyril Brulebois on 24/06/2011 at 14:59..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/673f04a3ee796e4849ad521979ff2b671c2ecb9f

Git commit f79e6a4f95b538b2b9e70b6c74b0f00410965879 by Cyril Brulebois on 24/06/2011 at 15:00..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f79e6a4f95b538b2b9e70b6c74b0f00410965879

Git commit 0cadb56dc138fe2142c1f6332dfa177f63547755 by Cyril Brulebois on 24/06/2011 at 15:01..
Add libpciaccess-dev build-dep.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cadb56dc138fe2142c1f6332dfa177f63547755

Git commit 6bc3b76da1bf8b461784345bc9084324d2e35337 by Cyril Brulebois on 24/06/2011 at 15:07..
Update libdrm-intel1.symbols and shlibs for new aperture-related symbol.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6bc3b76da1bf8b461784345bc9084324d2e35337

Git commit 9845da0fc73a1e3f926c4f83c25bc2d91c63eb0e by Cyril Brulebois on 24/06/2011 at 15:07..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9845da0fc73a1e3f926c4f83c25bc2d91c63eb0e

Git commit 8d055890d90c3d92647e3d8b98d32630ef87c2c8 by Chris Wilson (on behalf of Chih-Wei Huang) on 12/07/2011 at 08:52..
Specify the return type explicitly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d055890d90c3d92647e3d8b98d32630ef87c2c8

Git commit ce317a6d09bb93cff73703b06e5a5bc3cc0b1c6a by Eric Anholt (on behalf of Yuanhan Liu) on 20/07/2011 at 17:46..
intel: fix the wrong method check for bo_get_subdata

It's going to call bo_get_subdata method, but not bo_subdata

Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce317a6d09bb93cff73703b06e5a5bc3cc0b1c6a

Git commit 2acaf160df584a5ef7b5c5b84819389948cd97ad by Ben Widawsky on 01/08/2011 at 21:44..
intel: shared header for shader debugging

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2acaf160df584a5ef7b5c5b84819389948cd97ad

Git commit 763b618d55a973807823bb1a1c6e60b9e2db6d8b by Marcin Slusarz on 18/09/2011 at 13:25..
drm mode: fix drmIoctl wrapper

Both drmIoctl and ioctl define second argument as unigned long.

Debugging/tracing tools (like strace or valgrind) on 64-bit machines see
different request value for ioctls with 32nd bit set, because casting
signed int to unsigned long extends 32nd bit to upper word, so 0x80000000
becomes 0xFFFFFFFF80000000)

Nobody noticed because higher 32 bits are chopped off on their way to kernel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/763b618d55a973807823bb1a1c6e60b9e2db6d8b

Git commit 7d8381614174c6c70c5676cb230f0d9b034b27aa by Marcin Slusarz on 18/09/2011 at 13:26..
nouveau: assert argument cannot have side effects

... because argument is evaluated only if NDEBUG is not defined
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d8381614174c6c70c5676cb230f0d9b034b27aa

Git commit 1459cb9252e3a07292d3e64ce961f738cd01eae4 by Matt Turner on 21/09/2011 at 15:02..
modeprint.c: use PRIu64 for printing uint64_t

Signed-off-by: Matt Turner <mattst88 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1459cb9252e3a07292d3e64ce961f738cd01eae4

Git commit 630dd26fb41c64c1e61be6e929e025c1528e9046 by Daniel Vetter on 22/09/2011 at 20:20..
drm/intel: don't clobber bufmgr->pci_device

Otherwise it's pretty hard to differentiate the different chipset
variants.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/630dd26fb41c64c1e61be6e929e025c1528e9046

Git commit 194aa1bee632c6dce19238664eb8373e3483de55 by Daniel Vetter on 22/09/2011 at 20:20..
drm/i915: y tiling on i915G/i915GM is different

Luckily the kernel has become extremely paranoid about such matters.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/194aa1bee632c6dce19238664eb8373e3483de55

Git commit cfee5218b17a2741e5519ed44091171e01f0dbb2 by Chris Wilson (on behalf of Tapani Pälli) on 23/09/2011 at 11:58..
xf86drm.h : wrap C code for C++ compilation/linking

To enable usage of xf86drm.h from C++ programs/frameworks.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
[ickle: also wrap xf86drmMode.h]
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfee5218b17a2741e5519ed44091171e01f0dbb2

Git commit 3a551c127439b2d5cad5c7ca817feab1ca4c78c5 by Dave Airlie on 26/09/2011 at 14:54..
drm/test: handle usub being empty

fixes a segfault on make check seen in tinderbox
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a551c127439b2d5cad5c7ca817feab1ca4c78c5

Git commit c82ef03e4c92017bf5644f294ea04e30500f8d4c by Dave Airlie on 26/09/2011 at 15:03..
drmtest: make check should fail so hard on unable to open device
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c82ef03e4c92017bf5644f294ea04e30500f8d4c

Git commit b317c96361f88a0a4ccb2faeff09b0476d142c68 by Jesse Barnes on 11/10/2011 at 18:10..
modetest: use 24 bit depth on the framebuffer

It's more compatible; at least the Intel driver now rejects 32 bit
depths since it generally can't support real 32 bit framebuffers
(supports 30, 36, and 64 bit, but not 32).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b317c96361f88a0a4ccb2faeff09b0476d142c68

Git commit dc11db2e282c522219bb6e419eb648f3e836bdc0 by Jakob Bornecrantz on 19/10/2011 at 11:35..
tests: Add vmwgfx driver to probed drivers in tests

Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc11db2e282c522219bb6e419eb648f3e836bdc0

Git commit c2925e51979fcb829962e7bf66c13cbc96c39db1 by Jakob Bornecrantz on 19/10/2011 at 11:35..
vbltest: Check error codes returned from libdrm

Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2925e51979fcb829962e7bf66c13cbc96c39db1

Git commit 3c8adda6e1e6b0471b3d70a63d795622bbeb1580 by Jakob Bornecrantz on 19/10/2011 at 11:35..
modetest: Check error message from pageflip ioctl

Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c8adda6e1e6b0471b3d70a63d795622bbeb1580

Git commit 680b9c4fa3dfb329bd74ec08c17cfc876ea2fc5b by Jakob Bornecrantz on 19/10/2011 at 11:35..
modetest: Print extra info if we fail to create a framebuffer

Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/680b9c4fa3dfb329bd74ec08c17cfc876ea2fc5b

Git commit d23146f3f0ad14c8ad482a4832cae859c8d646f2 by Jakob Bornecrantz on 19/10/2011 at 11:35..
modetest: Call dirty fb on modeset

Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d23146f3f0ad14c8ad482a4832cae859c8d646f2

Git commit cc088f1721eaa5f8f1ba1932723882f92e34c39a by Dave Airlie on 19/10/2011 at 16:39..
nouveau: free in error path if drmAvailable fails.

This was reported in coverity.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc088f1721eaa5f8f1ba1932723882f92e34c39a

Git commit 2c2bdb36c5b6bd7f8eac07cf163975b361114fb1 by Eric Anholt on 28/10/2011 at 19:53..
intel: Use stdbool.h for dealing with boolean values.

A few of the bitfield-based booleans are left in place.  Changing them
to "bool" results in the same code size, so I'm erring on the side of
not changing things.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c2bdb36c5b6bd7f8eac07cf163975b361114fb1

Git commit 515cea6ac67eb458c59fececc3c67411ee6fd3c3 by Eric Anholt on 28/10/2011 at 19:53..
intel: Add an interface for removing relocs after they're added.

This lets us replace the current inner drawing loop of mesa:

for each prim {
	compute bo list
	if (check_aperture_space(bo list)) {
		batch_flush()
		compute bo list
		if (check_aperture_space(bo list)) {
			whine_about_batch_size()
			fall back;
		}
	}
	upload state to BOs
}

with this inner loop:

for each prim {
 retry:
	upload state to BOs
	if (check_aperture_space(batch)) {
		if (!retried) {
			reset_to_last_prim()
			batch_flush()
		} else {
			if (batch_flush())
				whine_about_batch_size()
			goto retry;
		}
	}
}

This avoids having to implement code to walk over certain sets of GL
state twice (the "compute bo list" step).  While it's not a
performance improvement, it's a significant win in code complexity:
about -200 lines, and one place to make mistakes related to aperture
space instead of N places to forget some BO we should have included.

Note how if we do a reset in the new loop , we immediately flush.  We
don't need to check aperture space -- the kernel will tell us if we
actually ran out of aperture or not.  And if we did run out of
aperture, it's because either the single prim was too big, or because
check_aperture was wrong at the point of setting up the last
primitive.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/515cea6ac67eb458c59fececc3c67411ee6fd3c3

Git commit 77dc16f33d19195c7f7c569d877a6180ed1b9d54 by Eric Anholt on 29/10/2011 at 19:03..
intel: Remove stale comment.

This used to be next to some map refcounting code, but that is long dead.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77dc16f33d19195c7f7c569d877a6180ed1b9d54

Git commit 4cb01eeccfa6a5169edea07c339117cac1f7b261 by Eric Anholt on 29/10/2011 at 19:03..
intel: Don't call the SW_FINISH ioctl unless a CPU-mapped write was done.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4cb01eeccfa6a5169edea07c339117cac1f7b261

Git commit d0ae6837d117881d9f1f9cc12d3f1012b6a46103 by Eric Anholt on 29/10/2011 at 19:04..
intel: Share the implementation of BO unmap between CPU and GTT mappings.

Before this, consumers of the libdrm API that might map a buffer
either way had to track which way was chosen at map time to call the
appropriate unmap.  This relaxes that requirement by making
drm_intel_bo_unmap() always appropriate.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0ae6837d117881d9f1f9cc12d3f1012b6a46103

Git commit cc9b751e82c5a3525907bba30ba3c95246751824 by Eric Anholt on 29/10/2011 at 19:04..
configure: version bump for 2.4.27 release.

Push the new Intel API for use by mesa.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc9b751e82c5a3525907bba30ba3c95246751824

Git commit 2557011dc07183a909b50d51051e9088fdbdd093 by Cyril Brulebois on 01/11/2011 at 18:16..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2557011dc07183a909b50d51051e9088fdbdd093

Git commit 9eea7002ebed82c306bc30e78a149d7bb2ae520f by Cyril Brulebois on 01/11/2011 at 18:22..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9eea7002ebed82c306bc30e78a149d7bb2ae520f

Git commit 3020c976670166b5e2ae9bf24a05a01143429aef by Cyril Brulebois on 01/11/2011 at 18:30..
Update libdrm-intel1's symbols and shlibs accordingly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3020c976670166b5e2ae9bf24a05a01143429aef

Git commit 8141c4828219490f43317e92796999f77c916c46 by Cyril Brulebois on 01/11/2011 at 18:31..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8141c4828219490f43317e92796999f77c916c46

Git commit 961bf9b5c2866ccb4fedf2b45b29fb688519d0db by Jeremy Huddleston on 01/11/2011 at 21:42..
Fix compilation with -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast

Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/961bf9b5c2866ccb4fedf2b45b29fb688519d0db

Git commit ca4971292cf99e0063416cd1c3467af94637bf2b by Jerome Glisse on 10/11/2011 at 22:14..
tests/radeon: radeon specific test

Initial test only include ttm test for stressing ttm memory
allocations.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca4971292cf99e0063416cd1c3467af94637bf2b

Git commit 37ccce5e390a9d757474920f488cafa1cf89854a by Younes Manton (on behalf of Maarten Lankhorst) on 27/11/2011 at 17:28..
nouveau: Mark nouveau subchannel unbound nouveau_grobj_free

Valgrind throws warns about a user-after-free if you try to bind a
new subchannel after the old one in that slot was freed,
so remove it from the channel list.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37ccce5e390a9d757474920f488cafa1cf89854a

Git commit 36cff1cbb89477c839588a7e40fec2a8db7df396 by Daniel Vetter on 04/12/2011 at 12:25..
intel: limit aperture space to mappable area on gen3

Otherwise we blow up on heavy tiled blitter loads (with giant
pixmaps).

Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36cff1cbb89477c839588a7e40fec2a8db7df396

Git commit c549a777c1b6227a724942c64aa5cd181eb93c6c by Chris Wilson on 05/12/2011 at 10:25..
intel: Unmap buffers during drm_intel_gem_bo_unmap

We cannot afford to cache the vma per open bo as this may exhaust the
per-process limits.

References: https://bugs.freedesktop.org/show_bug.cgi?id=43075
References: https://bugs.freedesktop.org/show_bug.cgi?id=40066
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c549a777c1b6227a724942c64aa5cd181eb93c6c

Git commit e73161a02b604742e3da3bca8f13cff81276de43 by Chris Wilson on 05/12/2011 at 10:30..
configure: Bump version to 2.4.28

So that we can pull a couple of Intel bug fixes into xf86-video-intel.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e73161a02b604742e3da3bca8f13cff81276de43

Git commit 5c5332bbc38ff25c06081ac53a15ad583ad4cbc4 by Chris Wilson on 05/12/2011 at 10:43..
intel: Clean up mmaps on freeing the buffer

As a precautionary measure munmap on buffer free so that we never leak
the vma. Also include a warning during debugging.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c5332bbc38ff25c06081ac53a15ad583ad4cbc4

Git commit 902ee661f1864aaf8325621085f6a1b5a6a3673a by Dave Airlie on 05/12/2011 at 21:24..
test/radeon: add missing files for dist
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/902ee661f1864aaf8325621085f6a1b5a6a3673a

Git commit e4b60f29609e9993dc7268993da509530862aa78 by Chris Wilson on 05/12/2011 at 22:22..
intel: Add an interface to limit vma caching

There is a per-process limit on the number of vma that the process can
keep open, so we cannot keep an unlimited cache of unused vma's (besides
keeping track of all those vma in the kernel adds considerable overhead).
However, in order to work around inefficiencies in the kernel it is
beneficial to reuse the vma, so keep a MRU cache of vma.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4b60f29609e9993dc7268993da509530862aa78

Git commit 7ddc20713929cf0bf50b2d924ee9d5458e37023b by Cyril Brulebois on 06/12/2011 at 14:16..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ddc20713929cf0bf50b2d924ee9d5458e37023b

Git commit 99335af48c702cfedf7aa76a40f51e0f8d552622 by Cyril Brulebois on 06/12/2011 at 14:17..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99335af48c702cfedf7aa76a40f51e0f8d552622

Git commit 39b6ee2a990637e2cca665800eaa45c3f378d79d by Cyril Brulebois on 06/12/2011 at 14:17..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39b6ee2a990637e2cca665800eaa45c3f378d79d

Git commit dd9a5b4f7fb07c78db4e7481bedca1b981030e3f by Chris Wilson on 06/12/2011 at 21:45..
intel: Evict cached VMA in order to make room for new mappings

As the max number of VMA mappings is a hard per-process limit, we need
to include the number of currently active mappings when evicting in
order to make room for a new mmap.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd9a5b4f7fb07c78db4e7481bedca1b981030e3f

Git commit c5f0ed1d296f11367febd0e1b7dce8789308bf35 by Chris Wilson on 13/12/2011 at 10:41..
intel: Update map-count for an early error return during mapping

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5f0ed1d296f11367febd0e1b7dce8789308bf35

Git commit 015286f03e871ccf49af9f2ceef7f5e04c8d61ca by Chris Wilson on 13/12/2011 at 10:59..
intel: Remove the fresh assertions used to debug the vma cacheing

Hopefully all the bugs in the callers have been found, so time to
handle the failures "gracefully" again.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/015286f03e871ccf49af9f2ceef7f5e04c8d61ca

Git commit 7fd1678110b78d9324723a54dfd5049496b9e3cf by Chris Wilson on 13/12/2011 at 10:59..
configure: Bump version for 2.4.29

Yet another release required for new API
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fd1678110b78d9324723a54dfd5049496b9e3cf

Git commit 7cf395f39099f48f9aa208b075b0aa63bcfd294d by Cyril Brulebois on 13/12/2011 at 12:05..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cf395f39099f48f9aa208b075b0aa63bcfd294d

Git commit d3053f019e7dcaf7c25899c0cd4a4b763b807b0f by Cyril Brulebois on 13/12/2011 at 12:06..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3053f019e7dcaf7c25899c0cd4a4b763b807b0f

Git commit 60911644f90be10e4f92b6f7c641c8ee31bfdf5f by Cyril Brulebois on 13/12/2011 at 12:16..
Update libdrm-intel1's symbols and shlibs accordingly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60911644f90be10e4f92b6f7c641c8ee31bfdf5f

Git commit 26cdd1d4dc6e19ae317c977490835b854f94f874 by Cyril Brulebois on 13/12/2011 at 12:16..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26cdd1d4dc6e19ae317c977490835b854f94f874

Git commit ac168bf2a068761b591187e6a0a52083d456280b by Jesse Barnes on 13/12/2011 at 19:47..
libdrm: update drm headers from kernel, including new overlay ioctls & structs

Add structs and functions necessary for the new plane and fb handling code,
including a new header, drm_fourcc.h, that includes the surface formats
supported by various DRM drivers.

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac168bf2a068761b591187e6a0a52083d456280b

Git commit 0ab2251b70d49a294d24f3ef54982e95226c104a by Chris Wilson on 14/12/2011 at 08:23..
intel: Reset vma list upon purge

During free we unconditionally delete the bo from the vma cache. This
relies on the its list member being kept in a sane state. This fails
after the object is purged, as the purge operation performs a pure
deletion and doesn't reset the list member, leaving a pair of dangling
pointers.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ab2251b70d49a294d24f3ef54982e95226c104a

Git commit ef20301a11afae50bfe127002913dbd0b81ddccc by Chris Wilson on 18/12/2011 at 14:03..
tests/gem_flink: Check for MASTER before proceeding

gem_flink|gem_open are DRM_AUTH ioctl, and being lazy we do not
establish ourselves as authenticated before testing the ioctls. So
instead of aborting, skip the test unless we have root privileges (and
so DRM_MASTER and the DRM_AUTH restriction no longer applies).

A future test could assert that the flink fails without proper
authentication.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43924
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef20301a11afae50bfe127002913dbd0b81ddccc

Git commit 8c4a2c884846caca517b49e2026661e57924d9e1 by Eric Anholt on 30/12/2011 at 00:42..
intel: Import intel_decode.c from intel-gpu-tools.

This is from commit dd9a5b4f7fb07c78db4e7481bedca1b981030e3f.
We've been sharing this file between that repo and Mesa, and it's time
to build a real interface using it.  I'm also hoping to apply some of
its packet-walking logic for AUB dumping and batch validation
purposes.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c4a2c884846caca517b49e2026661e57924d9e1

Git commit 078bc5b6ee24ea786c465f5e29dcb8b0d2f81b2e by Eric Anholt on 30/12/2011 at 00:43..
intel: Make intel_chipset handle devid directly.

This will make these macros reusable from intel_decode.c, which
doesn't have a bufmgr_gem context, without faking the struct.  We
should generally only be using these macros from bufmgr_gem context
setup anyway.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/078bc5b6ee24ea786c465f5e29dcb8b0d2f81b2e

Git commit 1d318e2a79c3ae02fa886bcba79ac68b5222e1a3 by Eric Anholt on 30/12/2011 at 00:43..
intel: intel: Add IS_GEN[567] macros.

These will be used by intel_decode.c, and were taken from intel-gpu-tools.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d318e2a79c3ae02fa886bcba79ac68b5222e1a3

Git commit 193fa138d74f8d857b01b5ca8624f4ca79d9a91e by Eric Anholt on 30/12/2011 at 00:43..
intel: Reformat intel_decode.c from intel-gpu-tools using Lindent.

We generally go for kernel style in this tree, and this 4-space indent
stuff was bothering me.  The new results have some ugly bits, but
they're in places where we desperately want to be using helper
functions anyway.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/193fa138d74f8d857b01b5ca8624f4ca79d9a91e

Git commit bbdda928d3c0fa2e5b38adc4c3f7763f957b5207 by Eric Anholt on 30/12/2011 at 00:43..
intel: Minor style tweaks after Lindent.

Some comments weren't wrapped, and for some reason uint32_t *data got
an extra space (while other instances of "type *identifier" didn't),
and the indentation of the opcode-list structs got trashed.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbdda928d3c0fa2e5b38adc4c3f7763f957b5207

Git commit 71066abe1e32d906f65141c34ecfd9ffbf89ebde by Eric Anholt on 30/12/2011 at 00:43..
intel: Get intel_decode.c minimally building.

My plan is to use this drm_intel_dump_batchbuffer() interface for the
current GPU tools, and the current Mesa batch dumping usage, while
eventually building more interesting interfaces for other uses.

Warnings are currently suppressed by using a helper lib with CFLAGS
set manually, because the code is totally not ready for libdrm's warnings
setup.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71066abe1e32d906f65141c34ecfd9ffbf89ebde

Git commit 07768babb81bf8b9b993c41e7dca1e011fd6bd69 by Eric Anholt on 30/12/2011 at 00:43..
intel: Fix Wsigned-compare warnings (soon to be enabled).

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07768babb81bf8b9b993c41e7dca1e011fd6bd69

Git commit 1db55a80a9f3f74df716c14d3cbfc1507f084221 by Eric Anholt on 30/12/2011 at 00:43..
intel: Fix a ton of signed vs unsigned and const char *warnings

We've got a different (better) set of warning flags in place in this
tree.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1db55a80a9f3f74df716c14d3cbfc1507f084221

Git commit 39a06acfbdd834bcd365de08c7c14cfa39b18eab by Eric Anholt on 30/12/2011 at 00:43..
intel: Add printflike warnings for instr_out.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39a06acfbdd834bcd365de08c7c14cfa39b18eab

Git commit 0c46f020c8a75a906f974dedb6628ed7eadb0b97 by Eric Anholt on 30/12/2011 at 00:43..
intel: Fix printf format warnings for intel_decode.

There was plenty of dropped useful data, and some horribly
mis-formatted data.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c46f020c8a75a906f974dedb6628ed7eadb0b97

Git commit 7b483188067c00014c5d263784d5140032a16cb6 by Eric Anholt on 30/12/2011 at 00:43..
intel: Remove c99ish variable declarations.

I'd rather be able to use c99 variable declarations (there's a lot of
awful code layout due to being c90ish), but I'll leave that for later.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b483188067c00014c5d263784d5140032a16cb6

Git commit 88cffcc899b6951c422aafbe7ae3069e3e795922 by Eric Anholt on 30/12/2011 at 00:43..
intel: Turn on normal warnings for intel_decode.c build.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88cffcc899b6951c422aafbe7ae3069e3e795922

Git commit 4149faf3370c92e85533093bf764e773ebc41d88 by Eric Anholt on 30/12/2011 at 00:43..
intel: Disable unused decode_logic_op().

It was producing an unused code warning.  I'm tempted to just remove
it, since it's unused, but I *might* use it soon.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni at dodonov.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4149faf3370c92e85533093bf764e773ebc41d88

Git commit a9dd34a7ee9d03d357e15f045ab85a12f6f6e4b8 by Chad Versace (on behalf of Johannes Obermayr) on 31/12/2011 at 05:07..
intel/intel_decode.c: Remove #include "intel_decode.h".

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9dd34a7ee9d03d357e15f045ab85a12f6f6e4b8

Git commit ea33a231d530540ddcb9e0bac08ef15f625f744a by Eric Anholt on 04/01/2012 at 22:49..
intel: Add an interface for setting the output file for decode.

Consumers often want to choose stdout vs stderr, and for testing I
want to output to an open_memstream file.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea33a231d530540ddcb9e0bac08ef15f625f744a

Git commit ccbc40340b7b472939a90ae8afc0a82b358ce189 by Eric Anholt on 04/01/2012 at 22:49..
intel: Add a regression test program for intel_decode.c.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccbc40340b7b472939a90ae8afc0a82b358ce189

Git commit 683855f65523c978562ead56f9d68f50ffdca1a2 by Eric Anholt on 04/01/2012 at 22:49..
intel: Add regression tests for batch decode.

The .batch was generated using the dump-a-batch branch of

git://people.freedesktop.org/~anholt/mesa

using glxgears on gen7 hardware, using INTEL_DEVID_OVERRIDE for
non-gen7 (this means that offsets in the buffers for non-gen7 are 0!).
The .ref was generated by:

./test_decode tests/gen7-3d.batch -dump.

The .sh exists because you can't supply arguments to tests using the
simple automake tests driver.  Something reasonable could be done
using automake's parallel-tests driver (in fact, a previous version of
the patch did that), but I was concerned that:

1) The parallel-tests driver is documented to be unstable -- they may
   change interfaces on us later.
2) The parallel-tests driver hides the output of tests in .log files
   scattered all over the tree, which was ugly and more painful to
   work with.

v2: Actually add the batch files, add a .gitignore for the *-new.txt
    files added after failures, and fix failure mode for undetected
    chipset name.
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch> (v1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/683855f65523c978562ead56f9d68f50ffdca1a2

Git commit 9fb83a49cb7e3db2f168aac5172fafb6fa0d69c8 by Eric Anholt on 04/01/2012 at 22:51..
intel: Update for new i915_drm.h defines.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fb83a49cb7e3db2f168aac5172fafb6fa0d69c8

Git commit adf1428915bfd0ee24758a3cbd56ce9b64f6eefb by Eric Anholt on 06/01/2012 at 16:50..
configure: Bump version for 2.4.30
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/adf1428915bfd0ee24758a3cbd56ce9b64f6eefb

Git commit 7c210935e4d68dcb513650b69854d497f523274c by Cyril Brulebois on 06/01/2012 at 18:46..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c210935e4d68dcb513650b69854d497f523274c

Git commit 42c8c2b9627a7dc537e5bfb2fddb0c48baeb4eee by Cyril Brulebois on 06/01/2012 at 18:47..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42c8c2b9627a7dc537e5bfb2fddb0c48baeb4eee

Git commit 9ce84e5c243f6403f0d39e2e5cf13c8ced51b471 by Cyril Brulebois on 06/01/2012 at 18:57..
Bump libdrm2's and libdrm-intel1's symbols and shlibs accordingly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ce84e5c243f6403f0d39e2e5cf13c8ced51b471

Git commit f40e3394471d158b4af5780e258813b3d2ed8764 by Cyril Brulebois on 06/01/2012 at 19:04..
Document the symlink dance when building from git in README.source.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f40e3394471d158b4af5780e258813b3d2ed8764

Git commit e91400b4219caf5d63a59e40c4585308ed30326c by Cyril Brulebois on 06/01/2012 at 19:04..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e91400b4219caf5d63a59e40c4585308ed30326c

Git commit 66518ab5653cfdc840cd69e7b653ec05df060584 by Jesse Barnes on 09/01/2012 at 18:22..
intel: add sprite ioctl defines and struct for i915 sprite code
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66518ab5653cfdc840cd69e7b653ec05df060584

Git commit b5cb7f88de249c6871b0e1d1e4005a7b1f54f088 by Eric Anholt on 27/01/2012 at 21:21..
intel: Add a regression test for 2D decode, which I'm about to refactor.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5cb7f88de249c6871b0e1d1e4005a7b1f54f088

Git commit 8fb66a7ded7efdb192a1dd09898e91487de493a3 by Eric Anholt on 27/01/2012 at 21:21..
intel: Track the current packet location in the decode context.

This is the start of plumbing the context through the decode
callchain instead of the current 4 arguments.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fb66a7ded7efdb192a1dd09898e91487de493a3

Git commit a756fa384fdaaa0ae61075cb648554853a91bf22 by Eric Anholt on 27/01/2012 at 21:21..
intel: Drop the code for counting parsing failures.

Nothing was consuming it.  If something wants this in the future,
would be done using the decode context anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a756fa384fdaaa0ae61075cb648554853a91bf22

Git commit de49fd41e26185da20a9de227e82ff71571f1a0a by Eric Anholt on 27/01/2012 at 21:21..
intel: Plumb the context through the decode callchain.

We still deref the context at the start of every call, but that will
change next.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de49fd41e26185da20a9de227e82ff71571f1a0a

Git commit 62b410344c010d84ed75cc42e1aeaa6d23e8c396 by Eric Anholt on 27/01/2012 at 21:21..
intel: Use the context to simplify BR00 decode.

The count (actually index) was always 0, because BR00 is dword 0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62b410344c010d84ed75cc42e1aeaa6d23e8c396

Git commit b0371612f45229879c46d6a29adbe6939fbc97d4 by Eric Anholt on 27/01/2012 at 21:21..
intel: Use the context to simplify BR01 decode.

Similar to BR00, count was always 1 and was always an index, not a count.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0371612f45229879c46d6a29adbe6939fbc97d4

Git commit c1d2946da8f13ea8cbda1e33aeccee4d06015fea by Eric Anholt on 27/01/2012 at 21:21..
intel: Make instr_out take the decode context.

This reduces some of the extra derefs of the pointers.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1d2946da8f13ea8cbda1e33aeccee4d06015fea

Git commit 028715ee7074691895051296105e8b4cbbfaabb8 by Eric Anholt on 27/01/2012 at 21:21..
intel: Avoid the need for most overflow checks by using a scratch page.

The overflow checks were all thoroughly untested, and a bunch of the
ones I'm deleting were pretty broken.  Now, in the case of overflow,
you just decode data of 0xd0d0d0d0, and instr_out prints the warning
message instead.  Note that this still has the same issue of being
under-tested, but at least it's one place instead of per-packet.

A couple of BUFFER_FAIL uses are left where the length to be decoded
could be (significantly) larger than a page, and the decode didn't
just call instr_out (which doesn't dereference data itself unless it's
safe).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/028715ee7074691895051296105e8b4cbbfaabb8

Git commit 9695eee8a2b6c749d79980e6057ac231aea6cb6d by Eric Anholt on 27/01/2012 at 21:21..
intel: Put the "gen" shorthand chipset identifier in the context.

It's a lot nicer than using IS_WHATEVER(devid) all over the place, and
we have this in our other projects too.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9695eee8a2b6c749d79980e6057ac231aea6cb6d

Git commit 5a1c10fe6a50c6b21e616bb77bfb00a9903cc517 by Eric Anholt on 27/01/2012 at 21:21..
intel: Parse the correct length for gen7 3DSTATE_MULTISAMPLE.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a1c10fe6a50c6b21e616bb77bfb00a9903cc517

Git commit 3dcb2d47ee9f3fe15f075e7eb1b80c0c625b4d69 by Eric Anholt on 27/01/2012 at 21:21..
intel: Add support for parsing 965 3d packets using helper functions.

I want to add packets, without contributing to the switch statement of
doom.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dcb2d47ee9f3fe15f075e7eb1b80c0c625b4d69

Git commit b129e10af28016017a9c0e19af8e75a958063b5b by Eric Anholt on 27/01/2012 at 21:21..
intel: Move the logic for getting 965 3d packet length to the packet table.

While I'm touching every line of the table, sort it by opcode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b129e10af28016017a9c0e19af8e75a958063b5b

Git commit ba8ce2da04daabacd598d7f049493b622ac96f58 by Eric Anholt on 27/01/2012 at 21:21..
intel: Make most of the logic for 965 3d packet length checks table-driven.

This puts the error message in a consistent location relative to the
packet, and while I'm here I made the error message a bit more
informative.

Now, most static length packets need to just declare their length in
the table and not worry.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba8ce2da04daabacd598d7f049493b622ac96f58

Git commit 6a0b25e66b5515b3831db272211c337bcbdfb39a by Eric Anholt on 27/01/2012 at 21:21..
intel: Add support for parsing gen7 URB packets.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a0b25e66b5515b3831db272211c337bcbdfb39a

Git commit 938df6be489cb66c2f90043a8ced9834765e4e8e by Eric Anholt on 27/01/2012 at 21:21..
intel: Add decode for gen7 state pointers.

Since CC_STATE_POINTERS for gen6 and 7 are quite different but use the
same opcode, move gen6 out to a helper function too, so we can use a
helper function for gen7.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/938df6be489cb66c2f90043a8ced9834765e4e8e

Git commit 54b12a085f9e84368fd4ca664138be6ea4120ae2 by Eric Anholt on 27/01/2012 at 21:21..
intel: Add decode for gen7 constant buffer packets.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54b12a085f9e84368fd4ca664138be6ea4120ae2

Git commit b643b0713aefdc0611e47654e88263b53b0de6f5 by Eric Anholt on 27/01/2012 at 21:21..
intel: Add minimal decode for remaining gen7 packets in use.

This just gets packet name and length in place, with the remainder
unfinished.  I've long since finished the work that got me started
fixing up the decode.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b643b0713aefdc0611e47654e88263b53b0de6f5

Git commit 592ac67626f6d69bd8b518a33e80e9c4d223eba2 by Chad Versace on 30/01/2012 at 21:03..
intel: Fix bufmgr_gem->gen for gen > 4

If the pci_device's actual gen was > 4, then we stupidly set
bufmgr_gem->gen = 6. Luckily this caused no bugs, and this fix shouldn't
change any behavior, because all checks against the gen currently have one
of the forms below:
    gen == 2
    gen == 3
    gen >= 4

Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/592ac67626f6d69bd8b518a33e80e9c4d223eba2

Git commit efd6e81e2ba112105457887ae18a58dfa4bbc8ef by Jeremy Huddleston on 30/01/2012 at 23:20..
Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

This fixes a failure in 'make check' found by the tinderbox when trying to
build this code on Linux/ppc.  This code is only designed to run on
Intel platforms, so don't even bother building it if we're not in that set.

Found-by: Tinderbox
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efd6e81e2ba112105457887ae18a58dfa4bbc8ef

Git commit 82c6938d232327233caac743a07639ac91bceb7e by Paul Berry on 31/01/2012 at 22:46..
intel: Fix build of Intel DRM on x86 systems

Commit efd6e81e inadvertently broke the build by looking for "i?86" or
"x86_64" in $host_os.  The correct variable to check is $host_cpu.

This was preventing libdrm_intel.so from being built.

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82c6938d232327233caac743a07639ac91bceb7e

Git commit 151cdcfe685ee280a4344dfc40e6087d74a5590f by Eugeni Dodonov on 01/02/2012 at 17:54..
intel: query for LLC support

This adds support for querying the kernel about the LLC support in the
hardware.

In case the ioctl fails, we assume that it is present on GEN6 and GEN7.

v2: fix the return code checking

Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/151cdcfe685ee280a4344dfc40e6087d74a5590f

Git commit c51f7f0e460dcadb9f1a56ecf1615810877c33c8 by Jerome Glisse on 01/02/2012 at 22:11..
radeon: add surface allocator helper v10

The surface allocator is able to build complete miptree when allocating
surface for r600/r700/evergreen/northern islands GPU family. It also
compute bo size and alignment for render buffer, depth buffer and
scanout buffer.

v2 fix r6xx/r7xx 2D tiling width align computation
v3 add tile split support and fix 1d texture alignment
v4 rework to more properly support compressed format, split surface pixel
   size and surface element size in separate fields
v5 support texture array (still issue on r6xx)
v6 split surface value computation and mipmap tree building, rework eg
   and newer computation
v7 add a check for tile split and 2d tiled
v8 initialize mode value before testing it in all case, reenable
   2D macro tile mode on r6xx for cubemap and array. Fix cubemap
   to force array size to the number of face.
v9 fix handling of stencil buffer on evergreen
v10 on evergreen depth buffer need to have enough room for a stencil
    buffer just after depth one

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c51f7f0e460dcadb9f1a56ecf1615810877c33c8

Git commit df497e9281036ca9397bc5a08a82fdf44dbc12b2 by Jerome Glisse (on behalf of Ville Syrjälä) on 02/02/2012 at 19:53..
drmModeFreeResources() always leaked some memory.
drmModeGetPlaneResources() and drmModeGetPlane() leaked in one error
path.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df497e9281036ca9397bc5a08a82fdf44dbc12b2

Git commit a14c3dd0f9c468d5dba86df5ffa786aea77068a9 by Jerome Glisse (on behalf of Ville Syrjälä) on 02/02/2012 at 19:53..
This function was missing.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a14c3dd0f9c468d5dba86df5ffa786aea77068a9

Git commit 76b4a69aab7cbfb4a087194b6d6ee182c1d5dd7e by Jerome Glisse (on behalf of Ville Syrjälä) on 02/02/2012 at 19:53..
Using sizeof() on a function parameter with an array type does not
work. sizeof() treats such parameters as pointers.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76b4a69aab7cbfb4a087194b6d6ee182c1d5dd7e

Git commit 6a720cb8660975acea1100e61a88a92a7cb3856e by Jerome Glisse on 02/02/2012 at 23:36..
radeon: surface fix macro -> micro tile fallback

We need to force 1D tiling only on old kernel the fallback was
broken along the way.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a720cb8660975acea1100e61a88a92a7cb3856e

Git commit 10c0837780b2d4a33568c16bb92527e196d6c05e by Jerome Glisse on 03/02/2012 at 19:42..
radeon: fix surface API for good before anyone start relying on it

The mipmap level computation was wrong, we need to know the block
width, height, depth of compressed texture to properly compute this.
Change API to provide block width, height, depth instead of nblk_x,
nblk_y, nblk_z.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10c0837780b2d4a33568c16bb92527e196d6c05e

Git commit 356b87d8b34daf9aeadd33465141bc212ad6e3ff by Jerome Glisse on 06/02/2012 at 20:22..
radeon: add r600_pci_ids.h to header file

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/356b87d8b34daf9aeadd33465141bc212ad6e3ff

Git commit 230ec7d7bbf1e8a7e263d471b21afb08c28eba0c by Jerome Glisse on 06/02/2012 at 20:22..
configure: Bump version for 2.4.31
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/230ec7d7bbf1e8a7e263d471b21afb08c28eba0c

Git commit 8ac7726fa4e79e031b63fa4ca514c0c11e6caa92 by Robert Hooker on 07/02/2012 at 15:54..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ac7726fa4e79e031b63fa4ca514c0c11e6caa92

Git commit 1761b100e3e7b405bd8c12c92392a3c623081c9e by Robert Hooker on 07/02/2012 at 15:58..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1761b100e3e7b405bd8c12c92392a3c623081c9e

Git commit ef308a29b590f84a4283fe030ecaeeaeaca787bf by Robert Hooker on 07/02/2012 at 16:20..
Refresh libdrm2 and libdrm-radeon1 symbols, bump shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef308a29b590f84a4283fe030ecaeeaeaca787bf

Git commit 2cfac57d364d0166ed9472b086c16aea376f495a by Michel Dänzer on 08/02/2012 at 09:50..
radeon_cs_setup_bo: Fix accounting if caller specified write and read domains.

Only account for the write domain in that case.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43893 .

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2cfac57d364d0166ed9472b086c16aea376f495a

Git commit 90b23cc24c19fbe131d84237c55311cafeb4ca21 by Chris Wilson on 11/02/2012 at 11:45..
intel: Mark up with valgrind intrinsics to reduce false positives

In particular, declare the hidden CPU mmaps to valgrind so that it knows
about those memory regions.

v2: Add an additional VG_CLEAR for the getparam

References: https://bugs.freedesktop.org/show_bug.cgi?id=35071
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Acked-by: Ben Widawsky <ben at bwidawsk.net>
[anholt: Ideally valgrind should just learn about the ioctls, and
         removing the clear for the non-valgrindified code feels risky.]
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90b23cc24c19fbe131d84237c55311cafeb4ca21

Git commit ced219ebbd3b266ac8326223bad62f994907ae6b by Chris Wilson on 13/02/2012 at 00:24..
configure: Fix pkg-config test in absence of valgrind

The empty string used for the not case is replaced by the default
if-else clause and so causes the configure to fail in the absence of
valgrind. Which is not quite what was intended.

Instead use the common idiom of setting a variable depending on whether
the true or false branch is taken and emit the conditional code as a
second step.

Reported-by: Tobias Jakobi <liquid.acid at gmx.net>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ced219ebbd3b266ac8326223bad62f994907ae6b

Git commit 9b3ad51ae5fd9654df8ef75de845a519015150bb by Jerome Glisse on 14/02/2012 at 01:46..
radeon: fix pitch alignment for scanout buffer

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b3ad51ae5fd9654df8ef75de845a519015150bb

Git commit 23eeb7e1e45417a5a84f826286dd982dba440cd3 by Chris Wilson on 15/02/2012 at 11:16..
intel: Detect cache domain inconsistency with valgrind

Every access to either the GTT or CPU pointer is supposed to be
proceeded by a set_domain ioctl so that GEM is able to manage the cache
domains correctly and for the following access to be coherent. Of
course, some people explicitly want incoherent, non-blocking access
which is going to trigger warnings by this patch but are probably better
served by explicit suppression.

v2: Also mark the pointers as inaccessible following the explicit unmap
and implicit unmap upon return to the cache.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23eeb7e1e45417a5a84f826286dd982dba440cd3

Git commit 259e7b61381551b65ad3b574817dbde2210ff188 by Eric Anholt on 22/02/2012 at 20:25..
intel: Fix a typo in decode error message.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/259e7b61381551b65ad3b574817dbde2210ff188

Git commit e6beaf8ee49dbf165ef2e005931fdf0ce323fcf6 by Eric Anholt on 22/02/2012 at 20:26..
intel: Add decode for gen7 3DSTATE_WM.

This requires pulling the gen6 3DSTATE_WM out to a function so it
doesn't override gen7's handler.

v2: Fix pasteo in interpreting ZW interpolation (thanks danvet!).

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6beaf8ee49dbf165ef2e005931fdf0ce323fcf6

Git commit b395af0d2d617c29054f1b97973982bbffa33190 by Eric Anholt on 22/02/2012 at 20:27..
intel: Add decode for gen7 HIER_DEPTH_BUFFER.

Note that the regression test complains here: The batch that was
captured included a bug in its packet output, which was later fixed in
Mesa.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b395af0d2d617c29054f1b97973982bbffa33190

Git commit 783db34f6d8aded019b005a957fed1b91fd67c7c by Eric Anholt on 22/02/2012 at 20:27..
intel: Import a new batchbuffer for the gen7 test.

This one doesn't have the 3DSTATE_HIER_DEPTH_BUFFER bug that the
previous one did.

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/783db34f6d8aded019b005a957fed1b91fd67c7c

Git commit be30d350b64c1a83473a9ffbedf8e2c680a65fcd by Matt Turner on 02/03/2012 at 19:34..
Don't require pciaccess if Intel is disabled

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Matt Turner <mattst88 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be30d350b64c1a83473a9ffbedf8e2c680a65fcd

Git commit f82c77870354ba736774b6c45ccf8a326732243a by Alan Coopersmith on 06/03/2012 at 03:07..
Make drm/drm_fourcc.h portable to non-linux platforms

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f82c77870354ba736774b6c45ccf8a326732243a

Git commit fd39e61d0edfd30052d5f0b59b9215574e37942f by Adam Jackson (on behalf of David Herrman) on 09/03/2012 at 18:40..
xf86drmMode.h: Add header protection

xf86drmMode.h is missing a header protection. xf86drm.h has one so just
copy it and adjust the name.

Reviewed-by: Adam Jackson <ajax at redhat.com>
Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd39e61d0edfd30052d5f0b59b9215574e37942f

Git commit 6e642db7f4a5628ed63ca3c479f06bd6f2ca3893 by Eric Anholt (on behalf of Kenneth Graunke) on 10/03/2012 at 00:34..
intel: Add support for overriding the PCI ID via an environment variable

For example:

    export INTEL_DEVID_OVERRIDE=0x162

If this variable is set, don't actually submit the batchbuffer to the
GPU, it probably contains commands for the wrong generation of hardware.

v2: Introduce a getter for the overridden devid, and avoid getenv per exec.

Reviewed-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e642db7f4a5628ed63ca3c479f06bd6f2ca3893

Git commit 4db16a9480af2c4f36eb8023193cd54545efbe54 by Eric Anholt on 10/03/2012 at 00:34..
intel: Add .aub file output support.

This will allow the driver to capture all of its execution state to a
file for later debugging.  intel_gpu_dump is limited in that it only
captures batchbuffers, and Mesa's captures, while more complete, still
capture only a portion of the state involved in execution.

This is a squash commit of a long series of hacking as we tried to get
the resulting traces to work in the internal simulator.  It contains
contributions by Yuanhan Liu and Kenneth Graunke.

v2: Drop the MI_FLUSH_ENABLE setup.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4db16a9480af2c4f36eb8023193cd54545efbe54

Git commit c9ce2edfc8d33e760667529250e86e93ff656c3d by Eric Anholt on 10/03/2012 at 00:34..
intel: Bump the copyright dates on the bufmgr files.

We've been hacking these constantly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9ce2edfc8d33e760667529250e86e93ff656c3d

Git commit 3a8884851b72af012a8cb2beea320f094a58e5eb by Eric Anholt on 10/03/2012 at 01:21..
intel: Fix error check for I915_PARAM_HAS_LLC.

drmIoctl returns -1 on error with errno set to the error value.  Other
users of it in this file just check for != 0, and only use errno when
they need to send an error value on to the caller of the API.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a8884851b72af012a8cb2beea320f094a58e5eb

Git commit 99c73378a1b440bcf594742445dfe14ab1e89128 by Eric Anholt on 10/03/2012 at 17:21..
intel: Add support for (possibly) unsynchronized maps.

This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path
in GL_ARB_map_buffer_range.  Improves Unigine Tropics performance at
1024x768 by 2.30482% +/- 0.0492146% (n=61)

v2: Fix comment grammar.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99c73378a1b440bcf594742445dfe14ab1e89128

Git commit 9b87fd9a3df8c59461bc90b4620526d10f9b5771 by Eric Anholt on 10/03/2012 at 17:23..
intel: Move the gen4-6 3DPRIMITIVE handling out of the switch statement.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b87fd9a3df8c59461bc90b4620526d10f9b5771

Git commit 9d18ad254afc2afc41a919b86cd51ea40cfd8f0b by Eric Anholt on 10/03/2012 at 17:23..
intel: Add per-dword decode of gen7 3DPRIMITIVE.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d18ad254afc2afc41a919b86cd51ea40cfd8f0b

Git commit 5de5b7484a3a41554e16c02a544a45db5516b031 by Eric Anholt on 13/03/2012 at 23:49..
intel: Quiet two more valgrind complaints with recent changes.

These are more cases where valgrind doesn't understand what gets read
or written by our ioctls.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5de5b7484a3a41554e16c02a544a45db5516b031

Git commit 51c3e7d7335ecdf572968db7d3eed661e8a61810 by Eric Anholt on 16/03/2012 at 23:11..
configure: Bump version for 2.4.32.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51c3e7d7335ecdf572968db7d3eed661e8a61810

Git commit 52b48e3954b397216088af568cc9d8ade86161a4 by Cyril Brulebois on 19/03/2012 at 19:32..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52b48e3954b397216088af568cc9d8ade86161a4

Git commit 12ae11b0ca3895ec6dadd684cf57ce600f796786 by Cyril Brulebois on 19/03/2012 at 19:33..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12ae11b0ca3895ec6dadd684cf57ce600f796786

Git commit 7d6eca41f92c247e0be2b1562c833e6ef410977f by Cyril Brulebois on 19/03/2012 at 19:56..
Bump libdrm-intel1's symbols and shlibs accordingly.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d6eca41f92c247e0be2b1562c833e6ef410977f

Git commit 7921097578a7d1688fc4d92cb2338b1463824c57 by Cyril Brulebois on 19/03/2012 at 19:56..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7921097578a7d1688fc4d92cb2338b1463824c57

Git commit c50cc24690938db53cd91ae9ff2fa0958693f80d by Alex Deucher on 20/03/2012 at 23:33..
radeon: add TN surface support

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c50cc24690938db53cd91ae9ff2fa0958693f80d

Git commit 617213357e94299a5e9a3cb1342de55de949d156 by Kenneth Graunke on 22/03/2012 at 20:52..
intel: Add some PCI IDs for Haswell.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/617213357e94299a5e9a3cb1342de55de949d156

Git commit ef1b958cc831df3d33a366d1db2db2c88187229e by Daniel Vetter (on behalf of Rob Clark) on 28/03/2012 at 21:00..
omap: add omapdrm support

This adds libdrm_omap helper layer (as used by xf86-video-omap,
omapdrmtest, etc).

Signed-off-by: Rob Clark <rob at ti.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
[danvet: pushed for Rob, he doesn't yet have commit access.]
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef1b958cc831df3d33a366d1db2db2c88187229e

Git commit a3c34f56b94d4d47cadcd9814c2684c11f800e7d by Alex Deucher on 28/03/2012 at 21:17..
configure: Bump version for 2.4.33

Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3c34f56b94d4d47cadcd9814c2684c11f800e7d

Git commit e057a56448e2e785f74bc13dbd6ead8572ebed91 by Eugeni Dodonov on 01/04/2012 at 14:03..
intel: add Ivy Bridge GT2 server variant

We were missing this one and it is being used by Bromolow.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e057a56448e2e785f74bc13dbd6ead8572ebed91

Git commit e174312b3cc68704b32fef76aea5f671cd44fa92 by Cyril Brulebois on 02/04/2012 at 01:26..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e174312b3cc68704b32fef76aea5f671cd44fa92

Git commit e8973ce55e82d7311c4df10561966906ef886a97 by Cyril Brulebois on 02/04/2012 at 01:27..
Bump changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8973ce55e82d7311c4df10561966906ef886a97

Git commit 8cf983d5823c4813a5ff47ad426e2d162be92c1a by Cyril Brulebois on 02/04/2012 at 01:28..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cf983d5823c4813a5ff47ad426e2d162be92c1a

Git commit 437042568301269bb78df2def61436c1cd97411c by Daniel Vetter on 02/04/2012 at 13:57..
intel/decode: decode MI_WAIT_FOR_EVENT

... and add support to decode MI instructions with functions.

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/437042568301269bb78df2def61436c1cd97411c

Git commit 06eaf09469f2234bf1ca9790dad2ba391ccceb5a by Rob Clark on 03/04/2012 at 21:44..
omap: fix license header

In syncing with the corresponding kernel header, the wrong license
header was inadvertantly copied over.  The intention was for the
userspace headers to have a MIT license following the convention
of the rest of libdrm, xorg, etc.

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06eaf09469f2234bf1ca9790dad2ba391ccceb5a

Git commit e98ed38ca9c9328f88e0b2fab376020049e4a7fb by Rob Clark (on behalf of Víctor Manuel Jáquez Leal) on 03/04/2012 at 21:47..
omap: fix compiler warning

When compiling with linaro toolchain version 4.6.2 got this warning.

  CC     omap_drm.lo
omap_drm.c: In function 'omap_bo_new_impl':
omap_drm.c:139:6: warning: 'bo' may be used uninitialized in this function [-Wuninitialized]

This patch initialize bo to NULL avoiding the warning.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e98ed38ca9c9328f88e0b2fab376020049e4a7fb

Git commit d55de747a2bdec5b4885a6c86ea6707e15dfefb5 by Rob Clark on 03/04/2012 at 21:48..
modetest: add drm_plane support

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d55de747a2bdec5b4885a6c86ea6707e15dfefb5

Git commit b83ad866220911e5be1704e6df085705e5ba8eae by Rob Clark on 03/04/2012 at 21:49..
modetest: add YUV and multi-planar support

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b83ad866220911e5be1704e6df085705e5ba8eae

Git commit 2f1e2101b4dc0a6dc1c1d1c59c5cc5fbc54b90cf by Rob Clark on 03/04/2012 at 21:49..
modetest: add AR15/XR15 (RGB-1555) formats

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f1e2101b4dc0a6dc1c1d1c59c5cc5fbc54b90cf

Git commit 67fd052c013a493cd644d2e3495fab8b5823b330 by Rob Clark on 11/04/2012 at 14:41..
modetest: fix typo

Reported-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67fd052c013a493cd644d2e3495fab8b5823b330

Git commit 9b893e4a429d58bf0954ffc09b18890fcfe92941 by Rob Clark on 11/04/2012 at 14:44..
libdrm: update drm headers from kernel for prime/dmabuf

Sync drm.h with from kernel headers for the new PRIME_HANDLE_TO_FD
and PRIME_FD_TO_HANDLE ioctls from Dave Airlie's "drm: base prime/
dma-buf support (v5)" kernel patch.

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b893e4a429d58bf0954ffc09b18890fcfe92941

Git commit f00efc7ab442f106d3ac7699e80f1f7aee8451f4 by Rob Clark on 11/04/2012 at 14:51..
omap: add dmabuf support

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f00efc7ab442f106d3ac7699e80f1f7aee8451f4

Git commit 0d6350002d74848dd3d1e4d28d514a7ac9d580c9 by Ben Skeggs on 13/04/2012 at 16:47..
lists: add nicer+unsafe foreach, and list join macros

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d6350002d74848dd3d1e4d28d514a7ac9d580c9

Git commit 292da616fe1f936ca78a3fa8e1b1b19883e343b6 by Ben Skeggs on 13/04/2012 at 16:47..
nouveau: pull in major libdrm rewrite

Redesigned primarily to allow us to better take advantage of BO's having
fixed GPU virtual addresses on GeForce 8 and up, and to reduce the overhead
of handling relocations on earlier chipsets.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/292da616fe1f936ca78a3fa8e1b1b19883e343b6

Git commit 73b9a2881c37990dee0afb9cb23a6a1e85339ede by Ben Skeggs on 16/04/2012 at 22:35..
nouveau: init nvc0 channel alloc req structure fully

Kernel rejects ~0 handles, even though they're not used on NVC0.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73b9a2881c37990dee0afb9cb23a6a1e85339ede

Git commit d954648b4872e6b40ec8768a14eee818bc7613a8 by Ben Skeggs (on behalf of Marcin Slusarz) on 24/04/2012 at 02:41..
nouveau: remove unnecessary EAGAIN loops

drmCommandWrite / drmCommandWriteRead already loop on EAGAIN.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d954648b4872e6b40ec8768a14eee818bc7613a8

Git commit 754655c795fff1c6267d358e54ad5198aee0cdd6 by Ben Skeggs (on behalf of Christoph Bumiller) on 24/04/2012 at 02:49..
nouveau: expose notifier handle on nvc0 as well

Signed-off-by: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/754655c795fff1c6267d358e54ad5198aee0cdd6

Git commit 5288729823ee1c243023758c35fbe8e3a70ccf9c by Ben Skeggs (on behalf of Marcin Slusarz) on 02/05/2012 at 11:21..
nouveau: fix channel closing

Restore code lost in libdrm_nouveau rewrite.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5288729823ee1c243023758c35fbe8e3a70ccf9c

Git commit 9b44fbd393b8db571badae41881f490145404ae0 by Daniel Vetter (on behalf of Paulo Zanoni) on 03/05/2012 at 11:30..
modetest: fix some compiler warnings

Use unsigned int instead of int:
- modetest.c:90:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- modetest.c:98:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- modetest.c:118:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- modetest.c:286:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- modetest.c:303:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- modetest.c:694:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- modetest.c:1088:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

The 'fd' variable is global, we don't need to pass it as an argument:
- modetest.c:998:40: warning: unused parameter ‘fd’ [-Wunused-parameter]

We don't use the 'modeset' variable:
- modetest.c:1025:8: warning: variable ‘modeset’ set but not used [-Wunused-but-set-variable]

V2: rebase, clear some more warnings

Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b44fbd393b8db571badae41881f490145404ae0

Git commit a10bcaaf668ab16233df10c2742dcb497e17d588 by Daniel Vetter (on behalf of Paulo Zanoni) on 03/05/2012 at 11:30..
modetest: fix drmModeGetConnector memory leak

Don't "continue" without freeing the connector.

192 bytes in 6 blocks are indirectly lost in loss record 6 of 12
   at 0x4C2779D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4E30DD8: drmMalloc (xf86drm.c:147)
   by 0x4E35024: drmAllocCpy (xf86drmMode.c:73)
   by 0x4E35D69: drmModeGetConnector (xf86drmMode.c:507)
   by 0x402F22: dump_connectors (modetest.c:181)
   by 0x40261B: main (modetest.c:801)

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a10bcaaf668ab16233df10c2742dcb497e17d588

Git commit 0ef7644fe5161d3b50f9550ebbf8cbbabd51706f by Daniel Vetter (on behalf of Paulo Zanoni) on 03/05/2012 at 11:31..
modetest: call drmModeFreePlaneResources

24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 7
   at 0x402994D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A25950: drmMalloc (xf86drm.c:147)
   by 0x4A2E26D: drmModeGetPlaneResources (xf86drmMode.c:951)
   by 0x4025FF: dump_planes (modetest.c:276)
   by 0x4052AF: main (modetest.c:1120)

Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ef7644fe5161d3b50f9550ebbf8cbbabd51706f

Git commit d72a44c7c4f5eea9c1e5bb0c36cb9e0224b9ca22 by Daniel Vetter (on behalf of Paulo Zanoni) on 03/05/2012 at 11:32..
modetest: print more about our properties

In the future we'll have more than just connector properties, so create
a dump_prop function that can handle any property (instead of the
current dump_props function that only handles connector properties).

Also, make this function print a lot more information about the existing
properties.

Also change the printed indentation of the modes to make the output more
readable.

The previous function dump_props also segfaulted when we didn't have
enought permissions. The new function does not segfault in this case (by
checking for the return value of drmModeGetProperty).

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d72a44c7c4f5eea9c1e5bb0c36cb9e0224b9ca22

Git commit cf7cc62a9817a495264bbb037f0175cef9bd7a53 by Alex Deucher (on behalf of Anisse Astier) on 10/05/2012 at 17:07..
radeon: Add new R600 PCI ids for surface manager

This is the same list of PCI ids added by Alex Deucher in xf86-video-ati commit
aacbd629b02cbee3f9e6a0ee452b4e3f21376bd3.

This is needed since the addition of the surface allocator helper in
commit c51f7f0e460dcadb9f1a56ecf1615810877c33c8 ; it needs to differentiate
pre and post-R600 GPUs.
Therefore we should maintain another PCI id list.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=48138
Signed-off-by: Anisse Astier <anisse at astier.eu>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf7cc62a9817a495264bbb037f0175cef9bd7a53

Git commit da02f72bc286fd8d669f3860bdd97a8d1a1c3015 by Paul Berry on 10/05/2012 at 18:32..
intel: Add the ability to supply annotations for .aub files.

This patch adds a new function,
drm_intel_bufmgr_gem_set_aub_annotations(), which can be used to
annotate the type and subtype of data stored in various sections of
each buffer.  This data is used to populate type and subtype fields
when generating the .aub file, which improves the ability of later
debugging tools to analyze the contents of the .aub file.

If drm_intel_bufmgr_gem_set_aub_annotations() is not called, then we
fall back to the old set of annotations (annotate the portion of the
batchbuffer that is executed as AUB_TRACE_TYPE_BATCH, and everything
else as AUB_TRACE_TYPE_NOTYPE).

Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da02f72bc286fd8d669f3860bdd97a8d1a1c3015

Git commit 86451a12ca52e88a9600ed55f56b8cacd1ac0d6d by Paul Berry on 10/05/2012 at 18:32..
configure: Bump version for 2.4.34.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86451a12ca52e88a9600ed55f56b8cacd1ac0d6d

Git commit e07b650662ea0529d99741691c47856ef1034c9c by Rob Clark (on behalf of Inki Dae) on 12/05/2012 at 15:04..
libdrm: add exynos drm support

this patch adds libdrm_exynos helper layer that inclues some intefaces
for exynos specific gem and virtual display driver and also adds exynos
module name to modtest and vbltest.

Changelog v2:
- fixed exynos broken ioctl.
  the pointer of uint64_t *edid should be removed.
- removed unnecessary definitions.
- added drm prime interfaces.
  this feature is used to share a buffer between drivers or memory managers
  and for this, please, refer to below links:
	http://www.mjmwired.net/kernel/Documentation/dma-buf-sharing.txt
	http://lwn.net/Articles/488664/

this patch is based on a link below:
	git://anongit.freedesktop.org/mesa/drm
	commit id: d72a44c7c4f5eea9c1e5bb0c36cb9e0224b9ca22

Reviewed-by: Rob Clark <rob at ti.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Inki Dae <inki.dae at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e07b650662ea0529d99741691c47856ef1034c9c

Git commit 481234f2909c0506962a2f42da862da6a9b13fd8 by Michel Dänzer on 16/05/2012 at 16:49..
radeon: Add Southern Islands PCI IDs.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/481234f2909c0506962a2f42da862da6a9b13fd8

Git commit c563db07bf6a40d2415b560685ed7604830b9fb7 by Alex Deucher on 05/06/2012 at 14:07..
radeon: add new pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c563db07bf6a40d2415b560685ed7604830b9fb7

Git commit 69e7469e351b09c4fd92f6f18408a9ad069c38b3 by Ben Widawsky on 06/06/2012 at 21:09..
intel: sanitize i915_drm.h

run make headers_isntall on d-i-n, copy to here

Acked-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69e7469e351b09c4fd92f6f18408a9ad069c38b3

Git commit ba6130c2d6f4e9833f4d5b43da01673827b26bd4 by Ben Widawsky on 06/06/2012 at 21:09..
intel: wait render header updates

make headers_install in kernel. Copy to here.

v2: signed ns_timeout

Acked-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba6130c2d6f4e9833f4d5b43da01673827b26bd4

Git commit c2b77a02d4e188cfa6d1b73a721946fd9b1d3577 by Alex Deucher on 07/06/2012 at 14:43..
radeon: fall back to 1D tiling only with broken kernels

Certain cards report the the wrong bank setup which causes
surface init to fail in the ddx and leads to no accel.
If we hit an invalid tiling parameter, just set a default
value and disable 2D tiling.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=43448

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2b77a02d4e188cfa6d1b73a721946fd9b1d3577

Git commit 93a5117d5b05b7b4cd1cb481a10b8565c63fb5ba by Alex Deucher on 07/06/2012 at 14:46..
configure: bump version for release

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93a5117d5b05b7b4cd1cb481a10b8565c63fb5ba

Git commit 247521a8909f4ca889a4bc09755cda9ff200061d by Michel Dänzer on 08/06/2012 at 13:23..
autogen.sh: Restore passing --enable-maintainer-mode to configure.

Otherwise build system files aren't automagically regenerated after updating
from Git.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/247521a8909f4ca889a4bc09755cda9ff200061d

Git commit 8c75703df0fdf65b3851f8eb5822705638decff3 by Rob Clark (on behalf of Paulo Zanoni) on 08/06/2012 at 14:27..
Add support for generic object properties IOCTLs

New library calls:
- drmModeObjectGetProperties
- drmModeFreeObjectProperties
- drmModeObjectSetProperties

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
Reviewed-by: Rob Clark <rob at ti.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c75703df0fdf65b3851f8eb5822705638decff3

Git commit 86dece4cf2f7180b854fbd318fa1a57793f0deac by Rob Clark (on behalf of Paulo Zanoni) on 08/06/2012 at 14:27..
modetest: print CRTC properties

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
Reviewed-by: Rob Clark <rob at ti.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86dece4cf2f7180b854fbd318fa1a57793f0deac

Git commit 7b228e900f59cda3cafb60692be9dd7aced6ad96 by Rob Clark on 08/06/2012 at 14:27..
Add support for bitmask properties

A bitmask property is similar to an enum.  The enum value is a bit
position (0-63), and valid property values consist of a mask of
zero or more of (1 << enum_val[n]).

Signed-off-by: Rob Clark <rob at ti.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b228e900f59cda3cafb60692be9dd7aced6ad96

Git commit 6df9e6af4b34ef2c5278941ee78de029e4040485 by Rob Clark on 08/06/2012 at 14:27..
modetest: support bitmask properties

Add support to display bitmask properties.

Signed-off-by: Rob Clark <rob at ti.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6df9e6af4b34ef2c5278941ee78de029e4040485

Git commit 25e4cb4659c62817aae2ca3b83f2d4f598d6474b by Rob Clark on 08/06/2012 at 14:27..
modetest: support plane properties

Add support to display plane properties.

Signed-off-by: Rob Clark <rob at ti.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25e4cb4659c62817aae2ca3b83f2d4f598d6474b

Git commit 9e0026d35c56374b53a0b3837e24412bc9a4d8c9 by Marcin Slusarz on 09/06/2012 at 21:23..
nouveau: silence some remaining valgrind warnings

Valgrind can't understand some of the fields passed to ioctls are overwritten
by kernel, so we need to initialize them. Almost all of our ioctl wrappers
already do it and the cost of remaining 3 is very small.

Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e0026d35c56374b53a0b3837e24412bc9a4d8c9

Git commit 325e2e52a96ede6a19e891f769c803cb9ba85e10 by Jerome Glisse on 11/06/2012 at 19:01..
radeon: always properly initialize stencil_offset field

Reported-by: Vadim Girlin <vadimgirlin at gmail.com>
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/325e2e52a96ede6a19e891f769c803cb9ba85e10

Git commit 2f56002cc0b5424902dfe2bd4024f7b825ecde67 by Jerome Glisse on 11/06/2012 at 19:04..
radeon: enabled 2D tiling for evergreen only on fixed kernel

Due to a kernel bug, enabled 2D tiling for evergreen only on
newer fixed kernel.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f56002cc0b5424902dfe2bd4024f7b825ecde67

Git commit d1fcfb17b9642ae351b03056a27b328f314ca80a by Jerome Glisse on 12/06/2012 at 22:09..
radeon: force 1D array mode for z/stencil surface

On r6xx or evergreen z/stencil surface don't support linear or
linear aligned surface, force 1D tiled mode for those.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1fcfb17b9642ae351b03056a27b328f314ca80a

Git commit a1d462d2a6f720538eaf1199a94dd27cd04e8a54 by Dave Airlie on 17/06/2012 at 08:19..
radeon/surface: free version after using it.

fixes leak in valgrind.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1d462d2a6f720538eaf1199a94dd27cd04e8a54

Git commit 36df178e70012887b63cc5c9322c622fca63778c by Julien Cristau (on behalf of Sebastian Reichel) on 21/06/2012 at 20:38..
Build libdrm_omap
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36df178e70012887b63cc5c9322c622fca63778c

Git commit ab88407d4876def2f598d3d09a422ac4bf9681c9 by Julien Cristau on 21/06/2012 at 20:54..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab88407d4876def2f598d3d09a422ac4bf9681c9

Git commit e9174e7feed583098844d846f5955095d8c06bec by Julien Cristau on 21/06/2012 at 21:22..
Add missing dependency on libdrm-omap1 to libdrm-dev

Thanks, Robert Hooker, for noticing.
Also make some arm matching a bit simpler, arm means linux so no need to
check both.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9174e7feed583098844d846f5955095d8c06bec

Git commit 6c5543b4a06cacabc1f32d24b232f53af57bd586 by Julien Cristau on 21/06/2012 at 21:22..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c5543b4a06cacabc1f32d24b232f53af57bd586

Git commit ae137f4669ccdbc615d18facebdb804a9af9846b by Ben Widawsky on 25/06/2012 at 01:11..
intel: Add IVB PUSH_CONSTANT decodes

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae137f4669ccdbc615d18facebdb804a9af9846b

Git commit 971c080ac0eb8f0531fe3ebabc5b9e585db992b6 by Ben Widawsky on 27/06/2012 at 16:00..
intel: wait render timeout implementation

int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns)

This should bump the libdrm version. We're waiting for context support
so we can do both features in one bump.

v2: don't return remaining timeout amount
use get param and fallback for older kernels

v3: only doing getparam at init
prototypes now have a signed input value

v4: update comments
fall back to correct polling behavior with new userspace and old kernel

v5: since the drmIoctl patch was not well received, return appropriate
values in this function instead. As Daniel pointed out, the polling
case (timeout == 0) should also return -ETIME.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/971c080ac0eb8f0531fe3ebabc5b9e585db992b6

Git commit eeedb0dcc48e02727606d416c28bcb9b86915daa by Ben Widawsky on 27/06/2012 at 16:58..
intel/decode: add sampler state pointers for [HD]S

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeedb0dcc48e02727606d416c28bcb9b86915daa

Git commit 7d0a1d5ebbe2c6aecd96eef94b0af038858a0178 by Ben Widawsky on 27/06/2012 at 16:58..
intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

The logic seemed to be inverse to me.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d0a1d5ebbe2c6aecd96eef94b0af038858a0178

Git commit a5b2946889471f6075852949f90f660e43b68532 by Ben Widawsky on 27/06/2012 at 16:57..
intel: updated header for contexts

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-By: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5b2946889471f6075852949f90f660e43b68532

Git commit b3b123dfb1e81f254fb419d8eef6f63128e5b9c9 by Ben Widawsky on 27/06/2012 at 16:57..
intel/context: Add drm_intel_context type

Add an opaque type representing a HW context.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3b123dfb1e81f254fb419d8eef6f63128e5b9c9

Git commit 3ed38714bd3792ccfc1089dd7bef84ab3dc9697d by Ben Widawsky on 27/06/2012 at 16:57..
intel/context: new execbuf interface for contexts

To support this we extract the common execbuf2 functionality to be
called with, or without contexts.

The context'd execbuf does not support some of the dri1 stuff.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ed38714bd3792ccfc1089dd7bef84ab3dc9697d

Git commit ee2be4fa7ea8c220291bf122cf3cc9b467d9564d by Ben Widawsky on 27/06/2012 at 16:57..
intel: add decoding of MI_SET_CONTEXT

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee2be4fa7ea8c220291bf122cf3cc9b467d9564d

Git commit df5cc69daba12379b5c0bfd49cffd67e7ebedea1 by Ben Widawsky on 27/06/2012 at 17:21..
Revert "intel/decode: VERTEX_ELEMENT_STATE, 1 means valid"

This reverts commit 7d0a1d5ebbe2c6aecd96eef94b0af038858a0178.

The actual fix
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df5cc69daba12379b5c0bfd49cffd67e7ebedea1

Git commit a7805194b7b91de01b671beeb724584dca69ad68 by Ben Widawsky on 27/06/2012 at 17:22..
intel/decode: fix the reference file for

I mistakenly "fixed" a bad decode with

commit 7d0a1d5ebbe2c6aecd96eef94b0af038858a0178
Author: Ben Widawsky <ben at bwidawsk.net>
Date:   Sun Jun 24 20:35:57 2012 -0700

    intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

However the actual fix is just to update the reference file, and
include GEN7 in the decode.

Props to Eric Anholt for putting the test in distcheck, or else I
wouldn't have caught this.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7805194b7b91de01b671beeb724584dca69ad68

Git commit c0ed9b23ecb48b8301f66d2270e638249709e94e by Kristian Høgsberg on 28/06/2012 at 17:24..
modetest: Dump bit field names
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0ed9b23ecb48b8301f66d2270e638249709e94e

Git commit f7210fa4ecf6a5456aa5a6bcc0584d38b2c8449e by Ben Widawsky on 29/06/2012 at 18:05..
intel/context: create/destroy implementation

Add relevant code to set up minimal state and call the appropriate
kernel IOCTLs.

This was missed in the previous cherry-picking for 2.3.36.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7210fa4ecf6a5456aa5a6bcc0584d38b2c8449e

Git commit 1b1a4f0a779f7ab2ba5673b9c9fe2a37047fe765 by Ben Widawsky on 29/06/2012 at 18:08..
configure: bump version for release

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b1a4f0a779f7ab2ba5673b9c9fe2a37047fe765

Git commit 7206ad2fffdb90bfb074d134beaecbd25d92f38b by Maarten Lankhorst on 03/07/2012 at 08:33..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7206ad2fffdb90bfb074d134beaecbd25d92f38b

Git commit ff4fa4ebe8b7fe1e940765a433e20d34cb607b02 by Maarten Lankhorst on 03/07/2012 at 09:07..
New upstream release.

* New upstream release.
* Add libdrm-2.4.37-nouveau-1.patch
  - Allows building libdrm_nouveau.so.1 and 2 simultaneously
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff4fa4ebe8b7fe1e940765a433e20d34cb607b02

Git commit 8051b8706161d240913a9660e6157fc17a231aa3 by Maarten Lankhorst on 03/07/2012 at 09:08..
Bump Changelogs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8051b8706161d240913a9660e6157fc17a231aa3

Git commit 05478d411e8c626e35f0e612784198f8a8db8da8 by Maarten Lankhorst on 03/07/2012 at 09:20..
rework 04_libdrm-2.4.37-nouveau-1.diff slightly
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05478d411e8c626e35f0e612784198f8a8db8da8

Git commit 3229c4cf1224d9ab4e6a107ead3ee20ba8366756 by Maarten Lankhorst on 03/07/2012 at 10:35..
Make libdrm build again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3229c4cf1224d9ab4e6a107ead3ee20ba8366756

Git commit 8fad46b614a156e3a0e65cd0af4c132a5820d29e by Ben Widawsky (on behalf of Lauri Kasanen) on 03/07/2012 at 16:54..
intel: Fix build failure in test_decode.c

Hi list

The recently released libdrm 2.4.37 does not compile the Intel part:

test_decode.c: In function 'compare_batch':
test_decode.c:107: error: implicit declaration of function 'open_memstream'

PS: Please CC me.

Signed-off-by: Lauri Kasanen <cand at gmx.com>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fad46b614a156e3a0e65cd0af4c132a5820d29e

Git commit 881e69f185d2450ca35964caf254b04e7e8838c1 by Cooper Yuan on 06/07/2012 at 14:36..
libdrm/exynos: padding gem_mmap structure to 64-bit aligned
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/881e69f185d2450ca35964caf254b04e7e8838c1

Git commit b03e5aa5c2e64baa82fc2aedf5bffe1245590fcc by Maarten Lankhorst on 10/07/2012 at 06:27..
rely on debhelper >= 9
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b03e5aa5c2e64baa82fc2aedf5bffe1245590fcc

Git commit dfd2321060f7e78753003ae8238f825a572d9d8e by Maarten Lankhorst on 12/07/2012 at 11:13..
add missing symbol for omap1 to fix arm build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfd2321060f7e78753003ae8238f825a572d9d8e

Git commit 992e2afd59539d169689bf21d78fac8b5cea4e3c by Kenneth Graunke on 12/07/2012 at 20:44..
intel: Change context create failure message to from fprintf to DBG().

Since there is no getparam for hardware context support, Mesa always
tries to obtain a context by calling drm_intel_gem_context_create and
NULL-checking the result.  On an older kernel without context support,
this caused libdrm to print an unwanted message to stderr:

DRM_IOCTL_I915_GEM_CONTEXT_CREATE failed: Invalid argument

In fact, this caused every Piglit test to fail with a "warn" status due
to the unrecognized error message.

Change the message to use DBG() rather than fprintf(), so people can
still get the debug message, but it won't spam normally.

Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/992e2afd59539d169689bf21d78fac8b5cea4e3c

Git commit 8116a32df613df4433aa1b128c58bf2c18479824 by Rob Clark on 13/07/2012 at 21:16..
omap: clarify dmabuf file descriptor ownership

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8116a32df613df4433aa1b128c58bf2c18479824

Git commit 42f8a68e19ba48a25f5eca2778d997f3d1ad094d by Rob Clark on 13/07/2012 at 21:16..
omap: add API to import bo's from dmabuf fd's

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42f8a68e19ba48a25f5eca2778d997f3d1ad094d

Git commit 22574aa887efa879519328acc09cb01d03374bf4 by Rob Clark on 13/07/2012 at 21:18..
omap: add refcnting and handle tracking

There can be scenarios, especially when re-importing an existing buffer,
where you end up with multiple 'struct omap_bo's wrapping a single GEM
object handle.  Which causes badness when the first of the evil-clones
is omap_bo_del()'d.

To do this, introduce reference counting and a hashtable to track the
handles per fd.

First, to avoid bo's slipping through the crack if multiple 'struct
omap_device's are created for one drm fd, a hashtable mapping drm
fd to omap_device, and the omap_device itself is reference counted.
Per omap_device, we keep a handle_table mapping GEM handle to omap_bo.
When buffers are imported from flink name or dmabuf fd, the handle
table is consulted, and if an omap_bo already exists, it's refcnt is
incremented and it is returned.  For good measure, to avoid the
handle_table being deleted before the omap_bo is freed, the omap_bo
holds a reference to the omap_device.

TODO: check the overhead of the hashtable.  If too much we could maybe
get away with only tracking exported and imported bo's in the table.

TODO: all the import/export flink/dmabuf operations are generic DRM
ioctls.  Really all this functionality could be handled by a generic
drm_bo and drm_device "base class" that could be extended by omap,
exynos, etc.  That would also allow more common userspace code by
avoiding artificial libdrm_omap dependencies.

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22574aa887efa879519328acc09cb01d03374bf4

Git commit 41dfb20cdc369bb0da880c371a664f25fe665adb by Dave Airlie on 16/07/2012 at 01:39..
libdrm: add missing caps from kernel to drm.h

This just moves over some missing caps from the kernel.

Signed-off-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41dfb20cdc369bb0da880c371a664f25fe665adb

Git commit cc0a14575d9fd0aafe73cb4aa445eaf024436114 by Dave Airlie on 16/07/2012 at 01:39..
libdrm: add prime fd->handle and handle->fd interfaces

These are just basic ioctl wrappers around the prime ioctls,
along with the capability reporting.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc0a14575d9fd0aafe73cb4aa445eaf024436114

Git commit 13c06cde4e9a4ce275c6cbf477d211344f468dbf by Dave Airlie on 19/07/2012 at 03:05..
libdrm/nouveau: add prime handle->bo and bo->handle support.

This adds prime support to nouveau libdrm.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13c06cde4e9a4ce275c6cbf477d211344f468dbf

Git commit ff65de96660965e661175f75427cd0020ef1104c by Dave Airlie on 19/07/2012 at 22:53..
intel: add prime interface for getting/setting a prime bo. (v4)

This adds interfaces for the X driver to use to create a
prime handle from a buffer, and create a bo from a handle.

v2: use Chris's suggested naming (well from at least for consistency)
v3: git commit --amend fail
v4: fix as per Chris's suggestions, group assignments, add get tiling

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff65de96660965e661175f75427cd0020ef1104c

Git commit faf26b689d4a2a6d1e851a1ea2fd657406eebfff by Rob Clark on 20/07/2012 at 15:28..
intel: fix build error

  CCLD   test_decode
./.libs/libdrm_intel.so: undefined reference to `drmPrimeHandleToFD'
./.libs/libdrm_intel.so: undefined reference to `drmPrimeFDToHandle'
collect2: ld returned 1 exit status

From Adam Jackson's explaination:

  most distros have changed it so ld defaults to --no-copy-dt-needed-entries,
  so if you use something from libdrm you can't just assume libdrm_intel
  will bring it in for you, you have to be explicit

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/faf26b689d4a2a6d1e851a1ea2fd657406eebfff

Git commit 3fdc1777ee156ebfa4281b49d8783adbbcae3ee1 by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modetest: Unify buffer allocation

Merge the create_test_buffer() and create_grey_buffer() functions into a
single buffer allocation function that takes the pixel format and fill
pattern as parameters.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fdc1777ee156ebfa4281b49d8783adbbcae3ee1

Git commit a94ee624292bff96ea1d38e8a0a3fbeefec42fb6 by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modetest: Add SMPTE test pattern

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a94ee624292bff96ea1d38e8a0a3fbeefec42fb6

Git commit 8b6f3e32b8c6235e686525d766402c4fc6afcfba by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modetest: Add test pattern support for missing packed YUV formats

Implement tiles and SMPTE test pattern generation for the UYVY, VYUY and
YVYU formats.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b6f3e32b8c6235e686525d766402c4fc6afcfba

Git commit 86402a2a0cf4f1c4dfa25d36043abd07a8cf8373 by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modetest: Add test pattern support for missing planar YUV formats

Implement tiles and SMPTE test pattern generation for the NV12, NV21,
NV16 and NV61 formats.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86402a2a0cf4f1c4dfa25d36043abd07a8cf8373

Git commit edcef53685edf5fb94a1171f003b9516a90df368 by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modetest: Add test pattern support for missing RGB formats

Implement tiles and SMPTE test pattern generation for the RGB565,
BGR888, RGB888, ARGB8888, BGRA8888 and BGRX8888 formats.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edcef53685edf5fb94a1171f003b9516a90df368

Git commit 0375222c714e8b7ba55f12d5cb389383be1cf54d by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modetest: Move connector and plane parsing to separate functions

This will make it easier to add additional parameters to the connector
and plane arguments.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0375222c714e8b7ba55f12d5cb389383be1cf54d

Git commit cc90ffa9b18fc6f925a3a2c36131332b8af558f8 by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modetest: Make frame buffer format configurable on the command line

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc90ffa9b18fc6f925a3a2c36131332b8af558f8

Git commit db004badef9315ba6a5f165d0974dd5afd5a6178 by Rob Clark (on behalf of Laurent Pinchart) on 20/07/2012 at 15:30..
modeset: Split buffer allocation to a separate file

As the modeset test application is often referred to as an example of
the KMS API usage, move test pattern generation and buffer allocation to
a separate file to keep it simple and clear.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db004badef9315ba6a5f165d0974dd5afd5a6178

Git commit ebd7904877d08525beb5039e4ea2f5b6c0a7c23f by Rob Clark on 23/07/2012 at 16:35..
modetest: fix uninitialized fourcc

If color format for CRTC layer is not specified on commandline, then
c->fourcc is unintialized resulting in addfb call failing.

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebd7904877d08525beb5039e4ea2f5b6c0a7c23f

Git commit c10b08d95954aecd331e5a43b4861c6c04b8aadd by Eric Anholt (on behalf of Damien Lespiau) on 02/08/2012 at 18:20..
intel: Remove two unused variables

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c10b08d95954aecd331e5a43b4861c6c04b8aadd

Git commit 7e3f08b463bcbae6950c07cc9ea29a7057f28e69 by Eric Anholt on 02/08/2012 at 18:20..
intel: Quiet valgrind warnings in context creation.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e3f08b463bcbae6950c07cc9ea29a7057f28e69

Git commit dd944a00815c38af1e7424f67bf71ffb90deceb1 by Alex Deucher on 06/08/2012 at 14:33..
radeon: add some missing evergreen pci ids

Noticed by: Harald van Dijk <fdo at gigawatt.nl>

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=53124

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd944a00815c38af1e7424f67bf71ffb90deceb1

Git commit 9f823ca236058d7eb37d54a077170fff2d691b99 by Alex Deucher on 06/08/2012 at 14:34..
radeon: add some new SI pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f823ca236058d7eb37d54a077170fff2d691b99

Git commit 9a2b57d229fe3e6a1c9799e8cd5397969202d223 by Chris Wilson on 08/08/2012 at 18:24..
intel: Bail gracefully if we encounter an unknown Intel device

Otherwise we end up with X hitting a fail-loop as the embedded libGL
stacks asserts whilst initialising.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a2b57d229fe3e6a1c9799e8cd5397969202d223

Git commit 93fef04b1e3a83e2f884880ed1c3395f67b038ab by Paulo Zanoni on 08/08/2012 at 18:38..
intel: add more Haswell PCI IDs

Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93fef04b1e3a83e2f884880ed1c3395f67b038ab

Git commit ad66c17209811acdae21e44290a449523882a734 by Marek Olšák on 09/08/2012 at 14:37..
radeon: simplify ZS buffer checking on r600

Setting those flags has no effect anywhere else.

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad66c17209811acdae21e44290a449523882a734

Git commit 23372955730048bbcddafc74365d911f9a74fb13 by Marek Olšák on 09/08/2012 at 14:37..
radeon: optimize allocation for depth w/o stencil and stencil w/o depth on EG

If we don't need stencil, don't allocate it.
If we need only stencil (like PIPE_FORMAT_S8_UINT), don't allocate depth.

v2: actually do it correctly

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23372955730048bbcddafc74365d911f9a74fb13

Git commit e14aedce64e365ef1a8726ed8c1ebed881d7a398 by Marek Olšák on 09/08/2012 at 20:33..
radeon: force 2D tiling for MSAA surfaces

Reviewed-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e14aedce64e365ef1a8726ed8c1ebed881d7a398

Git commit 128803a107fde8ce36036e59437a536fc4d46553 by Marek Olšák on 09/08/2012 at 20:35..
radeon: tweak TILE_SPLIT for MSAA surfaces

Reviewed-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/128803a107fde8ce36036e59437a536fc4d46553

Git commit 71ebcf4ea372927ba8af425a229c4fa75dc45dd1 by Eric Anholt on 10/08/2012 at 16:48..
Drop "-Wunsafe-loop-optimizations".

It warns about totally sensible things done in intel_decode.c.  I've
never seen this warn do anything useful, and apparently I was the one
to introduce it when I added the giant pile of warning flags back in
2008.

Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71ebcf4ea372927ba8af425a229c4fa75dc45dd1

Git commit 934ea3b32127ea2a4ba5bf14228af6c60d3437b6 by Eric Anholt on 10/08/2012 at 16:48..
intel: Import updated i915_drm.h.

Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/934ea3b32127ea2a4ba5bf14228af6c60d3437b6

Git commit 2607dad20b8dffce96608103def75d26ea0e42b2 by Eric Anholt on 10/08/2012 at 16:48..
intel: Add a function for the new register read ioctl.

Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2607dad20b8dffce96608103def75d26ea0e42b2

Git commit 10481fec55b422843d3f15eef3aa9617ae98843b by Marek Olšák on 11/08/2012 at 18:02..
tests/modetest: fix distcheck
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10481fec55b422843d3f15eef3aa9617ae98843b

Git commit d1de6831b9f49b1f450324948b6a4759b3f7ae04 by Marek Olšák on 11/08/2012 at 18:06..
configure: bump version for 2.4.38 release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1de6831b9f49b1f450324948b6a4759b3f7ae04

Git commit 6fa2b29d226306870eebe93afb2106ca7d79569b by Marek Olšák (on behalf of Tobias Klausmann) on 11/08/2012 at 22:00..
tests/modetest: Add a forgotten return, needed for opensuse buildservice

Signed-off-by: Marek Olšák <maraeo at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6fa2b29d226306870eebe93afb2106ca7d79569b

Git commit a9412fa9de219e38df361852a12df37688c891db by Kenneth Graunke on 13/08/2012 at 03:13..
intel: Use VG_CLEAR on the context destroy ioctl as well.

Otherwise pad appears uninitialized and valgrind grumbles.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9412fa9de219e38df361852a12df37688c891db

Git commit 5cfcadb55338942158f42a70c9f471e81c475407 by Maarten Lankhorst on 13/08/2012 at 08:36..
Merge tag 'libdrm-2.4.38' into debian-experimental

libdrm-2.4.38
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5cfcadb55338942158f42a70c9f471e81c475407

Git commit 70a0cfaab587afe4377456f27e37baa546dbc48b by Maarten Lankhorst on 13/08/2012 at 08:37..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70a0cfaab587afe4377456f27e37baa546dbc48b

Git commit 0061694cb071e8a9a476a0f02c1c2563137bc543 by Maarten Lankhorst on 13/08/2012 at 08:52..
Add new symbols for 2.4.38
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0061694cb071e8a9a476a0f02c1c2563137bc543

Git commit 5c0a95a6291848f30112181e8100443e9e01db11 by Timo Aaltonen on 13/08/2012 at 09:28..
Bump libdrm-intel1's and libdrm-nouveau2's shlibs due to new symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c0a95a6291848f30112181e8100443e9e01db11

Git commit 5f06d43a684f6ca69124bade4233b7df905cecc1 by Timo Aaltonen on 13/08/2012 at 09:34..
Hardcode the version for libdrm-omap1's shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f06d43a684f6ca69124bade4233b7df905cecc1

Git commit 3163cfe4db925429760407e77140e2d595338bc2 by Dave Airlie on 14/08/2012 at 01:04..
radeon: add prime import/export support

this adds radeon version of the prime import/export support.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3163cfe4db925429760407e77140e2d595338bc2

Git commit fad0ec6ef31b2a29b55d0eb65eec9a8d9e3479e6 by Christopher James Halse Rogers on 21/08/2012 at 04:13..
Add a libdrm2-udeb for Xserver 1.13
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fad0ec6ef31b2a29b55d0eb65eec9a8d9e3479e6

Git commit f215d651377d98f5998118c6824aeb2db75513be by Rob Clark (on behalf of Víctor Manuel Jáquez Leal) on 23/08/2012 at 19:21..
omap: include omap_drm.h independently

omap_drm.h uses data type defined in stdint.h, but that header was
not included.

omap_drm.h includes drm.h as a local file when it is part of the
compiler c flags.

This two issues are fixed. New code can include omap_drm.h alone.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f215d651377d98f5998118c6824aeb2db75513be

Git commit 58545722d0ee52f112859322466d9366915575b5 by Marek Olšák on 24/08/2012 at 14:51..
radeon: fix allocation of MSAA surfaces on r600-r700

Reviewed-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58545722d0ee52f112859322466d9366915575b5

Git commit 853429b939c792c4bc0bc91fdef696e3251b88d9 by Marek Olšák on 24/08/2012 at 14:51..
radeon: align r600 msaa buffers to a multiple of macrotile size * num samples

I am not sure whether this is needed, but better be safe than sorry.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/853429b939c792c4bc0bc91fdef696e3251b88d9

Git commit ae3ac8225fe1c6781ce425c57ef5fb6c5af6ccf4 by Marek Olšák on 24/08/2012 at 15:04..
configure: bump version for 2.4.39 release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae3ac8225fe1c6781ce425c57ef5fb6c5af6ccf4

Git commit 7080bfdfd9b6c5f003daaef37ae9c329f2d46a6c by Jakob Bornecrantz on 24/08/2012 at 15:17..
vmwgfx: No longer experimental

And hasn't been in a long while.

Reviewed-by: Zack Rusin <zackr at vmware.com>
Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7080bfdfd9b6c5f003daaef37ae9c329f2d46a6c

Git commit 92fd0ce4f659d7b0680543e9e5b96a3c7737a5f3 by Daniel Vetter on 01/09/2012 at 09:21..
intel: properly test for HAS_LLC

If the kernel supports the test, we need to check the param.
Copy&pasta from the above checks that only look at the return value.
Interesting how much one can get such a simple interface wrong.

Issue created in

commit 151cdcfe685ee280a4344dfc40e6087d74a5590f
Author: Eugeni Dodonov <eugeni.dodonov at intel.com>
Date:   Tue Jan 17 15:20:19 2012 -0200

    intel: query for LLC support

Patch even claims to have fixed this in v2, but is actually unchanged
from v1.

Reported-by: Xiang, Haihao <haihao.xiang at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92fd0ce4f659d7b0680543e9e5b96a3c7737a5f3

Git commit 8b9bd06b1ac94e3888bc0507fa82d0f1e0c8e303 by Sven Joachim on 01/09/2012 at 15:55..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b9bd06b1ac94e3888bc0507fa82d0f1e0c8e303

Git commit a393b3645ea2c96ce446ad73e6094bbb590e277e by Sven Joachim on 01/09/2012 at 15:58..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a393b3645ea2c96ce446ad73e6094bbb590e277e

Git commit 1f1e50dc6ce624c39a1f2c08c93acfb0eca4bca1 by Sven Joachim on 01/09/2012 at 16:14..
Bump libdrm-radeon1's symbols and shlibs

As per commit 3163cfe4db925429760407e77140e2d595338bc2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f1e50dc6ce624c39a1f2c08c93acfb0eca4bca1

Git commit f1c5b014206e6eac3cf5b9db55f6cf3d12d20475 by Sven Joachim on 01/09/2012 at 16:31..
Mark symbols declared in nouveau/private.h as private

Those are not part of the public API.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1c5b014206e6eac3cf5b9db55f6cf3d12d20475

Git commit 8572444fd0cda3e7b9557c09d2d0f7a9e049a2e7 by Michel Dänzer on 05/09/2012 at 16:47..
radeon: Fix layout of linear aligned mipmaps on SI.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8572444fd0cda3e7b9557c09d2d0f7a9e049a2e7

Git commit d05a296c523daed4558ea01b0eac7c896c66a63d by Sven Joachim on 05/09/2012 at 17:19..
Remove libdrm-nouveau1a

Since Plymouth in Wheezy no longer links against libdrm_nouveau and
Mesa 9.0 uses the new nouveau ABI, this package is redundant.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d05a296c523daed4558ea01b0eac7c896c66a63d

Git commit 45083e6d36125c64267c917da3d81e1e144ed33d by Michel Dänzer on 06/09/2012 at 13:24..
radeon: Memory footprint of SI mipmap base level is padded to powers of two.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45083e6d36125c64267c917da3d81e1e144ed33d

Git commit b925022a3e4616665b388a78abab4e3270b4b4ec by Michel Dänzer on 06/09/2012 at 13:25..
radeon: Sampling pitch for non-mipmaps seems padded to slice alignment on SI.

Another corner case that isn't well-explained yet.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b925022a3e4616665b388a78abab4e3270b4b4ec

Git commit 9c3c95fc0cb0945492279f0c7dcc0c2b1e8f463d by Marcin Slusarz on 07/09/2012 at 22:50..
libkms: link against libdrm

Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c3c95fc0cb0945492279f0c7dcc0c2b1e8f463d

Git commit 9d9cb8553c945fac15421770da233fb3e38396e0 by Jesse Barnes on 13/09/2012 at 18:50..
intel: add support for ValleyView

Just some PCI ID stuff to enable the right features.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d9cb8553c945fac15421770da233fb3e38396e0

Git commit 1b7ce582ceac74c7c5f1989c611b4f01a2a18434 by Kristian Høgsberg on 15/09/2012 at 02:06..
intel: Mark bo's exported to prime as not reusable

It's the same situation as flink and we need take the same precautions.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b7ce582ceac74c7c5f1989c611b4f01a2a18434

Git commit 2426a6a7112ae62755408a371831eddbe2d89d99 by Jesse Barnes on 17/09/2012 at 15:07..
libdrm: man page infrastructure and a few sample man pages
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2426a6a7112ae62755408a371831eddbe2d89d99

Git commit b3d90bbc1d43bb11d8de25109f403b1b30533c34 by Marek Olšák on 03/10/2012 at 15:52..
radeon: don't take the stencil-specific codepath for buffers without stencil

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3d90bbc1d43bb11d8de25109f403b1b30533c34

Git commit 77413e77b82a5d800c86b7d3b864d6cc797721c9 by Marek Olšák on 06/10/2012 at 03:45..
radeon: don't force stencil tile split to 0

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77413e77b82a5d800c86b7d3b864d6cc797721c9

Git commit 1aebfdc1121ccb6babb3a63dc0b99d68b4860b04 by Marek Olšák on 06/10/2012 at 03:45..
radeon: fix stencil miptree allocation of combined ZS buffers on EG and SI

This allows texturing with depth-stencil buffers directly without the copy
to CB. The separate miptree description for stencil is added, because
the stencil mipmap offsets are not really depth offsets/4 (at least
for the texture units).

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1aebfdc1121ccb6babb3a63dc0b99d68b4860b04

Git commit 75830a0d2cbb614ecc3f7e6b516ec595bb41d6a3 by Chris Wilson on 07/10/2012 at 09:09..
intel: Fix "properly test for HAS_LLC"

commit 92fd0ce4f659d7b0680543e9e5b96a3c7737a5f3
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Fri Aug 31 11:16:53 2012 +0200

    intel: properly test for HAS_LLC

missed slightly and in effect had no effect on the outcome of checking
whether the kernel/chipset supported LLC.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75830a0d2cbb614ecc3f7e6b516ec595bb41d6a3

Git commit 8cf3475eb5d887c361db372a644d0d1a11e137f8 by Chris Wilson on 07/10/2012 at 09:09..
intel: Correct the word decoding for gen2 3DSTATE_LOAD_STATE_IMMEDIATE_1

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cf3475eb5d887c361db372a644d0d1a11e137f8

Git commit a83444c925b18b3db431336360d6915aaf21f727 by Chris Wilson on 07/10/2012 at 09:09..
intel: Silence a trivial compiler warning

intel_bufmgr_gem.c: In function 'drm_intel_bo_gem_export_to_prime':
intel_bufmgr_gem.c:2477:6: warning: unused variable 'ret' [-Wunused-variable]

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a83444c925b18b3db431336360d6915aaf21f727

Git commit 14db948127e549ea9234e02d8e112de3871f8f9f by Dave Airlie (on behalf of Daniel Stone) on 08/10/2012 at 05:49..
configure.ac: Allow forcible disabling of Cairo support

We don't want to build libdrm tests with Cairo support under Poky, since
they're never used and also cause a build loop from libdrm -> cairo ->
mesa-dri -> libdrm.

To avoid variance in build results, introduce a --disable-cairo-tests
switch.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14db948127e549ea9234e02d8e112de3871f8f9f

Git commit 28a13f0be734958c74ae5a23d9cf766fa0857a62 by Rob Clark (on behalf of Vincent Penquerc'h) on 09/10/2012 at 14:41..
omap: release lock also on error paths

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28a13f0be734958c74ae5a23d9cf766fa0857a62

Git commit 844d75e5a0b3b8f3466a24256955e886275fb298 by Rob Clark on 09/10/2012 at 14:49..
update gitignore

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/844d75e5a0b3b8f3466a24256955e886275fb298

Git commit e81acf51013d5d4245417c46ee6b4055c26f1a91 by Rob Clark on 14/10/2012 at 21:56..
initialize width/height fields in drmModeCrtc

If we have valid timings, we can at least set width/height to
*something*, which is I think at least less confusing than always
seeing width/height of zero.  At least modeprint and modetest
seem to expect width/height to mean something.

Signed-off-by: Rob Clark <rob at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e81acf51013d5d4245417c46ee6b4055c26f1a91

Git commit a4cb7233a8da171e53b48b376be5c1265c29a612 by Alex Deucher on 16/10/2012 at 16:58..
radeon: add some new SI pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4cb7233a8da171e53b48b376be5c1265c29a612

Git commit bc494b310d76f701798aee0f2b0b472d608cbfaf by Andreas Boll on 24/10/2012 at 16:25..
radeon: fix unused-function warning

radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but
not used [-Wunused-function]

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc494b310d76f701798aee0f2b0b472d608cbfaf

Git commit e32fff8e9ea8d522679eaab21a9555cab134fb36 by Marek Olšák on 26/10/2012 at 18:00..
radeon: fix tile_split of 128-bit surface formats with 8x MSAA

The calculation led to the number 8192, which is too high.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e32fff8e9ea8d522679eaab21a9555cab134fb36

Git commit 2089a0080edb1b42449ee9a97f2cef7399c16d53 by Dave Airlie on 05/11/2012 at 22:21..
fix make distcheck

typo,

Reported-by: mareko on irc
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2089a0080edb1b42449ee9a97f2cef7399c16d53

Git commit e01d68f9f3acfc35fe164283904b5d058c2ab378 by Marek Olšák on 06/11/2012 at 00:23..
configure.ac: bump version to 2.4.40 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e01d68f9f3acfc35fe164283904b5d058c2ab378

Git commit 7d42b49c0cf19dbb4531cd84efae51f95db2eea1 by Ben Widawsky (on behalf of David Shao) on 10/11/2012 at 19:52..
intel: Fix missing ETIME on BSD operating systems

Originally posted to Free Desktop bug #52549 by David Shao.
Resolves Gentoo Bug #433403.
Commit message by Richard Yao.

Reviewed-by: Richard Yao <ryao at gentoo.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
References: https://bugs.freedesktop.org/show_bug.cgi?id=52549

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d42b49c0cf19dbb4531cd84efae51f95db2eea1

Git commit 81ba2542e712353f98fd2d2637838e7b5f86c312 by Sven Joachim on 15/11/2012 at 19:08..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81ba2542e712353f98fd2d2637838e7b5f86c312

Git commit f19d74deb831035d470d04b9d2802203895a97b8 by Sven Joachim on 15/11/2012 at 19:30..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f19d74deb831035d470d04b9d2802203895a97b8

Git commit 1d729dd500fc700cf75c61e11fdaadbe8c76298b by Sven Joachim on 15/11/2012 at 19:30..
Drop patch 02_build_libkms_against_in_tree_drm.diff

Applied upstream in commit 9c3c95fc0cb0945492279f0c7dcc0c2b1e8f463d.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d729dd500fc700cf75c61e11fdaadbe8c76298b

Git commit fb429907b6d74074557b41d9fbe098b5f4235904 by Sven Joachim on 15/11/2012 at 19:31..
Fix vmwgfx confflags

Since commit 7080bfdfd9b6c5f003daaef37ae9c329f2d46a6c vmwgfx is no
longer considered experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb429907b6d74074557b41d9fbe098b5f4235904

Git commit c8352e15c1f267e3d6e97cd1aaf2f9942c3f8224 by Sven Joachim on 15/11/2012 at 19:31..
Install section manpages into the libdrm-dev package

Commit 2426a6a7112ae62755408a371831eddbe2d89d99 introduced these
manpages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8352e15c1f267e3d6e97cd1aaf2f9942c3f8224

Git commit c809c030bde630e994149c70f9df94617d70e74d by Julien Cristau on 17/11/2012 at 17:53..
Upload to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c809c030bde630e994149c70f9df94617d70e74d

Git commit 171666e4b8127c17c68ea0d44cf4e81ec342f2d0 by Alex Deucher on 21/11/2012 at 23:45..
radeon: add new SI pci id

Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/171666e4b8127c17c68ea0d44cf4e81ec342f2d0

Git commit 0980633afd9c7eecc0c75ef3bea4d3c6b7aa1898 by Jerome Glisse on 28/11/2012 at 15:41..
drm/radeon: track global bo name and always return the same

To avoid kernel rejecting cs if we return different global name
for same bo keep track of global name and always return the same.
Seems to fix issue with suspend/resume failing and repeatly printing
following message :
[drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!

There might still be way for a rogue program to trigger this issue.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0980633afd9c7eecc0c75ef3bea4d3c6b7aa1898

Git commit 1b072ee351dd6254999ae7d76fc066f811c8ed13 by Julien Cristau on 25/12/2012 at 12:12..
Revert nouveau to the 2.4.33 state (ie before the rewrite).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b072ee351dd6254999ae7d76fc066f811c8ed13

Git commit abc34f3d609e1088ebff24c4695e1a2a5012f224 by Julien Cristau on 25/12/2012 at 12:13..
Revert addition of libdrm2-udeb.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abc34f3d609e1088ebff24c4695e1a2a5012f224

Git commit 503b3d229472d6fb747b39dc7fc4a3b1210245d2 by Julien Cristau on 25/12/2012 at 12:14..
Bump libdrm2 shlibs to 2.4.38.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/503b3d229472d6fb747b39dc7fc4a3b1210245d2

Git commit 43a03a3c81bee6dc8864d6990cf51592ea54d253 by Julien Cristau on 25/12/2012 at 12:17..
Bump libdrm2 shlibs to 2.4.38.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/43a03a3c81bee6dc8864d6990cf51592ea54d253

Git commit 1f4b5e11e638fc87bd0ac8e3530b407211b76d45 by Jerome Glisse (on behalf of Maxime Villard) on 02/01/2013 at 15:55..
libkms: fix memory leak in error path

Signed-off-by: Maxime Villard <rustyBSD at gmx.fr>
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f4b5e11e638fc87bd0ac8e3530b407211b76d45

Git commit baf0a7daafc7636106e1b19267ed22e22b1a2283 by Jerome Glisse (on behalf of Maxime Villard) on 02/01/2013 at 15:57..
libkms: return -EINVAL on fstat error

On error fstat return -1, instead return -EINVAL to caller

Signed-off-by: Maxime Villard <rustyBSD at gmx.fr>
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baf0a7daafc7636106e1b19267ed22e22b1a2283

Git commit a523d34a401239ea24a85593c71ed22eeea4d878 by Julien Cristau on 05/01/2013 at 21:28..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a523d34a401239ea24a85593c71ed22eeea4d878

Git commit ed71378a89bd417f451fdd4bfeb7225a39bc4539 by Julien Cristau on 05/01/2013 at 21:50..
Fix upload target
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed71378a89bd417f451fdd4bfeb7225a39bc4539

Git commit 26dca5adf4f9e7bc333db348cd173c57771f76f8 by Julien Cristau (on behalf of David Shao) on 06/01/2013 at 11:13..
intel: Fix missing ETIME on BSD operating systems

Originally posted to Free Desktop bug #52549 by David Shao.
Resolves Gentoo Bug #433403.
Commit message by Richard Yao.

Reviewed-by: Richard Yao <ryao at gentoo.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
References: https://bugs.freedesktop.org/show_bug.cgi?id=52549

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
(cherry picked from commit 7d42b49c0cf19dbb4531cd84efae51f95db2eea1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26dca5adf4f9e7bc333db348cd173c57771f76f8

Git commit 112d146e15c65aa5df60df9e618af155d97b6621 by Julien Cristau on 06/01/2013 at 11:45..
Fix FTBFS on kfreebsd
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/112d146e15c65aa5df60df9e618af155d97b6621

Git commit e3013e8b96ee530475fb0df3e0e92684f405873f by Julien Cristau on 06/01/2013 at 11:47..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3013e8b96ee530475fb0df3e0e92684f405873f

Git commit 891517f5111cd82909906d5e8ee0299db0d46762 by Ben Skeggs on 07/01/2013 at 03:15..
nouveau: disallow pushbuf BOs in multiple memory types

Under certain circumstances it's possible for libdrm to decide to move
a GART|VRAM pushbuf to be VRAM-only.  This causes the kernel to reject
the command submission on GF8 and up, due to a stricter policy where
buffers are only allowed to move to memory types that were specified
at creation time.

The simplest fix for this is to force the creation-time memory type for
the lifetime of the push buffer.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/891517f5111cd82909906d5e8ee0299db0d46762

Git commit 6b7e45c7516b7fdfe85e7792f82624458dcb2ac6 by Jesse Barnes (on behalf of David Herrmann) on 10/01/2013 at 00:17..
man: convert manpages to XML instead of plain troff

If we want to use the manpages in external documentation other than normal
manpages, we should rather use XML. Furthermore, almost no-one knows troff
today, anyway, and XML allows others to easily add more pages without
having to learn troff.

Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b7e45c7516b7fdfe85e7792f82624458dcb2ac6

Git commit 0a766a5388ba6ff0983ad5181a5f6644aea8050a by Jesse Barnes (on behalf of David Herrmann) on 10/01/2013 at 00:17..
man: add drm.7 overview page

The drm.xml file compiles to drm.7 and is meant as a global overview page
for libdrm. It is targeted to new users of libdrm and redirects to all
other main man-pages.

Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a766a5388ba6ff0983ad5181a5f6644aea8050a

Git commit 8cd0c131df20d983657c4e205493109a8c71624e by Jesse Barnes (on behalf of David Herrmann) on 10/01/2013 at 00:17..
man: add drm-kms overview page

This is an overview page for KMS. It is again targeted at novice users
that need redirection to the correct function man-pages.

Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cd0c131df20d983657c4e205493109a8c71624e

Git commit fd6b369d39bc710acf56632a292308eb4e23d6db by Jesse Barnes (on behalf of David Herrmann) on 10/01/2013 at 00:17..
man: add drm-memory overview page

This adds an overview page that describes Dumb-Buffers, TTM and GEM. It
does not describe chipset-specific features. You should do that in the
driver-manpages.

Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd6b369d39bc710acf56632a292308eb4e23d6db

Git commit 1dbd873700f281d9773e64931ff0c1cf96e13793 by Jesse Barnes on 10/01/2013 at 01:28..
man: disable man page building until David saves us all

I must have botched something in the push of the xml switchover, since I
now get errors when building the pages and aliases.  Just disable for
now.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1dbd873700f281d9773e64931ff0c1cf96e13793

Git commit fdda97007b1dbf95beb16a0e3510fd36c89e8c33 by Chris Wilson on 13/01/2013 at 10:29..
intel: Remove the fence count contributions when clearing relocs

As we clear the relocs from the bo, we also need to clear the
contribution of the reloc_target_bo from the fence count. Otherwise they
are leaked and prevent any further relocations being added to the bo.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdda97007b1dbf95beb16a0e3510fd36c89e8c33

Git commit 9e6f96a579fc2ed241e9a31a35a5995129ee8f7a by Marcin Slusarz on 14/01/2013 at 17:56..
libdrm_nouveau.pc: don't include I${includedir}/nouveau

Nouveau headers are installed in I${includedir}/libdrm.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e6f96a579fc2ed241e9a31a35a5995129ee8f7a

Git commit c41b494c47f8e514e69cb8c2f2ace41d5fa17c94 by Ben Skeggs on 16/01/2013 at 09:48..
nouveau: expose channel engine selection on kepler chipsets

v2: Take Maarten Lankhorst's suggestion of nesting the struct to prevent
    sizeof() issues due to padding on older revisions.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c41b494c47f8e514e69cb8c2f2ace41d5fa17c94

Git commit 007bff7a034741dcf9d1716583f91fc4453d4112 by Maarten Lankhorst on 16/01/2013 at 12:06..
configure.ac: bump version to 2.4.41 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/007bff7a034741dcf9d1716583f91fc4453d4112

Git commit 40e446ea8321db011c6d87ac67ef6e77ddaa6ac7 by Maarten Lankhorst on 16/01/2013 at 12:31..
Merge tag 'libdrm-2.4.41' into debian-experimental

libdrm-2.4.41
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40e446ea8321db011c6d87ac67ef6e77ddaa6ac7

Git commit ed2ab427f7d40fcd52a16e8aa0360d440fbf3385 by Maarten Lankhorst on 16/01/2013 at 12:41..
New upstream release.

Manpage building has temporarily been disabled upstream,
but when it's re-enabled we should require xsltproc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed2ab427f7d40fcd52a16e8aa0360d440fbf3385

Git commit 9ab7a43c4e57e618854b3641101fcd707736dbf0 by Maarten Lankhorst on 16/01/2013 at 13:05..
Add 02_fix_build.diff fix a build error.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ab7a43c4e57e618854b3641101fcd707736dbf0

Git commit 481763c2c7f5224a9f053ab3a2b2356eb89a96f0 by Maarten Lankhorst on 16/01/2013 at 13:29..
nouveau: use @PACKAGE_VERSION@ in libdrm_nouveau.pc

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/481763c2c7f5224a9f053ab3a2b2356eb89a96f0

Git commit 08cb5c1d0245f6bfc1dd4d041eb418bc160c7b05 by Jesse Barnes (on behalf of David Herrmann) on 16/01/2013 at 18:59..
man: fix manpage build instructions

This fixes all the out-of-tree build-failures with manpages and uses a
.man_fixup file to avoid overriding man-pages on every build.

Manpages are only built if xsltproc is found and the stylesheets are
available locally. You can disable building manpages with
--disable-manpages so the quite expensive xsltproc procedure can be
skipped.

Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08cb5c1d0245f6bfc1dd4d041eb418bc160c7b05

Git commit 303ca37e722e68900cb7eb43ddbef8069b0c711b by Michel Dänzer on 18/01/2013 at 19:24..
radeon: Fix 1D tiling layout on SI.

Very similar to Evergreen, but slightly different rules for tile / slice
alignment. Fortunately, these map quite naturally onto the previous fixes for
linear aligned layout on SI.

2D tiling still needs more work here and possibly in the kernel.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/303ca37e722e68900cb7eb43ddbef8069b0c711b

Git commit 9dc0072e8d5a47fb0b2ada50fb897cb2c740bb40 by Jesse Barnes (on behalf of Thierry Reding) on 25/01/2013 at 21:46..
man: Fix typo and use $() for make expressions

Due to the typo, none of the .xml files would end up in the release
tarball and cause make distcheck as well as builds from the tarball to
fail.

Using $() isn't strictly necessary but other variables and expressions
use that variant already so it makes the usage consistent.

Reviewed-by: David Herrmann <dh.herrmann at googlemail.com>
Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dc0072e8d5a47fb0b2ada50fb897cb2c740bb40

Git commit ef866c7293e699b119ae61738e221857a36a5362 by Jesse Barnes on 02/02/2013 at 10:10..
intel: add more VLV PCI IDs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef866c7293e699b119ae61738e221857a36a5362

Git commit 76ae1f4837ceb2c15ccf847e4abe2b5c4f66df85 by Alex Deucher on 04/02/2013 at 20:03..
radeon: add OLAND family

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76ae1f4837ceb2c15ccf847e4abe2b5c4f66df85

Git commit 353f073bc134a94d13fe82e4f3d983efe3cf70ad by Alex Deucher on 04/02/2013 at 20:03..
radeon: add OLAND pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/353f073bc134a94d13fe82e4f3d983efe3cf70ad

Git commit f9a9311c5e96606de9726ae4021209897b9bb2d7 by Maarten Lankhorst on 05/02/2013 at 13:14..
libdrm: remove DISTCHECK_CONFIGURE_FLAGS

I'm fairly sure the extra flags it specifies no longer exist, so
there is no point in keeping it. It only adds a warning when
running make distcheck.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9a9311c5e96606de9726ae4021209897b9bb2d7

Git commit 183b5f20b59c83f57967b41d1e3a90c073e8df76 by Maarten Lankhorst on 05/02/2013 at 13:14..
configure.ac: bump version to 2.4.42 for release

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/183b5f20b59c83f57967b41d1e3a90c073e8df76

Git commit 3b5cc135424f3b8d6b79fb409fe9b4ffc4855333 by Kenneth Graunke on 06/02/2013 at 19:19..
intel/aub: Actually run BLT batches on the blit ring.

We didn't set the ring flag for BLT batches, so they got run on the
render ring.  Shenanigans ensued, especially when we sent commands that
were only valid on the BLT ring.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b5cc135424f3b8d6b79fb409fe9b4ffc4855333

Git commit 20c5607b57da113ca1a29caaa5a52eaf83808dff by Kenneth Graunke (on behalf of Chris Forbes) on 06/02/2013 at 19:20..
intel: fix length mask for Gen5/Gen6 3DSTATE_CLEAR_PARAMS

On Gen6, bit 15 is now `Depth Clear Value Valid`. This was being treated
as part of the length, and failing the rest of the batchbuffer decode.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20c5607b57da113ca1a29caaa5a52eaf83808dff

Git commit 3df3f11808ccd47a99590b9966655604ead101ed by Timo Aaltonen on 07/02/2013 at 08:39..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3df3f11808ccd47a99590b9966655604ead101ed

Git commit ce6151da5bc5d767adff7f36f5b9f473286d1209 by Timo Aaltonen on 07/02/2013 at 08:39..
update the changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce6151da5bc5d767adff7f36f5b9f473286d1209

Git commit b133b92d52fe8c5b0becd29c6a50722095cccc26 by Timo Aaltonen on 07/02/2013 at 08:50..
drop 02_fix_build.diff, FTBFS with sbuild
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b133b92d52fe8c5b0becd29c6a50722095cccc26

Git commit 98e413f259a029f8cd30d73c346331c6627f0832 by Timo Aaltonen on 07/02/2013 at 08:51..
control: Bump policy to 3.9.4, no changes.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98e413f259a029f8cd30d73c346331c6627f0832

Git commit 34041b5572dd4ad7057cc6d801a17f2ac8d02679 by Maarten Lankhorst on 08/02/2013 at 12:22..
add manpages back to libdrm-dev
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34041b5572dd4ad7057cc6d801a17f2ac8d02679

Git commit 2434d92d8d36dac8a94a76ab21f014d562b6deb1 by Maarten Lankhorst on 08/02/2013 at 12:23..
Re-enable building of manpages, and build-depend on xsltproc
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2434d92d8d36dac8a94a76ab21f014d562b6deb1

Git commit 1c2190cb05ebbe7a76905de6a4051387ac2c3904 by Maarten Lankhorst on 08/02/2013 at 12:31..
add docbook-xsl to build-depends too
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c2190cb05ebbe7a76905de6a4051387ac2c3904

Git commit 63bcd055b68839354145c4e09beda855ad05ea36 by Sven Joachim on 08/02/2013 at 17:52..
Undo accidental changes to upstream files

Made in commit 2434d92d8d36dac8a94a76ab21f014d562b6deb1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63bcd055b68839354145c4e09beda855ad05ea36

Git commit b3fd78c9285cdc7d4eee01c1ee97f9ffe94622d9 by Sven Joachim on 08/02/2013 at 18:00..
Fix up debian/changelog

Manpages were never disabled in versions uploaded to Debian, and
docbook-xsl build dependency was added in commit
2434d92d8d36dac8a94a76ab21f014d562b6deb1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3fd78c9285cdc7d4eee01c1ee97f9ffe94622d9

Git commit 36d18211b196cad4761ac70c4fd08aba323f5b0d by Ben Widawsky on 11/02/2013 at 23:25..
intel_chipset: Merge intel-gpu-tools chipsets

Intel GPU Tools is newer and arguably better. This change doesn't
completely merge the files because it's a bit simpler if we move the
I9XX macro over to Intel GPU Tools, and don't move over a few macros
from IGT that libdrm doesn't care about.

It has been discussed, and would seem even easier if Intel GPU Tools
simply used the libdrm header files. Whether or not we move to that,
this should help that effort.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Acked-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36d18211b196cad4761ac70c4fd08aba323f5b0d

Git commit 41fc2cc8a98a8d02ea7d3635d3103f7dd371de10 by Rob Clark on 14/02/2013 at 17:13..
freedreno: add freedreno DRM

The libdrm_freedreno helper layer for use by xf86-video-freedreno,
fdre (freedreno r/e library and tests for driving gpu), and eventual
gallium driver for the Adreno GPU.  This uses the msm gpu driver
from QCOM's android kernel tree.

Note that current msm kernel driver is a bit strange.  It provides a
DRM interface for GEM, which is basically sufficient to have DRI2
working.  But it does not provide KMS.  And interface to 2d and 3d
cores is via different other devices (/dev/kgsl-*).  This is not
quite how I'd write a DRM driver, but at this stage it is useful for
xf86-video-freedreno and fdre (and eventual gallium driver) to be
able to work on existing kernel driver from QCOM, to allow to
capture cmdstream dumps from the binary blob drivers without having
to reboot.  So libdrm_freedreno attempts to hide most of the crazy.
The intention is that when there is a proper kernel driver, it will
be mostly just changes in libdrm_freedreno to adapt the gallium
driver and xf86-video-freedreno (ignoring the fbdev->KMS changes).

So don't look at freedreno as an example of how to write a libdrm
module or a DRM driver.. it is just an attempt to paper over a non-
standard kernel driver architecture.

v1: original
v2: hold ref's to pending bo's (because qcom's kernel driver doesn't),
    various bug fixes, add ringbuffer markers so we can emit IB's to
    portion of ringbuffer (so that gallium driver can use a single
    ringbuffer for both tile cmds and draw cmds.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41fc2cc8a98a8d02ea7d3635d3103f7dd371de10

Git commit ade2ad2d66ac341a12eca37bcb30d40199eb4e02 by Jerome Glisse on 07/03/2013 at 14:47..
radeonsi: make sure tile_split field are not garbage

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ade2ad2d66ac341a12eca37bcb30d40199eb4e02

Git commit bbf6e3dea3c79ea8e0c3e1dd8f80014201e003fc by Rob Clark (on behalf of Inki Dae) on 08/03/2013 at 16:49..
libdrm/exynos: add test application for 2d gpu.

This patch adds library and test application for g2d gpu(fimg2d).

The fimg2d hardware is a 2D graphics accelerator(G2D) that
supports Bit Block Transfer(BitBLT).

The library includes the following primitive drawing operations:
.solid fill - This operation fills the given buffer with
	the given color data.
.copy - This operation copies contents in source buffer to
	destination buffer.
.copy_with_scale - This operation copies contents in source buffer
	to destination buffer scaling up or down properly.
.blend - This operation blends contents in source buffer with
	the ones in destination buffer.

And the above operations uses gem handle or user space address
allocated by malloc() as source or destination buffer.

And the test application includes just simple primitive drawing
tests with the above library.
And the guide to test is as the following,
	"#exynos_fimg2d_test -s connector_id at crtc_id:mode"

With this above simple command, four primitive drawing operations
would be called step by step and also rendered on the output device
to the given connector and crtc id.

Signed-off-by: Inki Dae <inki.dae at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
Signed-off-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbf6e3dea3c79ea8e0c3e1dd8f80014201e003fc

Git commit 36a2daad2416ad55a859c483b0d7ed93a5eff6e0 by Alex Deucher on 08/03/2013 at 19:12..
radeon: add pci ids for Richland APUs

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36a2daad2416ad55a859c483b0d7ed93a5eff6e0

Git commit bdef5df2220cf98a885232888655510f9aec9f7f by Maarten Lankhorst on 14/03/2013 at 11:42..
Add valgrind to build-depends.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdef5df2220cf98a885232888655510f9aec9f7f

Git commit 62d8866021f04bc8afc8e63d366c71d11c817bc9 by Rob Clark (on behalf of Benjamin Gaignard) on 25/03/2013 at 14:34..
tests: allow tests programs to be installed

Install test programs is useful in cross compilation case.  By default
the behavior is the same and test programs aren't installed in $bindir.
If --enable-install-test-programs is set then test programs are
installed in $bindir.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>
Signed-off-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62d8866021f04bc8afc8e63d366c71d11c817bc9

Git commit 9b0c7f23a261d9bfa857a7e0efd2c5f97d404485 by Andreas Boll (on behalf of Benjamin Gaignard) on 26/03/2013 at 10:55..
tests: allow tests programs to be installed (cumulative patch)

fix error in previous patch

Signed-off-by: Benjamin Gaignard <benjamin.gaignard at linaro.com>
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b0c7f23a261d9bfa857a7e0efd2c5f97d404485

Git commit 284421a56921337aaabcec7ad2790034249c7b31 by Marcin Slusarz on 26/03/2013 at 20:08..
nouveau: return error from pushbuf_validate

Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/284421a56921337aaabcec7ad2790034249c7b31

Git commit f92d7969bf6ba636d193423cf2388956badde3ff by Marcin Slusarz on 26/03/2013 at 20:08..
nouveau: add a way to override single pushbuffer memory limits

Currently single pushbuffer can take up to 80% of VRAM and 80% of GART.
As this value seems to be arbitrary (and user may need to set it differently)
this patch adds support for 2 environment variables:
NOUVEAU_LIBDRM_VRAM_LIMIT_PERCENT (default 80)
NOUVEAU_LIBDRM_GART_LIMIT_PERCENT (default 80)
which will let users override pushbuffer VRAM/GART limits.

Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f92d7969bf6ba636d193423cf2388956badde3ff

Git commit 6e55fd7dee48dabcd46939df1aa8729eba426298 by Ville Syrjälä on 27/03/2013 at 09:13..
intel_chipset: Use parens around macro arguments

Protect the macro argument evaluations with parens.

This is already touching most lines, so while at it, fix up all white
space to uniform style throughout the file.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e55fd7dee48dabcd46939df1aa8729eba426298

Git commit 93d12593e5f1b251a09b112d7beaf5cfca026896 by Ville Syrjälä on 27/03/2013 at 09:13..
intel_chipset: Fix up VLV confusion

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93d12593e5f1b251a09b112d7beaf5cfca026896

Git commit c005f043dcb4df5ed8a36b9f4b70fcf9e92d52a5 by Maarten Lankhorst on 27/03/2013 at 09:42..
configure.ac: bump version to 2.4.43 for release

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c005f043dcb4df5ed8a36b9f4b70fcf9e92d52a5

Git commit 7dab25e646bae5222fb6d2a15f32f69f0800a217 by Maarten Lankhorst on 27/03/2013 at 10:07..
Merge tag 'libdrm-2.4.43' into debian-experimental

libdrm-2.4.43
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dab25e646bae5222fb6d2a15f32f69f0800a217

Git commit 2f54887cd7a0fcb6f8f913c9e828e842960d4e5d by Maarten Lankhorst on 27/03/2013 at 10:12..
bump changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f54887cd7a0fcb6f8f913c9e828e842960d4e5d

Git commit 6113c3daa8826a11546693af07dee3313e09a167 by Maarten Lankhorst on 27/03/2013 at 12:56..
Remove unused header xf86mm.h.

it's not even shipped in the tarball.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6113c3daa8826a11546693af07dee3313e09a167

Git commit 99105e765c31b598746b849e66e7a9106dcefa24 by Maarten Lankhorst on 27/03/2013 at 13:06..
makefiles: Add missing headers.

I even compile time tested this on a panda with make dist!

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99105e765c31b598746b849e66e7a9106dcefa24

Git commit 1eb2860b4bd0306dddc5b2f2dc7403aa65c5e476 by Jesse Barnes (on behalf of Daniel Kurtz) on 28/03/2013 at 15:34..
drm: Fix error message in drmWaitVBlank

If clock_gettime did fail, it would return -1 and set errno.
What we really want to strerror() is the errno.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1eb2860b4bd0306dddc5b2f2dc7403aa65c5e476

Git commit ca678bc073462623cfc89dea80271bc361f1655f by Kenneth Graunke on 28/03/2013 at 20:24..
intel: Fix Haswell CRW PCI IDs.

The second digit was off by one, which meant we accidentally treated
GT(n) as GT(n-1).  This also meant no support for GT1 at all.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca678bc073462623cfc89dea80271bc361f1655f

Git commit b7bb9e929786eb8bae86cf50f54dcb94bfa7ad46 by Daniel Vetter on 04/04/2013 at 07:59..
intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding

It accidentally used the cmd id for the gen7 command and had an
outdated lenght field. Spotted while trying to make sense of an ivb
error_state from mesa 7.11 ...

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7bb9e929786eb8bae86cf50f54dcb94bfa7ad46

Git commit 309cb649a380d25a0eced4f3a0edb55d6b577099 by Jerome Glisse on 12/04/2013 at 13:46..
radeon: update radeon_drm.h to kernel last API additions v2

v2: sync with radeon-next tree for 3.10

http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.10-wip

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/309cb649a380d25a0eced4f3a0edb55d6b577099

Git commit a36cdb858e21f287d7b51ded2f211f1c84bda90b by Jerome Glisse on 12/04/2013 at 13:46..
radeon: add si tiling support v5

v2: Only writte tile index if flags for it is set
v3: Remove useless allow2d scanout flags
v4: Split radeon_drm.h update to its own patch
v5: update against lastest next tree for radeon

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a36cdb858e21f287d7b51ded2f211f1c84bda90b

Git commit e5d8a9c1d6375feb74feb52f419a025f1abf94d1 by Rob Clark on 13/04/2013 at 12:13..
freedreno: add shifted reloc

Needed for RB_COPY_DEST_BASE register on a3xx.

Signed-off-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5d8a9c1d6375feb74feb52f419a025f1abf94d1

Git commit 9fa4a4b1a894fa8fffe2075bc3376b7fa5e18104 by Jerome Glisse (on behalf of Laurent Pinchart) on 18/04/2013 at 14:05..
kms: Make libkms.h usable in C++

Wrap the header in extern "C" { ... };.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Jakob Bornecrantz <wallbraker at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fa4a4b1a894fa8fffe2075bc3376b7fa5e18104

Git commit aa4afdf0b3be20aa6037b64f90983ea0146b2893 by Jerome Glisse (on behalf of Laurent Pinchart) on 18/04/2013 at 14:07..
kms: Return a negative error code in kms_bo_create()

The function returns returns 0 on success or a negative value in case of an
error, except when given invalid attributes in which case it returns the
positive EINVAL value. Replace that with -EINVAL to allow the caller to detect
errors with a < 0 check.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Jakob Bornecrantz <wallbraker at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa4afdf0b3be20aa6037b64f90983ea0146b2893

Git commit c2988eb211ecad2db60081f1000cf19b350703db by Jerome Glisse (on behalf of Ville Syrjälä) on 18/04/2013 at 18:52..
modetest: Fix pitches, somewhat

libkms only has the xrgb8888 format, so we're overallocating the bo by
quite a lot in some cases. But we still need to get the pitch from the
libkms since it's the driver that decides how to align it.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2988eb211ecad2db60081f1000cf19b350703db

Git commit fa2925aa342158037ef972f3ef095442fb1fe430 by Jerome Glisse (on behalf of Ville Syrjälä) on 18/04/2013 at 18:52..
modetest: Add support for all 16/32 bpp RGB formats

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa2925aa342158037ef972f3ef095442fb1fe430

Git commit 8e56579b203a11c718c5e3da6fdb03b4f9b9fe56 by Jerome Glisse (on behalf of Ville Syrjälä) on 18/04/2013 at 18:52..
modetest: Print possible_crtcs for planes

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e56579b203a11c718c5e3da6fdb03b4f9b9fe56

Git commit 2c26a106fcfb692badef4c42faaed46508a3d1d3 by Jerome Glisse (on behalf of Ville Syrjälä) on 18/04/2013 at 18:52..
modetest: Reduce the length of the connector type string

Spelling out eDP or DP make for a ridicilously long string which plays
havoc with formatting. Just say eDP or DP.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c26a106fcfb692badef4c42faaed46508a3d1d3

Git commit 3f024f85d816a648473373bccc8ccc915951886a by Jerome Glisse (on behalf of Ville Syrjälä) on 18/04/2013 at 18:53..
modetest: Pass format_info to fill_tiles functions

The fourcc is inside the format_info structure, so if we want to use
it inside the various fill_tiles functions, we need to pass down the
whole format_info, not just the rgb/yuv infos.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f024f85d816a648473373bccc8ccc915951886a

Git commit 83e77461249d535a77c3ed055d198e26f0c1b390 by Jerome Glisse (on behalf of Ville Syrjälä) on 18/04/2013 at 18:53..
modetest: Add YUV420 support and fix YVU420 Cb/Cr ordering

YUV420 support is trivial to add since the code already supports
YVU420.

But it looks like the YVU420 support is a bit broken. The chroma
planes are passed in the wrong order to the fill functions, so
fix that while were at it.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83e77461249d535a77c3ed055d198e26f0c1b390

Git commit 9768af201e9aba2093c80a8da3632fe9e4c044fe by Jerome Glisse on 18/04/2013 at 19:01..
libdrm 2.4.44
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9768af201e9aba2093c80a8da3632fe9e4c044fe

Git commit 86709ba5373730a438602459e104bf0a9a49559d by Rob Clark on 22/04/2013 at 18:49..
freedreno: add gpu-id property

Gallium driver will need to query this to figure out whether to load the
a2xx or a3xx driver.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86709ba5373730a438602459e104bf0a9a49559d

Git commit 12464a70ed502d9f401931156005afd717a9992f by Rob Clark on 22/04/2013 at 18:50..
Add exynos_fimg2d_test to .gitignore

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12464a70ed502d9f401931156005afd717a9992f

Git commit 439d7d74320a148a2d53aec1ca28eba672ad9353 by Alex Deucher on 25/04/2013 at 18:12..
radeon: add new SI pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/439d7d74320a148a2d53aec1ca28eba672ad9353

Git commit ec3c257eb6958da493aee6f010f51a07d7ba4160 by Alex Deucher on 25/04/2013 at 18:13..
radeon: add new richland pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec3c257eb6958da493aee6f010f51a07d7ba4160

Git commit b3a3a77823ada2eb37233678b5a49efaec9b75cb by Rob Clark on 25/04/2013 at 21:33..
freedreno: add synchronization between mesa and ddx

Super-cheezy way to synchronization between mesa and ddx..  the
SET_ACTIVE ioctl gives us a way to stash a 32b # w/ a GEM bo, and
GET_BUFINFO gives us a way to retrieve it.  We use this to stash
the timestamp of the last ISSUEIBCMDS on the buffer.

To avoid an obscene amount of syscalls, we:
 1) Only set the timestamp for buffers w/ an flink name, ie.
    only buffers shared across processes.  This is enough to
    catch the DRI2 buffers.
 2) Only set the timestamp for buffers submitted to the 3d ring
    and only check the timestamps on buffers submitted to the
    2d ring.  This should be enough to handle synchronizing of
    presentation blit.  We could do synchronization in the other
    direction too, but that would be problematic if we are using
    the 3d ring from DDX, since client side wouldn't know this.

The waiting on timestamp happens before flush, and setting of
timestamp happens after flush.  It is transparent to the user
of libdrm_freedreno as all the tracking of buffers happens via
_emit_reloc()..

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3a3a77823ada2eb37233678b5a49efaec9b75cb

Git commit 011999927f76a7e9ba8f047fae4b4e084da6c2c3 by Ben Widawsky (on behalf of Xiang, Haihao) on 27/04/2013 at 18:31..
intel: Add support for VEBOX ring (v2)

v2: Fix the test for has_vebox

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/011999927f76a7e9ba8f047fae4b4e084da6c2c3

Git commit f2cfadb24c11c11bb6a54750d09526b9109fad60 by Maarten Lankhorst on 02/05/2013 at 07:10..
Merge tag '2.4.44' into debian-experimental

libdrm 2.4.44
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2cfadb24c11c11bb6a54750d09526b9109fad60

Git commit d54a4da2c89a72f308bb56e20265aa11a5093954 by Maarten Lankhorst on 02/05/2013 at 07:15..
bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d54a4da2c89a72f308bb56e20265aa11a5093954

Git commit 040f6b015ef7d9c1bda09f78a8873f6da45d5e95 by Dave Airlie on 09/05/2013 at 02:55..
drm: add qxl drm header file

Now that this driver is merged add the header file.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/040f6b015ef7d9c1bda09f78a8873f6da45d5e95

Git commit c56729cc1564bb4204ca30a18499a78a39f48892 by Alex Deucher on 13/05/2013 at 20:16..
radeon: add HAINAN family

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c56729cc1564bb4204ca30a18499a78a39f48892

Git commit 96e90aabc4c0238de2f2d245899f991a3b996587 by Alex Deucher on 13/05/2013 at 20:16..
radeon: add HAINAN pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96e90aabc4c0238de2f2d245899f991a3b996587

Git commit e5e51c2110ebf6e1edaa14b7567c5d6a79008a90 by Marek Olšák on 15/05/2013 at 17:15..
radeon: add RADEON_SURF_FMASK flag which disables 2D->1D tiling transition

Signed-off-by: Marek Olšák <maraeo at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5e51c2110ebf6e1edaa14b7567c5d6a79008a90

Git commit 63aeae123848d0bfbc0a35102cb9717cf496eab6 by Marek Olšák on 15/05/2013 at 17:32..
configure.ac: bump version to 2.4.45 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63aeae123848d0bfbc0a35102cb9717cf496eab6

Git commit 0b89e2730c41466e8d9c04c469679ba23d052ec9 by Rob Clark on 15/05/2013 at 19:34..
freedreno: add handle and name tracking

Due to the evil userspace buffer tracking we have to do, and hacks for
creating GEM buffer from fbdev/scanout, "evil-twin" fd_bo objects are
problematic.  So introduce hashtable tracking of bo's and dev's, to
avoid getting duplicate fd_bo ptrs for the same underlying gem object,
in particular when importing via flink name.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b89e2730c41466e8d9c04c469679ba23d052ec9

Git commit acfbf394a9176ea97f114ca6c0eb8249a2220e82 by Rob Clark on 15/05/2013 at 19:34..
freedreno: add some asserts

Things are worse if we issueibcmds with bogus gpu ptrs, so it is better
to just make userspace crash when things go pear shaped.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/acfbf394a9176ea97f114ca6c0eb8249a2220e82

Git commit b67a6708d40535edc764bc3444956862366dd643 by Maarten Lankhorst on 15/05/2013 at 19:57..
Merge tag 'libdrm-2.4.45' into debian-experimental

libdrm-2.4.45
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b67a6708d40535edc764bc3444956862366dd643

Git commit ef470fa9bd9a65897788519f67d4b8fa20750c60 by Maarten Lankhorst on 15/05/2013 at 19:57..
bump changelogs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef470fa9bd9a65897788519f67d4b8fa20750c60

Git commit 157efcb996b5e5e366947ebd3cdd69f96a7c129f by Emilio Pozuelo Monfort on 15/05/2013 at 22:17..
Upload 2.4.45 to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/157efcb996b5e5e366947ebd3cdd69f96a7c129f

Git commit c3b713090840df937677c0827aa76ca798ea9ff3 by Sven Joachim on 17/05/2013 at 16:00..
Make valgrind build-dependency archictecture specific
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3b713090840df937677c0827aa76ca798ea9ff3

Git commit 3586337f3703ce4833a375f66b08df064a1cec28 by Rob Clark on 17/05/2013 at 20:13..
freedreno: also remove from name table on bo delete

When adding the name tracking, I missed removing from the name table
when the bo was deleted, leaving a dangling pointer.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3586337f3703ce4833a375f66b08df064a1cec28

Git commit 8a88e349975a64676f143183e835e6d296f29627 by Ville Syrjälä on 22/05/2013 at 10:13..
modetest: Make RGB565 pwetty too

Render the crosshairs for 565 and x888/a888 formats.

v2: Use the drm format to determine cairo format

Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a88e349975a64676f143183e835e6d296f29627

Git commit 687b4feafcf2696727eb62c0d781ec0de42c723e by Julien Cristau on 30/05/2013 at 08:03..
Upload to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/687b4feafcf2696727eb62c0d781ec0de42c723e

Git commit 150c3555e7ba53f6ad2d3970cca8e4d5970410aa by Kenneth Graunke (on behalf of Rodrigo Vivi) on 05/06/2013 at 22:30..
intel: Fix Haswell GT3 names.

When publishing first HSW ids we weren't allowed to use "GT3" codname.
But this is the correct codname and Mesa is using it already.
So to avoid people getting confused why in Mesa it is called GT3 and here
it is called GT2_PLUS let's fix this name in a standard and correct way.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/150c3555e7ba53f6ad2d3970cca8e4d5970410aa

Git commit 1669a67d063e82a58dae4d906015172d471e9a2a by Kenneth Graunke (on behalf of Rodrigo Vivi) on 05/06/2013 at 22:31..
intel: Adding more reserved PCI IDs for Haswell.

At DDX commit Chris mentioned the tendency we have of finding out more
PCI IDs only when users report. So Let's add all new reserved Haswell IDs.

Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=63701
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1669a67d063e82a58dae4d906015172d471e9a2a

Git commit a0178c00c70f4b47e09ed7564fc2ccde611231a0 by Michel Dänzer (on behalf of Mark Kettenis) on 06/06/2013 at 14:19..
radeon: correct RADEON_GEM_WAIT_IDLE use

RADEON_GEM_WAIT_IDLE is declared DRM_IOW but libdrm
uses it with drmCommandWriteRead instead of drmCommandWrite
which leads to the ioctl being unmatched and returning an
error on at least OpenBSD.

Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0178c00c70f4b47e09ed7564fc2ccde611231a0

Git commit 82ab991c5f25a6a4a33e72b9606ff79d7e1c4338 by Emilio Pozuelo Monfort on 06/06/2013 at 21:14..
Remove 03_build_against_librt.diff
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82ab991c5f25a6a4a33e72b9606ff79d7e1c4338

Git commit 396f92661c9d32085912cbae56849570d344dd1f by Emilio Pozuelo Monfort on 06/06/2013 at 21:15..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/396f92661c9d32085912cbae56849570d344dd1f

Git commit dc2b181222f4c739f456909f86429919768d4c40 by Sven Joachim on 08/06/2013 at 18:36..
Merge tag 'libdrm-2.4.40-1-deb7u2' into debian-unstable

Merge with "-s ours" so that the branch does not appear as rebased.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc2b181222f4c739f456909f86429919768d4c40

Git commit 59257580666cf5f5916bf989d94bace774030bd5 by Damien Lespiau on 10/06/2013 at 16:51..
intel/aub: Sync the AUB defines with mesa's

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59257580666cf5f5916bf989d94bace774030bd5

Git commit 1e4f63bbc8e9a23c90745e10027e2772bab15038 by Damien Lespiau on 10/06/2013 at 16:52..
intel/aub: Return early if we disable aub dumps

No need to prepare the .aub header and dump in that case, it'll be
done with the next call with true.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e4f63bbc8e9a23c90745e10027e2772bab15038

Git commit fbd106ad76b0ee33814f6a5b94efaa0b067ec2af by Damien Lespiau on 10/06/2013 at 16:52..
intel/aub: Implement a way to specify the output .aub filename

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fbd106ad76b0ee33814f6a5b94efaa0b067ec2af

Git commit f519a4852b093c73473f846352a5e69b69de3123 by Sven Joachim on 16/06/2013 at 18:42..
Build libdrm-intel1 on x32
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f519a4852b093c73473f846352a5e69b69de3123

Git commit 0ff7f2760d052503d5cf65ded34a66fe20ccec28 by Alex Deucher on 28/06/2013 at 18:44..
radeon: add CIK chip families

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ff7f2760d052503d5cf65ded34a66fe20ccec28

Git commit 96c04c23fca6656483f66ecb0da0679df02eb9c0 by Alex Deucher on 28/06/2013 at 18:44..
radeon: add Bonaire pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96c04c23fca6656483f66ecb0da0679df02eb9c0

Git commit 378bb47a784a3808c9b256fe7a52e10a4fcabf92 by Alex Deucher on 28/06/2013 at 18:44..
radeon: add kabini pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/378bb47a784a3808c9b256fe7a52e10a4fcabf92

Git commit 2e0ab6237697c9754d92689f77c1792c11be881b by Dave Airlie on 02/07/2013 at 08:21..
drm: add hotspot cursor interface support.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e0ab6237697c9754d92689f77c1792c11be881b

Git commit c6d73cfeeaff9596c735d0a10b248f94b2e1e347 by Dave Airlie on 02/07/2013 at 08:24..
libdrm: bump to 2.4.46
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6d73cfeeaff9596c735d0a10b248f94b2e1e347

Git commit 044eaaa9d138752f76254759ef4c2914c396a63b by Sven Joachim on 02/07/2013 at 14:49..
Merge tag 'libdrm-2.4.46' into debian-unstable

libdrm-2.4.46
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/044eaaa9d138752f76254759ef4c2914c396a63b

Git commit 7eb5558d584ae7010f1dd8e54992f9c58fea819c by Sven Joachim on 02/07/2013 at 14:51..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7eb5558d584ae7010f1dd8e54992f9c58fea819c

Git commit e85b238c0825f72dd79cffb8f24531b5ec9fa099 by Sven Joachim on 02/07/2013 at 15:04..
Bump libdrm2's and libdrm-intel1's symbols and shlibs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e85b238c0825f72dd79cffb8f24531b5ec9fa099

Git commit 3b6be4f49acd7114358bd459b0d0eebd3f47c5eb by Sven Joachim on 02/07/2013 at 15:13..
Disable silent rules
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b6be4f49acd7114358bd459b0d0eebd3f47c5eb

Git commit 7c957cd1c7baef6136bd81eedefb3c8503cf0dbf by Sven Joachim on 02/07/2013 at 15:16..
Use Package-Type rather than XC-Package-Type for the udeb

As recommended by lintian.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c957cd1c7baef6136bd81eedefb3c8503cf0dbf

Git commit f8f1f6e37ae2c3eb4a9c045ba3294b3ccf926c07 by Ville Syrjälä (on behalf of Imre Deak) on 04/07/2013 at 08:03..
libdrm: add missing DRM_CAP_TIMESTAMP_MONOTONIC

Just add the definition according the kernel's copy of drm.h

Signed-off-by: Imre Deak <imre.deak at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8f1f6e37ae2c3eb4a9c045ba3294b3ccf926c07

Git commit fea5408098c3c3057958e85ea9d7146f0b08749e by Daniel Vetter (on behalf of Chia-I Wu) on 16/07/2013 at 13:23..
intel: silence valgrind warnings for unsynchronized maps

Mark the address ranges as accessible with VALGRIND_MAKE_MEM_DEFINED.

Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fea5408098c3c3057958e85ea9d7146f0b08749e

Git commit 6e8f868e034531b66a215e4e6d978b43b58b92d0 by Rob Clark on 01/08/2013 at 21:52..
tests: add tilcdc to modetest/vbltest

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e8f868e034531b66a215e4e6d978b43b58b92d0

Git commit 6f4c77ae722c1c0f9ef32cb28e07b56fc38158b0 by Maarten Lankhorst on 05/08/2013 at 11:49..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f4c77ae722c1c0f9ef32cb28e07b56fc38158b0

Git commit ca9c8f06e0f560082dcd0943e9be29ba9a915ee3 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Fix warnings

Enable all standard automake warnings except for -Wpointer-arith (as the
test pattern generation code uses void pointer arithmetics) and fix
them.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca9c8f06e0f560082dcd0943e9be29ba9a915ee3

Git commit c93f4af0588d02c411d1526193ba1d63f76551b5 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Remove extern declarations of opt(arg|ind|err|opt)

Those variables are declared in unistd.h, there's no need to redeclare
them here.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Jani Nikula <jani.nikula at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c93f4af0588d02c411d1526193ba1d63f76551b5

Git commit ef07acf5b79f86ef86efe6e72c1de5726c97e41d by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Sort command line arguments

The current mostly random sort order hinders code readability. Sort the
options alphabetically in the code, and by group in the help message.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Jani Nikula <jani.nikula at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef07acf5b79f86ef86efe6e72c1de5726c97e41d

Git commit 45901fdae66441ffec681e3dbd46b5530107a045 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Add a command line parameter to select the driver

If the -M parameter is specified, modetest will use the requested device
name instead of trying its builtin list of device names.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Jani Nikula <jani.nikula at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45901fdae66441ffec681e3dbd46b5530107a045

Git commit ab52756a3632fdc38a915a9bbda0b2089b09e38e by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Add a command line parameter to drop master after mode set

If the -d parameter is specified, modetest will drop master permissions
after setting the mode.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab52756a3632fdc38a915a9bbda0b2089b09e38e

Git commit 02fa8f79b05456184028f014432647b19601a288 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Retrieve all resources in one go

Instead of retrieving resources as they are needed, retrieve them all
(except property blobs) in one go at startup.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02fa8f79b05456184028f014432647b19601a288

Git commit 6e0c74c5f8860748f03dad4548d3ef2cf2df5489 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Don't limit mode set and planes to two instances

Configuring mode on more than two connectors or two planes is perfectly
valid. Support it.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e0c74c5f8860748f03dad4548d3ef2cf2df5489

Git commit d725227cec822b8cfbeb541be17aae30b7612b9f by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Add a command line parameter to set properties

The -w parameter can be used to set a property value from the command
line, using the target object ID and the property name.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d725227cec822b8cfbeb541be17aae30b7612b9f

Git commit 7badcca4925480ffdc4f3aa5efb88624ce451e70 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Allow specifying plane position

Extend the -P option to allow specifying the plane x and y offsets. The
position is optional, if not specified the plane will be positioned at
the center of the screen as before.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7badcca4925480ffdc4f3aa5efb88624ce451e70

Git commit 581c7cf86a96a81e76288c8abca03c7f29eac3af by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Print the plane ID when setting up a plane

As modetest automatically selects an unused plan, providing the plane ID
allows modifying plane properties for the selected planes.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/581c7cf86a96a81e76288c8abca03c7f29eac3af

Git commit dab3c80203e562cfdbe33e7d1627c9dde2f5a7de by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Remove the -m argument

The argument isn't used, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dab3c80203e562cfdbe33e7d1627c9dde2f5a7de

Git commit 549fe0ba627a67b6ae1334eb5cf274a3dfb1fd69 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Create a device structure

Instead of passing the device fd and resources as global variables group
them in a device structure and pass it explictly to all functions that
need it.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/549fe0ba627a67b6ae1334eb5cf274a3dfb1fd69

Git commit 605efd7e05e94b8d9d742d3a8af1040776e2742d by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Compute CRTC pipe number as needed

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/605efd7e05e94b8d9d742d3a8af1040776e2742d

Git commit b373de3095e7518d62cfc99a1b22da8dc3435a88 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Remove the struct connector_arg encoder field

The field is no needed, make it a local variable where used.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b373de3095e7518d62cfc99a1b22da8dc3435a88

Git commit a6349d0a0f9d3e017ac761ba912279c7d1e94eb7 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Store the crtc in the connector_arg structure

This prepares the code for the split in separate functions of CRTC and
planes setup.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6349d0a0f9d3e017ac761ba912279c7d1e94eb7

Git commit 56592680bbb1bb73d08bdce317046d0401dcfba0 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Store the mode in the crtc structure

This prepares the code for the split in separate functions of CRTC and
planes setup.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56592680bbb1bb73d08bdce317046d0401dcfba0

Git commit eabf199dffb0d42e959c50aa820b39228196e031 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Give the CRTC ID to the -P option

Planes are associated with CRTCs, not connectors. Don't try to be too
clever, use the CRTC ID in the -P option. This prepares for splitting
CRTC and planes setup.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eabf199dffb0d42e959c50aa820b39228196e031

Git commit 3813e0f8e1ee4885823cdd0b50b05970257adddc by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Split mode setting and plane setup

There's not reason to require setting a mode to test planes. Split the
two operations.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3813e0f8e1ee4885823cdd0b50b05970257adddc

Git commit b1e0bdeb70b68754c6c4ab1c7d0161709960d49c by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Rename struct connector_arg to struct pipe_arg

This prepares the code for handling multiple connectors in a single
pipeline in a cloned configuration.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1e0bdeb70b68754c6c4ab1c7d0161709960d49c

Git commit 2c5ee84d30cbd3fba61a8426b1e6bdd4f385de13 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Support pipes with multiple connectors

The -s argument can now take a list of connectors. Configure all of them
in cloned mode using a single CRTC.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c5ee84d30cbd3fba61a8426b1e6bdd4f385de13

Git commit a4f2f1b9d1c0b6b7f740951525a14b3d328f0acf by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Try all possible encoders for a connector

When building the pipeline, instead of using only the encoders attached
to a connector, take all possible encoders into account to locate a
CRTC.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4f2f1b9d1c0b6b7f740951525a14b3d328f0acf

Git commit 1ef179d09c465248db47f62f00e718f4911e0e34 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Fix line stride in SMPTE YUV packet pattern generator

The line stride passed to the function is expressed in bytes, there's no
need to multiply it by 2.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ef179d09c465248db47f62f00e718f4911e0e34

Git commit 3c967e715528ee52195c178c4d09d03b643f0c06 by Laurent Pinchart on 05/08/2013 at 12:21..
modetest: Allocate NV buffers large enough for the two planes

Multiple the image height by 1.5 for NV12/NV21 and by 2 for NV16/NV61 to
make room for the chroma plane.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c967e715528ee52195c178c4d09d03b643f0c06

Git commit 4985c2c50f3eda50ffb1664c55dcee9e97b9252c by Julien Cristau on 21/08/2013 at 19:04..
Build libdrm-radeon1 on kfreebsd.

Recent FreeBSD kernels should have radeon kms.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4985c2c50f3eda50ffb1664c55dcee9e97b9252c

Git commit a3c1f3f83b56a64d6664175c1450b92b616cf26b by Julien Cristau on 21/08/2013 at 19:05..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3c1f3f83b56a64d6664175c1450b92b616cf26b

Git commit b2b1885dfcb3a206623e926704057b448d06781d by Rob Clark on 28/08/2013 at 19:50..
freedreno: support either kgsl or msm

Split out common code and backend.  Current backend is for 'kgsl'
android driver, but a new backend will provide support for the
upstream msm drm/kms driver.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2b1885dfcb3a206623e926704057b448d06781d

Git commit f17d417e28143176cb36b64e1b6a5818897e8154 by Rob Clark on 28/08/2013 at 19:51..
freedreno: add support for msm drm

This adds support for the "msm" backend, using the upstream msm drm/kms
driver.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f17d417e28143176cb36b64e1b6a5818897e8154

Git commit dba6bec3ab5ba966a6ee3527e711c51e47229f32 by Rob Clark on 30/08/2013 at 15:36..
tests: add msm

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dba6bec3ab5ba966a6ee3527e711c51e47229f32

Git commit 0100473de648f29dd5abbd3fabd0f73c0bd5bfd5 by Rob Clark (on behalf of Emil Velikov) on 30/08/2013 at 15:36..
tests/*version: add missing string.h header

Prodives memset() and strlen(), used in tests/setversion
tests/getversion respectively.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0100473de648f29dd5abbd3fabd0f73c0bd5bfd5

Git commit 4a8da02e524d5d70ec638477e36fcafd2c8152ec by Rob Clark (on behalf of Emil Velikov) on 30/08/2013 at 15:37..
tests/modetest: silence compiler warning about uninitialised variables

The compiler is unaware of that we have at least one crts/connector/plane
thus it complains that some of our variables will be used uninitialised.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a8da02e524d5d70ec638477e36fcafd2c8152ec

Git commit 126c45828aa3eaf1f404a4fc65a09a93fda76467 by Rob Clark (on behalf of Emil Velikov) on 30/08/2013 at 15:37..
freedreno: use local drm.h over the system one

Otherwise build will fail, as drm/drm.h is not available.

Cc: Rob Clark <robclark at freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/126c45828aa3eaf1f404a4fc65a09a93fda76467

Git commit db6a1b07d06ad7b663f28291a6be8226bd05d421 by Rob Clark (on behalf of Emil Velikov) on 30/08/2013 at 15:37..
freedreno: set automake options to include subdir-objects

Handles automake complains about lack of forward-compatibility, due to the
source files in the kgsl and msm backends/folders.

Cc: Rob Clark <robclark at freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db6a1b07d06ad7b663f28291a6be8226bd05d421

Git commit d18cd0c7ccf88c9f6585aaa3cc57f0f064d7310b by Rob Clark (on behalf of Emil Velikov) on 30/08/2013 at 16:10..
intel: Update package name and description in libdrm_intel.pc

Currently the package name and description duplicate that of the
core libdrm. Update those to reflect reality.

Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d18cd0c7ccf88c9f6585aaa3cc57f0f064d7310b

Git commit 8a2e0fa917996e72bfc0dbdf228fc0bfb433d279 by Alex Deucher on 06/09/2013 at 19:39..
radeon: add berlin pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a2e0fa917996e72bfc0dbdf228fc0bfb433d279

Git commit 58d008883165ba35c83041fa9ed84937163d5f76 by Alex Deucher on 06/09/2013 at 19:58..
radeon: pad CS to 8 DW

Aligns the IB to 8 DWs.  The aligns the IB to the
CP fetch size.  r6xx also require at least 4 DW
alignment to avoid a hw bug.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58d008883165ba35c83041fa9ed84937163d5f76

Git commit b50826dbd6a10e89ed03c23a16bf62e7d554a2d6 by Rob Clark (on behalf of Ilia Mirkin) on 11/09/2013 at 15:25..
modetest: add a -D option to specify a device to be used

This is helpful for differentiating between multiple devices that use
the same module.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b50826dbd6a10e89ed03c23a16bf62e7d554a2d6

Git commit d8954154fe20036f442e249d964b575a7374c571 by Rob Clark (on behalf of Ilia Mirkin) on 11/09/2013 at 15:25..
modetest: allow setting a scaling factor when showing plane

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8954154fe20036f442e249d964b575a7374c571

Git commit b6da447c04ea3f243b56dc964bc8d43bba003ae2 by Rob Clark on 11/09/2013 at 19:55..
freedreno: add missing NOSYNC flag

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6da447c04ea3f243b56dc964bc8d43bba003ae2

Git commit a48d6e5621fea701e36724cc144d9fe293332824 by Michel Dänzer on 18/09/2013 at 16:28..
radeon: Fix tiling mode index for 1D tiled depth/stencil surfaces on CIK

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a48d6e5621fea701e36724cc144d9fe293332824

Git commit 9188b0a7110dfeb0db1c2a32c664ca85659e4ccd by Julien Cristau on 19/09/2013 at 19:14..
Make drmCheckModesettingSupported work on FreeBSD.

Thanks, Christoph Egger!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9188b0a7110dfeb0db1c2a32c664ca85659e4ccd

Git commit 28fa67827c16338311f2857d56c395a7202b9781 by Julien Cristau on 19/09/2013 at 19:24..
Stop building libkms.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28fa67827c16338311f2857d56c395a7202b9781

Git commit e765ea2e4b838046a0c4305d36e145c046fba263 by Julien Cristau on 19/09/2013 at 19:25..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e765ea2e4b838046a0c4305d36e145c046fba263

Git commit 0f4452bb51306024fbf4cbf77d8baab20cefba67 by Eric Anholt (on behalf of Daniel Kurtz) on 22/09/2013 at 20:30..
libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic

The following minor changes were needed to these headers:
 * Convert // comments to /* */
 * No , after final member of enum

With these changes, these header files can be included by a program that
is built with gcc options:
  -std=c89 -Werror -pedantic

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f4452bb51306024fbf4cbf77d8baab20cefba67

Git commit bf4a7cd4b2456d4dc93a86bbcc51eba4ae73390a by Eric Anholt (on behalf of Emil Velikov) on 24/09/2013 at 15:52..
configure: add AC_LANG_SOURCE call within AC_COMPILE_IFELSE

Documentation states that AC_*_IFELSE has to use AC_LANG_SOURCE or
friends in order to generate the source code to compile.
AC_LINK_IFELSE already handles this, thus convert AC_COMPILE_IFELSE
to silence the final autoconf warnings.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Daniel Kurtz <djkurtz at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf4a7cd4b2456d4dc93a86bbcc51eba4ae73390a

Git commit 75f747b919e1b1cd852eeaa8e662e72273189fb2 by Marek Olšák on 29/09/2013 at 12:44..
radeon: fix pitch alignment for non-power-of-two mipmaps on SI

This fixes VM protection faults.

I have a new piglit test which can iterate over all possible widths, heights,
and depths (including NPOT) and tests mipmapping with various texture targets.

After this is committed, I'll make a new release of libdrm and bump
the libdrm version requirement in Mesa.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75f747b919e1b1cd852eeaa8e662e72273189fb2

Git commit edf5c7cde5e10067076cbf79c0cc5d71aa78d7e2 by Damien Lespiau on 30/09/2013 at 12:35..
drm: Synchronize the stereo 3D mode flags from the kernel headers

v2: stereo layouts are now an enum (Daniel Vetter)

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edf5c7cde5e10067076cbf79c0cc5d71aa78d7e2

Git commit 2dd7054781876a0d5423c7755a7690815f3c2f5f by Damien Lespiau on 30/09/2013 at 12:35..
drm: Sync the DRM_SET_CLIENT_CAP ioctl definition

v2: SET_CAP -> SET_CLIENT_CAP renaming

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dd7054781876a0d5423c7755a7690815f3c2f5f

Git commit ddbbdb13d80ea7f60e6f71356a444995b905366b by Damien Lespiau on 30/09/2013 at 12:35..
drm: Introduce a drmSetClientCap() wrapper

That wraps around the new DRM_SET_CLIENT_CAP ioctl.

v2: SET_CAP -> SET_CLIENT_CAP renaming

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ddbbdb13d80ea7f60e6f71356a444995b905366b

Git commit 9c52c3dc4763336884277d8005eac7e6efb77600 by Kristian Høgsberg on 10/10/2013 at 21:41..
intel: Set bo size from lseek if kernel supports it

The various create and open functions set the buffer size, but
drm_intel_bo_gem_create_from_prime() is an exception.  In the 3.12 kernel
we can now use lseek on the prime fd to determine the size of the bo.
Use that and override the userprovided size.  If the kernel doesn't
support this, we get an error and fall back to the user provided size.

Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c52c3dc4763336884277d8005eac7e6efb77600

Git commit 951ebe0081bd2e15bc7685f07fa3318fa5bccfad by Ben Widawsky on 11/10/2013 at 16:47..
libdrm: bump to 2.4.47
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/951ebe0081bd2e15bc7685f07fa3318fa5bccfad

Git commit 551aac43750714bded31f9331da0b13280cc5832 by Kenneth Graunke on 30/10/2013 at 03:57..
intel: Add the Gen6+ version of MI_REPORT_PERF_COUNT to intel_decode.c.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ben Widawsky <benjamin.widawsky at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/551aac43750714bded31f9331da0b13280cc5832

Git commit 45810d3d7546f3ddbcdae114c6726ada30e919c9 by Kenneth Graunke on 30/10/2013 at 03:57..
intel: Add MI_LOAD_REGISTER_MEM to intel_decode.c.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ben Widawsky <benjamin.widawsky at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45810d3d7546f3ddbcdae114c6726ada30e919c9

Git commit ebff7a1e2286781c6fc23e5ed9bcbf177603569c by Keith Packard on 07/11/2013 at 03:49..
Add DRM_MODE_PAGE_FLIP_ASYNC define

This exposes the kernel API for performing asynchronous flips

Signed-off-by: Keith Packard <keithp at keithp.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebff7a1e2286781c6fc23e5ed9bcbf177603569c

Git commit 482abbfafb56cbceaf5355c026434e638cddd0f1 by Maarten Lankhorst on 07/11/2013 at 12:37..
nouveau: prevent undefined behavior in nouveau_pushbuf_reloc with gcc-4.8

Reported-by: ronald645 at gmail.com
Bisected-by (gcc): Andreas Radke <a.radke at arcor.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71116
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/482abbfafb56cbceaf5355c026434e638cddd0f1

Git commit eade8716a576a2bfe14714a1140ee7ac5b4364d3 by Maarten Lankhorst on 07/11/2013 at 12:56..
nouveau: prevent undefined behavior in nouveau_pushbuf_reloc with gcc-4.8

Reported-by: ronald645 at gmail.com
Bisected-by (gcc): Andreas Radke <a.radke at arcor.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71116
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eade8716a576a2bfe14714a1140ee7ac5b4364d3

Git commit 776fe9ad51becb058578599a4315a63acb8987e2 by Maarten Lankhorst on 07/11/2013 at 12:58..
Declare libdrm-dev Multi-Arch: same.

Add changelog entry documenting cherry-pick from upstream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/776fe9ad51becb058578599a4315a63acb8987e2

Git commit a25b7599158d8484d5008dfd483df40664853ca5 by Maarten Lankhorst on 07/11/2013 at 13:11..
Do not require valgrind on armel.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a25b7599158d8484d5008dfd483df40664853ca5

Git commit 2694c321dcd7bfad51acaa49961b7a86631e3b21 by Maarten Lankhorst on 07/11/2013 at 13:14..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2694c321dcd7bfad51acaa49961b7a86631e3b21

Git commit 6ea20a0fe2f3ede1c89176db0aa447b9758fefd1 by Ben Widawsky on 08/11/2013 at 01:07..
intel/bdw: Add broadwell chipset IDs

v2: Rename s/<SECRET>/IRIS/

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ea20a0fe2f3ede1c89176db0aa447b9758fefd1

Git commit 5b348f3ac0069485ecd86ee30483646fad4b01cc by Ben Widawsky on 08/11/2013 at 01:07..
intel/bdw: Handle gen8 bufmgr_init

[bwidawsk: Added Damien's SOB]
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b348f3ac0069485ecd86ee30483646fad4b01cc

Git commit 946f847dc6683c88f69ea75e521d83ffbab4d40a by Ben Widawsky (on behalf of Damien Lespiau) on 08/11/2013 at 01:09..
intel/bdw: Add gen8 to the decode init

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/946f847dc6683c88f69ea75e521d83ffbab4d40a

Git commit a0c126dcedb8be64c644321c2b2836723117064b by Ben Widawsky (on behalf of Kenneth Graunke) on 08/11/2013 at 01:09..
intel/bdw/aub: Update AUB trace block writes for 48-bit addressing.

Since our aub file dumping's GTT handling is totally fake, we always put
everything in the low 4GB anyway and shouldn't ever need to set
AddressHigh to anything other than 0.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
[ben: slight commit message change]
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0c126dcedb8be64c644321c2b2836723117064b

Git commit dad3c6b9791920f2bda1193d76f260827c4cd3f1 by Ben Widawsky (on behalf of Damien Lespiau) on 08/11/2013 at 01:09..
intel/bdw: Update MI_BATCH_BUFFER_START for aub dumps

The command now takes a 48bits address and is thus 1 dword longer.

v2 (Ben): commit message: s/byte/dword (Eric)

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dad3c6b9791920f2bda1193d76f260827c4cd3f1

Git commit 6335e1d28c422050024bcf4100c4fb3a5bac2afb by Ian Romanick on 08/11/2013 at 03:14..
intel: Add support for GPU reset status query ioctl

I would have just used the drmIoctl interface directly in Mesa, but the
ioctl needs some data from the drm_intel_context that is not exposed
outside libdrm.

v2: Update based on Mika's kernel work.

v3: Fix compile failures from last-minute typos.  Sigh.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: Mika Kuoppala <mika.kuoppala at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6335e1d28c422050024bcf4100c4fb3a5bac2afb

Git commit da738d1ed0a0941a0cd061395ad86072171b3242 by Dave Airlie on 08/11/2013 at 06:40..
Revert "intel: Add support for GPU reset status query ioctl"

This reverts commit 6335e1d28c422050024bcf4100c4fb3a5bac2afb.

No taxation without representation, in other words no userspace without kernel
stuff being in a stable location, either drm-next but I'll accept drm-intel-next
for intel specific stuff.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da738d1ed0a0941a0cd061395ad86072171b3242

Git commit efcc456030334a692e2fce7bbd279df3aee13a6d by Alex Deucher on 13/11/2013 at 16:33..
radeon: add hawaii chip family

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efcc456030334a692e2fce7bbd279df3aee13a6d

Git commit 1a84eea45bf9d3915698a04199c594a63fcca4a2 by Alex Deucher on 13/11/2013 at 16:33..
radeon: add hawaii pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a84eea45bf9d3915698a04199c594a63fcca4a2

Git commit 5a41b025042c42788977e67aea8d1bf3b59baae4 by Ian Romanick on 15/11/2013 at 19:31..
intel: Add support for GPU reset status query ioctl

I would have just used the drmIoctl interface directly in Mesa, but the
ioctl needs some data from the drm_intel_context that is not exposed
outside libdrm.

This ioctl is in the drm-intel-next tree as b635991.

v2: Update based on Mika's kernel work.

v3: Fix compile failures from last-minute typos.  Sigh.

v4: Import the actual changes from the kernel i915_drm.h.  Only comments
on some fields of drm_i915_reset_stats differed.  There are still some
deltas between the kernel i915_drm.h and the one in libdrm, but those
can be resolved in other patches.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org> [v3]
Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Cc: Mika Kuoppala <mika.kuoppala at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a41b025042c42788977e67aea8d1bf3b59baae4

Git commit 71beb7b07950d9088d754cf7baf0421f5f264e48 by Ian Romanick on 16/11/2013 at 02:01..
libdrm: bump to 2.4.48
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71beb7b07950d9088d754cf7baf0421f5f264e48

Git commit c601444a900d67be7ab84714c2908356de359655 by Thomas Hellstrom on 19/11/2013 at 17:15..
libdrm/mode: Update the encoder and connector defines

Update the defines to match the kernel drm_mode.h

Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c601444a900d67be7ab84714c2908356de359655

Git commit 0c3fd8708fc54b4b46f5db20d34eb29508537b08 by Ian Romanick on 20/11/2013 at 19:55..
intel: Use memset instead of VG_CLEAR

The ioctl expects that certain fields will be zeroed, so we should allow
the helper function to actually work in non-Valgrind builds.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reported-by: Zhenyu Wang <zhenyuw at linux.intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c3fd8708fc54b4b46f5db20d34eb29508537b08

Git commit ce8af454259279c14c44bcd32c429640ca5e1691 by Marek Olšák (on behalf of Michel Dänzer) on 22/11/2013 at 23:35..
radeon: fix mipmap level 0 and 1 alignment for SI and CIK

Signed-off-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce8af454259279c14c44bcd32c429640ca5e1691

Git commit 67d92404d62044972599dcef3011d17fca46eed5 by Marek Olšák on 22/11/2013 at 23:35..
radeon: implement 2D tiling for CIK

Bug fixes and simplification by Marek.
We have to use the tile index of 0 for non-MSAA depth-stencil after all.

Signed-off-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67d92404d62044972599dcef3011d17fca46eed5

Git commit f0e399d8f0c3c006687e0fc8e68268087607d5f5 by Marek Olšák (on behalf of Michel Dänzer) on 22/11/2013 at 23:35..
radeon: don't overallocate stencil by 4 on SI and CIK

Signed-off-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0e399d8f0c3c006687e0fc8e68268087607d5f5

Git commit 3f4648902296efa3a8cc0abc941d978637f0ee28 by Marek Olšák on 22/11/2013 at 23:35..
radeon: handle P16 pipe configs for Hawaii
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f4648902296efa3a8cc0abc941d978637f0ee28

Git commit 7ddc98f92f92560e2b52287ae8cf816ca4a057de by Marek Olšák on 23/11/2013 at 00:27..
Bump the version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ddc98f92f92560e2b52287ae8cf816ca4a057de

Git commit 79f0ecdc53ec4819f125a9b1ff1529d1aa1278c6 by Maarten Lankhorst on 25/11/2013 at 10:22..
Merge tag '2.4.49' into debian-unstable

libdrm 2.4.49
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79f0ecdc53ec4819f125a9b1ff1529d1aa1278c6

Git commit fc247bab1f413717a2d8317e4d6a09d9fb8f4ba6 by Maarten Lankhorst on 25/11/2013 at 10:29..
bump changelogs and symbol files
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc247bab1f413717a2d8317e4d6a09d9fb8f4ba6

Git commit a233453012ab0ebbe9a0fb0d912b8d1a8cf8dcc9 by Maarten Lankhorst on 25/11/2013 at 10:38..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a233453012ab0ebbe9a0fb0d912b8d1a8cf8dcc9

Git commit c8a437f4c76527b3c8385699ccee07f35fe3f166 by Michel Dänzer on 26/11/2013 at 09:16..
radeon: Update unaligned offset for 2D->1D tiling transition on SI

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71983

Tested-by: Arek Ruśniak <arek.rusi at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8a437f4c76527b3c8385699ccee07f35fe3f166

Git commit c707ca1bf6603d67ea0903c8392e792cbc918a7d by Maarten Lankhorst (on behalf of Michel Dänzer) on 26/11/2013 at 14:20..
radeon: Update unaligned offset for 2D->1D tiling transition on SI

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71983

Tested-by: Arek Ruśniak <arek.rusi at gmail.com>
(cherry picked from commit c8a437f4c76527b3c8385699ccee07f35fe3f166)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c707ca1bf6603d67ea0903c8392e792cbc918a7d

Git commit 76b99fc1966ecaca4bb1a1f3939c58440481b8da by Maarten Lankhorst on 26/11/2013 at 14:25..
Add changelog entry.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76b99fc1966ecaca4bb1a1f3939c58440481b8da

Git commit 12d21e30df0b497466ed1ac35ba4bc86bfe4a1c3 by Maarten Lankhorst on 26/11/2013 at 14:26..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12d21e30df0b497466ed1ac35ba4bc86bfe4a1c3

Git commit c3d96897de647bd5f6d4802c108a3f65a307d61b by Keith Packard on 27/11/2013 at 05:45..
intel: Track known prime buffers for re-use

If the application sends us a file descriptor pointing at a prime
buffer that we've already got, we have to re-use the same bo_gem
structure or chaos will result.

Track the set of all known prime objects and look to see if the kernel
has returned one of those for a new file descriptor.

Also checks for prime buffers in the flink case.

Signed-off-by: Keith Packard <keithp at keithp.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3d96897de647bd5f6d4802c108a3f65a307d61b

Git commit 4c5de721c4ef96ef412fd6af4cb415f04a7515f6 by Marek Olšák on 03/12/2013 at 18:50..
Bump the version to 2.4.50
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c5de721c4ef96ef412fd6af4cb415f04a7515f6

Git commit 6366b4e9a5a2894c3228962e01f04e651f5c074c by Maarten Lankhorst on 10/12/2013 at 12:25..
Merge tag 'libdrm-2.4.50' into debian-unstable

libdrm-2.4.50
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6366b4e9a5a2894c3228962e01f04e651f5c074c

Git commit bd73fd02e905926b3dfeff062704d5b497dc9f0f by Damien Lespiau on 13/12/2013 at 18:17..
gitignore: Ignore various generated files

- *.log/*.trs are generated by make check
- TAGS are generated by make tags
- build-aux, config.h.in~ by autoconf
- *.sw? are temporary files create by vim
- name_from_fd wasn't ignored yet for some reason

v2: Ignore *~ as well (Daniel Vetter)

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd73fd02e905926b3dfeff062704d5b497dc9f0f

Git commit 1489811a805fb6b5b19d61fa99b9b962cc06bd22 by Damien Lespiau on 13/12/2013 at 18:18..
intel/test_decode: Allow gen8 to be infered from the batch filenames

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1489811a805fb6b5b19d61fa99b9b962cc06bd22

Git commit 068ea68b3f7ebd5efcfcc2f6ae417651423c8382 by Rob Clark on 13/12/2013 at 20:48..
freedreno: add bo cache

Workloads which create many transient buffers cause significant CPU
overhead in buffer allocation, zeroing, cache maint, and mmap setup.
By caching and re-using existing buffers, the CPU overhead drops
significantly.  See:

http://bloggingthemonkey.blogspot.com/2013/09/freedreno-update-moar-fps.html

A simple time based policy is used for purging the cache.  Once the
kernel supports it, we could use madvise style API to handle memory
pressure scenarios a bit better.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/068ea68b3f7ebd5efcfcc2f6ae417651423c8382

Git commit f5650f47a1efe90db805eb171f3c825140aa9640 by Maarten Lankhorst on 19/12/2013 at 09:49..
New upstream release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5650f47a1efe90db805eb171f3c825140aa9640

Git commit 1543c96e154d6801cf725c3b511d61604a378e03 by Alex Deucher on 24/12/2013 at 20:17..
radeon: avoid possible divide by 0 in surface manager

Some users report hitting a divide by 0 with the tile split in
certain apps.  Tile_split shouldn't ever be 0 unless the surface
structure was not properly initialized.  I think there may be some
cases where mesa uses an improperly initialized surface struct,
but I haven't had time to track it down.

Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=72425

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1543c96e154d6801cf725c3b511d61604a378e03

Git commit e8cbc579651ef55274763c67acb366dd4155e0ce by Alex Deucher on 24/12/2013 at 20:19..
radeon: fix sumo2 pci id

0x9649 is sumo2, not sumo.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8cbc579651ef55274763c67acb366dd4155e0ce

Git commit b6caecfa904de0b4e35b93ed1212ae0089078b6d by Rob Clark on 07/01/2014 at 16:33..
freedreno/kgsl: fix crash introduced w/ bo-cache

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6caecfa904de0b4e35b93ed1212ae0089078b6d

Git commit 9fa22a845bb40f602eaf073ac84b4af8384eaf3b by Rob Clark on 07/01/2014 at 16:33..
freedreno: allow IB to different ringbuffer

Allow IB to different ringbuffer in addition to just different part of
same ringbuffer.  In particular, we need to add bo's to the parent (ie.
one passed to flush) bo table, since the bo table applies to all the
cmd buffers in submit ioctl.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fa22a845bb40f602eaf073ac84b4af8384eaf3b

Git commit dc864c8dea5c925d165ded7af551a15803d59423 by Rob Clark on 08/01/2014 at 20:36..
Bump the version to 2.4.51

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc864c8dea5c925d165ded7af551a15803d59423

Git commit 743372ea26ed38db3aeca4b545e867c1bc08370d by Ben Widawsky on 10/01/2014 at 19:05..
intel: squash unused variable 'bo_gem'

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/743372ea26ed38db3aeca4b545e867c1bc08370d

Git commit 3d34fe24957576d77c88877ded22e8ab5d96ca4c by Ben Widawsky on 10/01/2014 at 19:05..
intel: Handle malloc fails in context create

The previous code would just use the potentially unallocated variable,
which is probably okay most of the time, but not very nice to the user
of the library.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d34fe24957576d77c88877ded22e8ab5d96ca4c

Git commit a254cb50414a5def5c872a765c0dd1295a550c6b by Ben Widawsky on 10/01/2014 at 19:05..
intel: Merge latest i915_drm.h

This was not done as a straight copy because reset_stats IOCTL landed in
libdrm before upstream kernel.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a254cb50414a5def5c872a765c0dd1295a550c6b

Git commit 3732ef59eb1198d6a4cb5b8bbca6b155c53529f6 by Rob Clark (on behalf of Hyungwon Hwang) on 12/01/2014 at 13:23..
tests/kmstest: support exynos

In this patch, to support exynos for KMS, Exynos KMS driver is newly added.
Also, Exynos is added to the list of kmstest supported modules.

Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3732ef59eb1198d6a4cb5b8bbca6b155c53529f6

Git commit de0970203091618834e4753c14d5169770797800 by Rob Clark (on behalf of Vincent ABRIOU) on 12/01/2014 at 13:24..
modetest: add the possibility to select the refresh frequency for a mode

When mode is selected we only give the name of the mode as parameter.
But sometime, two different modes have the same name but not
the same vrefresh frequency.
This patch give the possibility to select a mode by its name
and optionally by its refresh frequency.

Signed-off-by: Vincent Abriou <vincent.abriou at st.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de0970203091618834e4753c14d5169770797800

Git commit 8279c8fb498785ea2700c6cc4a3456d7e1134665 by Rob Clark on 12/01/2014 at 14:00..
freedreno: add fd_device_new_dup()

There seem to be some cases (I've noticed this switching resolution in
some games, for example) where the fd can get closed() before the device
and all it's bo's are destroyed.  Which, if the drm device is opened
again and bo's are allocated with the same handles, results that when
the first pipe_screen/pipe_context is destroyed causes the first dev to
close handles for bo's allocated by the second device.

The easy solution to that is to add a mode where the fd_device creates
it's own private fd (a dup()).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8279c8fb498785ea2700c6cc4a3456d7e1134665

Git commit cb4bc8ead63cb213a26bcc8d14b2b44d9fb967da by Keith Packard on 13/01/2014 at 18:13..
Mark debug_print with __attribute__ ((format(__printf__, 1, 0)))

the drmServerInfo member, debug_print, takes a printf format string
and varargs list. Tell the compiler about it.

Signed-off-by: Keith Packard <keithp at keithp.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb4bc8ead63cb213a26bcc8d14b2b44d9fb967da

Git commit 2309bb22ec5874b0d1152ce2f97fab09d5a0854d by Julien Cristau on 20/01/2014 at 12:43..
Import actual 2.4.50-1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2309bb22ec5874b0d1152ce2f97fab09d5a0854d

Git commit 659babe8c26205869ef1636d78c3758576f6feb9 by Julien Cristau on 20/01/2014 at 12:44..
Merge tag 'libdrm-2.4.51' into debian-unstable

libdrm-2.4.51
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/659babe8c26205869ef1636d78c3758576f6feb9

Git commit e1559095c1c3e1b56b33cb9280553fc33d1fd9a9 by Julien Cristau on 20/01/2014 at 12:44..
Delete changelog, not shipped in upstream tarballs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1559095c1c3e1b56b33cb9280553fc33d1fd9a9

Git commit 39cb650458e36b4bdfb9f5bc1b0fadf43e91add0 by Julien Cristau on 20/01/2014 at 12:45..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39cb650458e36b4bdfb9f5bc1b0fadf43e91add0

Git commit a22245badafa033bc53f2d0ba70d321c1ee36a9f by Julien Cristau on 20/01/2014 at 12:45..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a22245badafa033bc53f2d0ba70d321c1ee36a9f

Git commit 64f469520e94cff4957f1afa150d29a0ce0c0335 by Julien Cristau on 20/01/2014 at 12:52..
Remove Cyril Brulebois from Uploaders.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64f469520e94cff4957f1afa150d29a0ce0c0335

Git commit 734de7093db296912da0027e4fa1094f60787c11 by Kenneth Graunke (on behalf of Eric Anholt) on 20/01/2014 at 18:58..
drm: Initialize or valgrind-clear modesetting ioctl arguments.

Fixes valgrind complaints in the modesetting driver.  I tried to
follow each ioctl's pattern for whether it was initializing just the
in values, or both in and out values.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/734de7093db296912da0027e4fa1094f60787c11

Git commit 02f93c21e6e1c3dad9d99349989daa84a8c0b5fb by Kenneth Graunke (on behalf of Eric Anholt) on 20/01/2014 at 18:58..
intel: Track whether a buffer is idle to avoid trips to the kernel.

I've seen a number of apps spending unreasonable amounts of time in
drm_intel_bo_busy during the buffer mapping process.

We can't track idleness in general, in the case of buffers shared
across processes.  But this should significantly reduce our overhead
for checking for busy on things like VBOs.

Improves (unoptimized) glamor x11perf -f8text by 0.243334% +/-
0.161498% (n=1549), which has formerly been spending about .5% of its
time hitting the kernel for drm_intel_gem_bo_busy().

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02f93c21e6e1c3dad9d99349989daa84a8c0b5fb

Git commit edf17dbdaa525fe3a9abbbfafa768c556cfd7af2 by Kenneth Graunke on 20/01/2014 at 18:58..
intel: Create a new drm_intel_bo offset64 field.

The existing 'offset' field is unfortunately typed as 'unsigned long',
which is unfortunately only 4 bytes with a 32-bit userspace.

Traditionally, the hardware has only supported 32-bit virtual addresses,
so even though the kernel uses a __u64, the value would always fit.

However, Broadwell supports 48-bit addressing.  So with a 64-bit kernel,
the card virtual address may be too large to fit in the 'offset' field.

Ideally, we would change the type of 'offset' to be a uint64_t---but
this would break the libdrm ABI.  Instead, we create a new 'offset64'
field to hold the full 64-bit value from the kernel, and store the
32-bit truncation in the existing 'offset' field, for compatibility.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edf17dbdaa525fe3a9abbbfafa768c556cfd7af2

Git commit 46d451c9a9514df9de01df647a3f397c5b5d7d1a by Kenneth Graunke on 20/01/2014 at 18:58..
Bump the version to 2.4.52

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46d451c9a9514df9de01df647a3f397c5b5d7d1a

Git commit 5d96eb0f1b7711985df02fc6221cc97fe9d9d0cb by Maarten Lankhorst on 24/01/2014 at 12:40..
Merge tag 'libdrm-2.4.52' into debian-unstable

libdrm-2.4.52
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d96eb0f1b7711985df02fc6221cc97fe9d9d0cb

Git commit c963bfdc76ce02aa20210b3314422b101bb12239 by Maarten Lankhorst on 24/01/2014 at 12:41..
New upstream release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c963bfdc76ce02aa20210b3314422b101bb12239

Git commit 928d846a2dacc41d8aaf4a2c54f82b5df8e48fb7 by Maarten Lankhorst on 24/01/2014 at 12:42..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/928d846a2dacc41d8aaf4a2c54f82b5df8e48fb7

Git commit ce62b8e0596b4805cb7e09a4a4e66de5c7b11cf3 by Alex Deucher (on behalf of Lucas Stach) on 24/01/2014 at 22:51..
modeprint: pretty print connector names

Use same names as the kernel, makes it easier to identify
connectors in the common case.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce62b8e0596b4805cb7e09a4a4e66de5c7b11cf3

Git commit cbb31f2d6e674513c0f66484c414475baba09153 by Alex Deucher (on behalf of Robert Millan) on 24/01/2014 at 22:52..
drm: Implement drmCheckModesettingSupported() for FreeBSD

Add the missing implementation of drmCheckModesettingSupported()
to detect KMS support on FreeBSD (and GNU/kFreeBSD).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72847
Signed-off-by: Konstantin Belousov <kib at freebsd.org>
Signed-off-by: Robert Millan <rmh at freebsd.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbb31f2d6e674513c0f66484c414475baba09153

Git commit 128e74cf6492025e63e035566bd6e2203e8da5e1 by Rob Clark on 31/01/2014 at 16:58..
freedreno: fix license

The userspace headers were intended to be BSD license.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/128e74cf6492025e63e035566bd6e2203e8da5e1

Git commit c5de5abbd90333fe1359283fb3a5e457b0f389f3 by Rob Clark on 19/02/2014 at 16:47..
freedreno: some msm-ring reset/flush fixes

Need to update timestamp on all ring's associated with a submit (ie.
both the binning pass and main ring).  Also, make sure nr_reloc's
in particular gets cleared if the rb is reset.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5de5abbd90333fe1359283fb3a5e457b0f389f3

Git commit 1d86869da6820a698d48bdea5d42b0218edc4251 by Rob Clark (on behalf of François Tigeot) on 03/03/2014 at 03:15..
Enable libkms by default on DragonFly

Signed-off-by: François Tigeot <ftigeot at wolfpond.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d86869da6820a698d48bdea5d42b0218edc4251

Git commit 5a3324638b3abb19b30e91ea4dfdd6e1764d6340 by Rob Clark on 05/03/2014 at 14:39..
freedreno: simplify device creation

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a3324638b3abb19b30e91ea4dfdd6e1764d6340

Git commit cd1996470aa62116183485c5a3bf5754d69e3457 by Rob Clark on 05/03/2014 at 14:40..
freedreno: fix null ptr in error path

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd1996470aa62116183485c5a3bf5754d69e3457

Git commit ee8c9a1383d4a50871e146ade2fe15b25f3377d4 by Rob Clark on 05/03/2014 at 15:35..
freedreno/kgsl: don't even bother trying CREATE_FD

Don't even bother trying DRM_KGSL_GEM_CREATE_FD.  It hasn't worked since
(afaict) 2.6.35 kernels.  And in some cases seems to cause some
problems.  Instead just allocate a minimum size dummy object (just for
purposes of having a handle) and then mmap the framebuffer as user-mem
(which is deprecated, but seems to still work.. and as far as I can tell
is the best option for now).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee8c9a1383d4a50871e146ade2fe15b25f3377d4

Git commit 230389a0d7b712f8ad0bab6edaacd8988e64d76b by Rob Clark (on behalf of Emil Velikov) on 16/03/2014 at 14:46..
freedreno: do not leak drmVersion

Cc: Rob Clark <robclark at freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/230389a0d7b712f8ad0bab6edaacd8988e64d76b

Git commit 1cb5fc706cf5913d9dee33c939f65a23ecea17a5 by Rob Clark on 19/03/2014 at 14:12..
freedreno: zero out unused field

Since realloc() doesn't zero-init.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cb5fc706cf5913d9dee33c939f65a23ecea17a5

Git commit 4e77991424cc505b0cf98db29737bc9d501a4d32 by Marek Olšák on 04/04/2014 at 17:07..
radeon: sync with radeon_drm.h from kernel headers

Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e77991424cc505b0cf98db29737bc9d501a4d32

Git commit 504d606275edbc86b045492f1757c3cd82c298c4 by Marek Olšák on 10/04/2014 at 19:12..
Bump version to 2.4.53 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/504d606275edbc86b045492f1757c3cd82c298c4

Git commit 71077be20d0f7dca153e4d9cdc88f7a54a9766b6 by Timo Aaltonen on 11/04/2014 at 15:41..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71077be20d0f7dca153e4d9cdc88f7a54a9766b6

Git commit 50ec6d3942dae4f81d3031e280a9dc484c1ba8f6 by Timo Aaltonen on 11/04/2014 at 15:44..
drop 02_kbsd_modeset.diff, upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50ec6d3942dae4f81d3031e280a9dc484c1ba8f6

Git commit b1d4def05992bf061d6e0cc901ca00b7995e8d75 by Maarten Lankhorst on 15/04/2014 at 08:29..
nouveau: safen up nouveau_device list usage against concurrent access

I cannot make nouveau_bo_wrap thread-safe (by design), but it seems to be used to convert
drm fb's to nouveau_bo's and to get a notify handle from fifo->notify in nv30_screen.c

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1d4def05992bf061d6e0cc901ca00b7995e8d75

Git commit 7974b539d2b46167972b9109046a45dbe852ae4c by Maarten Lankhorst on 16/04/2014 at 14:52..
amend previous commit to actually compile

Ugh!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7974b539d2b46167972b9109046a45dbe852ae4c

Git commit 44b08c0ddf7ced99a5914421f18b269a1dcaafae by Thierry Reding on 17/04/2014 at 14:21..
Mark functions printf-like where possible

These functions all take a format string and either a list of variable
arguments or a va_list. Use the new DRM_PRINTFLIKE macro to tell the
compiler about it so that the arguments can be checked against the
format string.

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44b08c0ddf7ced99a5914421f18b269a1dcaafae

Git commit 3d7a51e43ef93df967fd387cf58dfa370dfb2317 by Thierry Reding on 17/04/2014 at 14:21..
intel: Fix some format strings

Some of the format strings for debug messages use the wrong modifier to
print sizes.

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d7a51e43ef93df967fd387cf58dfa370dfb2317

Git commit 303ff26311dc5efdf28676be34d86f501699acf3 by Thierry Reding on 17/04/2014 at 14:21..
libdrm: Remove extraneous parameter

The debug message's format string doesn't contain any conversion
specifiers, therefore making the fd argument unused.

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/303ff26311dc5efdf28676be34d86f501699acf3

Git commit d4083dc762a2974c35ecd16be995272bbb6d57b4 by Thierry Reding on 17/04/2014 at 14:21..
tests: Use drmFreeVersion() instead of drmFree()

drmFreeVersion() frees the memory allocated for the name, date and desc
fields in addition to that for the struct _drmVersion.

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4083dc762a2974c35ecd16be995272bbb6d57b4

Git commit 0e512794bf6281edfa4543ae7cc408d52ec6e2f3 by Rob Clark on 22/04/2014 at 15:14..
modetest: add cursor support

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e512794bf6281edfa4543ae7cc408d52ec6e2f3

Git commit e6ec4c88519da05eccc05ed2ae7ff20277e3672a by Rob Clark on 25/04/2014 at 18:53..
freedreno: add missing fxn prototype

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6ec4c88519da05eccc05ed2ae7ff20277e3672a

Git commit 61c22ccc41e8dcf8144b754b6b9a229ffec16142 by Julien Cristau on 27/04/2014 at 20:15..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61c22ccc41e8dcf8144b754b6b9a229ffec16142

Git commit bb1f4263b7ce169ab484b8463f0bf630a1ab4f2b by Ville Syrjälä on 29/04/2014 at 15:54..
intel/chv: Add Cherryview PCI IDs

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb1f4263b7ce169ab484b8463f0bf630a1ab4f2b

Git commit 828c3e85be697acfeb518793dbada0cca8a691f9 by Ville Syrjälä (on behalf of Daniel Kurtz) on 01/05/2014 at 20:38..
Use signed location for drmModeSetPlane

DRM_IOCTL_MODE_SETPLANE crtc_x, crtc_y are s32.
This is to allow a destination location that is partially off screen.

Make this more obvious to users of libdrm by using signed crtc_x/_y
parameters for drmModeSetPlane() as well.

Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/828c3e85be697acfeb518793dbada0cca8a691f9

Git commit c2bc8ad438693262480ce1426bcf5c1d8ec4e808 by Alex Deucher (on behalf of Samuel Li) on 02/05/2014 at 15:05..
radeon: add Mullins chip family

Signed-off-by: Samuel Li <samuel.li at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2bc8ad438693262480ce1426bcf5c1d8ec4e808

Git commit 3bdf1f78d8abfb2552947d1990b40c7355b921fc by Alex Deucher (on behalf of Samuel Li) on 02/05/2014 at 15:05..
radeon: add Mullins pci ids

Signed-off-by: Samuel Li <samuel.li at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3bdf1f78d8abfb2552947d1990b40c7355b921fc

Git commit 5126fcb2b475ea155fc2b6fbf012dbd18df74307 by Alex Deucher on 02/05/2014 at 20:59..
bump version to 2.4.54 for release

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5126fcb2b475ea155fc2b6fbf012dbd18df74307

Git commit 2d69764f603a2a3d70673c8ab559743405b12b3a by Andreas Boll on 05/05/2014 at 21:22..
Merge tag 'libdrm-2.4.54' into debian-unstable

libdrm-2.4.54
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d69764f603a2a3d70673c8ab559743405b12b3a

Git commit 547a4b9586d0578aa828ca01598432bc36d57548 by Andreas Boll on 05/05/2014 at 21:22..
New upstream release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/547a4b9586d0578aa828ca01598432bc36d57548

Git commit a31158c54e462ff33c3776c317562a10f8fc96f9 by Andreas Boll on 05/05/2014 at 21:51..
Add 02_fix_qxl_drm_h.diff

Closes: #746807
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a31158c54e462ff33c3776c317562a10f8fc96f9

Git commit b4a23f2a83530101da959f4a63725a9033111af3 by Julien Cristau on 10/05/2014 at 13:38..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4a23f2a83530101da959f4a63725a9033111af3

Git commit 71bbf86f58b5b1fccc045dced8612572c01a93eb by Rob Clark (on behalf of Daniel Kurtz) on 13/05/2014 at 03:09..
eyxnos: install exynos tests if HAVE_INSTALL_TESTS

This exynos test was added just before HAVE_INSTALL_TESTS, and so didn't
get this annotation.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71bbf86f58b5b1fccc045dced8612572c01a93eb

Git commit ebe21baec5ec180068eb2ec2a97561ba7b482a38 by Rob Clark (on behalf of Daniel Kurtz) on 13/05/2014 at 03:09..
exynos: fix two warnings

warning: assignment makes pointer from integer without a cast [enabled by default]
warning: initialization makes integer from pointer without a cast [enabled by default]

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebe21baec5ec180068eb2ec2a97561ba7b482a38

Git commit 4e193aa817685d23cb38722788541caee0115cb5 by Rob Clark (on behalf of Daniel Kurtz) on 13/05/2014 at 03:09..
exynos_fimg2d: fix cast from pointer to integer of different size

Fixes two gcc [-Wpointer-to-int-cast] warnings.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e193aa817685d23cb38722788541caee0115cb5

Git commit 382043ee4843ecafb82dda148e43953ab0d016fc by Rob Clark (on behalf of Daniel Kurtz) on 13/05/2014 at 03:09..
exynos: remove unusable "run" target

This looks like it was copied from kmstest, but isn't needed, and doesn't
actually work since exynos_fimg2d_test requires parameters.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/382043ee4843ecafb82dda148e43953ab0d016fc

Git commit d1000c432c8ce76ea64f7f9eb6094d11542e0495 by Rob Clark (on behalf of Daniel Kurtz) on 13/05/2014 at 03:09..
exynos_fimg2d_test: fix drmModeRmFB

The first parameter should be the drm fd, second param is the fb id.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1000c432c8ce76ea64f7f9eb6094d11542e0495

Git commit a13bdd5c7197c4c008c0f3976742231cf61d8ce9 by Rob Clark (on behalf of Daniel Kurtz) on 13/05/2014 at 03:09..
exynos: prime: use drmPrime*() helpers

Reuse the common drmPrime() helper functions rather than reinventing them.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a13bdd5c7197c4c008c0f3976742231cf61d8ce9

Git commit ee87b4716d416be94071eea5dd67a22d1e78df31 by Rob Clark (on behalf of Daniel Kurtz) on 13/05/2014 at 03:09..
exynos: removed unused fd field

The documentation says fd holds the fd from prime import/export.
However, it isn't actually used, nor is it necessary, so let's just remove
it.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Acked-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee87b4716d416be94071eea5dd67a22d1e78df31

Git commit 305478ce02ebd908a75c9830ecea15f6e2469b42 by Thierry Reding (on behalf of Daniel Kurtz) on 13/05/2014 at 10:14..
drmOpenByName: remove redundant drmAvailable check

drmOpenByName() is a static function that is only called by drmOpen().
drmOpen() already checks drmAvailable(), so the check in
drmOpenByName() is redundant.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/305478ce02ebd908a75c9830ecea15f6e2469b42

Git commit 8fc62ca8ac010659023bb63c4759eb683de4f9af by Rob Clark (on behalf of Matt Roper) on 19/05/2014 at 23:43..
drm: Add universal plane capability bit and plane type enums

Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8fc62ca8ac010659023bb63c4759eb683de4f9af

Git commit 09db8019da88644cd54dc9d93e8398d8b1f7d923 by Rob Clark on 18/06/2014 at 13:42..
freedreno: sync kernel header

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09db8019da88644cd54dc9d93e8398d8b1f7d923

Git commit 56d170bc06c3ac69deb697f057c213f7c46d9a68 by Rob Clark on 18/06/2014 at 14:42..
freedreno: add chip-id property

Userspace needs to know the patch-revision in addition to just the
gpu-id (ie. 320, 305, etc).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56d170bc06c3ac69deb697f057c213f7c46d9a68

Git commit 3cde43f5669bf5edbd6adef7902e96411fc53e9c by Damien Lespiau on 19/06/2014 at 17:29..
intel: Sync the command parser version parameter from kernel

Cc: Bradley Volkin <bradley.d.volkin at intel.com>
Reviewed-by: Brad Volkin <bradley.d.volkin at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3cde43f5669bf5edbd6adef7902e96411fc53e9c

Git commit 20edfb9a16414688670439f8849488e08b64c5e7 by Damien Lespiau on 19/06/2014 at 17:29..
intel: Sync typo fix from the kernel sources.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20edfb9a16414688670439f8849488e08b64c5e7

Git commit 4fddc92e04f5326d78b1bb0252e2f64725e96edb by Damien Lespiau (on behalf of Tvrtko Ursulin) on 19/06/2014 at 17:35..
intel: Add new userptr ioctl

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4fddc92e04f5326d78b1bb0252e2f64725e96edb

Git commit 63f51fc4d34814c80d452e03814b5b495548987b by Rob Clark (on behalf of Tobias Jakobi) on 20/06/2014 at 19:53..
exynos: fix coordinate computation in g2d_copy

The right-bottom register isn't set correctly.
Looks like a copy-and-paste error.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63f51fc4d34814c80d452e03814b5b495548987b

Git commit 3001c232d14a07153c36a0722e196041d6536d30 by Rob Clark (on behalf of Tobias Jakobi) on 20/06/2014 at 19:53..
exynos: fix G2D_DOUBLE_TO_FIXED for non-integer input

The hardware accepts scaling factors formatted in a
fixed-point format. The current macro casts to integer
first, then multiplies by the fp conversion factor.

This does not make any sense. In particular, truly
'fractional' inputs, like 1.5, won't work that way.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3001c232d14a07153c36a0722e196041d6536d30

Git commit e8c3c1358ecaf4e90f7d43762357ae6f8e2022b6 by Rob Clark (on behalf of Tobias Jakobi) on 20/06/2014 at 19:53..
exynos: fix scaling factor computation in g2d_copy_with_scale

When division of source and destination width yields the
scaling factor for the x-coordinate, then it should be
source/destination _height_ for y.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8c3c1358ecaf4e90f7d43762357ae6f8e2022b6

Git commit 72f84b85afbe762b86ea8c095fee01e7d406b131 by Michel Dänzer (on behalf of Thomas Klausner) on 16/07/2014 at 03:15..
radeon: Remove superfluous parentheses.

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72f84b85afbe762b86ea8c095fee01e7d406b131

Git commit c0b34dca2632a774249cfa3b969c3f7ce9df33e1 by Michel Dänzer (on behalf of Thomas Klausner) on 16/07/2014 at 03:16..
radeon: Add missing header includes.

unistd.h for close() and xf86drm.h for drmOpen().

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0b34dca2632a774249cfa3b969c3f7ce9df33e1

Git commit e0ecbaa110adda9805f55482f67544d755720161 by Maarten Lankhorst on 25/07/2014 at 09:33..
Enable building freedreno on arm. (Closes: #741509)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0ecbaa110adda9805f55482f67544d755720161

Git commit 99f0810d7b83a1a7eb07a1dfe61dd130a3e572f0 by Maarten Lankhorst on 25/07/2014 at 09:33..
build exynos on arm too
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99f0810d7b83a1a7eb07a1dfe61dd130a3e572f0

Git commit a328b02c1d0b2e19e3587221aa290f05e33baefe by Maarten Lankhorst on 25/07/2014 at 09:38..
exynos: do not build fimg2d_test when building without libkms support.

This prevents a build failure.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a328b02c1d0b2e19e3587221aa290f05e33baefe

Git commit 2ad898100e88fff8076133b5c791a364b4bc29e0 by Maarten Lankhorst on 25/07/2014 at 09:43..
Add a patch to fix FTBFS with exynos.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ad898100e88fff8076133b5c791a364b4bc29e0

Git commit e9ffcd2127923bfe159244daf86d6ecb89fd43e3 by Maarten Lankhorst on 25/07/2014 at 09:51..
add missing libdrm-exynos1.install
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9ffcd2127923bfe159244daf86d6ecb89fd43e3

Git commit 6f15ca80815ae34d412c9fbdf526d69c45561a0f by Maarten Lankhorst on 25/07/2014 at 13:08..
bump to version 2.4.55 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f15ca80815ae34d412c9fbdf526d69c45561a0f

Git commit 464632b5ea749c9373219097c5a7101ee3730d75 by Maarten Lankhorst on 25/07/2014 at 13:26..
Merge tag 'libdrm-2.4.55' into debian-unstable

libdrm-2.4.55
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/464632b5ea749c9373219097c5a7101ee3730d75

Git commit bca5f71beba691ce4036e41cfb73ae65161e4c94 by Maarten Lankhorst on 25/07/2014 at 13:27..
bump changelog, and remove ftbfs patch, upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bca5f71beba691ce4036e41cfb73ae65161e4c94

Git commit 8bdb4cfa450b16f2c70729f923fa05d9553d7118 by Andreas Boll on 28/07/2014 at 15:35..
libdrm: Fix drm.h include in qxl drm header file

Use "drm.h" instead of "drm/drm.h" as used in the other header files.
Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this
file is installed in /usr/include/libdrm.

Fixes Debian bug #746807

Reported-by: Bastian Blank <waldi at debian.org>
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8bdb4cfa450b16f2c70729f923fa05d9553d7118

Git commit 2169dce96c5503ef8f6e4bb008e989d0ef02ec8e by Marek Olšák on 28/07/2014 at 22:24..
radeon: fix typo in sample split / fixes MSAA on Hawaii

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2169dce96c5503ef8f6e4bb008e989d0ef02ec8e

Git commit d6861609b2b887612d652bb2be7c39f199802937 by Marek Olšák on 29/07/2014 at 16:54..
configure.ac: bump version to 2.4.56 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6861609b2b887612d652bb2be7c39f199802937

Git commit 69c196490681aea46d339252af86d7a1c42af5c3 by Maarten Lankhorst on 30/07/2014 at 08:41..
fix copy paste in description with some more copy paste
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69c196490681aea46d339252af86d7a1c42af5c3

Git commit c8e6bc23d5baaa59739d33d0019a10097425ce59 by Maarten Lankhorst on 30/07/2014 at 09:40..
Add a patch to hide all private symbols.

03_hide_symbols.diff
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8e6bc23d5baaa59739d33d0019a10097425ce59

Git commit 342a6d53d2b660b838b65f7e45eff28259bd3d4d by Maarten Lankhorst on 30/07/2014 at 09:42..
Merge tag 'libdrm-2.4.56' into debian-unstable

libdrm-2.4.56
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/342a6d53d2b660b838b65f7e45eff28259bd3d4d

Git commit abba37f34253ffe0ed2c6e5833f5e0f35f413fd3 by Maarten Lankhorst on 30/07/2014 at 09:42..
bump version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abba37f34253ffe0ed2c6e5833f5e0f35f413fd3

Git commit 8004a0512617bc74f62b43d2fd599469ee4a4625 by Maarten Lankhorst on 30/07/2014 at 09:44..
drop upstreamed patch
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8004a0512617bc74f62b43d2fd599469ee4a4625

Git commit 3d9b1e691680272bb49a445bbfc0713f05b67f62 by Maarten Lankhorst on 30/07/2014 at 10:09..
fix too long description for freedreno
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d9b1e691680272bb49a445bbfc0713f05b67f62

Git commit cdc8731e6283274db1caf124312175a6c2d30f9d by Maarten Lankhorst (on behalf of Fabio Pedretti) on 30/07/2014 at 13:44..
debian/control: consolidate packages description
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdc8731e6283274db1caf124312175a6c2d30f9d

Git commit 5d8357976a84396ebe10ed5a0d6ba1b79ccdcf2e by Thierry Reding on 30/07/2014 at 14:58..
configure: Support symbol visibility when available

Checks whether or not the compiler supports the -fvisibility option. If
so it sets the VISIBILITY_CFLAGS variable which can be added to the per
directory AM_CFLAGS where appropriate.

By default all symbols will be hidden via the VISIBILITY_CFLAGS. The
drm_public macro can be used to mark symbols that should be exported.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d8357976a84396ebe10ed5a0d6ba1b79ccdcf2e

Git commit 56c4857f1763b40e566839bdc6fa14f873baf9b8 by Maarten Lankhorst on 04/08/2014 at 07:22..
nouveau: Only export public functions.

This hides all the abi16_* functions and the nouveau_debug variable,
they should have been private to begin with.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56c4857f1763b40e566839bdc6fa14f873baf9b8

Git commit 58ce9d6292c7033ff76bb2ef35da0e4c36de2389 by Maarten Lankhorst on 04/08/2014 at 07:22..
radeon: Use symbol visibility.

All the bof_* symbols are now no longer exported.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58ce9d6292c7033ff76bb2ef35da0e4c36de2389

Git commit 07fead4462b2d537d0c3cae69a09272fc426c598 by Maarten Lankhorst on 04/08/2014 at 07:36..
intel: Use symbol visibility.

No exports changed for this driver.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07fead4462b2d537d0c3cae69a09272fc426c598

Git commit 567fdca5ef989b1b780ebfea2e8bebaedb1d4228 by Maarten Lankhorst on 04/08/2014 at 09:47..
Add a squashed patch from upstream to hide all private symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/567fdca5ef989b1b780ebfea2e8bebaedb1d4228

Git commit b6a7e52d5852d7add5f11c4356a72b3f518ad069 by Maarten Lankhorst on 04/08/2014 at 09:56..
Drop now hidden symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6a7e52d5852d7add5f11c4356a72b3f518ad069

Git commit 61c5e631c09cdeb835524856637e6f63fa100193 by Maarten Lankhorst on 06/08/2014 at 10:44..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61c5e631c09cdeb835524856637e6f63fa100193

Git commit edbb4e545f75c08d9d178173bdcdc87ffc88dcd4 by Maarten Lankhorst (on behalf of François Tigeot) on 14/08/2014 at 19:56..
drm: Implement drmCheckModesettingSupported() for DragonFly

For the sake of simplicity, KMS support can always be considered
present on DragonFly.

If some particular version doesn't support KMS yet, appropriate
checks are already done in Dports's x11-drivers/ Makefiles and
KMS-enabled driver packages don't get built.

Signed-off-by: François Tigeot <ftigeot at wolfpond.org>
Signed-off-by: Maarten Lankhorst <dev at mblankhorst.nl>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edbb4e545f75c08d9d178173bdcdc87ffc88dcd4

Git commit 2d1044cc47a00a6e9bcc49aca72680a77b447c9b by Maarten Lankhorst on 14/08/2014 at 19:59..
omap: Use symbol visibility.

No changes to exported symbols.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d1044cc47a00a6e9bcc49aca72680a77b447c9b

Git commit 479b6cef702f26d886b3f6ccfd48d5e39a623944 by Maarten Lankhorst on 14/08/2014 at 19:59..
freedreno: Use symbol visibility.

Hiding fd_device_del_locked, and fd_cleanup_bo_cache.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/479b6cef702f26d886b3f6ccfd48d5e39a623944

Git commit d9ce09de12131fa8c5ff2d7c2dbd6b61d8a5fd14 by Maarten Lankhorst on 14/08/2014 at 19:59..
exynos: Use symbol visibility.

No changes to exported symbols.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9ce09de12131fa8c5ff2d7c2dbd6b61d8a5fd14

Git commit 3ad801bf1fc4ad3becdcf329fc6fe807eb312e89 by Alex Deucher on 21/08/2014 at 15:04..
radeon: add new CIK pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ad801bf1fc4ad3becdcf329fc6fe807eb312e89

Git commit 22b995d8cbf1059535c5de5ba1869c1623ae5b08 by Alex Deucher on 21/08/2014 at 15:06..
radeon: add new SI pci ids

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22b995d8cbf1059535c5de5ba1869c1623ae5b08

Git commit 391bba9c4cd2825eadaa648df10e3d1c99c66e80 by Marek Olšák (on behalf of Maks Naumov) on 25/08/2014 at 11:07..
radeon: Fix surf->bankh init by default value when surf->tile_split == 0

Signed-off-by: Maks Naumov <maksqwe1 at ukr.net>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/391bba9c4cd2825eadaa648df10e3d1c99c66e80

Git commit 8e93afc9765f1de613c65a76e9a86e17db96e653 by Emil Velikov on 01/09/2014 at 15:06..
all: include config.h only when available and use its defines

... rather than explicitly redefining HAVE_STDINT_H and _GNU_SOURCE.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e93afc9765f1de613c65a76e9a86e17db96e653

Git commit 02b3ad7e19e3a73453a68354f9f3fa6224c38bfe by Emil Velikov on 01/09/2014 at 15:06..
libkms: remove explicit define _FILE_OFFSET_BITS 64

configure.ac has AC_SYS_LARGEFILE which provides the define and/or
approapriate magic when required.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02b3ad7e19e3a73453a68354f9f3fa6224c38bfe

Git commit 4255d3d51dfe85be93d3e246f24b7bb56950a8c2 by Emil Velikov on 01/09/2014 at 15:06..
libdrm, freedreno, intel, nouveau, radeon: add Makefile.sources

Will be used to consolidate the required sources lists as well as the
install-able headers. This is turn will help us to avoid the
duplication with the upcoming Android build support.

v2: Rename the headers variable to *_H_FILES.
v3: Rebase on top of symbol visibility patches.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4255d3d51dfe85be93d3e246f24b7bb56950a8c2

Git commit 0a92953e7022a400fabe0407ff8b9bc67f423970 by Emil Velikov on 01/09/2014 at 15:06..
libdrm,intel: Add Android build

Contains the following patches squashed in:

    commit f340a8b9f2b84d5762553bef046914e0bde20795
    Author: Chad Versace <chad.versace at linux.intel.com>
    Date: Wed, 21 Dec 2011 11:43:57 -0800

        libdrm,intel: Add Android makefiles (v2)

        This enables libdrm.so and libdrm_intel.so to build on Android
        IceCreamSandwich.

        v2: Link libdrm_intel to libpciaccess.

        Change-Id: Ie5ed4bc0e6b4f9f819e3ec44488e385c35e97128
        Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

    commit 8fb3f42389dea34218ed1fe59550ec2abb4d6953
    Author: Andrew Boie <andrew.p.boie at intel.com>
    Date: Wed, 26 Sep 2012 13:32:05 -0700

        libdrm, libdrm_intel: Skip driver name checks

        These libraries have 'optional' tags, which means they won't get
        built unless something else depends on them or they are added to
        PRODUCT_PACKAGES. There's no need for additional filtering.

        Change-Id: I5d90969f38671f8144c0dc27d47144b3f09a15ce
        Signed-off-by: Andrew Boie <andrew.p.boie at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a92953e7022a400fabe0407ff8b9bc67f423970

Git commit b26dc002f7834f49b99822a1608a99de2fbac74e by Emil Velikov on 01/09/2014 at 15:06..
libdrm,intel: rework android header handling

Contains the following patches squashed in:

    commit 99247a5bd724ddcf0f06a5518baad207c53f1e2b
    Author: Haitao Huang <haitao.huang at intel.com>
    Date: Fri, 27 Apr 2012 13:20:53 -0500

        Android.mk: use LOCAL_COPY_HEADERS to export headers.

        Export necessary header files used by other components for
        Android, such as libva intel-driver, gralloc, hwcomposer, etc.

        Change-Id: I2feabf6941379ef4d756e942f30eba059de641f1
        Signed-off-by: Haitao Huang <haitao.huang at intel.com>
        [chad: Fixed inconsistent indentation.]
        Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

    commit 7d0b528cb69995d7ea4e29b2daa1e3b28a362f42
    Author: Emil Velikov <emil.l.velikov at gmail.com>
    Date: Sun, 27 Jul 2014 18:22:41 +0100

        android: reuse headers lists, separate libdrm from intel headers

        Rather than having a duplicate copy of the headers list(s),
        reuse the existing one(s). Distinguish that the intel headers
        should be copied when libdrm_intel is used.

        v2 Rename the headers variable(s) to *_H_FILES.

        Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

    commit 361de3ba4cadd5357596d1537bb3f216d281532b
    Author: Piotr Luc <piotr.luc at intel.com>
    Date: Fri, 14 Jun 2013 13:00:39 +0200

        Export include dir from libdrm

        BZ: 116218

        Google introduced new method of specifying include path(s)
        between modules. This allows a module to include header from a
        library without directly specifyining by includer the path where
        headers are located.

        The method requires from library that holds headers to export
        include path(s) in LOCAL_EXPORT_C_INCLUDE_DIRS variable.
        These exported include path(s) are automatically added to
        include path(s) of modules that have name of the library in the
        LOCAL_SHARED_LIBRARIES or LOCAL_STATIC_LIBRARIES list.

        This change sets LOCAL_EXPORT_C_INCLUDE_DIRS to folders that
        contain headers file that used by other modules in order to
        export these paths.

        Change-Id: Id1ac885b31ef2efe194e0289fbcaecd9eb533df0
        Signed-off-by: Piotr Luc <piotr.luc at intel.com>
        Reviewed-on: http://android.intel.com:8080/113562
        Reviewed-by: cactus <cactus at intel.com>
        Reviewed-by: Luc, Piotr <Piotr.Luc at intel.com>
        Reviewed-by: Purushothaman, Vijay A <vijay.a.purushothaman at intel.com>
        Reviewed-by: Stimson, Dale B <dale.b.stimson at intel.com>
        Tested-by: Stimson, Dale B <dale.b.stimson at intel.com>
        Reviewed-by: buildbot <buildbot at intel.com>
        Tested-by: buildbot <buildbot at intel.com>

    commit 2bf22fcbd4cbb9e7c7764d5eff0bb4e75ab1a005
    Author: Emil Velikov <emil.l.velikov at gmail.com>
    Date: 27 Jul 2014 18:27:21 +0100

        android: Separate libdrm and intel LOCAL_EXPORT_C_INCLUDE_DIRS

        Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b26dc002f7834f49b99822a1608a99de2fbac74e

Git commit adb1cdcdde23f21ad4dd21725e8a759c13c18dbf by Emil Velikov on 01/09/2014 at 15:06..
radeon: add Android build support

v2 Rename the headers variable(s) to *_H_FILES.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/adb1cdcdde23f21ad4dd21725e8a759c13c18dbf

Git commit 41bfc07fe5f2a651a7d6a8579807e830bf0ebf8b by Emil Velikov on 01/09/2014 at 15:06..
nouveau: add Android build support

v2 Rename the headers variable(s) to *_H_FILES.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41bfc07fe5f2a651a7d6a8579807e830bf0ebf8b

Git commit a8ce03f35f17cd0f6fa90fde745d50c5a211b664 by Emil Velikov on 01/09/2014 at 15:06..
freedreno: add Android build support

v2 Rename the headers variable(s) to *_H_FILES.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8ce03f35f17cd0f6fa90fde745d50c5a211b664

Git commit d69cc400f5c2e2148480e6252dafc542a646ae56 by Emil Velikov on 01/09/2014 at 15:06..
android: add CleanSpec.mk

The file contains rules that are executed on incremental builds. This
way one can avoid doing a full clean and ensure that the new object
(library) is correctly build. Let's also cleanup the headers.

Inspired by the work of Chih-Wei Huang, from the Android-x86 project.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d69cc400f5c2e2148480e6252dafc542a646ae56

Git commit 8c2ae1695913990cbe6c6a8aa294f354eba33bd0 by Emil Velikov on 01/09/2014 at 15:12..
freedreno: fd_bo_from_handle() remove duplicate declaration

Already declared in our public header freedreno_drmif.h

Cc: Rob Clark <robclark at freedesktop.org>
Cc: freedreno at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c2ae1695913990cbe6c6a8aa294f354eba33bd0

Git commit 63fc571863aa646834004fae2a8aee1326b775dc by Damien Lespiau (on behalf of Lionel Landwerlin) on 15/09/2014 at 13:50..
atomic: add atomic_add_unless()

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63fc571863aa646834004fae2a8aee1326b775dc

Git commit 743af59669386cb6e063fa4bd85f0a0b2da86295 by Damien Lespiau (on behalf of Lionel Landwerlin) on 15/09/2014 at 13:51..
intel: make bufmgr_gem shareable from different API

When using Mesa and LibVA in the same process, one would like to be
able bind buffers from the output of the decoder to a GL texture
through an EGLImage.

LibVA can reuse buffers allocated by Gbm through a file descriptor. It
will then wrap it into a drm_intel_bo with
drm_intel_bo_gem_create_from_prime().

The problem at the moment is that both library get a different
drm_intel_bufmgr object when they call drm_intel_bufmgr_gem_init()
even though they're using the same drm file descriptor. As a result,
instead of manipulating the same buffer object for a given file
descriptor, they get 2 different drm_intel_bo objects and 2 different
refcounts, leading one of the library to get errors from the kernel on
invalid BO when one of the 2 library is done with a shared buffer.

This patch modifies drm_intel_bufmgr_gem_init() so, given a file
descriptor, it will look for an already existing drm_intel_bufmgr
using the same file descriptor and return that object.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/743af59669386cb6e063fa4bd85f0a0b2da86295

Git commit 88025ad808aa61b2d5db63b86fc9327aefdecc3b by Damien Lespiau (on behalf of Lionel Landwerlin) on 15/09/2014 at 13:51..
intel: make bo_unreference() thread safe

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/88025ad808aa61b2d5db63b86fc9327aefdecc3b

Git commit 86b37c61c78edd1353a3f76f678c39e2ec168771 by Damien Lespiau (on behalf of Lionel Landwerlin) on 15/09/2014 at 13:51..
intel: make drm_intel_gem_bo_get_reloc_count() thread safe

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86b37c61c78edd1353a3f76f678c39e2ec168771

Git commit ae8edc7544e566084f7b958eb93c9109b471ca30 by Damien Lespiau (on behalf of Tvrtko Ursulin) on 17/09/2014 at 11:15..
intel: Add support for userptr objects

Allow userptr objects to be created and used via libdrm_intel.

At the moment tiling and mapping to GTT aperture is not supported
due hardware limitations across different generations and uncertainty
about its usefulness.

v2: Improved error handling in feature detection per review comments.

v3: Rebase on top of the drm_public addition, minor whitespace addition.

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com> (v3)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com> (v1,v2)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae8edc7544e566084f7b958eb93c9109b471ca30

Git commit 0fa1dbf6469dfd7b8cac4d924235b149ee83daf1 by Daniel Vetter (on behalf of Rafal Sapala) on 19/09/2014 at 07:20..
intel: Adding locks for drm objects synchronization.

The changes make sure that members of the bufmgr_gem and bo_gem
name lists are sychronized between threads
when using the create from prime and create from name methods.

Signed-off-by: Rafal Sapala <rafal.a.sapala at intel.com>
Testcase: igt/drm_import_export
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0fa1dbf6469dfd7b8cac4d924235b149ee83daf1

Git commit 77dce9a012c2bb9d152fe32458f17d3d5fc715a7 by Damien Lespiau on 19/09/2014 at 13:36..
intel: Don't leak the test page in an has_userptr() error path

When handling the error on GEM_CLOSE, we weren't freeing the allocated
page. Plug that.

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77dce9a012c2bb9d152fe32458f17d3d5fc715a7

Git commit 666788a6062de62aa0b3560760fbb0903167a319 by Rob Clark on 22/09/2014 at 02:16..
freedreno: add dmabuf import/export helpers

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/666788a6062de62aa0b3560760fbb0903167a319

Git commit 98ec08d836d21a516f7646a10e0e2ae4501182f1 by Emil Velikov on 28/09/2014 at 16:09..
automake: remove obsolete makefiles

Rather than having two extra makefiles in order to ship ~10 headers
just fold its 5 lines of code into the top one makefile.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98ec08d836d21a516f7646a10e0e2ae4501182f1

Git commit deb690f78db056acd054a6ac482e084a54b311c9 by Emil Velikov on 28/09/2014 at 16:09..
Remove i810_drm.h and i830_drm.h from the distribution tarball

Both of these headers are not installed since they were imported.
They  are not even used internally. The latter no longer exist in the
kernel...

Note the * symbol in EXTRA_DIST causes 'make distcheck' to fail. When
was the last time we ran it ?

Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Damien Lespiau <damien.lespiau at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/deb690f78db056acd054a6ac482e084a54b311c9

Git commit f52309ebbe024d0e8d44c34d64e2eb8ad29828fa by Emil Velikov on 28/09/2014 at 16:09..
automake: fix 'make commit-headers'

Not too long ago the in-kernel drm public headers were moved. Since then
we could no longer fetch/update the ones in libdrm using the command.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f52309ebbe024d0e8d44c34d64e2eb8ad29828fa

Git commit be7d29717239f1b5230dffecf7060b57fcbab20a by Emil Velikov on 28/09/2014 at 16:09..
configure: unconditionally check for atomic ops/primitives

Just have the check once, and let new drivers opt-in if they want
to use them. Move the block further up the script, to tie nicely
with the actual usage of $HW defines.

Move the final $HW users to be alongside their brethren.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be7d29717239f1b5230dffecf7060b57fcbab20a

Git commit f3fd11beaa70b0624ab1d6c7d8e25c65eea942ac by Emil Velikov on 28/09/2014 at 16:09..
libkms: build the intel backend only when needed

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3fd11beaa70b0624ab1d6c7d8e25c65eea942ac

Git commit 1a75044a3905f9f4664e57e37e3fb216dfb7a8f7 by Emil Velikov on 28/09/2014 at 16:09..
libkms: move sources lists to makefile.sources

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a75044a3905f9f4664e57e37e3fb216dfb7a8f7

Git commit a3dfd6d40db6f089ea581d62ddf07ab2290dac9e by Emil Velikov on 28/09/2014 at 16:09..
libkms: add Android build

Cc: Benjamin Gaignard <benjamin.gaignard at linaro.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3dfd6d40db6f089ea581d62ddf07ab2290dac9e

Git commit fea3831133da26049cbfb5105924dfb839e926c4 by Emil Velikov on 28/09/2014 at 16:09..
modetest: move sources lists to makefiles.sources

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fea3831133da26049cbfb5105924dfb839e926c4

Git commit 6f95526a81d985e2df26eb5ceb771668a5cca91c by Emil Velikov on 28/09/2014 at 16:09..
modetest: add Android build

v2: include modetest rather than modeset.
Spotted by Mauro Rossi and Paulo Sergio.

Cc: Benjamin Gaignard <benjamin.gaignard at linaro.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com> (v1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f95526a81d985e2df26eb5ceb771668a5cca91c

Git commit 33bad73b273bcb2ebac430d7b572930c0fbfbeed by Emil Velikov (on behalf of Benjamin Gaignard) on 28/09/2014 at 16:09..
modetest: Add support of STI driver

Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33bad73b273bcb2ebac430d7b572930c0fbfbeed

Git commit 268dce4192125ceb6a65f1c8d885e4b656310578 by Emil Velikov on 28/09/2014 at 16:09..
automake: pick up all files for distribution.

Autotools is already smart enough to pick the *.pc.in files but it
needs some help with the Android.mk ones.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/268dce4192125ceb6a65f1c8d885e4b656310578

Git commit 4c2766b69c261703c62131b5e4200d0e164b5eb4 by Emil Velikov on 28/09/2014 at 16:09..
Add private mmap/munmap wrappers

Unlike Linux, Android (bionic) has separate functions - mmap & mmap64.
Add a local wrapper (inspired by gallium) that will be used throughout
libdrm to combat this bionic feature.

v2:
 - Drop the undefined unlikely macro.
 - Use macro for munmap under Android.
 - Wrap long lines.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com> (v1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c2766b69c261703c62131b5e4200d0e164b5eb4

Git commit faf51d5694e3f0ec12c7fa1fd2f87fc96a300fe3 by Emil Velikov on 28/09/2014 at 16:09..
drm: use drm_mmap/drm_munmap wrappers

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/faf51d5694e3f0ec12c7fa1fd2f87fc96a300fe3

Git commit dadc9eff9fd606335a7b3d5d58065a2e8d629672 by Emil Velikov on 28/09/2014 at 16:09..
libkms: use drm_mmap/drm_munmap wrappers

... for all by exynos.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dadc9eff9fd606335a7b3d5d58065a2e8d629672

Git commit c98c54f8434e2d38353bbf65b538bfcbf709409b by Emil Velikov on 28/09/2014 at 16:09..
nouveau: use drm_mmap/drm_munmap wrappers

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c98c54f8434e2d38353bbf65b538bfcbf709409b

Git commit 6281cf1b4310ff0b7670677cb4113a89ebf0b619 by Emil Velikov on 28/09/2014 at 16:09..
radeon: use drm_mmap/drm_munmap wrappers

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6281cf1b4310ff0b7670677cb4113a89ebf0b619

Git commit 84badffe5e1995eae6739267bdc3fd9ef7a55f32 by Emil Velikov on 28/09/2014 at 16:09..
freedreno: use drm_mmap/drm_munmap wrappers

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84badffe5e1995eae6739267bdc3fd9ef7a55f32

Git commit 537b1ca8d53f985a2c3f1c20d0671d5e8be94fd0 by Emil Velikov on 28/09/2014 at 16:09..
intel: use drm_mmap/drm_munmap wrappers

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/537b1ca8d53f985a2c3f1c20d0671d5e8be94fd0

Git commit a6cddb34105d6d0e488e847028c57db0335e8e85 by Rob Clark on 28/09/2014 at 16:25..
configure.ac: bump version to 2.4.57 for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6cddb34105d6d0e488e847028c57db0335e8e85

Git commit c09dcbc736afb2e6a05d4cfc5c3d878ace43e2ba by Rob Clark on 28/09/2014 at 18:30..
fix compile error on 32bit systems

4c2766b (drm_mmap/drm_unmap) brought this error for every .c file that
was not #including config.h:

  In file included from private.h:4:0,
                   from abi16.c:29:
  ../libdrm.h: In function 'drm_munmap':
  ../libdrm.h:81:4: error: size of unnamed array is negative

Signed-off-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c09dcbc736afb2e6a05d4cfc5c3d878ace43e2ba

Git commit 0599f2fd6aea0421a91d9297dcd454aa416dfbaa by Rob Clark on 28/09/2014 at 18:52..
more compile fix

Signed-off-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0599f2fd6aea0421a91d9297dcd454aa416dfbaa

Git commit 7068d987f4dc1260a948f2b4782c66d3d80e9978 by Rob Clark on 28/09/2014 at 18:53..
configure.ac: bump version to 2.4.58 for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7068d987f4dc1260a948f2b4782c66d3d80e9978

Git commit c866dc7c00e7f5f219901a9a81bf456a24d29cd1 by Michel Dänzer on 29/09/2014 at 07:50..
radeon: Always multiply pitch_bytes by nsamples, not by slice_pt

slice_pt is tileb[0] / tile_split, which isn't directly related to the
pitch.

This caused pitch_bytes to be too large in some cases.

[0] Tile size in bytes

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c866dc7c00e7f5f219901a9a81bf456a24d29cd1

Git commit c19a9867ab35834b0fc6a8b0cb8d19382424ff07 by Damien Lespiau on 30/09/2014 at 11:18..
intel/skl: Add SKL PCI ids

v2: Add more PCI IDs (Michael H. Nguyen)
v3: Synchronize one more with the kernel PCI IDs (Damien)

Reviewed-by: Thomas Wood <thomas.wood at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Signed-off-by: Michael H. Nguyen <michael.h.nguyen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c19a9867ab35834b0fc6a8b0cb8d19382424ff07

Git commit f1e15d1221288bcc010a743d46ffe37d4216dbea by Damien Lespiau on 30/09/2014 at 11:18..
intel/skl: Add gen9 to the buffer manager init

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1e15d1221288bcc010a743d46ffe37d4216dbea

Git commit 00847fa48b83a85b0cb882594a12ed1511f780db by Damien Lespiau on 30/09/2014 at 11:18..
intel/skl: add gen9 to the CS decoding init

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00847fa48b83a85b0cb882594a12ed1511f780db

Git commit 8f9ef7c525b2d6a74bb0e85570351e40206295ab by Andreas Boll on 02/10/2014 at 14:20..
Merge tag 'libdrm-2.4.58' into debian-unstable

libdrm-2.4.58
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f9ef7c525b2d6a74bb0e85570351e40206295ab

Git commit 89e9d2c32c20f41168245b241b950da444f012d8 by Andreas Boll on 02/10/2014 at 14:22..
New upstream release.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89e9d2c32c20f41168245b241b950da444f012d8

Git commit 3a3d16fe91206a6be3f94922379f294bd4bd72a1 by Andreas Boll on 02/10/2014 at 14:49..
03_hide_symbols.diff dropped, upstream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a3d16fe91206a6be3f94922379f294bd4bd72a1

Git commit 40063fa85ee6a4fc52e153c9ba268634a3872096 by Andreas Boll on 02/10/2014 at 14:54..
Update libdrm-intel1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40063fa85ee6a4fc52e153c9ba268634a3872096

Git commit 5ce3d800a29b04a28569d952c09f952c37fe0673 by Julien Cristau on 05/10/2014 at 13:53..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ce3d800a29b04a28569d952c09f952c37fe0673

Git commit e1a59228c5c426a681cf656fdddf52dfd82c7132 by Andreas Boll on 05/10/2014 at 16:49..
Update libdrm-freedreno1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1a59228c5c426a681cf656fdddf52dfd82c7132

Git commit efa46b370c85683183ee6480a9ede5baa45197df by Julien Cristau on 05/10/2014 at 17:00..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efa46b370c85683183ee6480a9ede5baa45197df

Git commit 5306078bbe21e05365700c186c6c8a1ae86b776c by Rob Clark on 18/11/2014 at 17:17..
freedreno: do handle lookup on handle and dmabuf import

We also need to check handle_table in the _from_handle() path and the
_from_dmabuf() (which goes through _from_handle()) to avoid duplicate
imports.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5306078bbe21e05365700c186c6c8a1ae86b776c

Git commit 4f44ecc6beeaac5064871d41dcc4693b8e313859 by Damien Lespiau (on behalf of Thomas Meyer) on 20/11/2014 at 14:10..
intel: Fix SIGSEGV in libdrm for heigth = 0 and width = 0

drm_intel_gem_bo_free() crashes because the list bo_gem->vma_list is not
yet initialised, but the error path tries to free it.

See also https://bugs.freedesktop.org/show_bug.cgi?id=75844

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Thomas Meyer <thomas at m3y3r.de>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f44ecc6beeaac5064871d41dcc4693b8e313859

Git commit ec65f8d71eb3eb065c7cadf4153138435ac3b388 by Daniel Vetter (on behalf of Chris Wilson) on 21/11/2014 at 09:15..
intel: Avoid overcounting fences when emitting self-referential relocs

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec65f8d71eb3eb065c7cadf4153138435ac3b388

Git commit 29bb4c6911b21c026c3863799dcbeaa29981bf7e by Rob Clark (on behalf of Jasper St. Pierre) on 22/11/2014 at 16:45..
modetest: Use threads for cursors instead of SIGALRM

This fixes an issue when trying to use -v and -C together. When trying
to read the page flip event, we are interrupted by the SIGALRM that
comes in, and so we think we timed out when we simply got EINTR. While
we could just loop checking for EINTR, SIGALRM is just bad idea to
begin with, so just rewrite it to use a thread.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29bb4c6911b21c026c3863799dcbeaa29981bf7e

Git commit 1fec623b029747fa811fab9b52effd8993fc605b by Rob Clark on 24/11/2014 at 18:43..
modetest: universal plane support

Minimal support, so we can at least dump properties of primary/cursor
planes.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1fec623b029747fa811fab9b52effd8993fc605b

Git commit 8f66c98818102b95c28320b9ed7b5e05fd4efa00 by Rob Clark (on behalf of Paulo Zanoni) on 25/11/2014 at 00:51..
tests: add proptest

A small program that allows us to see and modify properties.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f66c98818102b95c28320b9ed7b5e05fd4efa00

Git commit b958d76f7794143380a79f656fc71cc924422bdc by Rob Clark on 25/11/2014 at 00:53..
modetest: alpha buffers

Make upper-left corner for RGB32 buffers translucent, for testing
blending of AR24 vs XR24.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b958d76f7794143380a79f656fc71cc924422bdc

Git commit c2c0346e1f5ddec4f6497d7c6359157c5f32d442 by Rob Clark (on behalf of Ville Syrjälä) on 25/11/2014 at 00:54..
modetest: Print newline for empty blobs

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2c0346e1f5ddec4f6497d7c6359157c5f32d442

Git commit fb4177046de19730a784c3c16e4b73aab0ec6e41 by Rob Clark on 25/11/2014 at 00:56..
update signed/object prop types

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb4177046de19730a784c3c16e4b73aab0ec6e41

Git commit d6a4c2cbd11e357a9123f6d41f6d40d38e82e7f2 by Thierry Reding on 27/11/2014 at 16:05..
libdrm: Add NVIDIA Tegra support

Add the libdrm_tegra helper library to encapsulate Tegra-specific
interfaces to the DRM.

Furthermore, Tegra is added to the list of supported chips in the
modetest and vbltest programs.

Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>
Signed-off-by: Erik Faye-Lund <kusmabite at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6a4c2cbd11e357a9123f6d41f6d40d38e82e7f2

Git commit 93035cfbebf1344a041b70fbf9f3b89f6542805f by Thierry Reding on 27/11/2014 at 16:20..
tegra: Add simple test for drm_tegra_open()

This test opens a device, dumps the version information and checks that
a Tegra DRM context can be opened on it.

Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93035cfbebf1344a041b70fbf9f3b89f6542805f

Git commit 5ad2eef6eaed4ef90c25341a1c2278a0df5dafcc by Thierry Reding on 27/11/2014 at 16:20..
tegra: Add GET/SET_TILING IOCTLs

Currently the tiling parameters of buffer objects can only be set at
allocation time, and only a single tiled mode is supported. This new
DRM_TEGRA_GEM_SET_TILING IOCTL allows more modes to be set and also
allows the tiling mode to be changed after the allocation. This will
enable the Tegra DRM driver to import buffers from a GPU and directly
scan them out by configuring the display controller appropriately.

To complement this, the DRM_TEGRA_GEM_GET_TILING IOCTL can query the
current tiling mode of a buffer object. This is necessary when importing
buffers via handle (as is done in Mesa for example) so that userspace
can determine the proper parameters for the 2D or 3D engines.

Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ad2eef6eaed4ef90c25341a1c2278a0df5dafcc

Git commit 7b5e65268962d277c4e9e623d284150a715c541c by Thierry Reding on 27/11/2014 at 16:20..
tegra: Add SET/GET_FLAGS IOCTLs

The DRM_TEGRA_GEM_SET_FLAGS IOCTL can be used to set the flags of a
buffer object after it has been allocated or imported. Flags associated
with a buffer object can be queried using the DRM_TEGRA_GEM_GET_FLAGS
IOCTL.

Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b5e65268962d277c4e9e623d284150a715c541c

Git commit d3ad65db4215f5fb5419d78a14c12833d5ed150a by Thierry Reding on 27/11/2014 at 16:20..
tegra: Implement drm_tegra_bo_{get,set}_flags()

These two functions are simple wrappers around the corresponding IOCTLs
and operate on drm_tegra_bo objects.

Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3ad65db4215f5fb5419d78a14c12833d5ed150a

Git commit f99522e678dbbaffeca9462a8edcbe900574dc12 by Thierry Reding on 27/11/2014 at 16:20..
tegra: Implement drm_tegra_bo_{get,set}_tiling()

These two functions are simple wrappers around the corresponding IOCTLs
and operate on drm_tegra_bo objects.

Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f99522e678dbbaffeca9462a8edcbe900574dc12

Git commit 566c3ce877a4be72697e15cdfc421ce965f7c37d by Rob Clark (on behalf of Adam Cheney) on 05/01/2015 at 19:30..
Add new DRM_MODE_CONNECTOR and _ENCODER defines

Update drm_mode.h defines from kernel upstream for connector and
encoder types to expose DSI and other newly defined types.

Signed-off-by: Adam Cheney <acheney at nvidia.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/566c3ce877a4be72697e15cdfc421ce965f7c37d

Git commit d7c0a08bc576deb07df6c3f91f393ca8edd0c4bf by Laurent Pinchart on 11/01/2015 at 12:37..
modetest: Allocate dumb buffers with the correct bpp

The modetest application uses libkms to allocate dumb buffers, leading
to overallocation due to the hardcoded 32 bpp value. This can even cause
failures in drivers when the resulting pitch is too large for the
hardware to handle and gets rejected by the driver when creating the
frame buffer.

Fix this by computing the required bpp value and allocating dumb buffers
directly without going through libkms.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7c0a08bc576deb07df6c3f91f393ca8edd0c4bf

Git commit 13fcc697ee194060f949449bf37491d8abd7119b by Zhenyu Wang on 16/01/2015 at 06:50..
intel: Fix GTT entry setup for aub dump

On recent emulator GTT entry setup for aub dump needs mem type as
GTT_ENTRY instead of NONLOCAL. NONLOCAL would write data in main
memory space which is wrong with new memory layout. GTT_ENTRY write
would setup GTT memory pool and other required internal buffers. With
this I can run aub dump on latest release without crash.

Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13fcc697ee194060f949449bf37491d8abd7119b

Git commit 28662b77ee0631af8ac659f1c9cba82f94182e0c by Rob Clark on 18/01/2015 at 18:18..
configure/freedreno: make KGSL support optional

libdrm_freedreno currently supports two backends, 'msm' for the upstream
drm/msm driver, and 'kgsl' which supports (to some extent), the android/
downstream kgsl driver plus a sort of drm shim nonsense to get flink
names.

However, kgsl support is strictly on a best-effort basis.  Different
android devices with different versions of kgsl may have different
abi's.  And the existing kgsl interface (at least the parts of it that
we use) is completely broken for 64bit.  Lets disable it by default lest
anyone actually try to use it.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28662b77ee0631af8ac659f1c9cba82f94182e0c

Git commit a5003c6f859c90d6e7693ce085c1cb4dd7d95f26 by Rob Clark on 18/01/2015 at 18:18..
configure/freedreno: enable freedreno by default

Now that enabling freedreno doesn't automatically enable kgsl, lets
enable it by default.  The drm/msm driver has been upstream for a
while now, and it's ABI is locked.  So I don't think we need to keep
calling it experimental.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5003c6f859c90d6e7693ce085c1cb4dd7d95f26

Git commit eca91cf163d50090db36d0b2abbffcff813a2adf by Dave Airlie on 19/01/2015 at 06:47..
radeon: align r600/700 fmask to 128 X blocks.

After much searching and empricial testing, and reading of
things I've no justifcation for this fix, other than it really
appears this is what the hw is doing or close enough.

It makes sense that each entry in the FMASK corresponds to
an entry in the CMASKm and the CMASK is organised into 128x128
blocks, but I can't find anything in any of the docs/info from AMD.

But I've spent a lot of time on this, and this seems to be the
simplest fix, in that we don't over allocate things too much,
once this fix in place we can nuke the extra multiplier in mesa.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eca91cf163d50090db36d0b2abbffcff813a2adf

Git commit d5bfbdc62ffc3eee4beabc84e78f47970eb9dbae by Maarten Lankhorst on 21/01/2015 at 10:47..
only enable support for freedreno on arm automatically

Users can still override this by explicitly passing --enable-freedreno
to configure.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5bfbdc62ffc3eee4beabc84e78f47970eb9dbae

Git commit d2e0f552467ca11162fe04dfed55de4590280f23 by Maarten Lankhorst on 21/01/2015 at 10:52..
configure.ac: bump version to 2.4.59 for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2e0f552467ca11162fe04dfed55de4590280f23

Git commit 9575b00185e283658a3ad392b088e999658628fb by Maarten Lankhorst on 21/01/2015 at 11:28..
Merge branch 'upstream' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9575b00185e283658a3ad392b088e999658628fb

Git commit f326aeba862c98e48bc2d5db6b97e5c6afa4dbf9 by Maarten Lankhorst on 21/01/2015 at 12:11..
New upstream release.

Add libdrm-tegra0 on arm.
Update symbols for intel userptr support.
Update symbols for freedreno dma-buf support.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f326aeba862c98e48bc2d5db6b97e5c6afa4dbf9

Git commit d3ae9a1811ffd947d301ac73e63d76ec9b4df67c by Maarten Lankhorst on 21/01/2015 at 12:24..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3ae9a1811ffd947d301ac73e63d76ec9b4df67c

Git commit 442664a7f27581adb9bae16b5288a4285cbc0f60 by Maarten Lankhorst on 21/01/2015 at 12:57..
Merge correct debian-unstable into debian-experimental

Sorry about the mess.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/442664a7f27581adb9bae16b5288a4285cbc0f60

Git commit ad8bbfd3c74466f088be8088d2d0524bed392b71 by Emil Velikov (on behalf of Frank Binns) on 23/01/2015 at 23:02..
Rename DRM_NODE_RENDER to DRM_NODE_PRIMARY

Now that there are render nodes it doesn't seem appropriate for the type of
the card nodes to be DRM_NODE_RENDER. For this reason, rename this type to
DRM_NODE_PRIMARY as this name better represents the purpose of these nodes.

Signed-off-by: Frank Binns <frank.binns at imgtec.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad8bbfd3c74466f088be8088d2d0524bed392b71

Git commit 0c5aaeef51233aec89ee1f43f03d457f278f8fa0 by Emil Velikov (on behalf of Frank Binns) on 23/01/2015 at 23:02..
Add new drmOpenRender function

Add a new function, drmOpenRender, that can be used to open render nodes. This
can be used in the same way that drmOpenControl is used to open control nodes.

Signed-off-by: Frank Binns <frank.binns at imgtec.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c5aaeef51233aec89ee1f43f03d457f278f8fa0

Git commit 96cf45542503dd4c892c7875340957d5515163ac by Maarten Lankhorst (on behalf of Thomas Klausner) on 26/01/2015 at 09:08..
Fix libdrm's atomic_dec_and_test on Solaris.

_nv means new value, not old value!

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96cf45542503dd4c892c7875340957d5515163ac

Git commit 87fdd32c87796482638de54988027d0aca0c4f12 by Maarten Lankhorst (on behalf of Thomas Klausner) on 26/01/2015 at 09:08..
Add NetBSD atomic ops support.

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87fdd32c87796482638de54988027d0aca0c4f12

Git commit 63d6d7736cbf4ff350aeea84a33aaa0172a0c58d by Maarten Lankhorst (on behalf of Thomas Klausner) on 26/01/2015 at 09:08..
intel: Only define variable when it's used.

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63d6d7736cbf4ff350aeea84a33aaa0172a0c58d

Git commit 28ee135a37e10b9a6cd62d67df0332e38ee0b85c by Maarten Lankhorst (on behalf of Thomas Klausner) on 26/01/2015 at 09:08..
nouveau: Remove unused static function.

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28ee135a37e10b9a6cd62d67df0332e38ee0b85c

Git commit d41b7a3a745a32dff6edeb31962da4e24f870a1d by Rob Clark (on behalf of Hyungwon Hwang) on 02/02/2015 at 19:45..
exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

The ioctl DRM_EXYNOS_GEM_MAP_OFFSET and DRM_EXYNOS_GEM_MMAP are removed from
the linux kernel. This patch modifies libdrm and libkms to use drm generic
ioctls instead of the removed ioctls.

v2: The original patch was erroneous. In case the MODE_MAP_DUMB ioctl failed
    it would return the retvalue as a void-pointer. Users of libdrm would then
    happily use that ptr, eventually leading to a segfault. Change this to
    return NULL in that case and also restore the previous behaviour of logging
    to stderr.
    The other error was that 'bo->vaddr' was never filled with the mapped
    buffer address. Hence exynos_bo_map still returned NULL even if the
    buffer mapping succeeded.

Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
Signed-off-by: Inki Dae <inki.dae at samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d41b7a3a745a32dff6edeb31962da4e24f870a1d

Git commit ccbb9aa887f992359335ecf2d26919b04e14e63f by Rob Clark (on behalf of Hyungwon Hwang) on 02/02/2015 at 19:45..
exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

This patch removes the ioctls which are removed from the linux kernel.

Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
Signed-off-by: Inki Dae <inki.dae at samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccbb9aa887f992359335ecf2d26919b04e14e63f

Git commit 6ce06202ddcb979db47b67a508db96ed049f0768 by Jan Vesely on 10/02/2015 at 20:24..
random: Use unsigned long for seed

v2: Remove unrelated change in main()

This is more consistent with the rest, and avoids potential undefined
behavior (signed overflow) ind drmRandom()

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Ian Romanick <idr at freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6ce06202ddcb979db47b67a508db96ed049f0768

Git commit de8532dd8359dfdaba839ff61fc9e2f05eaf57d3 by Jan Vesely on 10/02/2015 at 20:25..
Fix gcc -Wextra warnings

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Ian Romanick <idr at freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de8532dd8359dfdaba839ff61fc9e2f05eaf57d3

Git commit eb7a5b6b04271af3b11b81baa8e18dc826b657dc by Daniel Vetter on 11/02/2015 at 14:36..
intel: Unconditionally clear ioctl structs

We really have to do this to avoid surprises when extending the ABI
later on. Especially when growing the structures.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb7a5b6b04271af3b11b81baa8e18dc826b657dc

Git commit 7e0460c6d4b509983307f3106ad56c6622c0c7f2 by Daniel Vetter on 11/02/2015 at 14:36..
xf86drmMode: Unconditionally clear ioctl structs

We really have to do this to avoid surprises when extending the ABI
later on. Especially when growing the structures.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e0460c6d4b509983307f3106ad56c6622c0c7f2

Git commit 80834b377e1b25c2d56c59a1984451b29eae6501 by Daniel Vetter on 11/02/2015 at 14:36..
drm: use drmIoctl everywhere

Well just core drm. All the other callers in there that still use
direct calls to ioctl have some custom retry logic already, so should
be good already.

All the other offenders (tests, freedreno/kgsl, ...) don't really
matter (e.g. kgsl is the blob library and so not a drm thing) or are
again special exceptions with their own retry loops.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80834b377e1b25c2d56c59a1984451b29eae6501

Git commit fd38794344f7211f45cc213344d0f5b9f9f98dd8 by Daniel Vetter on 11/02/2015 at 14:37..
xf86drm: Unconditionally clear ioctl structs

We really have to do this to avoid surprises when extending the ABI
later on. Especially when growing the structures.

A bit overkill to update all the old legacy ioctl wrappers, but can't
hurt really either.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd38794344f7211f45cc213344d0f5b9f9f98dd8

Git commit 3a6c65c546ccb450890676db6a8c7e93caf69d8a by Daniel Vetter on 11/02/2015 at 14:37..
tests: remove intel-specific tests

These all moved to igt meanwhile.

Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3a6c65c546ccb450890676db6a8c7e93caf69d8a

Git commit 95f23cf894757d05a6b6c980062a46968dc069b1 by Daniel Vetter on 11/02/2015 at 16:25..
xf86drm: Fix ioctl struct clearing in drmGetVersion

Oops, fumbled that one.

Reported-by: Jan Vesely <jan.vesely at rutgers.edu>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95f23cf894757d05a6b6c980062a46968dc069b1

Git commit dd89e1efd05299ec4015d144158d2eceeb6a6484 by Alan Coopersmith on 12/02/2015 at 22:18..
Stop undefining _ATOMIC_TYPE in Solaris/NetBSD section of xf86atomic.h

Since the atomic_set() macro references _ATOMIC_TYPE, undefining it
broke that macro, resulting in build errors of:
"intel_bufmgr_gem.c", line 775: undefined symbol: _ATOMIC_TYPE

Now that we're leaving the macro in the namespace, renamed it to start
with LIBDRM_ instead of _ to avoid polluting others namespace.

Regression introduced in 87fdd32c8779648 Add NetBSD atomic ops support.

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-By: Thomas Klausner <wiz at NetBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd89e1efd05299ec4015d144158d2eceeb6a6484

Git commit f1adc4b375a16b07f560b86a34e617984049c422 by Alex Deucher (on behalf of Jammy Zhou) on 12/02/2015 at 23:34..
Add new drmOpenWithType function (v4)

v2: Add drmGetMinorBase, and call drmOpenWithType in drmOpen
v3: Pass 'type' to drmOpenByBusid and drmOpenDevice in drmOpenByName
v4: Renumber node type definitions, and return -1 for unsupported type

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com> (v3)
Reviewed-by: Frank Binns <frank.binns at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1adc4b375a16b07f560b86a34e617984049c422

Git commit dbc8b11db6f3fcbe2a76487bb0b1930908226a17 by Alex Deucher (on behalf of Jammy Zhou) on 12/02/2015 at 23:36..
Add new drmOpenOnceWithType function (v2)

v2: call drmOpenOnceWithType in drmOpenOnce, and drop unused param
for drmOpenOnceWithType

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbc8b11db6f3fcbe2a76487bb0b1930908226a17

Git commit dc19569b312468c05c83f79ab2dadfe8bb82cf66 by Maarten Lankhorst on 16/02/2015 at 10:53..
suppress dpkg-source errors from building against a source with copies instead of symlinks
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc19569b312468c05c83f79ab2dadfe8bb82cf66

Git commit 7cb1d6e2d6c63e3bc4b275ff073152b550ba5b0f by Jerome Glisse on 16/02/2015 at 20:01..
nouveau: fix unlock nouveau_bo_name_ref()

Signed-off-by: Jérôme Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cb1d6e2d6c63e3bc4b275ff073152b550ba5b0f

Git commit 8eb1da817e115cc4210699d899b0d85f26e9e30a by Emil Velikov on 23/02/2015 at 09:23..
libdrm: fix the Android 64bit build

With 64bit bionic mmap now handles 64bit offset, thus we no longer
need the __mmap2 trick.

Fix from Chih-Wei Huang, over at the google forums.

Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8eb1da817e115cc4210699d899b0d85f26e9e30a

Git commit 5c1c09e0d28cde4341777b966c21568fd9b51516 by Emil Velikov (on behalf of Chih-Wei Huang) on 23/02/2015 at 09:27..
android: remove duplicate libdrm in LOCAL_SHARED_LIBRARIES

v2: Fold libpciaccess and libdrm into a single local_shared_libraries

Acked-by: Jan Vesely <jan.vesely at rutgers.edu>
Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c1c09e0d28cde4341777b966c21568fd9b51516

Git commit 1f73578df32f895a678a41758f6c563f49484347 by Emil Velikov (on behalf of Frank Binns) on 23/02/2015 at 09:29..
Add new drmGetNodeTypeFromFd function

Add a helper function that returns the type of device node from an fd.

Signed-off-by: Frank Binns <frank.binns at imgtec.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f73578df32f895a678a41758f6c563f49484347

Git commit 77703f61cb51350c12bb85db1a7296fa50839edb by Lucas Stach (on behalf of Philipp Zabel) on 25/02/2015 at 16:51..
tests: add support for imx-drm

Since imx-drm has graduated from staging it seems to be a good idea to
recognize it by default in the libdrm tests.

Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77703f61cb51350c12bb85db1a7296fa50839edb

Git commit 0dec5e14cff899d256c905c920f2a10d8eb6c55a by Emil Velikov on 27/02/2015 at 15:49..
autotools: add AM_DISTCHECK_CONFIGURE_FLAGS

To make sure that the release/distribution tarball is not broken for all
the targets. Currently the experimental APIs are disabled by default
amongst others.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0dec5e14cff899d256c905c920f2a10d8eb6c55a

Git commit 2b209fc409179a271751f57f6caad952e57eb3f6 by Emil Velikov on 27/02/2015 at 15:51..
exynos_fimg2d_test: fix implicit funciton declaration errors

As one adds WARN_CFLAGS to the build the compiler throws a couple of
lovely error messages. Add the relevant includes to fix them.

  error: implicit declaration of function ‘time’
  error: implicit declaration of function ‘getopt’

Cc: Inki Dae <inki.dae at samsung.com>
Cc: Kyungmin Park <kyungmin.park at samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b209fc409179a271751f57f6caad952e57eb3f6

Git commit 794810d62d49c05a9b06c8570a6b668b4bb0179d by Emil Velikov on 27/02/2015 at 15:51..
tests: fix implicit funciton declaration errors

ioctl() and strcmp() were used without the relevent header being
included.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/794810d62d49c05a9b06c8570a6b668b4bb0179d

Git commit 4c6b1b1a825a01cb64451306bbebd61927442bb0 by Emil Velikov on 27/02/2015 at 15:51..
autotools: add WARN_CFLAGS to all targets

... minus test/ttmtest. The latter is not really hooked up with the
actual build.

This will give us 66 warnings on a distribution build of which
 - 12 -Wunused-variable
 - 11 -Wunused-function
 - 19 -Wmissing-prototypes
and a few -Wswitch-enum, -Wtype-limits etc.

Adding the CFLAGS gives some exposure to these so that we can fix them.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c6b1b1a825a01cb64451306bbebd61927442bb0

Git commit bb6cc7c972d64d441216f8718ec59f30c233adaa by Emil Velikov on 27/02/2015 at 15:51..
tests: remove unused variables

As kindly pointed out by GCC.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb6cc7c972d64d441216f8718ec59f30c233adaa

Git commit 0b3e540aa40117561d4dc1e9616f003ec7a8d621 by Emil Velikov on 27/02/2015 at 15:51..
exynos_fimg2d_test: remove unused variables

Cc: Inki Dae <inki.dae at samsung.com>
Cc: Kyungmin Park <kyungmin.park at samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b3e540aa40117561d4dc1e9616f003ec7a8d621

Git commit f799a527db2851b2890146a9ce777f73fea30176 by Emil Velikov on 27/02/2015 at 15:51..
tests/radeon: set the list* functions as inline

To silence the chatty compiler.
As a future work we may want to merge these with libdrm_lists.h

Cc: Jerome Glisse <jglisse at redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f799a527db2851b2890146a9ce777f73fea30176

Git commit 080b4929b7452dc1fea32ac1d32e7e571e7fb38b by Kristian Høgsberg on 03/03/2015 at 00:14..
intel: Fix documentation for drm_intel_gem_bo_wait()

The kernel doesn't actually wait indefinately when passed a negative,
timeout, it returns immediately.  Document this and suggest using INT64_MAX
for indefinite waits.

Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/080b4929b7452dc1fea32ac1d32e7e571e7fb38b

Git commit fcff9e21652c94444be565e915b117ee069227a9 by Daniel Vetter on 06/03/2015 at 17:57..
Revert "intel: Fix documentation for drm_intel_gem_bo_wait()"

This reverts commit 080b4929b7452dc1fea32ac1d32e7e571e7fb38b.

Chris noticed that "negative values wait forever" is indeed intended
behaviour and the issue is just that we didn't have a testcase (fixed
now) and that a regression slipped through (fixed and on track for all
stable kernels).

So lets undo the documentation change for consistency, since working
around kernel regressions isn't good. Practical impact is nil anyway.

v2: Add a note to docs that some kernels have been broken.

v3: Remove the random garbage included by accident.

Cc: Kristian Høgsberg <krh at bitplanet.net>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fcff9e21652c94444be565e915b117ee069227a9

Git commit 9f90ee9cdfc029f0d0a8836e9426c603dd21bb13 by Emil Velikov on 10/03/2015 at 17:50..
automake: wrap an insanely long line

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f90ee9cdfc029f0d0a8836e9426c603dd21bb13

Git commit 36cff14bb03ef384d0d329de9ba3ebc899f7f87f by Emil Velikov on 10/03/2015 at 18:09..
configure: omap, freedreno and tegra require atomics

They have used them since day one, but the check was never there.

v2:
 - Update the freedreno message (API is no longer experimental).
 - Move the freedreno host_cpu detection next to the intel one.

Cc: Rob Clark <robdclark at gmail.com>
Cc: Thierry Reding <treding at nvidia.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36cff14bb03ef384d0d329de9ba3ebc899f7f87f

Git commit 9244d98136783cef43ffba6cca0f18802c39b63f by Emil Velikov on 10/03/2015 at 18:10..
configure: update help strings

Mention that freedreno and intel are both auto-detected (depending on
the presence of atomics), plus host_cpu "defined".

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9244d98136783cef43ffba6cca0f18802c39b63f

Git commit 58e5010a097e48705d1f1cf4e09ba45954725524 by Emil Velikov on 10/03/2015 at 18:11..
automake: drop the NULL variable from the makefile

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58e5010a097e48705d1f1cf4e09ba45954725524

Git commit f5b7a1d2da68bc6daf65cfe456f335105cc9e584 by Emil Velikov on 10/03/2015 at 18:11..
tests: move the SUBDIR at the top of the makefile

None of the subdirs require the modules built in the local makefile, so
moving them at the top makes things a hell lot easier to read.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5b7a1d2da68bc6daf65cfe456f335105cc9e584

Git commit b374a59e0e2ef52fed737f6db9ee1e40caca46ea by Emil Velikov on 10/03/2015 at 18:11..
tests: automake: keep the libs link at the final stage

Currently the static archive libdrmtest.la links against libdrm.la.
Only to have both added to the executables' LDADD. Simplify things a
bit, by doing the link in the final module (the executables/tests in
this case).

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b374a59e0e2ef52fed737f6db9ee1e40caca46ea

Git commit 0ca03a4087a550646de7f26b6b53a932e8546474 by Emil Velikov on 10/03/2015 at 18:14..
drm: add drmGet(Primary|Render)DeviceNameFromFd functions

Currently most places assume reliable primary(master) <> render node
mapping. Although this may work in some cases, it is not correct.

Add a couple of helpers that hide the details and provide the name of
the master or render device name, given an fd. The latter may belong to
either the master, control or render node device.

v2:
 - Rename Device and Primary to Master (aka the /dev/dri/cardX device).
 - Check for the file via readdir_r() rather than stat().
 - Wrap the check into a single function.
 - Return NULL for non-linux platforms.

v3:
 - Don't segfault if name is NULL.
 - Update function names, as suggested by Frank Binns.

v4:
 - Update commit message to reflect the function name changes.

Cc: Frank Binns <frank.binns at imgtec.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: David Herrmann <dh.herrmann at googlemail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Frank Binns <frank.binns at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ca03a4087a550646de7f26b6b53a932e8546474

Git commit 1d7e78d7877f054f7b96d6a35d50255e76aed44f by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:04..
exynos: replace G2D_DOUBLE_TO_FIXED macro with function

This also avoids the floating point conversion steps and just
uses pure integer arithmetic.
Since the G2D hardware scaling approach is a bit unintuitive,
document it in the function as well.

v2: Explicitly mention the normalization constant.
v3: Use common commenting style as pointed out by
    Emil Velikov <emil.l.velikov at gmail.com>.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d7e78d7877f054f7b96d6a35d50255e76aed44f

Git commit c8168fe5b8e4c448976a79d5b00d10e31e304cf5 by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:21..
tests/exynos: fix typos and change wording

No functional changes.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8168fe5b8e4c448976a79d5b00d10e31e304cf5

Git commit a7c865dc0a574c67208855b5b814dc874a02fa85 by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:21..
tests/exynos: disable the G2D userptr/blend test

v2: Move the commit description into the patch itself.
v3: Use common commenting style as pointed out by
    Emil Velikov <emil.l.velikov at gmail.com>.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7c865dc0a574c67208855b5b814dc874a02fa85

Git commit 6e2a9f936e032813dfb5be7d18cabdd177910645 by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:21..
tests/exynos: introduce wait_for_user_input

Currently getchar() is used to pause execution after each test.
The user isn't informed if one is supposed to do anything for
the tests to continue, so print a simple message to make this
more clear.

v3: Compactify printf calls as pointed out by
    Emil Velikov <emil.l.velikov at gmail.com>.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e2a9f936e032813dfb5be7d18cabdd177910645

Git commit 74add49f1b829dd580aae1dfdce2a0ebbbba216c by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:21..
exynos: introduce g2d_add_base_addr helper function

In almost all functions the base address register is written, so it
makes sense to have a helper function for this.

v3: Wrap line as pointed out by Emil Velikov
    <emil.l.velikov at gmail.com>.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74add49f1b829dd580aae1dfdce2a0ebbbba216c

Git commit 734d13b13b2f6f02465bf51412e0c2be255eb8b5 by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:21..
tests/exynos: improve error handling

Check for a useable connector and also if the resolution is sane
(width and height are both non-zero).

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/734d13b13b2f6f02465bf51412e0c2be255eb8b5

Git commit ba858e06d8e73180643f40afa9f4de562dc40252 by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:23..
exynos: fimg2d: remove TRUE/FALSE from header

The fimg2d header was defining TRUE and FALSE, but actually
these defines are just used once. Remove them, since they
don't make the code better readable/understandable.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba858e06d8e73180643f40afa9f4de562dc40252

Git commit ac9e0958470c0eb590c9de7f8263d088b7cce682 by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:23..
exynos: fimg2d: fix comment for G2D_COEFF_MODE_GB_COLOR

The coefficient mode enables use of global color, not alpha.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac9e0958470c0eb590c9de7f8263d088b7cce682

Git commit 81b71e48e753ac3327a86e773f00d4955b6c21ab by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:23..
exynos: fimg2d: unify register style

Register defines all use uppercase hex codes.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81b71e48e753ac3327a86e773f00d4955b6c21ab

Git commit 0d48697e7c10345f940b74de1cd476ec987058bb by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:23..
exynos: fimg2d: introduce G2D_OP_INTERPOLATE

This sets up the blending equation in the following way:
out = src * src_alpha + dst * (1 - src_alpha)

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d48697e7c10345f940b74de1cd476ec987058bb

Git commit f7b0586f164f3157fae228c5e413a38d1650cada by Emil Velikov (on behalf of Tobias Jakobi) on 10/03/2015 at 19:23..
exynos: fimg2d: whitespace fix in g2d_flush

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7b0586f164f3157fae228c5e413a38d1650cada

Git commit cd4685498b7926cf3fb39c6d0d25b2bc76c29f68 by Maarten Lankhorst on 13/03/2015 at 19:21..
Add atomic_inc_return to atomics.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
Acked-By: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd4685498b7926cf3fb39c6d0d25b2bc76c29f68

Git commit 7caa442e761ab5e48698c937aea9ce18f4522ecb by Maarten Lankhorst on 13/03/2015 at 19:21..
Use __sync_add_and_fetch instead of __sync_fetch_and_add for atomic_dec_and_test

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
Acked-By: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7caa442e761ab5e48698c937aea9ce18f4522ecb

Git commit 5ea6f1c32628887c9df0c53bc8c199eb12633fec by Maarten Lankhorst on 13/03/2015 at 19:26..
nouveau: make nouveau importing global buffers completely thread-safe, with tests

While I've closed off most races in a previous patch, a small race still existed
where importing then unreffing cound cause an invalid bo. Add a test for this case.

Racing sequence fixed:

- thread 1 releases bo, refcount drops to zero, blocks on acquiring nvdev->lock.
- thread 2 increases refcount to 1.
- thread 2 decreases refcount to zero, blocks on acquiring nvdev->lock.

At this point the 2 threads will clean up the same bo.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
Reviewed-By: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ea6f1c32628887c9df0c53bc8c199eb12633fec

Git commit ba5a0b6274ad9c493ed3ddaf4e13559b9ff55ac1 by Maarten Lankhorst on 13/03/2015 at 19:28..
nouveau: Do not add most bo's to the global bo list.

Only add wrapped bo's and bo's that have been exported through flink or dma-buf.
This avoids a lock in the common case, and decreases traversal needed for importing
a dma-buf or flink.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com>
Tested-By: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba5a0b6274ad9c493ed3ddaf4e13559b9ff55ac1

Git commit 0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae by Alan Coopersmith on 14/03/2015 at 15:37..
On Solaris, #include <sys/mkdev.h> in xf86drm.c

Needed on Solaris for the definitions of major() & minor() used in
drmGetNodeTypeFromFd() and makedev() used in drmOpenMinor()

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae

Git commit f11b8c955c270dc4030de58529f2016daa4b91f7 by Jan Vesely on 14/03/2015 at 21:02..
tests: String literals are const char *

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <eil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f11b8c955c270dc4030de58529f2016daa4b91f7

Git commit 65041c4a19bc6d1cc86f768259b9e0888af0bd5f by Jan Vesely on 14/03/2015 at 21:02..
Fix type-limits, pointer-arith and sign-compare warnings

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <eil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65041c4a19bc6d1cc86f768259b9e0888af0bd5f

Git commit 13e34308b70a9e0e7682ae7ced29a4aa0c3ad281 by Jan Vesely on 14/03/2015 at 21:02..
dristat: Handle DRM_CONSISTENT

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <eil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13e34308b70a9e0e7682ae7ced29a4aa0c3ad281

Git commit 0706c14e7cc5f1d996bb1c3c526f877c4f8fc215 by Jan Vesely on 14/03/2015 at 21:02..
Fix unused, and unused-but-set variables warnings

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <eil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0706c14e7cc5f1d996bb1c3c526f877c4f8fc215

Git commit d729d75f8449c6968f988d8b93ec33a1ba5a2c38 by Jan Vesely on 15/03/2015 at 18:17..
Add static qualifier to local functions

v2: Don't bother marking dead functions static
    (handler, xf86VDrvMsgVerb, drmSetDebugMsgFunction)

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d729d75f8449c6968f988d8b93ec33a1ba5a2c38

Git commit 763ff19a2ff751cf3821769681d2e25ec175abc2 by Emil Velikov on 16/03/2015 at 22:18..
modetest: include into the build when libkms is not selected.

With commit d7c0a08bc57(modetest: Allocate dumb buffers with the correct
bpp) we moved away from the libkms dependency. As such we are safe with
including the Makefile/subdir, even as we opt out of building the
library.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/763ff19a2ff751cf3821769681d2e25ec175abc2

Git commit 6f950de953ead6391ffa82b6c517fd4ea3ce3e29 by Emil Velikov (on behalf of Tobias Jakobi) on 16/03/2015 at 22:18..
tests/exynos: fimg2d: add a checkerboard test

This makes it easier to spot memory corruptions which don't become
visible when using a plain buffer filled with a solid color (so
corruptions that are just a permutation of the bytes in the buffer).

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Inki Dae <inki.dae at samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f950de953ead6391ffa82b6c517fd4ea3ce3e29

Git commit 03c9cccfa03b999874f794c02ddce7e7dfb04c93 by Emil Velikov (on behalf of Tobias Jakobi) on 16/03/2015 at 22:18..
exynos: add g2d_scale_and_blend

This is a combination of g2d_copy_with_scale and g2d_scale.
It is a pretty common operation to scale one buffer and then
blend it on top of another, so provide a direct way to that
operation.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Inki Dae <inki.dae at samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03c9cccfa03b999874f794c02ddce7e7dfb04c93

Git commit 89037326ca6012ba18be29dc6587e11617164400 by Emil Velikov (on behalf of Tobias Jakobi) on 16/03/2015 at 22:18..
exynos: honor the repeat mode in g2d_copy_with_scale

This is useful when the default repeat mode, which is 'repeat'
produces artifacts at the borders of the copied image.
Choose the 'pad' mode to make use of the color of the destination
image.

In my usage case the destination is the framebuffer, which is
solid filled with a background color. Scaling with 'pad' mode
would then just do the right thing and also produces nice
borders on the output.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Inki Dae <inki.dae at samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89037326ca6012ba18be29dc6587e11617164400

Git commit 736d6a1f0f8292fe3f3d0b38f5d69b8693767537 by Emil Velikov (on behalf of Tobias Jakobi) on 16/03/2015 at 22:21..
exynos: use structure initialization instead of memset

Keeps the code cleaner, since the structs have to be initialized
once anyway.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Inki Dae <inki.dae at samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
[evelikov: squash trivial conflict]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

Conflicts:
	tests/exynos/exynos_fimg2d_test.c
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/736d6a1f0f8292fe3f3d0b38f5d69b8693767537

Git commit 9a0949a8f46b6b844ab4a1ecce79a9e9078151c6 by Emil Velikov (on behalf of Tobias Jakobi) on 16/03/2015 at 22:21..
exynos: add exynos prefix to fimg2d header

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Inki Dae <inki.dae at samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a0949a8f46b6b844ab4a1ecce79a9e9078151c6

Git commit 3f12191f29c500c4adcffdcca73d74cdd93c1853 by Emil Velikov (on behalf of Tobias Jakobi) on 16/03/2015 at 22:21..
exynos: add fimg2d header to common includes

The reason for this change is to let userspace use the header.
Currently 'make install' does not install it.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Inki Dae <inki.dae at samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f12191f29c500c4adcffdcca73d74cdd93c1853

Git commit 858b21f6af03c9658126fd6ec2aa35b4e5151ecb by Emil Velikov (on behalf of Tobias Jakobi) on 16/03/2015 at 22:21..
exynos: fimg2d: follow-up fix for G2D_COEFF_MODE_GB_COLOR

Also add the register field formatting info provided by
Inki Dae <inki.dae at samsung.com>.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Suggested-by: Inki Dae <inki.dae at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/858b21f6af03c9658126fd6ec2aa35b4e5151ecb

Git commit d8ea64d90b222b468c292d2c107a41a64ad5ce43 by Emil Velikov on 17/03/2015 at 22:34..
configure: Stop using AM_MAINTAINER_MODE

AM_MAINTAINER_MODE can be used to disable generation of rebuild rules.
This is not something we want to condone/support, considering it can
cause greater problems than the perceived benefits. Additionally the
Automake manual leans towards avoiding the use of AM_MAINTAINER_MODE.

http://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8ea64d90b222b468c292d2c107a41a64ad5ce43

Git commit ffb1e285306ae58f2861debb615047ca384710ba by Emil Velikov on 17/03/2015 at 22:35..
autogen.sh: handle out-of-tree invokation

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ffb1e285306ae58f2861debb615047ca384710ba

Git commit 0e4d5a3a460fd00358132fd4b2391a093c5fe8dd by Emil Velikov on 17/03/2015 at 22:37..
configure.ac: fix host_cpu/atomics detection

Previous code was busted, as it wasn't checking directly for what it was
meant to, and at the end changing the user's selection if host_cpu
heuristics were involved.

Simplify things by adding a macro that does the long message printing
for us, and check for only what we need.

This fixes commit 36cff14bb03(configure: omap, freedreno and tegra
require atomics) which incorrectly assumed that the code was working
fine, and effectively made impossible to enable freedreno due to it's
host_cpu detection.

Cc: Rob Clark <robdclark at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e4d5a3a460fd00358132fd4b2391a093c5fe8dd

Git commit 648508518ef4f199eee58dbca8d6412af989fe71 by Emil Velikov on 17/03/2015 at 22:37..
configure.ac: fix help string copy/pasta

The message "enabled on x86" was meant for the intel libdrm.
Take the opportunity to mention how libkms is autodetected.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/648508518ef4f199eee58dbca8d6412af989fe71

Git commit d20413a7ce5816abe1127ffffc5bcab82f268c16 by Emil Velikov on 17/03/2015 at 22:37..
configure.ac: error out if building freedreno_kgsl without freedreno

The former is a subset of the latter. Error out early so the user is
aware that they are doing something very wrong.

Cc: Rob Clark <robdclark at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d20413a7ce5816abe1127ffffc5bcab82f268c16

Git commit d556e068a7e4e9dfb57514244ae5f3e0eb9d0b39 by Damien Lespiau (on behalf of Jeff McGee) on 18/03/2015 at 18:15..
intel: Export total subslice and EU counts

Update kernel interface with new I915_GETPARAM ioctl entries for
subslice total and EU total. Add a wrapping function for each
parameter. Userspace drivers need these values when constructing
GPGPU commands. This kernel query method is intended to replace
the PCI ID-based tables that userspace drivers currently maintain.
The kernel driver can employ fuse register reads as needed to
ensure the most accurate determination of GT config attributes.
This first became important with Cherryview in which the config
could differ between devices with the same PCI ID.

The kernel detection of these values is device-specific. Userspace
drivers should continue to maintain ID-based tables for older
devices which return ENODEV when using this query.

v2: remove unnecessary include of <stdbool.h> and increment the
    I915_GETPARAM indices to match updated kernel patch.

For: VIZ-4636
Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Jeff McGee <jeff.mcgee at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d556e068a7e4e9dfb57514244ae5f3e0eb9d0b39

Git commit 5f7b6723e1bed755c230817eea0563bab5b2a8a7 by Damien Lespiau on 19/03/2015 at 14:36..
build: Bump version number to 2.4.60 before release

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f7b6723e1bed755c230817eea0563bab5b2a8a7

Git commit 8576527cfacaf42af8316e1030c192193e94225a by Damien Lespiau (on behalf of Neil Roberts) on 19/03/2015 at 17:19..
intel: Merge latest i915_drm.h

The main incentive to do this is to get I915_PARAM_REVISION.

v2: Rebase on top of some changes that were made to the header without
    copying the whole file from the kernel source.

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Neil Roberts <neil at linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8576527cfacaf42af8316e1030c192193e94225a

Git commit bdb3d9ebc1801fff2b3ae2f834b88590af7f9c73 by Timo Aaltonen on 20/03/2015 at 06:25..
Merge branch 'upstream-experimental' into debian-experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdb3d9ebc1801fff2b3ae2f834b88590af7f9c73

Git commit d18f0e87a9f50b4048f05d8bc93cb7f828c20759 by Timo Aaltonen on 20/03/2015 at 07:06..
New upstream, symbols updated
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d18f0e87a9f50b4048f05d8bc93cb7f828c20759

Git commit 207a19aa533c96a79063619843df3583b3b2602b by Timo Aaltonen on 20/03/2015 at 08:24..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/207a19aa533c96a79063619843df3583b3b2602b

Git commit 8f245b777b21e8c0151f9a254a56a7cb23b66d15 by Damien Lespiau on 20/03/2015 at 15:53..
RELEASING: Fix releasing instructions to match the latest release.sh

It seems that the tests don't need DRM master anymore? at least make
distcheck passes when X is running.

release.sh is also invoked with just the path to the libdrm git checkout
and we don't want to pass additional arguments that will be treated as
additional modules we want to release.

Also, make a note that release.sh will run make distcheck for you, so we
don't strickly need to run it beforehand.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f245b777b21e8c0151f9a254a56a7cb23b66d15

Git commit 992940ca645f8dcda24015770d48afad0fd95b9d by Damien Lespiau on 20/03/2015 at 15:55..
RELEASING: Fix the step numbering

v2: Really fix the numbering (Emil Velikov)

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/992940ca645f8dcda24015770d48afad0fd95b9d

Git commit e2acca4e40c87b00af75a5ffedafc26a099b657c by Damien Lespiau on 20/03/2015 at 15:55..
RELEASING: Fix annouce typo

That's the only typo :set spell found.

v2: Fix typo in commit message (Ilia Mirkin)

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2acca4e40c87b00af75a5ffedafc26a099b657c

Git commit 24ac8cd7db201da1cd181b13173a420ff762e533 by Emil Velikov on 20/03/2015 at 16:59..
android: correcly set LOCAL_EXPORT_C_INCLUDE_DIRS

 - Don't add ${hw}/${hw}, but ${hw} to the includes path. The former
does not exist.
 - Set the variable for libkms.

Inspired by the work of from Chih-Wei from the Android-x86 project.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24ac8cd7db201da1cd181b13173a420ff762e533

Git commit af4379f759d4dc70331478277d788e59fd6a4145 by Emil Velikov on 20/03/2015 at 16:59..
android: simplify LOCAL_C_INCLUDES

Each of the libdrm_${hw} modules pull libdrm for linking as such:

libdrm's LOCAL_EXPORT_C_INCLUDE_DIRS are added to the includes list.
The former of which is already set to ${top} and ${top}/include/drm.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af4379f759d4dc70331478277d788e59fd6a4145

Git commit c277cbdd15a13a02078682e668278c5d6805570e by Emil Velikov on 20/03/2015 at 16:59..
android: remove ${srcdir} from the includes

Already handled by the build system.

v2: s/compiler/build system/. Spotted by Chih-Wei.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c277cbdd15a13a02078682e668278c5d6805570e

Git commit ff021215eadc84cf10e8061a33f76c5b3c2afbf3 by Emil Velikov on 20/03/2015 at 17:02..
android: remove LOCAL_COPY_HEADERS* variables

With earlier changes we've implicitly add the relevant directories
to the includes list, via LOCAL_EXPORT_C_INCLUDES_DIRS.

v2: Update the top Android.mk as well.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff021215eadc84cf10e8061a33f76c5b3c2afbf3

Git commit 568b3a095449bee223b6af504bea914ef88a2c5d by Emil Velikov on 20/03/2015 at 17:03..
android: add the missing tag "optional" to libkms

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/568b3a095449bee223b6af504bea914ef88a2c5d

Git commit a3b3c1afb753d1a05bb3f2f5258b9936257a90ec by Emil Velikov (on behalf of Chih-Wei Huang) on 20/03/2015 at 17:07..
android: simplify the including rule of subdirs

Use android build system functions to include Android.mk
of subdirs.

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
[Emil Velikov: Resolve trivial conflicts.]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3b3c1afb753d1a05bb3f2f5258b9936257a90ec

Git commit 3b4f9fe26b87a6d1db56a2ed6d56824de112ce67 by Emil Velikov (on behalf of Chih-Wei Huang) on 20/03/2015 at 17:18..
android: get rid of LIBDRM_TOP

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b4f9fe26b87a6d1db56a2ed6d56824de112ce67

Git commit d9b6a69252fb2c0b68470de2d1e46cd9fd4f1f03 by Emil Velikov on 20/03/2015 at 17:18..
autotools: remove ${srcdir} from the includes

Already handled by the build system.

v2: s/compiler/build system/

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9b6a69252fb2c0b68470de2d1e46cd9fd4f1f03

Git commit 292b5100e5719343f4ffdd193ce5c582388ed05e by Emil Velikov (on behalf of Daniel Kurtz) on 20/03/2015 at 17:18..
proptest: install it with --enable-install-test-programs

--enable-install-test-programs allows tests to be installed in $bindir.
This is disabled by default, but very useful when cross compiling.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/292b5100e5719343f4ffdd193ce5c582388ed05e

Git commit 9588e66dbd695dce24e0aba54eaf94f573ab5363 by Emil Velikov (on behalf of Daniel Kurtz) on 20/03/2015 at 17:18..
tests: add rockchip to modetest, kmstest, vbltest and proptest

There is a rockchip drm kms driver.
Add "rockchip" to the static lists of driver names in the the standard
set of tests.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
[Emil Velikov: Resolve trivial conflicts.]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9588e66dbd695dce24e0aba54eaf94f573ab5363

Git commit 6fc0e4ba1ea153ff949cba0002fc5ed544de0de0 by Jan Vesely on 20/03/2015 at 17:36..
Fix unused function warnings

v2: Remove the handler function instead of commenting out
    split debugmsg function removal to a separate patch

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6fc0e4ba1ea153ff949cba0002fc5ed544de0de0

Git commit cfbe9c9807888d24a56d9b1df28db7da669dee85 by Jan Vesely on 20/03/2015 at 21:36..
Remove drmSetDebugMsgFunction and related infrastructure

Not used anywhere

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfbe9c9807888d24a56d9b1df28db7da669dee85

Git commit 8dff7a04780a0f028aa7c0218806a5ee59b1a40d by Jan Vesely on 20/03/2015 at 22:17..
tests/exynos: Fix missing static keyword

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8dff7a04780a0f028aa7c0218806a5ee59b1a40d

Git commit 3d3021cf4c7e5861e5630079c9bcfa5ca133924d by Maarten Lankhorst on 21/03/2015 at 18:13..
Fix ftbfs on armhf.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d3021cf4c7e5861e5630079c9bcfa5ca133924d

Git commit bc6b5174d362a01f6d638a4db6aaf2fd355db69c by Emil Velikov on 26/03/2015 at 20:37..
android: remove explicit include to libpciaccess

Both android-x86 and android-ia versions of libpciacccess correctly
"export" the include. If anyone else is wrapping up their own version
they should do so as well.

Remove this fixed location hack from the build.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Chih-Wei Huang <cwhuang at linux.org.tw>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc6b5174d362a01f6d638a4db6aaf2fd355db69c

Git commit 3b2ee2b5bfc0d68525fee936e51297a9b6c629f1 by Jan Vesely on 04/04/2015 at 17:41..
drmSL: Fix neighbor lookup

Commit e4a519635f75bde38aeb5b09f2ff4efbf73453e9:
    Tidy up compile warnings by cleaning up types.

removed call to SLLocate which gutted the function of all functionality.
This patch restores the original behavior, with an additional fix
that zeros the update array in case SLLocate bails early.

v2: zero the update array instead of checking the return value.
    SLLocate returns NULL both on failure and if the element is greater
    than everything in the list
v3: Improve commit message

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b2ee2b5bfc0d68525fee936e51297a9b6c629f1

Git commit 7d8c9464081634f053e16e5eac9655a12fae1dc4 by Jan Vesely on 04/04/2015 at 17:48..
tests/drmsl: Extract tests out of xf86drmSL.c

v2: merge tests creation and xf86drmSL cleanup
    rename tests/drmsltest -> tests/drmsl
    move the test out of libudev test block
v3: run test even on noudev builds

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d8c9464081634f053e16e5eac9655a12fae1dc4

Git commit 79f9cf3eb78a4feebda167ad4a3475ee1f2aa067 by Emil Velikov on 05/04/2015 at 14:19..
tests/hash: extract test out of xf86drmHash.c

This way with follow up commits we can fix it and wire it up to
make check

v2:
 - Use xf86drmHash.h for common structs.(Jan)
 - Add test to .gitignore.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79f9cf3eb78a4feebda167ad4a3475ee1f2aa067

Git commit c53da3ac57aa646936492199f4fabc9f373f57bc by Emil Velikov on 05/04/2015 at 14:19..
tests/hash: misc compilation fixes

Get the test from completely broken to working like a charm.

 - Use the same variable type for both HashInsert and HashLookup.
 - Use correct storage type for the HashLookup return value.
 - Remove useless backward iteration of HashLookup(i).

v2:
 - Use void * instead of unsigned long.
 - Change value to key << 16 | key.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c53da3ac57aa646936492199f4fabc9f373f57bc

Git commit 4fcb6637f0508a0ed0be190d2f5518a2fa9cd041 by Emil Velikov on 05/04/2015 at 14:19..
tests/hash: style fixes

v2: Rebase on earlier changes. Keep count initialisation as is.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4fcb6637f0508a0ed0be190d2f5518a2fa9cd041

Git commit 7e4f0664acfa79448f6e32c1f1b12b94626777b2 by Emil Velikov on 05/04/2015 at 14:33..
tests/hash: return non-zero on failure

... and wire up to `make check' now that it's useful.

v2: Really return non-zero on failure.
v3: Initialise ret.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu> (v2)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e4f0664acfa79448f6e32c1f1b12b94626777b2

Git commit f1f4cabd8e8602355630b2b4b5715fc137b4dc71 by Emil Velikov on 05/04/2015 at 14:33..
tests/random: extract test out of xf86drmRandom.c

With follow up commits we can clear it up and wire to
make check

v2:
 - Use xf86drmRandom.h for common struct.(Jan)
 - Add test to .gitignore.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1f4cabd8e8602355630b2b4b5715fc137b4dc71

Git commit 1ed5faab24da62d970aa34ec242fa2d95896e5fb by Emil Velikov on 05/04/2015 at 14:33..
tests/random: return non-zero on test failure

... and wire it up to make check

v2: s/rand - state->check/rand != state->check/. (Jan)

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ed5faab24da62d970aa34ec242fa2d95896e5fb

Git commit 03cd9dffef353924058b1b91086fedfbe44ffcd0 by Emil Velikov on 05/04/2015 at 14:33..
drm: replace HASH_DEBUG with DEBUG

... and remove the useless SL_DEBUG and RANDOM_DEBUG

v2: Rebase on earlier changes.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03cd9dffef353924058b1b91086fedfbe44ffcd0

Git commit 37dc0a14cf899307863151bb6bd1cf4256e017e2 by Emil Velikov on 05/04/2015 at 14:33..
drm: use correct printf modifiers

The valies are unsigned long, thus we should use %lu.

v2: Drop old printf statement. (Jan)

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37dc0a14cf899307863151bb6bd1cf4256e017e2

Git commit 1490055bc05fa941b59d10e89ef3fccd673af477 by Emil Velikov (on behalf of Connor Behan) on 05/04/2015 at 14:33..
xf86drm: Fix ioctl struct clearing in drmAgpEnable

This one is a bit harder to notice.

Signed-off-by: Connor Behan <connor.behan at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1490055bc05fa941b59d10e89ef3fccd673af477

Git commit d20314d083e533e3b8753192b1846752341afbbe by Emil Velikov (on behalf of Daniel Kurtz) on 05/04/2015 at 14:33..
xf86drmMode.h: inline -> __inline for use with gcc -std=c89 -pedantic

Unfortunately, there are some users of libdrm installed headers that like
to be built with -std=c89 -pedantic, which does not like "inline".

However, __inline works.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d20314d083e533e3b8753192b1846752341afbbe

Git commit 621b14add0723d7c54a6ddca9f6d9fad36b56eeb by Timo Aaltonen on 08/04/2015 at 06:21..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/621b14add0723d7c54a6ddca9f6d9fad36b56eeb

Git commit 6f90b77ea903756c87ae614c093e3d816ebb26fc by Emil Velikov (on behalf of Chih-Wei Huang) on 09/04/2015 at 15:26..
android: remove unnecessary TARGET_OUT_HEADERS variable

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f90b77ea903756c87ae614c093e3d816ebb26fc

Git commit 5ed5fa10600f0140b317ec07be6f24739c11bd18 by Chris Wilson on 14/04/2015 at 14:58..
mode: Retrieve only the current information for a Connector

Add a new API that allows the caller to skip any forced probing, which
may require slow i2c to a remote display, and only report the currently
active mode and encoder for a Connector. This is often the information
of interest and is much, much faster than re-retrieving the link status
and EDIDs, e.g. if the caller only wishes to count the number of active
outputs.

v2: Fix error path to avoid double free after a failed GETCONNECTOR
ioctl.

v3: Daniel strongly disapproved of my disjoint in behaviour between
GetConnector and GetConnectorCurrent, and considering how best to make a
drop in replacement for drmmode_output_init() convinced me keeping the
API as consistent as possible was the right approach.

v4: Avoid probing on the second calls to GETCONNECTOR for unconnected
outputs.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter at ffwll.com>
Cc: Damien Lespiau <damien.lespiau at intel.com>
Cc: David Herrmann <dh.herrmann at googlemail.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ed5fa10600f0140b317ec07be6f24739c11bd18

Git commit 32258e4dbd32466b4286ab2ad7883b7cb90c105f by Chris Wilson on 14/04/2015 at 14:59..
intel: Delay testing for userptr until first use

Running __mmu_notifier_register() is surprisingly expensive, so let's
not do that unless we have to.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32258e4dbd32466b4286ab2ad7883b7cb90c105f

Git commit 0d78b37b1cac304ce5e84d1207f0a43abd29c000 by Rob Clark on 15/04/2015 at 13:35..
modeprint: add missing encoder/connector type names

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d78b37b1cac304ce5e84d1207f0a43abd29c000

Git commit 0c6c6dc7c420384ffa03d8e1c245258c25ec09a2 by Timo Aaltonen on 21/04/2015 at 04:56..
fix a typo
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c6c6dc7c420384ffa03d8e1c245258c25ec09a2

Git commit b7cb83801c91a64950f27dd6f80f209969419b9e by Timo Aaltonen on 21/04/2015 at 05:08..
changelog for previous
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7cb83801c91a64950f27dd6f80f209969419b9e

Git commit 4a51ac0e6cc097fe26e87087e5dfe846bc2b7591 by Julien Cristau on 26/04/2015 at 09:56..
Fix FTBFS on kfreebsd

Include <sys/sysctl.h> for sysctlbyname, and use -lbsd to make the tests
build (they use getopt, and our libbsd-overlay cflags redirect that to
bsd_getopt).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a51ac0e6cc097fe26e87087e5dfe846bc2b7591

Git commit 4f095a70b37a7917cf250cc7fc46e908e38b7bca by Julien Cristau on 26/04/2015 at 10:07..
Bump shlibs for libraries with new symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f095a70b37a7917cf250cc7fc46e908e38b7bca

Git commit 80481e6c8b3a94f416ccd945da90b18ae07aef04 by Julien Cristau on 26/04/2015 at 10:14..
Add missing dependency of libdrm-dev on libdrm-tegra0 on arm*.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80481e6c8b3a94f416ccd945da90b18ae07aef04

Git commit bb656b9552bc73550d6882eccb62c62a89bb8b54 by Julien Cristau on 26/04/2015 at 10:21..
Let uscan verify tarball signatures.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb656b9552bc73550d6882eccb62c62a89bb8b54

Git commit 633d29d9408b83cd8e533461c3370f51ee754cca by Julien Cristau on 26/04/2015 at 10:25..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/633d29d9408b83cd8e533461c3370f51ee754cca

Git commit 40902b9fa12e41f28706e5fca6289ef26f6d81bc by Emil Velikov on 28/04/2015 at 10:18..
configure.ac: split -fvisibility and __attribute__((visibility)) checks

The former does not imply the latter and vice-versa. One such example is
the Sun compiler.

v2: Add missing closing brakets. (Alan)

Cc: Alan Coopersmith <alan.coopersmith at oracle.com>
Cc: Thierry Reding <treding at nvidia.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40902b9fa12e41f28706e5fca6289ef26f6d81bc

Git commit ab84a95e85eb88a4f6020100526ddfbd667d00a2 by Emil Velikov on 28/04/2015 at 10:18..
radeon: move bof.[ch] out of libdrm_radeon

The functions(files) are used if one explicitly modifies radeon_cs_gem.c
by setting CS_BOF_DUMP to 1. As bof.[ch] is used (copied) to other
out-of-tree projects, keep them around in the distribution tarball.

Cc: Jerome Glisse <jglisse at redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab84a95e85eb88a4f6020100526ddfbd667d00a2

Git commit 552de225bf2740ba0cb52312c21353d71d934b8c by Emil Velikov on 28/04/2015 at 10:18..
radeon: add symbols test

Will allow us to catch when the library exports more symbols than
the ones in the public headers.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/552de225bf2740ba0cb52312c21353d71d934b8c

Git commit 44e9a0258a4cab4a22fc44d1440ea882e3ad0334 by Emil Velikov on 28/04/2015 at 10:18..
freedreno: annotate the private symbols

They are less and easier to track than the public ones. The macro
drm_public will be going away by the end of the series.

Cc: Rob Clark <robdclark at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44e9a0258a4cab4a22fc44d1440ea882e3ad0334

Git commit 7c7d1f3c9cb62a15bfcd3c163fe2cd3433a29d4d by Emil Velikov on 28/04/2015 at 10:18..
freedreno: add symbols test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c7d1f3c9cb62a15bfcd3c163fe2cd3433a29d4d

Git commit 8e76f63cc42c800a636f069da7be95fe8b1de82e by Emil Velikov on 28/04/2015 at 10:18..
intel: remove the drm_mm* symbol workarounds

Added with commit 57b4c4c32d3(Move the renaming of mm.c symbols to
symbol duplication/collision with ones that are available elsewhere.

As the public/private symbols of libdrm are properly annotated neither
one of the symbols will end up in the global name-space, thus should no
longer be required.

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e76f63cc42c800a636f069da7be95fe8b1de82e

Git commit 1756d3d64bd61b1a7e842ad53c60ed37b3153770 by Emil Velikov on 28/04/2015 at 10:19..
intel: remove unused mmFindBlock

The function was never part of the public API and a release or so back
was hidden from the global name-space (list of exported symbols).

According to git log this function was never used internally.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1756d3d64bd61b1a7e842ad53c60ed37b3153770

Git commit 5966d377320ceecc9a3756e80eef04d0d5241a52 by Emil Velikov on 28/04/2015 at 10:19..
intel: annotate the private symbols

They are less and easier to track than the public ones. The macro
drm_public will be going away by the end of the series.

Cc: Damien Lespiau <damien.lespiau at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5966d377320ceecc9a3756e80eef04d0d5241a52

Git commit a418f2f89510f367eaef97b97c14c0cc573ae43a by Emil Velikov on 28/04/2015 at 10:19..
intel: add symbols test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a418f2f89510f367eaef97b97c14c0cc573ae43a

Git commit 76e9799b8a465bc3545823ed283a6c3a049c7524 by Emil Velikov on 28/04/2015 at 10:19..
nouveau: annotate the private symbols

They are less and easier to track than the public ones. The macro
drm_public will be going away by the end of the series.

Cc: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Cc: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76e9799b8a465bc3545823ed283a6c3a049c7524

Git commit 47429af325b6c32904c0b7e68e6ce3ff0d57aec0 by Emil Velikov on 28/04/2015 at 10:19..
nouveau: add symbols test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47429af325b6c32904c0b7e68e6ce3ff0d57aec0

Git commit 983892d2756b4bcfcd455ec644afe666b9e0e447 by Emil Velikov on 28/04/2015 at 10:19..
libkms: annotate private symbols

Cc: Jakob Bornecrantz <jakob at vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/983892d2756b4bcfcd455ec644afe666b9e0e447

Git commit b0d4ee6907811337a40780e9c7ae8f0fc65914c6 by Emil Velikov on 28/04/2015 at 10:19..
libkms: add symbols test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0d4ee6907811337a40780e9c7ae8f0fc65914c6

Git commit 9f8fb4686282cee0d54fb48f50772595fd4eedd3 by Emil Velikov on 28/04/2015 at 10:19..
exynos: add symbols test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f8fb4686282cee0d54fb48f50772595fd4eedd3

Git commit 62b35fb2756ef37ff4bf3ac2eb5761d1fc95c089 by Emil Velikov on 28/04/2015 at 10:19..
omap: add symbols test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62b35fb2756ef37ff4bf3ac2eb5761d1fc95c089

Git commit a814f933bf9fb25cf7b3cf82c69ba07ed2a686d0 by Emil Velikov on 28/04/2015 at 10:19..
tegra: add symbols test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a814f933bf9fb25cf7b3cf82c69ba07ed2a686d0

Git commit 42465feb9759ef5a6d79d7e628510cd0a081f913 by Emil Velikov on 28/04/2015 at 10:19..
drm: rename libdrm{,_macros}.h

Provide a more meaningful name, considering what it does.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42465feb9759ef5a6d79d7e628510cd0a081f913

Git commit 104c895f650cac7741c12e10ee78bb2fca2cbd49 by Emil Velikov on 28/04/2015 at 10:19..
drm: remove no longer needed VISIBILITY_CFLAGS

With earlier commits we've annotated the private symbols, thus
we no longer require the -fvisibility=hidden CFLAGS.

Cc: Ben Skeggs <bskeggs at redhat.com>
Cc: Damien Lespiau <damien.lespiau at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Cc: Michel Dänzer <michel.daenzer at amd.com>
Cc: Rob Clark <robdclark at gmail.com>
Cc: Thierry Reding <treding at nvidia.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/104c895f650cac7741c12e10ee78bb2fca2cbd49

Git commit 0f8da82500ec542e269092c0718479e25eaff5f6 by Emil Velikov on 28/04/2015 at 10:19..
drm: remove drm_public macro

Some compilers (like the Oracle Studio), require that the function
declaration must be annotated with the same visibility attribute as the
definition. As annotating functions with drm_public is no longer
required just remove the macro.

Cc: Ben Skeggs <bskeggs at redhat.com>
Cc: Damien Lespiau <damien.lespiau at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Cc: Michel Dänzer <michel.daenzer at amd.com>
Cc: Rob Clark <robdclark at gmail.com>
Cc: Thierry Reding <treding at nvidia.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f8da82500ec542e269092c0718479e25eaff5f6

Git commit e59f00fb43c2b83bdadb17fa35c3018f817a3806 by Emil Velikov on 28/04/2015 at 10:20..
configure: request/set the compiler in C99 mode

Required by intel and drmstat at least. Considering that every compiler
used to build libdrm is C99 compatible, just enable it for the whole
build.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e59f00fb43c2b83bdadb17fa35c3018f817a3806

Git commit 41eb131dfe1b8c03cda6e271496bcb7729e58fb6 by Emil Velikov on 28/04/2015 at 10:21..
drm: use c99 __func__ over __FUNCTION__

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41eb131dfe1b8c03cda6e271496bcb7729e58fb6

Git commit e2b531866f9be4b3b1dd9b42f7dda816183792b0 by Emil Velikov on 28/04/2015 at 10:21..
man: rework the Makefile.am

Remove GNU make specific constructs and take into consideration that
Solaris man 7 is not the same as Linux man 7.

This commit introduces a dependency of xorg-macros 1.12 (released 4+
years ago) which is used to handle the above man section discrepancies.

Cc: Niveditha Rau <niveditha.rau at oracle.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2b531866f9be4b3b1dd9b42f7dda816183792b0

Git commit 0c8db0a563857239cfe2b38df1590c571db5a1f1 by Emil Velikov (on behalf of Greg Hackmann) on 28/04/2015 at 10:22..
Add missing <strings.h> includes

A couple of files use ffs() without explicitly including strings.h.
Some systems will pull in ffs()'s declaration through another header
anyway, but not when compiling against bionic in AOSP master.

Signed-off-by: Greg Hackmann <ghackmann at google.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c8db0a563857239cfe2b38df1590c571db5a1f1

Git commit b1d19de76468fdb4ae7cb87791c77d1f8839a573 by Emil Velikov (on behalf of Tobias Jakobi) on 28/04/2015 at 10:23..
modetest: initialize handles/pitches in set_plane()

Only the 'offsets' array was initialized to zero.
Since bo_create only sets the handles which are
necessary, were we passing garbage data to the
kernel when calling drmModeAddFB2 later.

The issue only seems to appear when passing e.g.
NV12 data to the kernel, a case where not only
handles[0] is used. I therefore also removed the
corresponding comment.

v2: Do the same for set_mode(), set_cursors()
    and test_page_flip().

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1d19de76468fdb4ae7cb87791c77d1f8839a573

Git commit 4e4d79d4cae92c5ec29882cea9b8f7e8355f1232 by Emil Velikov (on behalf of Joonyoung Shim) on 28/04/2015 at 10:27..
modetest: fix Segmentation fault

If use -P option without -s option, the program segfaults due to
dev.mode.bo being NULL.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e4d79d4cae92c5ec29882cea9b8f7e8355f1232

Git commit bcaaa75cf482c7d218340c850ffc01f04b78b3dd by Emil Velikov (on behalf of Joonyoung Shim) on 28/04/2015 at 12:04..
modetest: make use of drmModeRmFB

We should remove the framebuffer before destroying the buffer.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
[Emil Velikov: Tweak the commit message. fb_id = 0 is unused]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcaaa75cf482c7d218340c850ffc01f04b78b3dd

Git commit 21170a8c63d2e994317b785f7f7e78ab7e0a4ac4 by Emil Velikov (on behalf of Joonyoung Shim) on 28/04/2015 at 12:04..
modetest: fix the error path handling

Remove the framebuffer and destroy the bo when error occurs on set_mode
and test_page_flip.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21170a8c63d2e994317b785f7f7e78ab7e0a4ac4

Git commit 4d760d7f46b96a88a2e5f21fa983c4806ece1219 by Emil Velikov (on behalf of Joonyoung Shim) on 28/04/2015 at 12:06..
modetest: clear buffer and framebuffer for planes

Currently we don't destroy buffer and remove framebuffer for
planes when closing modetest.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
[Emil Velikov: Tweak the commit message. fb_id = 0 is unused]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d760d7f46b96a88a2e5f21fa983c4806ece1219

Git commit 9915e68b3b4d69101f3cb6609e796fb8f63320e2 by Emil Velikov (on behalf of Joonyoung Shim) on 28/04/2015 at 12:06..
modetest: destroy the cursor bo

Currently we are missing the bo_destroy() when modetest terminates.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9915e68b3b4d69101f3cb6609e796fb8f63320e2

Git commit 30921483c70c6939f017476eac13da6aa26b3b3c by Damien Lespiau (on behalf of Tvrtko Ursulin) on 29/04/2015 at 14:22..
intel: Leak the userptr test bo

In order to use userptr, the kernel tracks the owner's mm with a
mmu_notifier. Setting that is very expensive - it involves taking all
mm_locks and a stop_machine(). This tracking lives only for as long as
the client is using userptr objects - so if the client allocates then
frees a userptr in a loop, we will be executing that heavyweight setup
everytime. To ammoritize this cost, just leak the test bo and the single
backing page we use for detecting userptr.

v2: Free the object and memory when bufmgr is destroyed.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/30921483c70c6939f017476eac13da6aa26b3b3c

Git commit b091ecdbf93fca76521868863fb1f20e0bfe7268 by Emil Velikov (on behalf of Joonyoung Shim) on 29/04/2015 at 17:28..
modetest: fix the arguments of the MAKE_RGB_INFO define

The current order (rbg) seems wrong.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b091ecdbf93fca76521868863fb1f20e0bfe7268

Git commit 9dd2e8e552a5c290bc52190e074db1b3843faaf8 by Emil Velikov on 29/04/2015 at 17:29..
android: set the HAVE_VISIBILITY define

... in order to limit the exported symbols only to the required ones.
Both compilers used with Android (GCC and LLVM) support this, so set it
unconditionally.

Cc: Chih-Wei Huang <cwhuang at linux.org.tw>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dd2e8e552a5c290bc52190e074db1b3843faaf8

Git commit b4a6f50f2afdbd1b3762bb518f680aa88d44c517 by Emil Velikov on 29/04/2015 at 17:30..
freedreno: link against CLOCK_LIB

Required by clock_gettime()

Cc: Rob Clark <robdclark at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4a6f50f2afdbd1b3762bb518f680aa88d44c517

Git commit b4defea65fac690aefbe5348ff6ac2976e0ee090 by Rob Clark on 05/05/2015 at 15:16..
modetest: fix allocation for yuv420/yvu420

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4defea65fac690aefbe5348ff6ac2976e0ee090

Git commit 812e8fe6ce46d733c30207ee26c788c61f546294 by Ben Skeggs on 06/05/2015 at 04:50..
nouveau: restore check that avoids multiple user bos per kernel bo

Lost in 5ea6f1c32628887c9df0c53bc8c199eb12633fec, triggering fdo#89842.

Unlike the PRIME fd->handle interfaces, the GEM_OPEN interface doesn't
do anything at the kernel level to prevent this situation occuring,
and we end up with multiple GEM handles for a single kernel buffer.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/812e8fe6ce46d733c30207ee26c788c61f546294

Git commit b2360626c4aa1dccdf3fe258b833121748d64d35 by Ben Skeggs on 06/05/2015 at 23:06..
configure.ac: bump version to 2.4.61 for release

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2360626c4aa1dccdf3fe258b833121748d64d35

Git commit c8e1f98264240f5c52a9767e34ef6bc457037932 by Sven Joachim on 08/05/2015 at 19:34..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8e1f98264240f5c52a9767e34ef6bc457037932

Git commit 590c97400c0ea8066bf5c32853255b5d4459e0ca by Sven Joachim on 08/05/2015 at 19:36..
New upstream version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/590c97400c0ea8066bf5c32853255b5d4459e0ca

Git commit 45eb4df79eba492de8c8494b1ce6572e124fefc7 by Sven Joachim on 08/05/2015 at 20:03..
Update symbols file and bump shlibs for libdrm2

One public symbol (drmSetDebugMsgFunction) was removed in commit
cfbe9c9807888d24a56d9b1df28db7da669dee85.  A quick search on
codesearch.debian.net showed no users, so we should be on the safe
side anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45eb4df79eba492de8c8494b1ce6572e124fefc7

Git commit 008b60e6f489b0814937d95c6254f137ee828dbb by Sven Joachim on 08/05/2015 at 20:09..
Remove duplicate Section fields from debian/control

Shut up the binary-control-field-duplicates-source lintian message.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/008b60e6f489b0814937d95c6254f137ee828dbb

Git commit 76f00f42e3e88010205062ab34617631d9f925c3 by Sven Joachim on 08/05/2015 at 20:17..
Bump Standards-Version to 3.9.6
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76f00f42e3e88010205062ab34617631d9f925c3

Git commit 5b9caa1c34cd8facae69d2aa12a0e58fc3db98ef by Julien Cristau on 08/05/2015 at 21:11..
Update debian/upstream/signing-key.asc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b9caa1c34cd8facae69d2aa12a0e58fc3db98ef

Git commit e9ea1f42d14e10852f292f3470aee260c7349978 by Damien Lespiau on 18/05/2015 at 15:24..
intel: Add the Broxton PCI IDs

Cc: Imre Deak <imre.deak at intel.com>
Reviewed-by: Imre Deak <imre.deak at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9ea1f42d14e10852f292f3470aee260c7349978

Git commit a1acffd4e0968ffa65b673163574188a00c9ab7e by Martin Peres (on behalf of Alexandre Courbot) on 21/05/2015 at 18:20..
nouveau: add coherent BO attribute

Add a flag allowing Nouveau to specify that an object should be coherent
at allocation time. This is required for some class of objects like
fences which are randomly-accessed by both the CPU and GPU. This flag
instructs the kernel driver to make sure the object remains coherent
even on architectures for which coherency is not guaranteed by the bus.

Reviewed-by: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1acffd4e0968ffa65b673163574188a00c9ab7e

Git commit bb0b97e673c89547f5a8ebe47c6e2268f8bfb85d by Alex Deucher on 26/05/2015 at 16:26..
radeon: add new bonaire pci id

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb0b97e673c89547f5a8ebe47c6e2268f8bfb85d

Git commit fde4969176822fe54197b6baa78f8b0ef900baba by Alex Deucher (on behalf of frank) on 26/05/2015 at 16:34..
Add device enumeration interface (v4)

Add an interface for enumerating PCI devices on
a system.

v3: switch to udev/sysfs for the enumeration
v4: fix warnings

Signed-off-by: Frank Min <frank.min at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fde4969176822fe54197b6baa78f8b0ef900baba

Git commit c78917ee4fe6c787a5de9aaccc5319fdffc9a354 by Emil Velikov on 28/05/2015 at 14:40..
modetest: explicitly zero the newly allocated memory

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c78917ee4fe6c787a5de9aaccc5319fdffc9a354

Git commit 128344c2cf22385dedece5a3d774d3a24527d2de by Emil Velikov on 28/05/2015 at 14:40..
modetest: replace malloc + memset with calloc

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/128344c2cf22385dedece5a3d774d3a24527d2de

Git commit d0e592d4e9b59d9cc185f1d63b3c1dd818e95098 by Emil Velikov on 28/05/2015 at 14:40..
xf86drm: simplify drmMalloc/drmFree

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0e592d4e9b59d9cc185f1d63b3c1dd818e95098

Git commit 454b14949452c4e44990a8f455bcc307306181bc by Emil Velikov (on behalf of Jammy Zhou) on 28/05/2015 at 14:49..
Fix one warning (v2)

xf86drm.c:356:2: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
  group = (serv_group >= 0) ? serv_group : DRM_DEV_GID;
  ^

v2: do 'int' cast to fix the warning

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/454b14949452c4e44990a8f455bcc307306181bc

Git commit 4bca42fc504a2051964030daaa49b5ac49bb64d3 by Emil Velikov (on behalf of Guillaume Desmottes) on 28/05/2015 at 14:58..
drmPrime*: initialize output args to 0

Fix Valgrind errors because those memory was uninitialized.

https://bugs.freedesktop.org/show_bug.cgi?id=90194
Signed-off-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>

v2: Explicitly zero the whole struct using memclear.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4bca42fc504a2051964030daaa49b5ac49bb64d3

Git commit 85ede61136d541038a941c1eee90379af33e987f by Emil Velikov (on behalf of Tobias Jakobi) on 28/05/2015 at 15:01..
modetest: make middle SMPTE colors transparent

This enables us to check for overlay planes which are located
'below' the primary plane.

Since the alpha value only has an effect when creating surfaces
with an alpha-pixelformat this doesn't affect the regular
XRGB8888 primary surface.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85ede61136d541038a941c1eee90379af33e987f

Git commit 360a7eacd4961ceab72554d36917f031a05ed030 by Emil Velikov (on behalf of Tobias Jakobi) on 28/05/2015 at 15:02..
modetest: only select plane with matching format

Don't assume that a plane supports any kind of pixelformat
but do a check first.

v2: Simplify the format check.
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/360a7eacd4961ceab72554d36917f031a05ed030

Git commit e6a10649298312cf0e35284b76f1442886bc9db2 by Emil Velikov (on behalf of Boris BREZILLON) on 28/05/2015 at 15:03..
modetest: add atmel-hlcdc driver support

Signed-off-by: Boris BREZILLON <boris.brezillon at free-electrons.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6a10649298312cf0e35284b76f1442886bc9db2

Git commit 97be70b45eccc37e98a1cecf360593f36956ea42 by Emil Velikov (on behalf of Boris BREZILLON) on 28/05/2015 at 15:04..
tests/kmstest: support atmel-hlcdc

Signed-off-by: Boris BREZILLON <boris.brezillon at free-electrons.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/97be70b45eccc37e98a1cecf360593f36956ea42

Git commit 203983f842a889b279698fdea46e83ee4450a1db by Ilia Mirkin on 21/06/2015 at 23:26..
nouveau: add asserts to make sure krefs are there

This should help catch odd bugs at the callsites rather than much later
on with completely bogus bo indices.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/203983f842a889b279698fdea46e83ee4450a1db

Git commit 5b0e76f143887c4ec7db45c54a7ba27a58f59227 by Emil Velikov on 29/06/2015 at 10:12..
Revert "Add device enumeration interface (v4)"

This reverts commit fde4969176822fe54197b6baa78f8b0ef900baba.

The commit adds an API that does not seem flexible enough to be used in
current open-source projects. Additionally it adds a hidden dependency
of libudev, which when used in mesa caused grief when combined with
Steam('s runtime).

Let's revert this for now and add a tweaked API later on that can be
used in mesa/xserver.

Cc: Frank Min <frank.min at amd.com>
Cc: Christian König <christian.koenig at amd.com>
Cc: Alex Deucher <alexander.deucher at amd.com>
Cc: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b0e76f143887c4ec7db45c54a7ba27a58f59227

Git commit ed44e0b9585c563905447eceed12af9c1c7ca8d4 by Emil Velikov (on behalf of Ville Syrjälä) on 29/06/2015 at 18:01..
Support atomic modesetting ioctl

Add support for the atomic modesetting ioctl through a property-set API.

v1: Squashed intermediate patches from Ville, Rob and myself. Updated
    for current kernel interface (no blobs).
v2: Rewrite user-facing API to provide transactional/cursor interface.
    Use memclear to zero out ioctl.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
Signed-off-by: Daniel Stone <daniels at collabora.com>

v3 [Emil Velikov]: Remove DRM_CAP_ATOMIC - superseded by
DRM_CLIENT_CAP_ATOMIC.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed44e0b9585c563905447eceed12af9c1c7ca8d4

Git commit 32471b265c6fbce6d519f0420a0ffeb608296502 by Emil Velikov (on behalf of Daniel Stone) on 29/06/2015 at 18:19..
Add blob property create/destroy ioctl wrappers

v2: Use memclear to zero out structure.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32471b265c6fbce6d519f0420a0ffeb608296502

Git commit 8426967d4e34ef5924a30166662c60d1003072bd by Emil Velikov on 29/06/2015 at 18:19..
xf86drmMode: remove unused valgrind(VG) macros

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8426967d4e34ef5924a30166662c60d1003072bd

Git commit 5f76273d51fee5c176302ae5f57673461b80333b by Emil Velikov on 29/06/2015 at 18:19..
xf86drmMode: include config.h before anything else

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f76273d51fee5c176302ae5f57673461b80333b

Git commit 47a2de27a0f087908e3063fdd6dfdececd2db75b by Emil Velikov (on behalf of Matt Turner) on 29/06/2015 at 18:19..
configure: Add flag to disable valgrind support.

v2 [Emil Velikov]: Autodetect valgrind.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47a2de27a0f087908e3063fdd6dfdececd2db75b

Git commit 7da8f07274cfe57cfd157e184f1f0b4c15405b9e by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
exynos: fimg2d: fix return codes

Even if flushing the command buffer doesn't succeed, the
G2D calls would still return zero. Fix this by just passing
the flush return code.

In fact error handling currently ignores the fact that
g2d_add_cmd() can fail. This is going to be handled
in a later patch.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7da8f07274cfe57cfd157e184f1f0b4c15405b9e

Git commit 8d8bbbb9722c3eed3e2736da95d2fef4613d97fb by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
tests/exynos: replace return by break

The 'usage' function already does exit(0), so that this
'return -EINVAL' is never called. Just put a break there
to avoid confusion.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d8bbbb9722c3eed3e2736da95d2fef4613d97fb

Git commit 53b1081da1b05e6225d93d4a6890fba4eba8313e by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
exynos/fimg2d: simplify g2d_fini()

free()ing a nullptr is a noop, so remove the check.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53b1081da1b05e6225d93d4a6890fba4eba8313e

Git commit 0536d33f077ef92b5e9577c32a8772dd79f31c43 by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
tests/exynos: clean struct connector

Remove all unused struct members. An inspection of the
git history shows that these members were also never
used in the past.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0536d33f077ef92b5e9577c32a8772dd79f31c43

Git commit 3aeea6198d3c62bab2ce98450f47ff91e402784b by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
tests/exynos: remove unused define

It doesn't make sense to limit the number of
test cases anyway.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3aeea6198d3c62bab2ce98450f47ff91e402784b

Git commit 28d896c763e0cc2ab8f9679ee75b756bdd587da7 by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
tests/exynos: remove struct fimg2d_test_case

It doesn't make sense to keep this structure, since we
can just call all tests directly. An inspection of the
git history shows that no code ever used this
abstraction in the past.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28d896c763e0cc2ab8f9679ee75b756bdd587da7

Git commit 13ad10afc306a76f9a61e6a339e412a34a59bfe4 by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
tests/exynos: simplify drm_set_crtc

We can just return 'ret' here, the goto serves no purpose.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13ad10afc306a76f9a61e6a339e412a34a59bfe4

Git commit b26c8efb6566e78d12a93fee7c01f6857e07f611 by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
tests/exynos: remove connector_find_plane

No test uses DRM planes at the moment so this function
is never called. Inspection of the git history shows
that DRM planes were also never used in these tests
in the past.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b26c8efb6566e78d12a93fee7c01f6857e07f611

Git commit 2bf0d5bf63cda5a0abd79f2fd4b5737cb852b476 by Emil Velikov (on behalf of Tobias Jakobi) on 29/06/2015 at 18:19..
tests/exynos: handle G2D_IMGBUF_COLOR in switch statements

This fixes a compiler warning about missing handling of enum
values in the switch statements.

Also remove the silent mapping to G2D_IMGBUF_GEM when an
unknown buffer type is encountered. We have full control
about the type here, and if it's unknown then we obviously
have a bug in the code.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bf0d5bf63cda5a0abd79f2fd4b5737cb852b476

Git commit ba4b5ac010ab85406ec52e3906e13d58cd9aa782 by Emil Velikov on 29/06/2015 at 18:25..
configure.ac: bump version to 2.4.62 for release

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba4b5ac010ab85406ec52e3906e13d58cd9aa782

Git commit 676c806d0221a7ea375676b2eab514c426fcacd3 by Emil Velikov on 30/06/2015 at 13:01..
configure: default --enable-valgrind to auto

... as the help text says.

Reported-by: Jasper St. Pierre <jstpierre at mecheye.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/676c806d0221a7ea375676b2eab514c426fcacd3

Git commit 51077a2c51ae4138fab80d0a18894ae116e9199f by Sven Joachim on 01/07/2015 at 14:49..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51077a2c51ae4138fab80d0a18894ae116e9199f

Git commit 77fdb7b74322a40281a8d807168a9b567e0e89c3 by Sven Joachim on 01/07/2015 at 14:50..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77fdb7b74322a40281a8d807168a9b567e0e89c3

Git commit 7353c27f8bd04fda896ba706cd64d4920a8f0d79 by Sven Joachim on 01/07/2015 at 15:06..
Refresh patch Fix-headers-inclusion-in-xf86drmMode.c.diff

Part of it has been applied upstream in commit 5f76273d51fee5c176.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7353c27f8bd04fda896ba706cd64d4920a8f0d79

Git commit f23099414099b65feb8bd2b3555035b2893552fd by Sven Joachim on 01/07/2015 at 15:15..
Update symbols file and bump shlibs for libdrm2 again
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f23099414099b65feb8bd2b3555035b2893552fd

Git commit c30399694a21845bf0f36c29c97cd38351b96b88 by Sven Joachim on 01/07/2015 at 15:17..
Update debian/upstream/signing-key.asc

Add Emil Velikov's key 2CEB490D.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c30399694a21845bf0f36c29c97cd38351b96b88

Git commit ba14218105057fe79c3b2a8f5c7b851e57aca1f4 by Sven Joachim on 01/07/2015 at 15:23..
Close bug #789759

Fixed in commit 812e8fe6ce46d733c30207ee26c788c61f546294.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba14218105057fe79c3b2a8f5c7b851e57aca1f4

Git commit fd4342150d3d34f74f98af7d1298edc640d2da5e by Julien Cristau on 02/07/2015 at 18:51..
Fix kfreebsd patch that caused an FTBFS on Linux/x32

Only include <sys/sysctl.h> if configure detects it (closes: #787496).
Thanks, Thorsten Glaser.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd4342150d3d34f74f98af7d1298edc640d2da5e

Git commit 5dd3d82ed7b4dd5c97264b412c2eb1a72fc45ef9 by Julien Cristau (on behalf of Emil Velikov) on 02/07/2015 at 19:04..
configure: default --enable-valgrind to auto

... as the help text says.

Reported-by: Jasper St. Pierre <jstpierre at mecheye.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit 676c806d0221a7ea375676b2eab514c426fcacd3)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dd3d82ed7b4dd5c97264b412c2eb1a72fc45ef9

Git commit 9be727b722764566225937660dc3e4a40d7c97ed by Julien Cristau on 02/07/2015 at 19:10..
Add build-dep on xutils-dev for xorg-macros
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9be727b722764566225937660dc3e4a40d7c97ed

Git commit 26d70d817605b9ca95db733177a0d9fc20bf94e6 by Julien Cristau on 02/07/2015 at 19:11..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26d70d817605b9ca95db733177a0d9fc20bf94e6

Git commit 5c68f9f6f9bcc7edeacbc18b1052aed46a89c9f2 by Anuj Phogat on 06/07/2015 at 22:36..
i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

In case of YF/YS tiled buffers libdrm need not know about the tiling
format because these buffers don't have hardware support to be tiled
or detiled through a fenced region. But, libdrm still need to know
about buffer alignment restrictions because kernel uses it when
resolving the relocation.

Mesa uses drm_intel_gem_bo_alloc_for_render() to allocate Yf/Ys buffers.
So, use the passed alignment value in this function to initialize the
align variable in drm_intel_bo. Note that we continue ignoring the
alignment value passed to drm_intel_gem_bo_alloc() to follow the
previous behavior.

V2: Add a condition to avoid allocation from cache. (Ben)
V3: Make no changes in cache allocation strategy. Just update the alignment.
    Update the aperture size estimate including the alignment. (Ben, Chris)
V4: Move aperture size adjustments inside drm_intel_bo_gem_set_in_aperture_size()
    Don't split sentences across the one-line header and the changelog. (Chris)

Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c68f9f6f9bcc7edeacbc18b1052aed46a89c9f2

Git commit 5ba34e1aeed3c343bc9b53727220449d244b3296 by Anuj Phogat on 06/07/2015 at 22:38..
Set alignment value in drm_intel_add_validate_buffer()

Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ba34e1aeed3c343bc9b53727220449d244b3296

Git commit fc8c3e23fb990efd620ef9d9bf3b91686aecc934 by Emil Velikov (on behalf of Julien Cristau) on 11/07/2015 at 20:21..
Fix headers inclusion in xf86drmMode.c

Add sys/sysctl.h to get sysctlbyname declaration on kFreeBSD

Updated by Thorsten “mirabilos” Glaser <t.glaser at tarent.de>
to add autoconf check and only include <sys/sysctl.h> if it
is detected by configure as it’s unusable on Linux/x32 (and
others, e.g. other new architectures).

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc8c3e23fb990efd620ef9d9bf3b91686aecc934

Git commit dfed5e18f35e1a3b5d5b31ee11ada55a0d80abe1 by Emil Velikov (on behalf of Alan Coopersmith) on 13/07/2015 at 18:38..
include <sys/types.h> & <sys/mkdev.h> directly for major() and minor()

Linux seems to pick these up via another header, but Solaris needs them
explicitly included, or we get undefined symbol errors for major & minor.

v2: use headers documented in makedev(3C) man page instead of sysmacros.h

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

v3 [Emil Velikov]: include sys/mkdev.h only when available.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfed5e18f35e1a3b5d5b31ee11ada55a0d80abe1

Git commit ea1786416c58cb0896b640bad5a9e41e1baa4011 by Emil Velikov on 16/07/2015 at 15:41..
freedreno: zero is a valid fd number, treat it as such

Abeit quite unlikely to get hit by this bug here, let just fix it.

v2: Correct conditional (do not call ioctl(DRM_IOCTL_PRIME_HANDLE_TO_FD)
when we already have the fd).
v3: Fix kgsl_pipe.c, suggested by Thierry.

Cc: freedreno at lists.freedesktop.org
Cc: Rob Clark <robdclark at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Thierry Reding <thierry.reding at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea1786416c58cb0896b640bad5a9e41e1baa4011

Git commit c86dabfc9f046e835ddbd01d28c45f9cf7c1f368 by Emil Velikov on 16/07/2015 at 15:41..
omap: zero is a valid fd number, treat it as such

Equivalent to the previous patch.

Cc: Rob Clark <robdclark at gmail.com>
Suggested-by: Thierry Reding <thierry.reding at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c86dabfc9f046e835ddbd01d28c45f9cf7c1f368

Git commit c1cd3d93881a9b4a27f7190393ccc7a0236d28a4 by Emil Velikov on 16/07/2015 at 15:41..
xf86drm: fix incorrect fd comparison in drmOpenOnce{,WithType}

Spotted by looking for similar "let's assume fd == 0 is invalid" bugs.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1cd3d93881a9b4a27f7190393ccc7a0236d28a4

Git commit c08655271a240c0e4fb95b2c239a972f4f915a9c by Emil Velikov on 16/07/2015 at 15:41..
Consistently check the fd value

Follow the approach used through the rest of the project.

Suggested-by: Thierry Reding <thierry.reding at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c08655271a240c0e4fb95b2c239a972f4f915a9c

Git commit 293f8fac0a5c1cfd825005c94329aa8a5cd5ce30 by Emil Velikov (on behalf of Joonyoung Shim) on 20/07/2015 at 21:13..
Build vbltest irrespective of the presence of libudev.

The vbltest doesn't have any dependency of LIBUDEV.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/293f8fac0a5c1cfd825005c94329aa8a5cd5ce30

Git commit 1a6efaf68e207302cd9423051b8091fa663bbabe by Chris Wilson on 28/07/2015 at 17:09..
drm: Detect no-op drmModeAtomicRequest and return early

If the number of items to process in the request is zero, we can forgo
duplicating, sorting the request and feeding it into the kernel and
instead report success immediately.  This prevents a NULL dereference of
the sorted->items for the no-op request.

Fixes: ed44e0b9585c563905447eceed12af9c1c7ca8d4
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Rob Clark <robclark at freedesktop.org>
Cc: Daniel Stone <daniels at collabora.com>
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a6efaf68e207302cd9423051b8091fa663bbabe

Git commit d1f321fdf9367d3a488f81c8c3c8b8aa5b8d69bb by Emil Velikov on 29/07/2015 at 17:04..
man: remove .man_fixup workaround

The whole thing is quite messy - the file is used to indicate that the
man pages were correctly generated prior to applying the "fixup" (alias)

At the same time we use a rule with the same name, to create the same
file if the generation has failed.

In other words - it attempts to create the file either way. So there is
little point in it and we can remove it.

Spotted while attempting to build with bmake which kindly blocked on the
following (non compliant construct)

.man_fixup: | $(miscman_DATA)

Cc: Jonathan Gray <jsg at jsg.id.au>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1f321fdf9367d3a488f81c8c3c8b8aa5b8d69bb

Git commit 1d3b823650bf980a48df00b748fef7cfc7c19b14 by Emil Velikov (on behalf of Jonathan Gray) on 29/07/2015 at 17:04..
xf86drmMode: Implement drmCheckModesettingSupported() for OpenBSD

This is implemented with kms ioctls so it could also be used as a
generic fallback.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d3b823650bf980a48df00b748fef7cfc7c19b14

Git commit 66c3afb75fa993f2f8b00c2dd9c2ec37a3a9dfb6 by Emil Velikov (on behalf of Jonathan Gray) on 29/07/2015 at 17:04..
xf86drm: correct the OpenBSD DRM_MAJOR define

As far as I can tell no OpenBSD platform ever used 81
for a drm major.  While the value was added to libdrm in 2003
or earlier drm didn't appear in OpenBSD till 2007.

Of the OpenBSD platforms that support drm amd64/macppc/sparc64
use a major of 87, i386 uses 88.

v2: rearrange ifdefs as suggested by Emil.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/66c3afb75fa993f2f8b00c2dd9c2ec37a3a9dfb6

Git commit fc083322b0c8a58b51976adf23a582bce8bb75f1 by Emil Velikov (on behalf of Jonathan Gray) on 29/07/2015 at 17:04..
xf86drm: use the correct device minor names on OpenBSD

Add defines for the device minor names and make use of them
in drmGetMinorName() so the correct paths will be used on OpenBSD.

v2: don't add new defines to xf86drm.h to keep them out of the API
    as requested by Emil.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc083322b0c8a58b51976adf23a582bce8bb75f1

Git commit cd2f91e18db087edf93fed828e568ee53b887860 by Kristian Høgsberg Kristensen on 03/08/2015 at 16:19..
intel: Drop aub dumping functionality

We now have a separate tool for this in intel-gpu-tools and we don't
need to clutter up libdrm with this feature. We leave the entry points
in there to avoid breaking API/ABI.

Install intel-gpu-tools, then run (for example)

    $ intel_aubdump --output=trace.aub glxgears -geometry 500x500

See the intel_aubdump man page for more details.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd2f91e18db087edf93fed828e568ee53b887860

Git commit 4ee0fa2f3747922db6d29459368aa51cce2e2846 by Alex Deucher on 05/08/2015 at 17:47..
drm: consolidate common list implementations (v2)

This is used by radeon and freedreno and will be used
by amdgpu.  I looked at switching to libdrm_lists.h,
but it's pretty horrible.  E.g., DRMLISTFOREACHENTRYSAFE.

v2: remove missed list.h from tests/radeon/Makefile.am

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ee0fa2f3747922db6d29459368aa51cce2e2846

Git commit a3c89dda5b519f6b217bebe97f6795b820931b78 by Alex Deucher on 05/08/2015 at 17:47..
drm: add util_math.h

Used by amdgpu, could be used by other components.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3c89dda5b519f6b217bebe97f6795b820931b78

Git commit 09361395363805b5892d48d7bc10cf717e4d2927 by Alex Deucher on 05/08/2015 at 17:47..
drm: add libdrm_amdgpu (v7)

This is the new ioctl wrapper used by the new admgpu driver.
It's primarily used by xf86-video-amdgpu and mesa.

v2: fix amdgpu_drm.h install
v3: Integrate some of the sugestions from Emil:
    clean up Makefile.am, configure.ac
    capitalize header guards
    fix _FILE_OFFSET_BITS with config.h
    use drm_mmap/drm_munmap
    Remove unused ARRAY_SIZE macro
    use shared list implementation
    use shared math implementation
    use drmGetNodeTypeFromFd helper
v4: remove unused tiling defines
v5: include amdgpu.h in Makefile.am
v6: update amdgpu_drm.h
v7: libdrm.h -> libdrm_macros.h

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09361395363805b5892d48d7bc10cf717e4d2927

Git commit 3c5fe78801dbadc82cc25f4a63a983fea15d938b by Alex Deucher on 05/08/2015 at 17:47..
drm: add tests/amdgpu (v3)

This adds some basic unit tests for the new amdgpu driver.

v2: use common util_math.h
v3: implement suggestions from Emil
    replace malloc/memset with calloc
    make header guards all caps
    use posix_memalign rather than mem_align
    replace malloc with calloc for pm4 allocations
    make CU_SuiteInfo static
    fix Makefile.am
    fix fd numbering
    use drmGetVersion/drmFreeVersion rather than open coding it
    close fd, clean up CU registry on error

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c5fe78801dbadc82cc25f4a63a983fea15d938b

Git commit 2f2c8ac0f4507474ac332fa33afcb8ccfeeb3938 by Alex Deucher (on behalf of monk.liu) on 05/08/2015 at 17:47..
amdgpu: support non-page-aligned userptr

Signed-off-by: monk.liu <monk.liu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f2c8ac0f4507474ac332fa33afcb8ccfeeb3938

Git commit cc01c3cb5ae708689228d1ec6e751f91e7f90741 by Alex Deucher (on behalf of monk.liu) on 05/08/2015 at 17:47..
amdgpu: add missing mutex lock/unlock pair

Signed-off-by: monk.liu <monk.liu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc01c3cb5ae708689228d1ec6e751f91e7f90741

Git commit 83d9369583d3200510beebe67edd19e9952c17dd by Alex Deucher (on behalf of monk.liu) on 05/08/2015 at 17:47..
amdgpu: fix an error of bo_list handler

original method is just totally wrong, it loses the bo_list handler at
all after command stream accomplished

Signed-off-by: Monk.Liu <monk.liu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83d9369583d3200510beebe67edd19e9952c17dd

Git commit 9c3bec246e5f1f7d2fcb2bd7e7cc0deab4d8b20d by Alex Deucher (on behalf of monk.liu) on 05/08/2015 at 17:47..
amdgpu: do not call BO_LIST ioctl when no resource referred

Signed-off-by: monk.liu <monk.liu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c3bec246e5f1f7d2fcb2bd7e7cc0deab4d8b20d

Git commit 9c2afffedb773da27fd7506b31fc2164f329d3a8 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: cleanup public interface v2

Remove the mostly unused device parameter, for the few cases
where we really need it keep a copy in the context structure.

v2: rebased on internal branch

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c2afffedb773da27fd7506b31fc2164f329d3a8

Git commit 6dc2eaf2cc8428d11498a57bbe72cdf0df4a3306 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: add public bo list interface v3

v2: cleanup comments and function parameter
v3: rebased on internal branch

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dc2eaf2cc8428d11498a57bbe72cdf0df4a3306

Git commit c68d58aa14b7f737812a35f92af3caf315f20d8a by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: compare the primary device names instead

Instead of taking a look at the device major/minor we
just compare the primary device name to figure out if
two fds are pointing to the same device.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c68d58aa14b7f737812a35f92af3caf315f20d8a

Git commit 3b50db9d9f77e2eba3f628703c2bffd41a71d20b by Alex Deucher (on behalf of monk.liu) on 05/08/2015 at 17:47..
amdgpu: fix segfault when resources are NULL

Signed-off-by: monk.liu <monk.liu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b50db9d9f77e2eba3f628703c2bffd41a71d20b

Git commit 639c7de955f9a905d4db741ef3cb317edd460211 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: remove active_rb_pipes from amdgpu_gpu_info

The active RB pipes can be retrieved from enabled_rb_pipes_mask,
for which each bit indicates one active pipe if it is '1'.

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/639c7de955f9a905d4db741ef3cb317edd460211

Git commit a4c832117940880c28eec15bfae8040f2a93a733 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4c832117940880c28eec15bfae8040f2a93a733

Git commit 14070057d8cb70a0574065b96e1f0d25f6d4c533 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: fix 32-on-64 support (v2)

0xffffffff was appended to the higher 32bit with (intptr_t) when use
32bit libdrm_amdgpu.so with 64bit kernel, and it caused segmentation
fault for 32bit application.

v2: switch to uintptr_t

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14070057d8cb70a0574065b96e1f0d25f6d4c533

Git commit 7454779f9bc48827dfa6d4ce69ba88a544163fc1 by Alex Deucher (on behalf of Jack Xiao) on 05/08/2015 at 17:47..
amdgpu: fix round down/up page size error

Signed-off-by: Jack Xiao <Jack.Xiao at amd.com>
Reviewed-by: Monk Liu monk.liu at amd.com
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7454779f9bc48827dfa6d4ce69ba88a544163fc1

Git commit d9c431dd02da2a8215851c5fa9f07471820d3000 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: add ctx_id for wait_cs

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: David Zhou <david1.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9c431dd02da2a8215851c5fa9f07471820d3000

Git commit db126d1d8a764b9d3ad322779b13904867b14e5c by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: reuse the kernel IB flags v2

v2: remove 'CE' from the preamble flag

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db126d1d8a764b9d3ad322779b13904867b14e5c

Git commit 241cf6d1051718a481c61b469171a34c0ca718a4 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: validate the upper limit of virtual address v2

Only 8GB virtual address space is used by default now

v2: use -ENOSPC for the error case

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/241cf6d1051718a481c61b469171a34c0ca718a4

Git commit 9066acf10900fb6afaa49383116324d94e5aaacd by Alex Deucher (on behalf of monk.liu) on 05/08/2015 at 17:47..
amdgpu: fix code alignment

Signed-off-by: monk.liu <monk.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9066acf10900fb6afaa49383116324d94e5aaacd

Git commit d3e7195066c37e242b16ec67c732eeee1f693ab0 by Alex Deucher (on behalf of monk.liu) on 05/08/2015 at 17:47..
amdgpu: fix vamgr_free_va logic

va+size will overflow if va equals to AMDGPU_INVALID_VA_ADDRESS, just
return when hit that condition

Signed-off-by: monk.liu <monk.liu at amd.com>
Reviewed-by: Jammy Zhou <jammy.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3e7195066c37e242b16ec67c732eeee1f693ab0

Git commit 4b39a8e7cfff20a9cf8512541b9fc764b42da974 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: implement amdgpu_cs_query_reset_state

v2: also return the number of hangs

Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b39a8e7cfff20a9cf8512541b9fc764b42da974

Git commit 2d588797f1958f6ef287bc844904036f6d385ad3 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: fix a valgrind warning

==10307== Conditional jump or move depends on uninitialised value(s)
==10307==    at 0xB9F4CFA: amdgpu_device_initialize (amdgpu_device.c:193)

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d588797f1958f6ef287bc844904036f6d385ad3

Git commit 8a208ee8f93d8e52dc47d2d75ff00a126e848184 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: fix the number of IB size enums

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a208ee8f93d8e52dc47d2d75ff00a126e848184

Git commit 8cf8ac1539183c35883b7e924a211d85ed046217 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: remove unused AMDGPU_IB_RESOURCE_PRIORITY

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cf8ac1539183c35883b7e924a211d85ed046217

Git commit 3f1ca0f9399778d7f6599023e1a236ddef1d3458 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: replace alloca with calloc v2

use heap memory instead of stack memory to avoid potential stack overflow
when a large number of resources are used for the bo_list.

v2: some minor improvement

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f1ca0f9399778d7f6599023e1a236ddef1d3458

Git commit 7244698ddc3f33158188adcb50291157a7e99b81 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: add amdgpu_bo_list_update interface v2

v2: some minor improvement

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7244698ddc3f33158188adcb50291157a7e99b81

Git commit d5c0b2a172126c0de116bfc8863953b13e0ed5df by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: remove bo_vas hash table v2

Not used any more.

v2: Keep accidental removed lines.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5c0b2a172126c0de116bfc8863953b13e0ed5df

Git commit 12a23b1964f04d7451bad4ef246f3daebe2ef12a by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: add helper for VM mapping v2

Less code and also provides the map_size parameter.

v2: Also set offset_in_bo, use *_handle defines.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12a23b1964f04d7451bad4ef246f3daebe2ef12a

Git commit 7c50f0d9847f855d6d008840931898f001faad8c by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: add new AMDGPU_TILING flags

Copied from the kernel.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c50f0d9847f855d6d008840931898f001faad8c

Git commit 60e221c925e7ee81b9831b06ebd4ca54bea03deb by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: add IB sharing support v2

A new 'offset' flag is added to the amdgpu_cs_ib_info structure,
which can be used to specify location of PM4 packets to execute
in the IB buffer object

v2: remove the shared IB flag, etc

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60e221c925e7ee81b9831b06ebd4ca54bea03deb

Git commit ba1653eff8bd8ecc3d5fd5b2bbab604878cfa7e0 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
tests/amdgpu: add shared IB submission test v2

v2: some function renaming

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba1653eff8bd8ecc3d5fd5b2bbab604878cfa7e0

Git commit 322d02d025cad1a74138c86937c5d5f3ef6215c7 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
amdgpu: make vamgr global

This is the first sub-patch of va interface task, the va task is
about adding more va management interfaces for UMD, by design, the
vamgr should be per-process rather than per-device.

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/322d02d025cad1a74138c86937c5d5f3ef6215c7

Git commit 0f4e6702ee914994e45af5b281b9cf92e70c13e1 by Alex Deucher (on behalf of Leo Liu) on 05/08/2015 at 17:47..
tests/amdgpu: implement VCE unit tests

Signed-off-by: Leo Liu <leo.liu at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f4e6702ee914994e45af5b281b9cf92e70c13e1

Git commit 942a5dbe6c716185f57adc60d7cfe488ec0e133d by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: stop checking flag masks

The kernel is responsible for parameter checking, not libdrm.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Monk Liu <monk.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/942a5dbe6c716185f57adc60d7cfe488ec0e133d

Git commit 745081395ed90eccfa4e06391ea3bacfc44daaa9 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: rename GEM_OP_SET_INITIAL_DOMAIN -> GEM_OP_SET_PLACEMENT

No users.

Signed-off-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/745081395ed90eccfa4e06391ea3bacfc44daaa9

Git commit fc9fc7dd1145dd573d051dfe9ab6d495f69b5865 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
amdgpu: add max_memory_clock for interface query

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc9fc7dd1145dd573d051dfe9ab6d495f69b5865

Git commit 4bf29413a3e4da9fdabfd8d145702bc6922b0d72 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
amdgpu: add vram_type and vram_bit_width for interface query

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4bf29413a3e4da9fdabfd8d145702bc6922b0d72

Git commit cdd1edcae0078a8cfa4b1083765aa660bd593272 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
amdgpu: add ce_ram_size for interface query

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdd1edcae0078a8cfa4b1083765aa660bd593272

Git commit ef9aa370bb3a5e1725998a4b31237ffc14a062b0 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
amdgpu: add ib_start_alignment and ib_size_alignment for interface query

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef9aa370bb3a5e1725998a4b31237ffc14a062b0

Git commit 40c53360437fec5faee83f0b64bb6756926d2fe0 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: get rid of IB pool management v3

v1: by Jammy Zhou
v2: remove bo wait when destroy IB by Jammy Zhou
v3: more cleanups by Marek

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40c53360437fec5faee83f0b64bb6756926d2fe0

Git commit 1041cfdc38692721364557ce61d7abe71a1a9cbf by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
tests/amdgpu: manage IB in client side

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1041cfdc38692721364557ce61d7abe71a1a9cbf

Git commit 2a344a8d8a7af0b242b262866742c253cd55d334 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: don't use amdgpu_cs_create_ib for allocation of the fence BO

amdgpu_cs_create_ib will go away.

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a344a8d8a7af0b242b262866742c253cd55d334

Git commit 194d5c2ee442b0f5020b33dd419f0b4d9e6b9001 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: remove amdgpu_ib

Not useful if we're gonna use BO handles directly.

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/194d5c2ee442b0f5020b33dd419f0b4d9e6b9001

Git commit 646f5411cf36413c903eb6db48b5e7febd893ec5 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: remove amdgpu_ib helpers

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/646f5411cf36413c903eb6db48b5e7febd893ec5

Git commit 76af5c249fa438d8466b7e7dbda318da8f829eac by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: remove bo_handle from amdgpu_cs_ib_info, IBs should be in buffer list

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76af5c249fa438d8466b7e7dbda318da8f829eac

Git commit b9ef29d1be7bfb2fd6b59023792208e5028b95f0 by Alex Deucher (on behalf of Jack Xiao) on 05/08/2015 at 17:47..
amdgpu: add zero timeout check in amdgpu_cs_query_fence_status

Signed-off-by: Jack Xiao <Jack.Xiao at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9ef29d1be7bfb2fd6b59023792208e5028b95f0

Git commit 908f34e70cc9a7cd46edee1737c652e0a59893aa by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: allow exporting KMS handles with render nodes

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/908f34e70cc9a7cd46edee1737c652e0a59893aa

Git commit 34e1250e3769f33b92a12f535f4fca755388ee10 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: use alloca and malloc in critical codepaths (v2)

And don't clear the memory when it's unnecessary.

v2: use malloc for arrays that can be big

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/34e1250e3769f33b92a12f535f4fca755388ee10

Git commit 7d7f25c938439bfe977bb51614ce4be80ffd3f45 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: fix valgrind warnings

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d7f25c938439bfe977bb51614ce4be80ffd3f45

Git commit 201b09a443e752429e9f69eafbd70123ce409cb0 by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: fix double mutex_unlock in amdgpu_bo_import

The handles array is used below, which is followed by another unlock,
so remove the first one.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/201b09a443e752429e9f69eafbd70123ce409cb0

Git commit 657245f7a3394063e3b25e86e314d2cf001f97d2 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: add amdgpu_query_gds_info

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/657245f7a3394063e3b25e86e314d2cf001f97d2

Git commit 7bbc1debafcc04f459b36f718c893f1142909df4 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: cleanup gds specific alloc/free functions

amdgpu_bo_alloc/free can be used with GDS/OA/QWS domains specified

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bbc1debafcc04f459b36f718c893f1142909df4

Git commit d273d847547badbf0beb69865e9a6e798657310b by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: merge amdgpu_drm.h from kernel

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d273d847547badbf0beb69865e9a6e798657310b

Git commit 9f16c733f17d750b3d26dbd368d994ebae8f1b6a by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: explicitly unmap GPU mapping on BO destruction

That exercises the IOCTL and stops relying us on implicit unmapping.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f16c733f17d750b3d26dbd368d994ebae8f1b6a

Git commit 804048ff65e65df6cfad6bd5c78c27af5a510362 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: remove flink export workaround v2

Alternative solution to Mareks patch to stop causing trouble with render nodes.

v2: rebased

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/804048ff65e65df6cfad6bd5c78c27af5a510362

Git commit 933091e1d64aea4ec81c0f4a83d30b01408fe795 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: cleanup VA IOCTL handling

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/933091e1d64aea4ec81c0f4a83d30b01408fe795

Git commit bef8b6097c6ea0410edae10eb07921b9edf24097 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: do NULL check for bo handle in amdgpu_bo_query_info

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bef8b6097c6ea0410edae10eb07921b9edf24097

Git commit 69827cd1f631a03ac61070950892aa77917925c3 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: remove pointer arithmetic from command submission

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69827cd1f631a03ac61070950892aa77917925c3

Git commit cf5646001e4ef6963515457e6234ffb3407874c8 by Alex Deucher on 05/08/2015 at 17:47..
amdgpu: update to the latest kernel header

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf5646001e4ef6963515457e6234ffb3407874c8

Git commit 0f37bc90294176eeb7245d00998de1822c0d6db9 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: add CS dependencies v2

This allows the driver to specify on which previous CS to wait.

v2: fix spelling in comment

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com> (v1)
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f37bc90294176eeb7245d00998de1822c0d6db9

Git commit 4a9f5f2e1e8ace3a34fb32326b6faabb43645eee by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
gitignore: add some generated amdgpu files

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a9f5f2e1e8ace3a34fb32326b6faabb43645eee

Git commit 558e1294f2ee590a42f560f7172d2c05256f9e37 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: cleanup public interface style

Fix some style problems, adjust to a common indentation, reorder two
function definitions and remove stale comments.

No intended functional change.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/558e1294f2ee590a42f560f7172d2c05256f9e37

Git commit 28462ebd25b9458f1e08afed7b5c8d77f3957980 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: remove reference to AMD specific error codes

We just have never defined any.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28462ebd25b9458f1e08afed7b5c8d77f3957980

Git commit 67c994f057b9fd5a92f820a0f986d0bbba7848fc by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
drm/amdgpu: allow passing absolute timeouts to amdgpu_cs_query_fence_status

Useful when Mesa wants to wait for a lot of fences at the same time and
doesn't want to recalculate the relative timeout after every call.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67c994f057b9fd5a92f820a0f986d0bbba7848fc

Git commit 8097d08ee46ea032c66ce9db0a4db585cd0c796b by Alex Deucher (on behalf of Marek Olšák) on 05/08/2015 at 17:47..
amdgpu: check the user fence only if the IP supports user fences

Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8097d08ee46ea032c66ce9db0a4db585cd0c796b

Git commit 5b01908d1c1f94700e68381afe948045d1ef54a1 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
amdgpu: add base_preferred parameter to amdgpu_vamgr_find_va

base_preferred parameter is added to amdgpu_vamgr_find_va
so UMD can specify preferred va address when allocating.

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5b01908d1c1f94700e68381afe948045d1ef54a1

Git commit 23fab59ba56233cd7142d43eace9348b9f5d72c2 by Alex Deucher (on behalf of Sabre Shao) on 05/08/2015 at 17:47..
amdgpu: add va allocation intefaces

Two new interfaces are added to support client request for
allocate virtual address without physical memory committed to.
The virtual address space can be managed by client itself.

Signed-off-by: Sabre Shao <Sabre.Shao at amd.com>
Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23fab59ba56233cd7142d43eace9348b9f5d72c2

Git commit 12802da74f0e480bbde5a11df689329910893e87 by Alex Deucher (on behalf of Sabre Shao) on 05/08/2015 at 17:47..
amdgpu: add va range query interface

amdgpu_va_range_query interface is added so that client can query va
range supported by specific device.

Signed-off-by: Sabre Shao <Sabre.Shao at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12802da74f0e480bbde5a11df689329910893e87

Git commit f91b56dc8c604ec1c6f092d69550266d20dc9764 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: improve the amdgpu_cs_query_fence_status interface

make amdgpu_cs_query_fence reusable to support multi-fence query

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f91b56dc8c604ec1c6f092d69550266d20dc9764

Git commit 5463d2e83a450a0428f6c46561c5e2a54a229589 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: use common fence structure for dependencies as well.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5463d2e83a450a0428f6c46561c5e2a54a229589

Git commit 95ecf91c7bb33a49093cfa2a19bc841c04b2707a by Alex Deucher (on behalf of Michel Dänzer) on 05/08/2015 at 17:47..
amdgpu: Use drmIoctl in amdgpu_ioctl_wait_cs

This is safe now because the ioctl uses an absolute timeout.

This prevents amdgpu_cs_query_fence_status from returning early e.g.
when a signal is delivered, which in turn caused Mesa winsys code to
assume a BO was idle when it actually wasn't yet.

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95ecf91c7bb33a49093cfa2a19bc841c04b2707a

Git commit 90e14d453ae8f08701e10c61264b53a233acfa3c by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
drm: fix the ALIGN macro to avoid value clamp

If the value is 64bit, but the alignment is 32bit type, the high 32bit
will be clamped with previous definition

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90e14d453ae8f08701e10c61264b53a233acfa3c

Git commit 872a5c714aa9b630980894a18e6111530806bf0f by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
tests/amdgpu: remove the duplicate IB allocation for VCE test

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/872a5c714aa9b630980894a18e6111530806bf0f

Git commit 01e4546ff34a57faaefd41fce323c691902501c5 by Alex Deucher (on behalf of Christian König) on 05/08/2015 at 17:47..
amdgpu: fix bs buffer size for vce test

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01e4546ff34a57faaefd41fce323c691902501c5

Git commit 926c80568691e04abdfcd21b6e9be61331e95b03 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
amdgpu : move management of user fence from libdrm to UMD

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/926c80568691e04abdfcd21b6e9be61331e95b03

Git commit 95d0f35dafff6c588da47c28332c252881f2e07c by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: add flags parameter for amdgpu_va_range_alloc

The flags is added for extensibility to cover some special requirements
in the future, i.e, request VA range in the first 4GB of address space

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95d0f35dafff6c588da47c28332c252881f2e07c

Git commit 8aeffcc1cf3360fddd97f4a6b6f7300f401142ae by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:47..
amdgpu: add amdgpu_bo_va_op for va map/unmap support v3

The following interfaces are changed accordingly:
- amdgpu_bo_alloc
- amdgpu_create_bo_from_user_mem

v2: update the interfaces
v3: remove virtual_mc_base_address from amdgpu_bo

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8aeffcc1cf3360fddd97f4a6b6f7300f401142ae

Git commit 9961900b8dcb9e1378c9467f99db84c19c894992 by Alex Deucher (on behalf of Ken Wang) on 05/08/2015 at 17:47..
test/amdgpu : fix a bug in VCE/UVD test introduced by previous change

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9961900b8dcb9e1378c9467f99db84c19c894992

Git commit d2cbe9ecbef8bcfb226986bb2bed508b55dc2999 by Alex Deucher (on behalf of Leo Liu) on 05/08/2015 at 17:47..
amdgpu: add VCE harvesting instance query

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2cbe9ecbef8bcfb226986bb2bed508b55dc2999

Git commit 84d099072fa54f1df871a665df7a3bbf818740cc by Alex Deucher (on behalf of Michel Dänzer) on 05/08/2015 at 17:47..
amdgpu/tests: Use buf_handle in amdgpu_bo_alloc_and_map() error paths

The compiler pointed out that bo has the wrong type.

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84d099072fa54f1df871a665df7a3bbf818740cc

Git commit d9b282593e74ccbbb3a605dd72367a2262f39d12 by Alex Deucher (on behalf of Michel Dänzer) on 05/08/2015 at 17:47..
amdgpu/tests: Cast CPU map argument of amdgpu_bo_alloc_and_map to void**

Silences incompatible pointer type compiler warnings.

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9b282593e74ccbbb3a605dd72367a2262f39d12

Git commit 399ac8bafaafc3dee13beb1a99c223a860aaec8f by Alex Deucher (on behalf of Alexandr Akulich) on 05/08/2015 at 17:47..
libdrm/amdgpu: Fixed drm.h include.

The include type changed from system to own.

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Signed-off-by: Alexandr Akulich <akulichalexander at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/399ac8bafaafc3dee13beb1a99c223a860aaec8f

Git commit 7d418f906cbc01b3c3e61b9d05fc73f46882a55f by Alex Deucher (on behalf of Mario Kleiner) on 05/08/2015 at 17:47..
libdrm/amdgpu: Use private fd for amdgpu_device and winsys hash table to fix ZaphodHeads. (v2)

The amdgpu_device for a device node needs its own dup'ed fd, instead
of using the original fd passed in for a screen, to make multi-x-screen
ZaphodHeads configurations work on amdgpu.

The original fd's lifetime differs from that of the amdgpu_device, and from the
one stored in the hash. The hash key is the fd, and in order to compare hash
entries we fstat them, so the fd must be around for as long as the amdgpu_device
is.

This patch for libdrm/amdgpu is a translation of the radeon-winsys ZaphodHeads
fix for mesa's radeon-winsys, from mesa commit 28dda47ae4d974e3e032d60e8e0965c8c068c6d8

"winsys/radeon: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads."

Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
Acked-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>

v2: Check for valid fd's being >= 0, because fd == 0 is in theory
    a valid, although unlikely, fd and fd == -1 would denote an
    invalid fd. Thanks to William Lewis for pointing this out.

Reported-by: William Lewis <minutemaidpark at hotmail.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d418f906cbc01b3c3e61b9d05fc73f46882a55f

Git commit d01c361af5c21be6a22a595f2338b3716ce7f417 by Alex Deucher (on behalf of Jammy Zhou) on 05/08/2015 at 17:50..
amdgpu: expose the PCI revision ID

The PCI revision ID can be used to differentiate ASICs.

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d01c361af5c21be6a22a595f2338b3716ce7f417

Git commit 2978f5c37ebc94af2bfa1a059e3c0866ee88d915 by Alex Deucher (on behalf of Michel Dänzer) on 05/08/2015 at 17:50..
amdgpu: Remove unused local variables bo_size/offset from amdgpu_cs_submit

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2978f5c37ebc94af2bfa1a059e3c0866ee88d915

Git commit 11a390ea660f95639b2fd2e67f6a9d9042acd467 by Alex Deucher on 06/08/2015 at 15:13..
fix configuration when amdgpu is disabled

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11a390ea660f95639b2fd2e67f6a9d9042acd467

Git commit b93594b1bfc48250e95ad1d7e09d53b7b1a8ffac by Alex Deucher on 06/08/2015 at 15:19..
fix amdgpu cunit configure test harder

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b93594b1bfc48250e95ad1d7e09d53b7b1a8ffac

Git commit e1f31d98a771244c026094584c96e9b86bcab825 by Alex Deucher on 06/08/2015 at 17:38..
move up cunit workaround for ubuntu/debian

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1f31d98a771244c026094584c96e9b86bcab825

Git commit c8df9e724e9a2559d551fa93f13afe7084b6af3f by Alex Deucher on 06/08/2015 at 17:44..
add a note about which version of cunit is fixed for debian/ubuntu

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8df9e724e9a2559d551fa93f13afe7084b6af3f

Git commit 1c205749fe2171aaa69ce053a8f248e329bd72f7 by Tapani Pälli on 10/08/2015 at 08:25..
remove usage of 'c_plusplus' preprocessor macro

Use only __cplusplus which is supported by the C++ standard.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c205749fe2171aaa69ce053a8f248e329bd72f7

Git commit f1468e88461239d3060f146fae6c36cc7b85f366 by Tapani Pälli on 10/08/2015 at 08:26..
intel: wrap intel_bufmgr.h C code for C++ compilation/linking

We need this include in porting changes for the OpenGL ES
conformance suite.

v2: remove c_plusplus usage

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1468e88461239d3060f146fae6c36cc7b85f366

Git commit d7f58da11a51cec48e56299ac722c5f0ca1aec32 by Tapani Pälli on 10/08/2015 at 08:28..
modeprint: cleanup, remove compile warnings

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7f58da11a51cec48e56299ac722c5f0ca1aec32

Git commit e57be77810f00bec2772ae25f5a411dd20cf51ec by Alex Deucher on 10/08/2015 at 20:26..
radeon: add new OLAND pci id

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e57be77810f00bec2772ae25f5a411dd20cf51ec

Git commit bf4826430ab116fad0bded3aef7aa4f0ccc5c548 by Emil Velikov on 13/08/2015 at 16:42..
Force enable amdgpu for the dist build/check.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf4826430ab116fad0bded3aef7aa4f0ccc5c548

Git commit 5f0f6387a6abe9e20c94d99a1e59aa7fa231b17a by Emil Velikov on 13/08/2015 at 16:43..
amdgpu/util_hash: hide private symbols from global namespace

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f0f6387a6abe9e20c94d99a1e59aa7fa231b17a

Git commit f4d14f147cfc2bdea4f1ffafcfd302ebdfbcef1d by Emil Velikov on 13/08/2015 at 16:43..
amdgpu/util_hash_table: hide private symbols from global namespace

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4d14f147cfc2bdea4f1ffafcfd302ebdfbcef1d

Git commit f4c2bfd63e55b9c878f4c1420af15a88c57b43a2 by Emil Velikov on 13/08/2015 at 16:43..
amdgpu: add a bunch of missing config.h includes

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4c2bfd63e55b9c878f4c1420af15a88c57b43a2

Git commit a30da8e9b3bb74d62b641a9fa4c0100ad47f2bc4 by Emil Velikov on 13/08/2015 at 16:43..
amdgpu: cosmetic chances in license boilerplate

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a30da8e9b3bb74d62b641a9fa4c0100ad47f2bc4

Git commit c19fa2b1ca8baec6ac8bb8aed6c0693c87e1a6de by Emil Velikov on 13/08/2015 at 16:43..
amdgpu: squash trivial documentation typo

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c19fa2b1ca8baec6ac8bb8aed6c0693c87e1a6de

Git commit b47181897770520bb5afcebc2c2c3ffaf7729a36 by Emil Velikov on 13/08/2015 at 16:43..
amdgpu/amdgpu_vamgr: hide private symbols from global namespace

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b47181897770520bb5afcebc2c2c3ffaf7729a36

Git commit bddf4df4a17df30624f27c5e85f859a1b09f8fc0 by Emil Velikov on 13/08/2015 at 16:43..
amdgpu: hide the final internal functions from global namespace

Thus the only symbols that we export are the ones officially provided by
the API.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bddf4df4a17df30624f27c5e85f859a1b09f8fc0

Git commit 15350568ccae525899aeb963f1cb66287e876e63 by Emil Velikov on 13/08/2015 at 16:43..
amdgpu: add symbols check test

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15350568ccae525899aeb963f1cb66287e876e63

Git commit f045da45fee94a7179cced09a20b691c5167cef4 by Marek Olšák on 14/08/2015 at 12:19..
Bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f045da45fee94a7179cced09a20b691c5167cef4

Git commit 507740437cec2b42b16748d1e614fa5f35f30c17 by Robert Hooker on 14/08/2015 at 17:15..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/507740437cec2b42b16748d1e614fa5f35f30c17

Git commit 5f1db6841a258379b4e99b97c8ade1f4905c1f23 by Robert Hooker on 14/08/2015 at 17:15..
Bump changelog.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f1db6841a258379b4e99b97c8ade1f4905c1f23

Git commit 50d29efbc67c18a6ece430aa3583c3b2b2b27d1c by Robert Hooker on 14/08/2015 at 17:18..
Drop Fix-headers-inclusion-in-xf86drmMode.c.diff, upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50d29efbc67c18a6ece430aa3583c3b2b2b27d1c

Git commit a22ec5c73c4061f740f27730afac7fcdb4c5570d by Robert Hooker on 14/08/2015 at 17:30..
Add libdrm-amdgpu1 package.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a22ec5c73c4061f740f27730afac7fcdb4c5570d

Git commit d89c15de45d69133ad8b2f5c438c96e54a742155 by Robert Hooker on 14/08/2015 at 17:43..
Update changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d89c15de45d69133ad8b2f5c438c96e54a742155

Git commit f05a74fb9cb07a02c9bade65d66ba6949a2567a2 by Laurent Pinchart (on behalf of Thierry Reding) on 15/08/2015 at 00:06..
tests: modetest: Accept connector names in addition to connector IDs

Allow connector names to be used in the specification of the -s option.
This requires storing the string passed on the command-line so that it
can later be resolved to a connector ID (after the DRM device has been
opened).

Connector names are constructed from the connector type name and
connector type ID using the same format as used internally in the
Linux kernel.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f05a74fb9cb07a02c9bade65d66ba6949a2567a2

Git commit 144187a69df06534c334b3e4f6a2ce8b2b957661 by Timo Aaltonen on 15/08/2015 at 21:54..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/144187a69df06534c334b3e4f6a2ce8b2b957661

Git commit 25784d3af2f37d86fb25ee6cfa4afa6f3448af9b by Michel Dänzer on 17/08/2015 at 09:41..
tests/amdgpu: Include config.h first

Fixes build failure on 32-bit because _FILE_OFFSET_BITS wasn't defined to
64.

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25784d3af2f37d86fb25ee6cfa4afa6f3448af9b

Git commit 2a34176123b1dbf55d129248a431afb185e6a37c by Michel Dänzer on 17/08/2015 at 09:54..
tests/amdgpu: Remove unused local variable 'i'

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a34176123b1dbf55d129248a431afb185e6a37c

Git commit 2fa58ef8f43b41a6d12396ff637f09860665072f by Rob Clark on 17/08/2015 at 14:10..
freedreno/msm: reorg ringbuffer struct

Group the parts related to building out submit ioctl into their own
sub-struct.  Split out from next commit since it is just boring churn.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fa58ef8f43b41a6d12396ff637f09860665072f

Git commit 9e34ee4f75ef559ff3a3c6d4b8f285453eea1f29 by Rob Clark on 17/08/2015 at 14:35..
freedreno/msm: fix issue where same bo is on multiple rings

It should be a less common case, but it is possible for a single bo to
be on multiple rings, for example when sharing a buffer across multiple
pipe_context's created from same pipe_screen.

So rather than completely fall over in this case, fallback to slow-path
of looping over all bo's in the ring's bo-table (but retain the fast-
path of constant-lookup for the first ring the buffer is on).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e34ee4f75ef559ff3a3c6d4b8f285453eea1f29

Git commit 4413f191a051847c53a6150df199d35a106b6cf4 by Rob Clark on 17/08/2015 at 14:35..
freedreno/msm: dump out submit info on error

User should only see these with LIBGL_DEBUG=verbose.  But in case you
are hitting issues like "handle X at index Y already on submit list"
errors from the kernel, this gives some useful visibility for debug.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4413f191a051847c53a6150df199d35a106b6cf4

Git commit 15ba8768f7002d220002d424790ff2e89310c07f by Rob Clark on 17/08/2015 at 18:23..
freedreno: add fd_pipe_wait_timeout()

We need to pass through a timeout parameter to implement
pipe->fence_finish() properly.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15ba8768f7002d220002d424790ff2e89310c07f

Git commit 102ab6f0049c2c85857fd19f098bc5b51e2a8a60 by Alex Deucher (on behalf of Jammy Zhou) on 17/08/2015 at 20:21..
amdgpu: improve amdgpu_vamgr_init

Make it a generic function independent of the device info.

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/102ab6f0049c2c85857fd19f098bc5b51e2a8a60

Git commit ffa305d0fc926418e4dff432381ead8907dc18d9 by Alex Deucher (on behalf of Jammy Zhou) on 17/08/2015 at 20:26..
amdgpu: add flag to support 32bit VA address v4

The AMDGPU_VA_RANGE_32_BIT flag is added to request VA range in the
32bit address space for amdgpu_va_range_alloc.

The 32bit address space is reserved at initialization time, and managed
with a separate VAMGR as part of the global VAMGR. And if no enough VA
space available in range above 4GB, this reserved range can be used as
fallback.

v2: add comment for AMDGPU_VA_RANGE_32_BIT, and add vamgr to va_range
v3: rebase to Emil's drm_private series
v4: fix one warning

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ffa305d0fc926418e4dff432381ead8907dc18d9

Git commit 56d8dd6a9c03680700e0b0043cb56e0af7e3e3de by Alex Deucher (on behalf of Jammy Zhou) on 17/08/2015 at 20:29..
amdgpu: make vamgr per device v2

Each device can have its own vamgr, so make it per device now.
This can fix the failure with multiple GPUs used in one single
process.

v2: rebase

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56d8dd6a9c03680700e0b0043cb56e0af7e3e3de

Git commit d2d361cddd2bdf8f1bf627b9ebe8ca802156f8af by Thierry Reding on 18/08/2015 at 08:48..
libdrm: Remove gratuitous blank lines

Usage of blank lines can be a matter of taste, of course, but for these
we can surely all agree that they're not needed and inconsistent.

Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2d361cddd2bdf8f1bf627b9ebe8ca802156f8af

Git commit 5e5a3c48b83fb3929e57cb4e7261624a327137f3 by Thierry Reding on 18/08/2015 at 08:48..
libdrm: Make indentation consistent

Use tabs and spaces consistently to align function arguments on
subsequent lines with those of the first line.

Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e5a3c48b83fb3929e57cb4e7261624a327137f3

Git commit 04a118d800280c88aed5cb4a5f29fdfb5a38e36b by Rob Clark on 18/08/2015 at 14:53..
freedreno: update freedreno-symbol-check

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04a118d800280c88aed5cb4a5f29fdfb5a38e36b

Git commit ab2fadabde3829b1ec56bd4756165dd9bd281488 by Rob Clark on 18/08/2015 at 15:56..
Bump version for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab2fadabde3829b1ec56bd4756165dd9bd281488

Git commit a4dd553c8840c7b02381e3699f8287c6b6a0c74d by Robert Hooker on 18/08/2015 at 20:04..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4dd553c8840c7b02381e3699f8287c6b6a0c74d

Git commit 564ab8aa8535474c295406154c1626529b518da4 by Robert Hooker on 18/08/2015 at 20:38..
Bump changelog.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/564ab8aa8535474c295406154c1626529b518da4

Git commit 50949b57acc5860b036410683b69a98e12e3fffc by Robert Hooker on 18/08/2015 at 20:40..
Bump symbols and shlibs for freedreno
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50949b57acc5860b036410683b69a98e12e3fffc

Git commit beab4cbefddbc68f4693d5e75c42060ff6568bd4 by Timo Aaltonen on 19/08/2015 at 04:53..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/beab4cbefddbc68f4693d5e75c42060ff6568bd4

Git commit ae7f7b27a10d4ff0967c45984e5bf577cef8b036 by Emil Velikov (on behalf of Mauro Rossi) on 20/08/2015 at 15:56..
amdgpu: add Makefile.sources

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
[Emil Velikov: remove duplicate amdgpu.h from LIBDRM_AMDGPU_FILES]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae7f7b27a10d4ff0967c45984e5bf577cef8b036

Git commit b201abe76b4adfd4defc5c5d7dd4b5f771ebb51c by Emil Velikov (on behalf of Mauro Rossi) on 20/08/2015 at 15:58..
amdgpu: add Android build support

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b201abe76b4adfd4defc5c5d7dd4b5f771ebb51c

Git commit 4bac035c34b8dfd02e8046150fd19843058618b8 by Emil Velikov (on behalf of Hyungwon Hwang) on 20/08/2015 at 16:11..
xf86drmMode: remove the trailing white spaces

This patch removes the trailing white spaces.

Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4bac035c34b8dfd02e8046150fd19843058618b8

Git commit 6e84ada4ccf604c32a008fc20c00d79302135601 by Emil Velikov (on behalf of Hyungwon Hwang) on 20/08/2015 at 16:11..
modetest: remove the trailing white spaces

This patch removes the trailing white spaces.

Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e84ada4ccf604c32a008fc20c00d79302135601

Git commit cf40cf05a4d7f3945d534790e7768a048adc3ab0 by Damien Lespiau (on behalf of Rafał Sapała) on 21/08/2015 at 13:43..
intel: Serialize drmPrimeFDToHandle with struct_mutex

It is possible to hit a race condition in create_from_prime, when trying
to import a BO that's currently being freed. In case of prime sharing
we'll succesfully get a handle, but fail on get_tiling call, potentially
confusing the caller (and requiring different locking scheme than with
sharing using flink). Wrap fd_to_handle with struct_mutex to force
a more consistent behaviour between prime/flink, convert fprintf to DBG
when handling errors.

(From Chris:
  The race is that the kernel returns us the same file-private handle as
  the first thread, but that first thread is about to call gem_close
  (thereby removing the handle from the file completely) and does so
  between us acquiring the handle and taking the mutex. If we take
  the mutex, then we acquire the refcnt on the bo prior to the first
  thread completing its unref (and so preventing the early close). Or we
  acquire the handle after the earlier close, in which case we are the new
  owner.
)

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Testcase: igt/drm_import_export/import-close-race-prime
Signed-off-by: Rafał Sapała <rafal.a.sapala at intel.com>
Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf40cf05a4d7f3945d534790e7768a048adc3ab0

Git commit 857c22e5ecf016bcd15508fec6e6d435bf69b58d by Rob Clark (on behalf of Varad Gautam) on 23/08/2015 at 16:33..
freedreno: fix a bo cache segfault with imported bo's

Importing a bo whose handle is still in the bo cache crashes during cleanup.
Remove bo from cache when importing.

Signed-off-by: Varad Gautam <varadgautam at gmail.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/857c22e5ecf016bcd15508fec6e6d435bf69b58d

Git commit 425c8e5af7e57d473cb94f1931baa427e58ef2f7 by Rob Clark (on behalf of Varad Gautam) on 23/08/2015 at 16:33..
freedreno: fill bo->fd when importing

Signed-off-by: Varad Gautam <varadgautam at gmail.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/425c8e5af7e57d473cb94f1931baa427e58ef2f7

Git commit 1eba47a76365576447d6346868a074dca24de1bf by Rob Clark (on behalf of Varad Gautam) on 23/08/2015 at 16:33..
freedreno: get bo size for imported dma-buf

Signed-off-by: Varad Gautam <varadgautam at gmail.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1eba47a76365576447d6346868a074dca24de1bf

Git commit 5c42b5e36a4a02e579ec5dcdc3a95ce58538224c by Christian König (on behalf of Mathias Tillman) on 24/08/2015 at 09:11..
drm: fix the usage after free

For readdir_r(), the next directory entry is returned in caller-allocted
buffer (pointered by pent here).

https://bugs.freedesktop.org/show_bug.cgi?id=91704

Signed-off-by: Mathias Tillman <master.homer at gmail.com>
Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c42b5e36a4a02e579ec5dcdc3a95ce58538224c

Git commit b556ea127e004b734b2a7bf8e67cdcf56312171d by Emil Velikov on 24/08/2015 at 16:36..
drm: add interface to get drm devices on the system v3

For mutiple GPU support, the devices on the system should be enumerated
to get necessary information about each device, and the drmGetDevices
interface is added for this. Currently only PCI devices are supported for
the enumeration.

Typical usage:
int count;
drmDevicePtr *foo;
count = drmGetDevices(NULL, 0);
foo = calloc(count, sizeof(drmDevicePtr));
count = drmGetDevices(foo, count);
/* find proper device, open correct device node, etc */
drmFreeDevices(foo, count);
free(foo);

v2: [Jammy Zhou]
 - return a list of devices, rather than nodes
v3: [Jammy Zhou]
 - fix the signed extension for PCI device info

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b556ea127e004b734b2a7bf8e67cdcf56312171d

Git commit 51d72a619e8648544053c0c0f56a88eeef601cff by Jérôme Glisse on 24/08/2015 at 17:16..
drm: Add -lm to libdrm ldflags to fix build failure.

Last commit (b556ea127e004b734b2a7bf8e67cdcf56312171d) introduced
use of log2 which require -lm flag for the linker on quite few
distribution. Just add that flag to fix build.

Signed-off-by: Jérôme Glisse <jglisse at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51d72a619e8648544053c0c0f56a88eeef601cff

Git commit 1e66ee21ab143e345865a452e3a60ae9f0652aaf by Emil Velikov on 24/08/2015 at 17:24..
Move -lm link flag to LIBADD

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e66ee21ab143e345865a452e3a60ae9f0652aaf

Git commit f6f25d67a9c0d26be9b8021a45f2acf3a4042ade by Alex Deucher (on behalf of Christian König) on 25/08/2015 at 14:26..
amdgpu: remove sequence mutex

It's not used any more.

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6f25d67a9c0d26be9b8021a45f2acf3a4042ade

Git commit a5ea0c64c5ce673662249557b03c412fcc53e6c1 by Alex Deucher (on behalf of Christian König) on 25/08/2015 at 14:27..
amdgpu: serialize drmPrimeFDToHandle

Fixes the same problem as "intel: Serialize drmPrimeFDToHandle with struct_mutex".

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5ea0c64c5ce673662249557b03c412fcc53e6c1

Git commit 508a5f77fa7b76246465ca620c8badf281218529 by Thierry Reding on 26/08/2015 at 13:15..
omap: Initialize DMA BUF file descriptor to -1

Commit c86dabfc9f04 ("omap: zero is a valid fd number, treat it as
such") corrected checks for valid file descriptors, but the OMAP buffer
object code initializes the DMA-BUF file descriptor to 0 (as a result of
calloc()'ing the structure). Obviously this isn't going to work because
subsequent code will try to use file descriptor 0 (most likely stdin at
that point) as a DMA-BUF. It may also try and close stdin when a buffer
object is destroyed.

Fix this by initializing the DMA-BUF file descriptor to -1, properly
marking it as an invalid file descriptor.

Fixes: c86dabfc9f04 ("omap: zero is a valid fd number, treat it as such")
Reported-by: Robert Nelson <robertcnelson at gmail.com>
Tested-by: Robert Nelson <robertcnelson at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/508a5f77fa7b76246465ca620c8badf281218529

Git commit 18ec34c9a4868f9472a0bfc9471655e20aecb144 by Andreas Boll on 31/08/2015 at 15:45..
Enable libdrm-amdgpu1 on kfreebsd-*.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18ec34c9a4868f9472a0bfc9471655e20aecb144

Git commit cc7db673fabb77cf8bb9a00dcb0864c4b125ab6f by Rob Clark (on behalf of Varad Gautam) on 31/08/2015 at 15:53..
freedreno: use drmPrime wrappers to import/export prime bo's

don't call drmIoctl() directly for prime bo's, use the wrappers instead.

v3: remove struct drm_prime_handle and split locking

Signed-off-by: Varad Gautam <varadgautam at gmail.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc7db673fabb77cf8bb9a00dcb0864c4b125ab6f

Git commit c3301d013444b7b5d02c58307e188e292d8cf18a by Rob Clark (on behalf of Varad Gautam) on 31/08/2015 at 15:54..
freedreno: serialize drmPrimeFDToHandle under table_lock

fixes the prime sharing race condition described by
"intel: Serialize drmPrimeFDToHandle with struct_mutex".

we inline fd_bo_from_handle() into fd_bo_from_dmabuf() and allow locking.

Signed-off-by: Varad Gautam <varadgautam at gmail.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3301d013444b7b5d02c58307e188e292d8cf18a

Git commit 5f55b15983eaa3104aa29de1bd44f718b9e13c99 by Andreas Boll on 02/09/2015 at 10:07..
Fix Vcs-* fields.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f55b15983eaa3104aa29de1bd44f718b9e13c99

Git commit 4796cd63bd8f56c1ce045b26d6c2f40f9bbf7f63 by Andreas Boll on 02/09/2015 at 10:08..
Add upstream url.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4796cd63bd8f56c1ce045b26d6c2f40f9bbf7f63

Git commit ea106f269b4b6b45213210103ed7115ef700b7c9 by Andreas Boll on 02/09/2015 at 12:09..
Use https for Vcs-* fields
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea106f269b4b6b45213210103ed7115ef700b7c9

Git commit f17017b8e29b7fb8bf2c8b195bef5d4b0b4bc044 by Alex Deucher (on behalf of monk.liu) on 02/09/2015 at 13:52..
amdgpu: fix missing deinit on vamgr_32

Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: monk.liu <monk.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f17017b8e29b7fb8bf2c8b195bef5d4b0b4bc044

Git commit 949c325c50d4036fed1cfb34c304d3bd7b54ad28 by Alex Deucher (on behalf of Jonathan Gray) on 02/09/2015 at 14:00..
amdgpu: use EINVAL instead of EBADMSG in amdgpu_bo_cpu_unmap()

EBADMSG is a streams errno.  OpenBSD does not implement streams and does
include the streams errnos, this commit fixes the build on OpenBSD.

None of the callers of this function check the return value for -EBADMSG.

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/949c325c50d4036fed1cfb34c304d3bd7b54ad28

Git commit 7d98a93cec1c9b3b4b790799242fc35dbaf3a9c8 by Rob Clark on 03/09/2015 at 18:56..
freedreno: don't take ownership of the dmabuf fd on import

EGL_EXT_image_dma_buf_import specifies that the importer retains
ownership of the fd, rather then the importee.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d98a93cec1c9b3b4b790799242fc35dbaf3a9c8

Git commit eb7c2d5e63e0e9d133b16880e36c14676276d412 by Rob Clark on 04/09/2015 at 12:40..
drm: make individual drm_server_info fxns optional

For android / drm_gralloc, we want to hook up our own debug_print()
without bothering with the reset of it.

Signed-off-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb7c2d5e63e0e9d133b16880e36c14676276d412

Git commit 51b5ca9457a241e9f005359a99fdff1886fe5e72 by Rob Clark on 04/09/2015 at 15:08..
freedreno: add API to get drm fd from fd_device

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51b5ca9457a241e9f005359a99fdff1886fe5e72

Git commit 687cc66d469c8ab4b8a044c01305653f92008215 by Emil Velikov on 04/09/2015 at 20:36..
vbltest: fix variable shadowing warning

Just remove the second (shadowing) declaration of ret.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/687cc66d469c8ab4b8a044c01305653f92008215

Git commit 99722bfec6f1bbfc5148701f85ac145140d46afb by Emil Velikov on 04/09/2015 at 20:36..
modetest: fix shadowing warnings

No real issue here, but let's fix these so that real issues don't get
lost in the spam.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99722bfec6f1bbfc5148701f85ac145140d46afb

Git commit cf7e32bdf99740ae3249f100b5cb2f0de54a20ef by Emil Velikov on 04/09/2015 at 20:38..
intel: resolve shadowing warnings

v2: keep the bo_gem declaration in exec2() within the loop (Chris)

Cc: intel-gfx at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf7e32bdf99740ae3249f100b5cb2f0de54a20ef

Git commit 94425f627221c0f67503a9aa4dff3502725905b3 by Emil Velikov on 04/09/2015 at 20:38..
intel: error out on has_error in exec2

Just like we do for the original exec()

v2: move bo_gem declaration to the top of the function.

Cc: intel-gfx at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94425f627221c0f67503a9aa4dff3502725905b3

Git commit 0ec7f4423dcb6f80bee020f98fd319b092f90581 by Emil Velikov on 04/09/2015 at 20:39..
intel: introduce to_bo_gem() helper

...to minimise misuse of bo_gem.
If the variable is declared at the top of the function and then used
for two (or more) different contexts this can cause confusion and errors.

Just introduce a wrapper, which can be used in a once off situations.

Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ec7f4423dcb6f80bee020f98fd319b092f90581

Git commit 598294dde8e86c894fbaa3ac97e15f346d76e323 by Emil Velikov on 04/09/2015 at 20:39..
configure: enable -Wshadow when available

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/598294dde8e86c894fbaa3ac97e15f346d76e323

Git commit 6894f2340b9c7c0a695ecb92d547766226c9fdde by Emil Velikov on 04/09/2015 at 20:39..
amdgpu: remove unneeded -Wno-switch-enum flag

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6894f2340b9c7c0a695ecb92d547766226c9fdde

Git commit 04e243262d1d71cc8e0ac42ea96fff72af9f711d by Emil Velikov on 04/09/2015 at 20:39..
modetest: annotate const data as such for good measure

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04e243262d1d71cc8e0ac42ea96fff72af9f711d

Git commit aecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c by Emil Velikov on 04/09/2015 at 20:39..
libkms: use static const for good measure

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c

Git commit ec2b105492cae093cc78003239e9b6816d1a7384 by Emil Velikov on 04/09/2015 at 20:39..
radeon: cleanup bo/cs func tables

Annotate the data as static const and use C99 designated initializers.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec2b105492cae093cc78003239e9b6816d1a7384

Git commit 6a6d668fad9833350deaddc61e917de3dcb38262 by Emil Velikov on 04/09/2015 at 20:39..
freedreno: annotate the device/bo/pipe/ringbuffer funcs as const data

Cc: freedreno at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a6d668fad9833350deaddc61e917de3dcb38262

Git commit 150ebe49ac0db2e0bb4dc194b0a6f0329c18f3fa by Emil Velikov on 04/09/2015 at 20:39..
tests/amdgpu: reference the correct variable for memcpy

Cc: Leo Liu <leo.liu at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/150ebe49ac0db2e0bb4dc194b0a6f0329c18f3fa

Git commit 05185fa054c21e212ca4ab5075c72d62f7ec2108 by Emil Velikov on 04/09/2015 at 20:39..
tests/amdgpu: annotate the uvd message templates as const data

Cc: Leo Liu <leo.liu at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05185fa054c21e212ca4ab5075c72d62f7ec2108

Git commit f7568777365abbdd8079c2b51b2e68d603391816 by Emil Velikov on 04/09/2015 at 20:39..
tests/amdgpu: annotate (most of) the vce templates as const data

The remaining two templates are modified on the fly, depending on the
type of test to be performed.

Cc: Leo Liu <leo.liu at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7568777365abbdd8079c2b51b2e68d603391816

Git commit ae2cf4507c32f0e16fdb41472ac68d72bfb007ac by Emil Velikov on 04/09/2015 at 20:39..
tests/amdgpu: ensure tests work by using c99 initializers

In the latest version of CUnit the fourth parameter of the CU_SuiteInfo
struct is pSetUpFunc rather than *pTests.

Seems like the CUnit ABI broke at some point, so let's the the robust
thing and use c99 designated initializers to correctly populate the
struct(s).

Cc: Leo Liu <leo.liu at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae2cf4507c32f0e16fdb41472ac68d72bfb007ac

Git commit a9e5880b3e93f2fc981c910d16a9eab2ca81c7a0 by Emil Velikov on 04/09/2015 at 20:39..
nouveau: use designated initializers

Cc: nouveau at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9e5880b3e93f2fc981c910d16a9eab2ca81c7a0

Git commit 23667f566a5622490237d753cc514d4f95cf10ff by Emil Velikov on 04/09/2015 at 20:39..
intel: ignore missing-field-initializers warnings

We're about to remove the -Wno flag from configure.ac which will lead
to a lot of unnecessary spam.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23667f566a5622490237d753cc514d4f95cf10ff

Git commit 7faedc9efcff12e7620f3a679cff33b1f818b539 by Emil Velikov on 04/09/2015 at 20:39..
configure: remove -Wno-missing-field-initializers

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7faedc9efcff12e7620f3a679cff33b1f818b539

Git commit a814152187ab4130544319c0d9b7eb4f16791cf4 by Emil Velikov (on behalf of Michel Dänzer) on 09/09/2015 at 15:03..
tests: Add -lm to LDADD for dristat

Fixes build failure due to unresolved log2.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a814152187ab4130544319c0d9b7eb4f16791cf4

Git commit 8983fe5497e89a3ffaba3ad1ee06a30a1c7e6daf by Rob Clark (on behalf of Tvrtko Ursulin) on 09/09/2015 at 15:15..
libdrm: Add framebuffer modifiers uapi

Sync up with new kernel features as per commits:

e3eb3250d84ef97b766312345774367b6a310db8
93b81f5102a7cd270a305c2741b17c8d44bb0629
b5ff6e1637b683d5996ae11ac29afe406c0bee90
8c4f83fb1e8bf317e894f62d17a63c32b7a6b75e
570655b09b065d2fff1b8ab9bdb8308f4c5a05a3

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: dri-devel at lists.freedesktop.org
Cc: Rob Clark <robdclark at gmail.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8983fe5497e89a3ffaba3ad1ee06a30a1c7e6daf

Git commit 94ecdcb8b11dd3eb6b047ad72030d775014aadee by Alan Coopersmith on 12/09/2015 at 16:41..
Include <alloca.h> when needed before calling alloca

Fixes "error: implicit declaration of function 'alloca'" failures
when building on Solaris

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94ecdcb8b11dd3eb6b047ad72030d775014aadee

Git commit c3496167637e35cf8a52d5e7e53a412e79d80db0 by Rob Clark on 16/09/2015 at 13:03..
Bump version for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3496167637e35cf8a52d5e7e53a412e79d80db0

Git commit 691d14c9a85acd806f83664fd58bd87bd32683eb by Rob Clark on 19/09/2015 at 16:11..
freedreno: don't reuse exported buffers

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/691d14c9a85acd806f83664fd58bd87bd32683eb

Git commit 76a1e97eae3948827ccc100c593d1e96d7a8ce74 by Rob Clark on 19/09/2015 at 16:12..
freedreno: drop exported dmabuf fd tracking

There is really no reason to keep around the fd, it just consumes an
extra file handle.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76a1e97eae3948827ccc100c593d1e96d7a8ce74

Git commit 14968e4cf63d16f5beaea5eb8edba7578bb90501 by Rob Clark on 19/09/2015 at 16:12..
freedreno: debug msg cleanup

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14968e4cf63d16f5beaea5eb8edba7578bb90501

Git commit 00808a99d05929f675bb4ab680a1ffc6d0868ba4 by Emil Velikov on 21/09/2015 at 16:32..
automake: set --enable-valgrind during make distcheck

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00808a99d05929f675bb4ab680a1ffc6d0868ba4

Git commit ed3c665548c2c0400a7e9e91cb9324c9e1f29375 by Emil Velikov on 21/09/2015 at 16:32..
xf86drmMode: smoke-test the atomic API

As going through the modetest patches for atomic support I've noticed
that if we pass NULL for the drmModeAtomicReqPtr argument we'll crash.

So let's handle things appropriately if the user forgot to check the
return value of drmModeAtomicAlloc and drmModeAtomicDuplicate or made a
typo somewhere along the way.

Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Rob Clark <robclark at freedesktop.org>
Cc: Daniel Stone <daniels at collabora.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed3c665548c2c0400a7e9e91cb9324c9e1f29375

Git commit f098d1c130f369f059a53cda5c38b3d4ea06a0b7 by Emil Velikov on 21/09/2015 at 16:42..
tests/drmdevice: add new 'test'

A simple example of how to use/what is the new drm{Get,Free}Devices()
interface.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f098d1c130f369f059a53cda5c38b3d4ea06a0b7

Git commit 536e0deba3829e194aafda6d9a1d9e938ba8277a by Emil Velikov on 21/09/2015 at 16:42..
xf86drm: flex platform specifics into drmParsePciBusInfo

This will allow one to reuse the core drmGetDevices implementation on
other platforms. Keeping all the platform specifics in ParseFoo.

On the plus side this saves a bit of code :)

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/536e0deba3829e194aafda6d9a1d9e938ba8277a

Git commit ef5192e9c7897c82da815a2c893b2e2562997a3a by Emil Velikov on 21/09/2015 at 16:42..
xf86drm: move platform details to drmParsePciDeviceInfo()

As with previous commit let's try to keep drmGetDevices clean of linux
specifics.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef5192e9c7897c82da815a2c893b2e2562997a3a

Git commit a250fceaaa150363accaf3fb71a0e42bcecc40da by Emil Velikov on 21/09/2015 at 16:42..
xf86drm: move the final linux specific bits out of drmGetDevices

Third and final piece of making drmGetDevices less crazy/ugly.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a250fceaaa150363accaf3fb71a0e42bcecc40da

Git commit bc2aca9e22bf2cc82874f3e44568c684eec9c5e1 by Emil Velikov on 21/09/2015 at 16:42..
xf86drm: rename drmSameDevice to drmCompareBusInfo

Move away form the boolean name, change the return value
appropriately and check if either argument is NULL.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc2aca9e22bf2cc82874f3e44568c684eec9c5e1

Git commit 6c88173f7ecc2470341ca96e91b6ccb0a5efbef6 by Emil Velikov on 21/09/2015 at 16:42..
util_math: add MAX3 macro

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c88173f7ecc2470341ca96e91b6ccb0a5efbef6

Git commit 5f68d31820315ebda9b49e8bd50d1ab605efd7fa by Emil Velikov on 21/09/2015 at 16:42..
xf86drm: rework drmGetDevices()

Do a once off memory allocation for each drmDevice.

This allows us to ease the error handling and simplify the
de-duplication loop. As part of this we need to rework drmFreeDevice()
such so that it frees the relevant hunks, rather than leaving that to
the caller.

Some memory stats from the drmdevice test

before: 22 allocs, 22 frees, 66,922 bytes allocated
after:   9 allocs, 9 frees, 66,436 bytes allocated

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f68d31820315ebda9b49e8bd50d1ab605efd7fa

Git commit 291b2bb92c5fc90101417b80bbdc6c994be5fff2 by Emil Velikov on 21/09/2015 at 16:42..
xf86drm: move ifdef __linux__ guards where needed

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/291b2bb92c5fc90101417b80bbdc6c994be5fff2

Git commit 8415a00a3f2f5cb4827b58b86e974900d3892d29 by Emil Velikov on 21/09/2015 at 16:43..
xf86drm: warn on missing drmGetMinorNameForFD implementation

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8415a00a3f2f5cb4827b58b86e974900d3892d29

Git commit fae59d7234caf4827bf5ca74c1b706cbfb70a460 by Emil Velikov on 21/09/2015 at 16:43..
xf86drm: split out drmProcessPciDevice and drmFoldDuplicatedDevices

Will be reused in the next commit.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fae59d7234caf4827bf5ca74c1b706cbfb70a460

Git commit ccedf66b65f6ab245aa6028d7fe9eb603a121b43 by Emil Velikov on 21/09/2015 at 16:43..
xf86drm: add drm{Get,Free}Device

Similar interface to the *Devices() ones but they obtain/free the
information of the opened device (as given by its fd).

Note there is a fair bit of duplication between the two Get functions,
and anyone interested is more than welcome to consolidate it.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ccedf66b65f6ab245aa6028d7fe9eb603a121b43

Git commit 8990ed319993c5d1a354adef41c19acc662c81e8 by Emil Velikov on 21/09/2015 at 16:43..
tests/drmdevice: add drm{Get,Free}Device() example

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8990ed319993c5d1a354adef41c19acc662c81e8

Git commit cec65e2fcc8ddd3a2a094d446d49d7a7f52ff55d by Emil Velikov on 21/09/2015 at 16:43..
Fix SunOS/NetBSD atomic macro

Reported-by: Evgeny Litvinenko <evgeny.v.litvinenko at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cec65e2fcc8ddd3a2a094d446d49d7a7f52ff55d

Git commit a8dc2e75cfb2acecae7cb7aeefa20b9c92abd297 by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: fix empty buffer handling in g2d_flush()

Empty command buffers are no error, we just don't have
anything to do for flushing then.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8dc2e75cfb2acecae7cb7aeefa20b9c92abd297

Git commit 9017619714eb432fa9bb1e94139cc2ad40fc7001 by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: simplify base address submission in g2d_scale_and_blend()

Use g2d_add_base_addr() for source and destination base
address just like all other calls.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9017619714eb432fa9bb1e94139cc2ad40fc7001

Git commit 2362c88251d4bba0bb76d2a25f233004c6f99134 by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: add g2d_check_space()

This is going to be used to check if the command buffers have
enough space left prior to actual submission of the commands.

Use this in g2d_{solid_fill,copy,copy_with_scale}().

For this the parameter validation before buffer space
checking so that we can exit early if it fails.
Also don't reset the G2D context in this situation since
the buffers are not partially submitted anymore.

The repeat mode in g2d_copy_with_scale() is checked first
to make computation of space easier.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2362c88251d4bba0bb76d2a25f233004c6f99134

Git commit e3c97d1a2473cd06a964599d10465f1e6a4d9015 by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: add g2d_validate_xyz() functions

The G2D headers define a number of modes through enums
(like e.g. color, select, repeat, etc.).

This introduces g2d_validate_select_mode() and
g2d_validate_blending_op() which validate a
select mode or blending operation respectively.

Use this together with g2d_check_space() in
g2d_{blend,scale_and_blend}().

For this we move parameter validation to the top and
also validate the select mode of the source image and
the requested blending operation before starting
command submission.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3c97d1a2473cd06a964599d10465f1e6a4d9015

Git commit 76d1c6b15725f1e7de3c60b0398639e06bf295be by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: remove default case from g2d_get_blend_op()

We now validate the blending mode via g2d_validate_mode()
prior to feeding it to g2d_get_blend_op().

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76d1c6b15725f1e7de3c60b0398639e06bf295be

Git commit 6a4479da71e93ef5141d9c493c235c2beb64170a by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: remove superfluous initialization of g2d_point_val

The g2d_point_val union consists of two coordinates of 16
bits. Whenever this union is used though, both coordinates
are explicitly set. Hence prior initialization is unnecessary.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a4479da71e93ef5141d9c493c235c2beb64170a

Git commit bf666b5e999236ec6406afd60ca35a465c6b3262 by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: make g2d_add_cmd() less heavy

The function currently checks for each added command
if an overflow of the corresponding command buffers
occurs, but none of the callers ever checks the
return value.

Since all callers are now converted to use
g2d_check_space() simplify the function.

(1) The overflow checks become asserts, so they're only
    active for debug builds. This is fine since
    g2d_add_cmd() is not part of the public API.

(2) Switch the return value to void.

(3) Explicitly state that the caller has to check
    buffer space before calling g2d_add_cmd().

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf666b5e999236ec6406afd60ca35a465c6b3262

Git commit ce4a4f6e21d4112f0b88c973283b586e1fccddd9 by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: add message prefix

Add a prefix to the messages printed to the console via
printf() and fprintf() so that one can easily see where
the message comes from.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce4a4f6e21d4112f0b88c973283b586e1fccddd9

Git commit df21b293e9cf550ec8d6a3e49461350dbdf14260 by Emil Velikov (on behalf of Tobias Jakobi) on 21/09/2015 at 16:43..
exynos/fimg2d: remove g2d_context from public header

All functions from the public API only operation on
struct g2d_context*, so this shouldn't break too much.

Make the context private since we don't want the
user to modify its content directly. Also remove
the defines that were only used for fields of
g2d_context.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df21b293e9cf550ec8d6a3e49461350dbdf14260

Git commit f3c6740f0c27d98d16340396f1a15e10384f9284 by Emil Velikov on 21/09/2015 at 16:59..
xf86drm: remove makedev() hack/workaround

Back when this was introduced commit 569da5a42eb(Merged glxmisc-3-0-0)
sys/sysmacros.h was used instead of the respecive headers (as per the
manual).

We've been handling it correctly for a little while now - in Linux, BSD
and Solaris. Thus we can drop this workaround.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3c6740f0c27d98d16340396f1a15e10384f9284

Git commit 4031dc17bb728850c9b079c8d5f9cc0a379b9d46 by Emil Velikov (on behalf of Felix Janda) on 28/09/2015 at 16:59..
xf86drm: include <limits.h> for PATH_MAX

fixes compilation error with musl libc and Solaris based platforms.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92082
Signed-off-by: Felix Janda <felix.janda at posteo.de>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4031dc17bb728850c9b079c8d5f9cc0a379b9d46

Git commit 8c4a1cbd98bd8d185d489395f33302a17db643a9 by Emil Velikov (on behalf of Matt Roper) on 02/10/2015 at 12:17..
xf86drm: Fix error handling for drmGetDevices()

If the opendir() call in drmGetDevices() returns failure, we jump to an
error label that calls closedir() and then returns.  However this means
that we're calling closedir(NULL) which may not be safe on all
implementations.  We are also leaking the local_devices array that was
allocated before the opendir() call.

Fix both of these issues by jumping to an earlier error label (to free
local_devices) and guarding the closedir() call with a NULL test.

Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
[Emil Velikov: make the teardown symmetrical, remove the NULL check]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c4a1cbd98bd8d185d489395f33302a17db643a9

Git commit 741a68072345eaf0230d3112de2da547d1021850 by Andreas Boll on 08/10/2015 at 09:53..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/741a68072345eaf0230d3112de2da547d1021850

Git commit a592fc2c2359a2bc8d0d013bc0dcec465df7d429 by Andreas Boll on 08/10/2015 at 09:55..
Bump changelog.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a592fc2c2359a2bc8d0d013bc0dcec465df7d429

Git commit dbde17499edfaa528c0dd02b9ef0d3cc96ca19e1 by Andreas Boll on 08/10/2015 at 09:57..
Update debian/upstream/signing-key.asc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbde17499edfaa528c0dd02b9ef0d3cc96ca19e1

Git commit b874d9877871d075425450cb9be219f940f476ea by Andreas Boll on 08/10/2015 at 12:24..
Update symbols file and bump shlibs for libdrm2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b874d9877871d075425450cb9be219f940f476ea

Git commit 3045523de214fb7df92ee3c8482e883637504bbe by Michel Dänzer on 14/10/2015 at 03:48..
Fix void pointer arithmetic in drmProcessPciDevice

Arithmetic on void pointers is a GCC extension.

  CC       libdrm_la-xf86drm.lo
../xf86drm.c: In function 'drmProcessPciDevice':
../xf86drm.c:3017:10: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
     addr += sizeof(drmDevice);
          ^
../xf86drm.c:3020:10: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
     addr += DRM_NODE_MAX * sizeof(void *);
          ^
../xf86drm.c:3023:14: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
         addr += max_node_str;
              ^
../xf86drm.c:3035:14: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
         addr += sizeof(drmPciBusInfo);
              ^

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3045523de214fb7df92ee3c8482e883637504bbe

Git commit cf0f036e3d819fb7894562bfdfea95e5e5f57219 by Emil Velikov (on behalf of Matt Roper) on 20/10/2015 at 17:44..
xf86drm: Fix error handling for drmGetDevice()

Some of the error conditions in drmGetDevice() can lead to us calling
closedir(NULL) or leaking memory.  Fix these conditions the same way we
did for drmGetDevices() in commit:

        commit 8c4a1cbd98bd8d185d489395f33302a17db643a9
        Author: Matt Roper <matthew.d.roper at intel.com>
        Date:   Wed Sep 30 09:30:51 2015 -0700

            xf86drm: Fix error handling for drmGetDevices()

Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf0f036e3d819fb7894562bfdfea95e5e5f57219

Git commit ba5a6ecf81fc2e25a4c7b8c592143faadfdd63db by Emil Velikov (on behalf of Matt Roper) on 20/10/2015 at 17:45..
xf86drm: Handle unrecognized subsystems safely in drmGetDevice[s]()

Both drmGetDevice() and drmGetDevices() currently print a warning when
they encounter an unknown (non-PCI) subsystem type for a device node,
but they still proceed to assume that the drmDevicePtr was initialized
and try to add it to the local device array.  Add a 'continue' to the
error case handling to bypass the rest of the processing for devices we
can't handle.

Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba5a6ecf81fc2e25a4c7b8c592143faadfdd63db

Git commit c745e541a9d8dfd3fb5e1ac57297e58d34d9328f by Dave Airlie on 20/10/2015 at 23:21..
drm: add virtgpu_drm.h

This is in drm-next now, so add to libdrm.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c745e541a9d8dfd3fb5e1ac57297e58d34d9328f

Git commit 988f31ecc29770a2648bf5c7d7779f1e500c196c by Alex Deucher (on behalf of Tom St Denis) on 22/10/2015 at 16:35..
amdgpu: Unlock mutex if base_required is invalid

In the function amdgpu_vamgr_find_va() the function would return
without unlocking the mutex if the base_required offset was below
the va managers base offset.

Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/988f31ecc29770a2648bf5c7d7779f1e500c196c

Git commit 1a6a8f34a0b17ac03f42bac416e5d289f9c3248f by Alex Deucher (on behalf of Tom St Denis) on 22/10/2015 at 16:36..
amdgpu:  Fix use-after-free bug in vamgr_deinit

This patch fixes a use-after-free bug in the vamgr_deinit function.

Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a6a8f34a0b17ac03f42bac416e5d289f9c3248f

Git commit b176372af4c773de188fae67e334e2a83c5706e3 by Alex Deucher (on behalf of Tom St Denis) on 22/10/2015 at 16:36..
amdgpu: Cleanly handle ENOMEM on result in amdgpu_bo_list_create()

Move the allocation of result prior to the IOCTL so we can cleanly
backtrack if the allocation fails.

Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b176372af4c773de188fae67e334e2a83c5706e3

Git commit 6cafc359ad8df4c809d4a4761ea036bcc2300b49 by Timo Aaltonen on 26/10/2015 at 08:29..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6cafc359ad8df4c809d4a4761ea036bcc2300b49

Git commit 5f57d05b2cee163cd7a229d6107033bb74c3b82f by Andreas Boll on 26/10/2015 at 11:45..
Update libdrm-freedreno1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f57d05b2cee163cd7a229d6107033bb74c3b82f

Git commit 655a5b2d6f9d04e99328dd0cb6cc1c657414fb50 by Andreas Boll on 26/10/2015 at 11:53..
Drop Debian revision from new symbols in libdrm2.symbols.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/655a5b2d6f9d04e99328dd0cb6cc1c657414fb50

Git commit b5b6e5c7b0887f6dd57d29d7e01b8525b7f0477a by Timo Aaltonen on 26/10/2015 at 19:40..
Enable freedreno build on arm64 architecture.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5b6e5c7b0887f6dd57d29d7e01b8525b7f0477a

Git commit 5308e42d1999ca890a0759785320c6b1672391e7 by Timo Aaltonen on 26/10/2015 at 19:51..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5308e42d1999ca890a0759785320c6b1672391e7

Git commit 2fe5d5bb3461b7e35cb95be39a5b91f443216390 by Timo Aaltonen on 26/10/2015 at 21:15..
rules: Bump freedreno shlib back to 2.4.65.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fe5d5bb3461b7e35cb95be39a5b91f443216390

Git commit 5d762e308bd00701efe45bdfcb22266e8f21c699 by Timo Aaltonen on 26/10/2015 at 21:26..
release to unstable..
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d762e308bd00701efe45bdfcb22266e8f21c699

Git commit cad0e03f5a616fabc276f5195353bff1f8a31669 by Ben Widawsky on 03/11/2015 at 19:19..
intel: Add SKL GT4 PCI IDs

Cc: Kristian Høgsberg <krh at bitplanet.net>
Cc: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cad0e03f5a616fabc276f5195353bff1f8a31669

Git commit 4309bfd9f83dea3864b21311e5b7ad13c70befc4 by Ben Widawsky on 03/11/2015 at 19:19..
intel: Cleanup SKL PCI ID definitions.

This removes ones which aren't used, and adds some new ones. I kept the original
names where possible.

Cc: Kristian Høgsberg <krh at bitplanet.net>
Cc: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4309bfd9f83dea3864b21311e5b7ad13c70befc4

Git commit ce3185d3455c7711bffa3762ad32adee2537b773 by Rob Clark (on behalf of Tvrtko Ursulin) on 05/11/2015 at 21:11..
libdrm: Use userspace compatible type in fourcc_mod_code macro

__u64 should be used instead of u64.

Kernel headers originally pulled in:

commit 8983fe5497e89a3ffaba3ad1ee06a30a1c7e6daf
Author: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Date:   Mon Aug 3 10:48:03 2015 +0100

    libdrm: Add framebuffer modifiers uapi

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: dri-devel at lists.freedesktop.org
Cc: Rob Clark <robdclark at gmail.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce3185d3455c7711bffa3762ad32adee2537b773

Git commit c3deddd9c2bf54fa6bec3dbd9ec7eae5fa22e220 by Michel Dänzer on 10/11/2015 at 09:06..
radeon: Handle surface offsets exceeding 32 bits correctly

The slice_size and bo_size fields were getting truncated to 32 bits.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3deddd9c2bf54fa6bec3dbd9ec7eae5fa22e220

Git commit f4b83bff60838f677e8c3c448bcd969810346e35 by Emil Velikov (on behalf of Jonathan Gray) on 16/11/2015 at 13:45..
configure.ac: rework compiler builtin atomic tests

The libdrm autoconf test for atomics uses __sync_val_compare_and_swap with
the address of a function argument which triggers a gcc ICE on sparc64
with the OpenBSD system compiler.

Mark Kettenis pointed out that while other architectures probably spill the
argument onto the stack this is likely not the case on register window
architectures like SPARC and suggested passing a pointer as an argument
instead which avoids the ICE and allows the drm libraries requiring
atomics to build on sparc64 with the autoconf build.

Reported-by: Christian Weisgerber <naddy at openbsd.org>
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Mark Kettenis <kettenis at openbsd.org>
Reviewed-by: Matthieu Herrb <matthieu at openbsd.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4b83bff60838f677e8c3c448bcd969810346e35

Git commit 8913cd95b2f815687f356574fde35179d292cbd1 by Emil Velikov on 16/11/2015 at 13:52..
configure.ac: test for the same atomic function as the one we use

Unlikely that we'll hit a case where __sync_fetch_and_add is present
while __sync_add_and_fetch isn't. Regardless let's keep things sane and
consistent.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8913cd95b2f815687f356574fde35179d292cbd1

Git commit 9c15b4aacdd9265339aba6febd36a7e2c41b6968 by Alex Deucher (on behalf of Jammy Zhou) on 21/11/2015 at 00:21..
amdgpu: fix overflow for timeout calculation

Set the timeout to AMDGPU_TIMEOUT_INFINITE when overflow happens

Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c15b4aacdd9265339aba6febd36a7e2c41b6968

Git commit c05049b4205e446a2e319ab620a5ca949c7a7380 by Alex Deucher (on behalf of Tom St Denis) on 21/11/2015 at 00:21..
amdgpu:  Make amdgpu_cs_calculate_timeout() return something sensible on error

Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c05049b4205e446a2e319ab620a5ca949c7a7380

Git commit 42f2f92059dca568e896aee93126b8bef2a332a1 by Emil Velikov (on behalf of Chih-Wei Huang) on 01/12/2015 at 16:48..
intel: add the missing <strings.h> include

It defines the prototype of ffs that fixes the building error
on Android 6.0 64-bit image.

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42f2f92059dca568e896aee93126b8bef2a332a1

Git commit 7d74a83d22e694b2cd71e40992fd5a970d227e32 by Kristian Høgsberg Kristensen on 14/12/2015 at 19:30..
intel: Update i915_drm.h

Copy from drm-intel-nightly a307a3a81c2bf2883457e03abcf5c9520cf452c1.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d74a83d22e694b2cd71e40992fd5a970d227e32

Git commit 3350add5cc166b5d0e829377747bf6a94a4b0c09 by Kristian Høgsberg Kristensen (on behalf of Michel Thierry) on 14/12/2015 at 19:31..
intel: 48b ppgtt support (EXEC_OBJECT_SUPPORTS_48B_ADDRESS flag)

Gen8+ supports 48-bit virtual addresses, but some objects must always be
allocated inside the 32-bit address range.

In specific, any resource used with flat/heapless (0x00000000-0xfffff000)
General State Heap (GSH) or Instruction State Heap (ISH) must be in a
32-bit range, because the General State Offset and Instruction State Offset
are limited to 32-bits.

The i915 driver has been modified to provide a flag to set when the 4GB
limit is not necessary in a given bo (EXEC_OBJECT_SUPPORTS_48B_ADDRESS).
48-bit range will only be used when explicitly requested.

Callers to the existing drm_intel_bo_emit_reloc function should set the
use_48b_address_range flag beforehand, in order to use full ppgtt range.

v2: Make set/clear functions nops on pre-gen8 platforms, and use them
    internally in emit_reloc functions (Ben)
    s/48BADDRESS/48B_ADDRESS/ (Dave)
v3: Keep set/clear functions internal, no-one needs to use them directly.
v4: Don't set 48bit-support flag in emit reloc, check for ppgtt type
    before enabling set/clear function, print full offsets in debug
    statements, using port of lower_32_bits and upper_32_bits from linux
    kernel (Michał)

References: http://lists.freedesktop.org/archives/intel-gfx/2015-July/072612.html
Cc: Ben Widawsky <ben at bwidawsk.net>
Cc: Michał Winiarski <michal.winiarski at intel.com>
Signed-off-by: Michel Thierry <michel.thierry at intel.com>
Reviewed-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3350add5cc166b5d0e829377747bf6a94a4b0c09

Git commit 5453f89b70dc4305f8525d5053b2704db2e0e1e7 by Kristian Høgsberg Kristensen (on behalf of Michel Thierry) on 14/12/2015 at 19:31..
intel: add drm_intel_bo_use_48b_address_range to symbol-check test

Signed-off-by: Michel Thierry <michel.thierry at intel.com>
Reviewed-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5453f89b70dc4305f8525d5053b2704db2e0e1e7

Git commit 8b4d57e7b75cb0bd01d11ad7f597909034a316aa by Kristian Høgsberg Kristensen (on behalf of Michał Winiarski) on 14/12/2015 at 19:31..
intel: Add support for softpin

Softpin allows userspace to take greater control of GPU virtual address
space and eliminates the need of relocations. It can also be used to
mirror addresses between GPU and CPU (shared virtual memory).
Calls to drm_intel_bo_emit_reloc are still required to build the list of
drm_i915_gem_exec_objects at exec time, but no entries in relocs are
created. Self-relocs don't make any sense for softpinned objects and can
indicate a programming errors, thus are forbidden. Softpinned objects
are marked by asterisk in debug dumps.

Cc: Thomas Daniel <thomas.daniel at intel.com>
Cc: Kristian Høgsberg <krh at bitplanet.net>
Cc: Zou Nanhai <nanhai.zou at intel.com>
Cc: Michel Thierry <michel.thierry at intel.com>
Cc: Ben Widawsky <ben at bwidawsk.net>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8b4d57e7b75cb0bd01d11ad7f597909034a316aa

Git commit 3b7d97102027db191c0fc81c3265f7916a6112fc by Kristian Høgsberg Kristensen on 14/12/2015 at 19:39..
Add tests/drmdevice to .gitignore

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b7d97102027db191c0fc81c3265f7916a6112fc

Git commit d6ffb997263402eebdcb029e061ae0221925f643 by Kristian Høgsberg Kristensen on 14/12/2015 at 19:39..
intel: Add drm_intel_bo_set_softpin_offset to intel-symbol-check

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6ffb997263402eebdcb029e061ae0221925f643

Git commit 2191ed904f9301d25d16c8b462ab029a81810601 by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
exynos: Introduce exynos_handle_event()

Used to handle kernel events specific to the Exynos platform.
Currently only G2D events are handled.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2191ed904f9301d25d16c8b462ab029a81810601

Git commit 2e4b9f08c74fa591a0fd1655c0caa5f41eb9a5b6 by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
tests/exynos: add fimg2d performance analysis

Currently only fast solid color clear performance is measured.
A large buffer is allocated and solid color clear operations
are executed on it with randomly chosen properties (position
and size of the region, clear color). Execution time is
measured and output together with the amount of pixels
processed.

The 'simple' variant only executes one G2D command buffer at
a time, while the 'multi' variant executes multiple ones. This
can be used to measure setup/exec overhead.

The test also serves a stability check. If clocks/voltages are
too high or low respectively, the test quickly reveals this.

Tested-by: Hyungwon Hwang <human.hwang at samsung.com>
Reviewed-by: Hyungwon Hwang <human.hwang at samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e4b9f08c74fa591a0fd1655c0caa5f41eb9a5b6

Git commit 60df3581961ef7f1003459f696e5954b5df30aeb by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
exynos/fimg2d: add g2d_config_event

This enables us to pass command buffers to the kernel which
trigger an event on the DRM fd upon completion.
The final goal is to enable asynchronous operation of the
G2D engine, similar to async page flips.

Passing the event userdata pointer through the G2D context
was chosen to not change the current API (e.g. by adding
a userdata argument to each public functions).

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60df3581961ef7f1003459f696e5954b5df30aeb

Git commit 58a39f6ba113073432dc0cd0ae702aba332c81b7 by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
tests/exynos: add fimg2d event test

This tests async processing of G2D jobs. A separate thread is spawned
to monitor the DRM fd for events and check whether a G2D job was
completed.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58a39f6ba113073432dc0cd0ae702aba332c81b7

Git commit 1b32e5da44f4c1e24a60c6bad1fa8766cf36be39 by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
tests/exynos: use XRGB8888 for framebuffer

This matches the G2D color mode that is used in the entire code.
The previous (incorrect) RGBA8888 would only work since the
Exynos mixer did its configuration based on the bpp, and not
based on the actual pixelformat.

Reviewed-by: Hyungwon Hwang <human.hwang at samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b32e5da44f4c1e24a60c6bad1fa8766cf36be39

Git commit 51fd93bc38a33df33f7bf6cbf1ae3fbf74a47dba by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
exynos: fimg2d: add g2d_set_direction

This allows setting the two direction registers, which specify how
the engine blits pixels. This can be used for overlapping blits,
which happen e.g. when 'moving' a rectangular region inside a
fixed buffer.

Reviewed-by: Hyungwon Hwang <human.hwang at samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51fd93bc38a33df33f7bf6cbf1ae3fbf74a47dba

Git commit 676462c43e97896caa891b1e0aeb27d5d4f13637 by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
exynos/fimg2d: add g2d_move

We already have g2d_copy() which implements G2D copy
operations from one buffer to another. However we can't
do a overlapping copy operation in one buffer.

Add g2d_move() which acts like the standard memmove()
and properly handles overlapping copies.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/676462c43e97896caa891b1e0aeb27d5d4f13637

Git commit 6689e4ee14f2dd0f04db9b5b816a252dfeb01ca5 by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
tests/exynos: add test for g2d_move

To check if g2d_move() works properly we create a small checkerboard
pattern in the center of the screen and then shift this pattern
around with g2d_move(). The pattern should be properly preserved
by the operation (but not the surrounding area).

Tested-by: Hyungwon Hwang <human.hwang at samsung.com>
Reviewed-by: Hyungwon Hwang <human.hwang at samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
[Emil Velikov: add g2d_move to the symbol check]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6689e4ee14f2dd0f04db9b5b816a252dfeb01ca5

Git commit 15d90ef3504128a276923db840af1410ca255647 by Emil Velikov (on behalf of Tobias Jakobi) on 18/12/2015 at 17:42..
exynos: bump version number

The Exynos API was extended quite a bit, so reflect this in the
version number.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/15d90ef3504128a276923db840af1410ca255647

Git commit 1ec3c44bdd38051d870f64d0b2cc7dbd59760386 by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:43..
tests: Split helpers into library

Some of the helpers, such as the pattern drawing helpers or the format
lookup helpers, have potential to be reused. Move them into a separate
library to make it easier to share them.

Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ec3c44bdd38051d870f64d0b2cc7dbd59760386

Git commit 4664d657ead5ff176c92e8ac54e09ead2e6d94ca by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
tests: Move name tables to libutil

These tables are duplicated in several places, so move them into libutil
so that they can be shared.

Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4664d657ead5ff176c92e8ac54e09ead2e6d94ca

Git commit ca6c5f8c81e762b25c7b999fa5fd9d17fd67e4dc by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
proptest: Add Android support

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca6c5f8c81e762b25c7b999fa5fd9d17fd67e4dc

Git commit c13c504ed2778fe5410d4883a7025abd75d0a6a1 by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
tests: Add libkms-test library

This library contains abstractions for KMS that help remove the need for
a lot of boilerplate in KMS test programs.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c13c504ed2778fe5410d4883a7025abd75d0a6a1

Git commit e0ec59efb12eb4e5a548f29df620c3c5e1cd6e4f by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
tests: kms: Implement CRTC stealing test

This test program sets a mode and framebuffer on a connector and cycles
through all CRTCs, moving the connector to each of them in turn. This is
useful to verify that CRTC stealing is properly handled in the DRM core
and drivers.

Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0ec59efb12eb4e5a548f29df620c3c5e1cd6e4f

Git commit 89cca28dfbc0c96c13b1dfa3bc3c947876469159 by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
tests: kms: Implement universal planes test

This small program allows universal planes to be tested. Currently this
isn't very flexible because it allows only the first plane of a given
type to be tested on the first CRTC. However it should be simple to
extend this with some additional command-line arguments.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89cca28dfbc0c96c13b1dfa3bc3c947876469159

Git commit e744b02375e939e853b4c83979f170bfc89e482c by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
tests: Add helper to open a device/module

The new function util_open() encapsulates the standard method employed
by tests to open a device or module. There is a verbatim copy of this in
almost all test programs, with slight variations in the list of modules.
Moving this code into a common helper allows code reuse and makes tests
more consistent.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e744b02375e939e853b4c83979f170bfc89e482c

Git commit c26266fcd082a8b67d1f32f5e5351cfa82c7accb by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
modetest: Use util_open()

Use the new util_open() helper instead of open-coding the method for
finding a usable device.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c26266fcd082a8b67d1f32f5e5351cfa82c7accb

Git commit 6223481b8de901b5356afdef538726f1fb77bfd1 by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
proptest: Use util_open()

Use the new util_open() helper instead of open-coding the method for
finding a usable device. While at it, make the command-line interface
more consistent with that of modetest by adding the -D and -M options.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6223481b8de901b5356afdef538726f1fb77bfd1

Git commit b020b02f841af6c04d97d484db0ecf1149b93abf by Emil Velikov (on behalf of Thierry Reding) on 18/12/2015 at 17:44..
vbltest: Use util_open()

Use the new util_open() helper instead of open-coding the method for
finding a usable device. While at it, this adds -D and -M command-line
options to vbltest to make its usage more consistent with its siblings
modetest and proptest.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b020b02f841af6c04d97d484db0ecf1149b93abf

Git commit 0cfb6a39864c3ebc7802107a8e4ddac67195d4cd by Emil Velikov (on behalf of Stefan Agner) on 18/12/2015 at 17:44..
tests: remove missleading comments

The comment has been copied from modetest and is not applicable
for vbltest.

Signed-off-by: Stefan Agner <stefan at agner.ch>
Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cfb6a39864c3ebc7802107a8e4ddac67195d4cd

Git commit d1ec093e4c5b08c3825fe07e287aa3d023e9c9ae by Ben Skeggs on 22/12/2015 at 03:21..
nouveau: import and install a selection of nvif headers from the kernel

This commit also modifies the install path of the main libdrm_nouveau
header to be under a nouveau/ subdirectory.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1ec093e4c5b08c3825fe07e287aa3d023e9c9ae

Git commit 4a3cbf5c0a38adf41d637c5d7273480336df39d0 by Ben Skeggs on 22/12/2015 at 03:21..
nouveau: move more abi16-specific logic into abi16.c

v2.
- add a comment about the (ab)use of nouveau_object::length
- add a comment about abi16_object() return values
v3.
- handle new client + old kernel for sw classes

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a3cbf5c0a38adf41d637c5d7273480336df39d0

Git commit 0996ad0e12a25841f350b8c5cacccff3d0aa24d2 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: move object functions up, to avoid future foward decls

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0996ad0e12a25841f350b8c5cacccff3d0aa24d2

Git commit 343d1ee83e8bf833b575cc1df097d5202e11b8e8 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: make it possible to init object in pre-allocated memory

Required for an upcoming patch, not exposed to library clients.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/343d1ee83e8bf833b575cc1df097d5202e11b8e8

Git commit c00e1a92a24cb84008d90ce67218bb593396fde5 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: add interface to call an object's methods

This will expose functionality supported by newer kernel interfaces,
giving access to things such as ZBC controls, perfmon, etc.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c00e1a92a24cb84008d90ce67218bb593396fde5

Git commit f6b1b5b7c9cf6667d169bad3b33a73e4fe2bc14c by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: add interfaces to query information about supported classes

This will expose functionality supported by newer kernel interfaces.

Current userspace uses the chipset to determine which classes are likely
exposed, which generally works pretty well, but isn't as flexible as it
could be.

Unfortunately, the G98:GF100 video code in Mesa is still relying on the
kernel exposing incorrect vdec classes on some chipsets.  The ABI16
kernel interfaces have a workaround for this in place, but that will no
longer be available once libdrm supports NVIF.

To prevent a regression when NVIF support is added, if there's no kernel
support for NVIF, libdrm will magic up a class list containing correct
vdec classes anyway instead of failing with -ENODEV.

v2.
- add description of abi16/vdec workaround
- add description of sclass/mclass
- leave client-provided pointer unmodified on abi16_sclass() failure

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6b1b5b7c9cf6667d169bad3b33a73e4fe2bc14c

Git commit b845d61de93c762f73463a67a634ecb1ae8c4c35 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: introduce object to represent the kernel client

Because NVIF intentionally lacks some of the paths necessary to be
compatible with various mistakes we've made over the years, libdrm
needs to know whether a client has been updated and that it's safe
to make use of the new kernel interfaces.

Clients still using nouveau_device_open()/wrap() will be forced to
make use of ABI16 instead of NVIF.

v2.
- remove lib_version, nothing used it
- leave client-provided pointer unmodified on failure

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b845d61de93c762f73463a67a634ecb1ae8c4c35

Git commit cdf9029f5f2d3d7c7b77eda2a5d3ef3b44a82cdf by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: stack legacy nouveau_device on top of nouveau_drm

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdf9029f5f2d3d7c7b77eda2a5d3ef3b44a82cdf

Git commit 4283e3f656541c4533c89b2cdc501aa6dc7da3dc by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: make use of nouveau_drm::fd instead of nouveau_device::fd

The latter is deprecated, and will not be valid for newer clients.

v2.
- split out nouveau_object_find removal

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4283e3f656541c4533c89b2cdc501aa6dc7da3dc

Git commit 4a68c5638e1b0dd62860f1211dbcd751005beb79 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: remove nouveau_object_find()

No more internal users, and there's never been external users.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a68c5638e1b0dd62860f1211dbcd751005beb79

Git commit 4c92a9d70725ec393899979bbfc21a37684e88d9 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: add new interface to create a nouveau_device

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c92a9d70725ec393899979bbfc21a37684e88d9

Git commit 4291eea18fd81ca084935fb09a0e97a6661f4f85 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: add support for newer kernel interfaces

v2.
- leave client-provided pointer unmodified on sclass_get() failure

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4291eea18fd81ca084935fb09a0e97a6661f4f85

Git commit f208f2afdee6222ea8f6692a6ec4381cc999eb05 by Ben Skeggs on 22/12/2015 at 03:22..
nouveau: clean up nouveau.h, noting deprecated members/functions

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f208f2afdee6222ea8f6692a6ec4381cc999eb05

Git commit f49bfd98b35e5794cb60bcc4613050dfa640940c by Ben Skeggs on 22/12/2015 at 03:22..
Bump version for release

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f49bfd98b35e5794cb60bcc4613050dfa640940c

Git commit b38a4b2326c1be5702f5cb73a53c0ed74c12d510 by Kenneth Graunke (on behalf of Michał Winiarski) on 22/12/2015 at 09:58..
intel: Restore formatting of offsets in debug statements

Using lower_32_bits and upper_32_bits macros was accidentally dropped in:

    commit 8b4d57e7b75cb0bd01d11ad7f597909034a316aa
    Author: Michał Winiarski <michal.winiarski at intel.com>
    Date:   Wed Sep 9 16:07:10 2015 +0200

	intel: Add support for softpin

Let's restore previous, more readable format.

Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b38a4b2326c1be5702f5cb73a53c0ed74c12d510

Git commit 242f77ce03f4db371d8de3de1bef8622c0fe7488 by Sarah Sharp (on behalf of Rodrigo Vivi) on 06/01/2016 at 19:56..
intel/kbl: Add Kabylake PCI ids

Also, following kernel definition Kabylake is skylake.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/242f77ce03f4db371d8de3de1bef8622c0fe7488

Git commit e342c0fc250f3f16b817c43e96ab9b839fcb15c2 by Ville Syrjälä on 07/01/2016 at 15:40..
Fix memory leak with drmModeGetConnectorCurrent()

drmModeGetConnectorCurrent() must provide temporary storage for the
kernel to fill in at least one mode (asking for !=0 modes is how
you prevent the heavyweight probe in the kernel). Currently we malloc
that temp storage but we fail to free it before overwriting the
pointer with the address of the actual storage we use to store the
real mode list we get from the kernel in the second ioctl call.

Let's just keep the temporary storage on the stack and thus we avoid the
leak and also eliminate some pointless mallocs.

Cc: Chris Wilson <chris at chris-wilson.co.uk>
Fixes: 5ed5fa10600f ("mode: Retrieve only the current information for a Connector")
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e342c0fc250f3f16b817c43e96ab9b839fcb15c2

Git commit f174c3d8dc5976bf83023450ff85f47e03a1386b by Andreas Boll on 13/01/2016 at 10:53..
Merge tag 'libdrm-2.4.66' into debian-unstable

libdrm-2.4.66
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f174c3d8dc5976bf83023450ff85f47e03a1386b

Git commit b45064ca8d5f7324160d4c5932c4b245cde2534d by Andreas Boll on 13/01/2016 at 10:55..
Bump changelog.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b45064ca8d5f7324160d4c5932c4b245cde2534d

Git commit 45b0e45fa939c9b8245050480c80e8de66adcdfc by Andreas Boll on 13/01/2016 at 11:18..
Update symbols file and bump shlibs for libdrm2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45b0e45fa939c9b8245050480c80e8de66adcdfc

Git commit eaf11292f0708413d114b964d89b59dda4b511a2 by Andreas Boll on 13/01/2016 at 11:46..
Update libdrm-intel1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eaf11292f0708413d114b964d89b59dda4b511a2

Git commit 17c73d4600313c307232fd4a1fa5ddd7ca7c9859 by Andreas Boll on 15/01/2016 at 08:28..
Update libdrm-nouveau2.symbols and shlibs.

Removes the symbol nouveau_object_find which was only internally used
and never had an external user according to upstream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17c73d4600313c307232fd4a1fa5ddd7ca7c9859

Git commit 90ebe37d9c872a15f7e6fb0085c6d8c6b0265560 by Andreas Boll on 15/01/2016 at 08:28..
Drop obsolete Replaces from pre-wheezy.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90ebe37d9c872a15f7e6fb0085c6d8c6b0265560

Git commit d0feab81bbd7d9428706e14bf522e60d016e07e5 by Andreas Boll on 15/01/2016 at 08:29..
Add myself to Uploaders.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0feab81bbd7d9428706e14bf522e60d016e07e5

Git commit 7ef55d6fa30e3f3feff963e4fbcbf35ed37fd4c6 by Andreas Boll on 15/01/2016 at 09:41..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ef55d6fa30e3f3feff963e4fbcbf35ed37fd4c6

Git commit 2916fb5b7aece95cc17d9c33bb7b7821f18d3427 by Andreas Boll on 15/01/2016 at 11:05..
Update libdrm-exynos1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2916fb5b7aece95cc17d9c33bb7b7821f18d3427

Git commit fe4b09241b7ca6497487cef2e501aa232749d7e3 by Andreas Boll on 15/01/2016 at 11:08..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe4b09241b7ca6497487cef2e501aa232749d7e3

Git commit 5198f2b2e658651d9cb81d67998ba7b2c39e12d7 by Marek Olšák on 20/01/2016 at 01:14..
configure.ac: disable annoying warning -Wmissing-field-initializers

It warns for all "{}" initializers.

Reviewed-by: David Herrmann <dh.herrmann at gmail.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5198f2b2e658651d9cb81d67998ba7b2c39e12d7

Git commit 50386e09dbdc6fd70d02efd1371d9ad061c8d447 by Marek Olšák (on behalf of monk.liu) on 20/01/2016 at 01:14..
amdgpu: drop address patching logics

we don't support non-page-aligned cpu pointer anymore

Signed-off-by: monk.liu <monk.liu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50386e09dbdc6fd70d02efd1371d9ad061c8d447

Git commit f06c9928198d9348fb31325a2a480afbc29c04b8 by Marek Olšák (on behalf of Chunming Zhou) on 20/01/2016 at 01:14..
amdgpu: validate user memory for userptr

Signed-off-by: Chunming Zhou <David1.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f06c9928198d9348fb31325a2a480afbc29c04b8

Git commit 6afadeaf13279fcdbc48999f522e1dc90a9dfdaf by Marek Olšák on 20/01/2016 at 01:14..
amdgpu: add semaphore support

the semaphore is a binary semaphore. the work flow is:
1. create sem
2. signal sem
3. wait sem, reset sem after signalled
4. destroy sem.

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6afadeaf13279fcdbc48999f522e1dc90a9dfdaf

Git commit d4d4184363a62ece6b8830cacaf390b5638d7f8e by Marek Olšák (on behalf of Chunming Zhou) on 20/01/2016 at 01:14..
tests/amdgpu: add semaphore test

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4d4184363a62ece6b8830cacaf390b5638d7f8e

Git commit 6b79c66b841dded6ffa6b56f14e4eb10a90a7c07 by Marek Olšák (on behalf of Junwei Zhang) on 20/01/2016 at 01:14..
amdgpu: list each entry safely for sw semaphore when submit ib

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: David Zhou <david1.zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b79c66b841dded6ffa6b56f14e4eb10a90a7c07

Git commit 25712f1d35f6f64167ede45d3dc72a410f367ceb by Michel Dänzer on 20/01/2016 at 06:59..
amdgpu: Add new symbols to amdgpu-symbols-check

Fixes make check.

Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/25712f1d35f6f64167ede45d3dc72a410f367ceb

Git commit db138b9ba12a0de5d6140832c0679c2418e3e7e0 by Michel Dänzer on 21/01/2016 at 09:08..
radeon: Pass radeon_bo_open flags to the DRM_RADEON_GEM_CREATE ioctl

Not doing so makes it impossible for radeon_bo_open callers to set any
RADEON_GEM_* flags for the newly created BO.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db138b9ba12a0de5d6140832c0679c2418e3e7e0

Git commit 3627f38da9fad7db7fef2a0c6d0faf706c2e21d6 by Damien Lespiau on 22/01/2016 at 15:50..
xf86drm: Bound strstr() to the allocated data

We are reading at most sizeof(data) bytes, but then data may not contain
a terminating '\0', at least in theory, so strstr() may overflow the
stack allocated array.

Make sure that data always contains at least one '\0'.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3627f38da9fad7db7fef2a0c6d0faf706c2e21d6

Git commit 798022b61c58d945f9027c823a188dcedecd3d06 by Marcin Ślusarz on 24/01/2016 at 12:18..
configure.ac: don't detect disabled options dependencies

Currently with --disable-amdgpu --disable-valgrind --disable-cairo-tests
cunit, valgrind and cairo are still detected.

Signed-off-by: Marcin Ślusarz <marcin.slusarz at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/798022b61c58d945f9027c823a188dcedecd3d06

Git commit 0caf58a6cb82327a3f6a53f05dea8e02f1412a05 by Emil Velikov (on behalf of Stefan Agner) on 26/01/2016 at 21:45..
kmstest: Use util_open()

Use the new util_open() helper instead of open-coding the method for
finding a usable device. While at it, make the command-line interface
more consistent with that of modetest by adding the -D and -M options.

Signed-off-by: Stefan Agner <stefan at agner.ch>
v2: correctly use util_open() - swap device, module
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0caf58a6cb82327a3f6a53f05dea8e02f1412a05

Git commit 2ad5ea780b3cca83ae4f531ae0b4159e802ef825 by Emil Velikov (on behalf of Stefan Agner) on 26/01/2016 at 21:50..
tests: add fsl-dcu-drm to modules

Signed-off-by: Stefan Agner <stefan at agner.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ad5ea780b3cca83ae4f531ae0b4159e802ef825

Git commit 1674147a149c2165a927a5d8eb0db4eee1f6a4e3 by Emil Velikov (on behalf of Thierry Reding) on 26/01/2016 at 21:50..
tests: util: Fixup util_open() parameter order

util_open() takes a device parameter, followed by a module parameter.
The existing tests used the drmOpen() function, which uses a different
ordering of the parameters, and the old ordering was accidentally kept
during the conversion.

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1674147a149c2165a927a5d8eb0db4eee1f6a4e3

Git commit 358615f416a8f3085a63c03a55564f71946083d1 by Emil Velikov (on behalf of Khem Raj) on 26/01/2016 at 21:50..
tests: Include sys/select.h

Used in compliance with POSIX 2001/2008

Fixes errors e.g.
error: implicit declaration of function 'select'

and helps with missing definitions of FD_* defines

v2: conditionally include sys/select.h, include in every test where
needed.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Reviewed-by: Thierry Reding <thierry.reding at gmail.com> (v1)
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/358615f416a8f3085a63c03a55564f71946083d1

Git commit ff0c9caa8e1e076b82241304dfd19d5b3e2a2aec by Emil Velikov (on behalf of Kylie McClain) on 26/01/2016 at 21:50..
tests: Include poll.h rather than sys/poll.h

sys/poll.h is a non-standard location of the poll.h header, and is
incorrect on non-glibc libcs. poll.h, however, is defined in SUS (v2)
and is more portable.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93764
http://pubs.opengroup.org/onlinepubs/007908799/xsh/poll.h.html
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff0c9caa8e1e076b82241304dfd19d5b3e2a2aec

Git commit 432e08de88a27313608cced27f133a65e8a56c52 by Emil Velikov on 27/01/2016 at 23:12..
tests/kmstest: inverse the order of LDADD libraries

The utils library depends on libdrm. Flip the order, orderwise we might
error during link stage like below:

  CC       main.o
  CCLD     kmstest
/usr/bin/ld: ../../tests/util/.libs/libutil.a(libutil_la-kms.o):
undefined reference to symbol 'drmOpen'

Reported-by: Tom Stellard <thomas.stellard at amd.com>
Tested-by: Tom Stellard <thomas.stellard at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/432e08de88a27313608cced27f133a65e8a56c52

Git commit eeb23de23bf2c0aeff4e36b0513ea13ac09c0438 by Eric Anholt on 03/02/2016 at 19:29..
vc4: Add the DRM header file.

I'll build some libdrm C code soon, but for now this lets libdrm users
use vc4 ioctls.  Produced from headers_install of
1df59b8497f47495e873c23abd6d3d290c730505 (drm-next) in the kernel.

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeb23de23bf2c0aeff4e36b0513ea13ac09c0438

Git commit 0ad32e7ff48e106d654acca79445389651ed6909 by Eric Anholt on 03/02/2016 at 19:29..
util: Add support for vc4.

This lets allows using modetest for overlay plane testing.

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ad32e7ff48e106d654acca79445389651ed6909

Git commit 3c717f61f885240980bfc4273dbd1fc837edc391 by Eric Anholt on 03/02/2016 at 19:29..
vc4: Add headers and .pc files for VC4 userspace development.

The headers were originally written in Mesa, imported to the kernel,
and improved upon in vc4-gpu-tools.  These come from the v-g-t copies
and will replace the Mesa and v-g-t copies, and hopefully be used from
new tests in igt, as well.

v2: Fix linking against libdrm_intel instead of libdrm.
v3: Drop Libs and Cflags since they'll be inherited from libdrm.
v4: Switch to Requires.private.  I was wrong about standard practice,
    apparently only Intel was doing plain Requires (sorry to all
    involved).

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c717f61f885240980bfc4273dbd1fc837edc391

Git commit 87b3bf643de35223d9d038febc7d5e232325e7b2 by Emil Velikov on 04/02/2016 at 13:22..
amdgpu: add libdrm as private requirement/dependency

Otherwise libdrm.so won't end up in the --libs, when one static links
libdrm_amdgpu.

Cc: Christian König <christian.koenig at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87b3bf643de35223d9d038febc7d5e232325e7b2

Git commit 31badf031c90aba4609e1464e252311f96733a5e by Emil Velikov on 04/02/2016 at 13:22..
radeon: add libdrm to Requires.private

Equivalent to the amdgpu commit before. Additionally, when libdrm is
installed to a 'non-default' location, users of libdrm_radeon will fail
to build, as radeon_cs.h (and maybe others) won't have their
dependencies (drm.h radeon_drm.h) fulfilled.

Cc: Christian König <christian.koenig at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31badf031c90aba4609e1464e252311f96733a5e

Git commit ca5017b69c43ef3bfada0abb77a82de1de345075 by Emil Velikov on 04/02/2016 at 13:22..
libkms: add libdrm to Requires.private

Analogous to last two changes (amdgpu and radeon).

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <wallbraker at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca5017b69c43ef3bfada0abb77a82de1de345075

Git commit 682eaa05e6bc6b191b826e1c9db4446caea43c49 by Emil Velikov (on behalf of Sumit Semwal) on 04/02/2016 at 13:22..
android: enable building static version of libdrm

Android needs libdrm built statically for recovery;
enable that as well.

Signed-off-by: Sumit Semwal <sumit.semwal at linaro.org>
Signed-off-by: Rob Herring <robh at kernel.org>
Cc: Chih-Wei Huang <cwhuang at linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/682eaa05e6bc6b191b826e1c9db4446caea43c49

Git commit 8be79be0433ba64c4674c3394b3fc8cbc33c46af by Alex Deucher on 04/02/2016 at 17:22..
tests/amdgpu: make amdgpu_sdma_test_exec_cs() generic (v2)

Share with upcoming CP tests.

v2: drop unnecessary forward declaration

Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8be79be0433ba64c4674c3394b3fc8cbc33c46af

Git commit c5da5eade0b5769fce40f79fbad9153ea760b954 by Alex Deucher on 04/02/2016 at 17:23..
tests/amdgpu: make amdgpu_command_submission_sdma_write_linear generic

So it can be shared for CP tests.

Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5da5eade0b5769fce40f79fbad9153ea760b954

Git commit 47c7e7a6dd92c7c60c899b7103cf2a4457f83936 by Alex Deucher on 04/02/2016 at 17:24..
tests/amdgpu: add a test for cp write data

Use the CP to write data to memory.

Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47c7e7a6dd92c7c60c899b7103cf2a4457f83936

Git commit 7c656ba72fb9f004c2bd6b578fe68966d9ef9118 by Alex Deucher on 04/02/2016 at 17:24..
tests/amdgpu: make amdgpu_command_submission_sdma_const_fill generic

So it can be shared for CP tests.

Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c656ba72fb9f004c2bd6b578fe68966d9ef9118

Git commit 0edc442560c792f9dc1acdc51c0c1a3b586f38d9 by Alex Deucher on 04/02/2016 at 17:24..
tests/amdgpu: add a test for cp dma fill

Use the CP to fill to memory.

Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0edc442560c792f9dc1acdc51c0c1a3b586f38d9

Git commit 35c35ea66d7940e78cf375e569e659f66e9fb69d by Alex Deucher on 04/02/2016 at 17:24..
tests/amdgpu: make amdgpu_command_submission_sdma_copy_linear generic

So it can be shared for CP tests.

Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35c35ea66d7940e78cf375e569e659f66e9fb69d

Git commit 6950af4e8475fa969ba46675fe2665c842fc4b79 by Alex Deucher on 04/02/2016 at 17:24..
tests/amdgpu: add a test for cp dma copy

Use the CP to copy data between buffers

Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6950af4e8475fa969ba46675fe2665c842fc4b79

Git commit f884af9b57ff480d3c87870d8b40055d9c8c6cfe by Alex Deucher (on behalf of Ken Wang) on 04/02/2016 at 17:26..
amdgpu: fix for submition with no ibs

Avoid a crash if no IBs are specified.

Signed-off-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f884af9b57ff480d3c87870d8b40055d9c8c6cfe

Git commit c47385ccdae1d3a461e35c558af34431f10c83e2 by Rob Clark on 12/02/2016 at 23:32..
freedreno: update uapi

In drm-next.. needed for time-elapsed (and future perf ctrs) in mesa.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c47385ccdae1d3a461e35c558af34431f10c83e2

Git commit bc5497d061aaaf31e6b38109443c20e1ebfd21a3 by Rob Clark on 12/02/2016 at 23:32..
freedreno: small refactor for get_param

Will simplify next commit.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc5497d061aaaf31e6b38109443c20e1ebfd21a3

Git commit 9b77443f6344791851a6c2067e4081b7f43618ea by Rob Clark on 12/02/2016 at 23:32..
freedreno: add support for FD_MAX_FREQ

Only msm backend supports this.  Sorry, if you are using kgsl, no
time-elapsed query for you.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b77443f6344791851a6c2067e4081b7f43618ea

Git commit d49efb55846c6ec96400061213b76ab867461c1a by Rob Clark on 15/02/2016 at 18:42..
Bump version for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d49efb55846c6ec96400061213b76ab867461c1a

Git commit add8936031ee5acb2a3ec87841bb03c938ff36e5 by Rob Clark on 15/02/2016 at 18:50..
add libdrm_vc4.pc to .gitignore

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/add8936031ee5acb2a3ec87841bb03c938ff36e5

Git commit e9b8d6e521f9ac4066c8b99c8753e5d6fc0c3dba by Timo Aaltonen on 16/02/2016 at 08:05..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9b8d6e521f9ac4066c8b99c8753e5d6fc0c3dba

Git commit d9c9309ebaac42de2dcdba23d0da558c03c73429 by Timo Aaltonen on 16/02/2016 at 09:04..
refresh patch, update changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9c9309ebaac42de2dcdba23d0da558c03c73429

Git commit eb52c127c9426a7eaa246b85cc0cf073760655df by Timo Aaltonen on 16/02/2016 at 10:14..
libdrm-amdgpu1.symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb52c127c9426a7eaa246b85cc0cf073760655df

Git commit 336c30b6c19f67e1c3c40e3360e72f0f5c76c09f by Timo Aaltonen on 16/02/2016 at 10:14..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/336c30b6c19f67e1c3c40e3360e72f0f5c76c09f

Git commit 99ede3e6874c4cc5d1d36339095f49467fcf3c17 by Alex Deucher (on behalf of Sonny Jiang) on 18/02/2016 at 21:50..
amdgpu/tests: fix tests for asics with one VCE instance

Reviewed-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Sonny Jiang <sonny.jiang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99ede3e6874c4cc5d1d36339095f49467fcf3c17

Git commit db7202d18005227eefd0681fb2ce79e83b10a87f by Thomas Hellstrom on 24/02/2016 at 09:08..
vmwgfx: update uapi

The libdrm shipped vmwgfx_drm.h is obsolete and incorrect.
Update it to latest kernel version.

Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db7202d18005227eefd0681fb2ce79e83b10a87f

Git commit 42745396734be0c21e62254b73bd7ca44b482d41 by Emil Velikov (on behalf of Chih-Wei Huang) on 25/02/2016 at 17:03..
android: add virgl to be a valid driver

To avoid the warning:

external/libdrm/libkms/Android.mk:17: invalid GPU drivers: virgl

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/42745396734be0c21e62254b73bd7ca44b482d41

Git commit ea07de92da8f51c0c1b78a10f197ad6ab1a39aa0 by Rodrigo Vivi on 02/03/2016 at 22:27..
intel: Adding missing Broxton PCI IDs.

These IDs were already part of the kernel since:

kernel commit 985dd4360fdf2533fe48a33a4a2094f2e4718dc0
Author: Imre Deak <imre.deak at intel.com>
Date:   Thu Jan 28 16:04:12 2016 +0200

    drm/i915/bxt: update list of PCIIDs

Cc: Venkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea07de92da8f51c0c1b78a10f197ad6ab1a39aa0

Git commit 67e7103cdb498d2acfb880ea01ad151d4039feda by Rob Clark on 13/03/2016 at 16:27..
freedreno: update uapi

In drm-next.. needed for timestamp queries in mesa.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67e7103cdb498d2acfb880ea01ad151d4039feda

Git commit 49041c3613dde0b11bf6096b3da498915303abed by Rob Clark on 13/03/2016 at 16:27..
freedreno: add support for FD_TIMESTAMP

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/49041c3613dde0b11bf6096b3da498915303abed

Git commit 2e6f8f1dd5ef7456cfa3dbea597abef87b124d98 by Emil Velikov (on behalf of Gustavo Padovan) on 28/03/2016 at 21:12..
tests: add virtio_gpu to the driver list

modetest was failing to work with driver because it wasn't in the
module list.

Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e6f8f1dd5ef7456cfa3dbea597abef87b124d98

Git commit b5c0cf0fcb29b3c460ce1e9bbbadf8894d858883 by Emil Velikov (on behalf of Gustavo Padovan) on 28/03/2016 at 21:12..
gitignore: ignore kms-steal-crtc and kms-universal-planes

Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
Reviewed-by; Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5c0cf0fcb29b3c460ce1e9bbbadf8894d858883

Git commit dfd8cd461142f3bb1e1c8d40c290af7511af7370 by Emil Velikov (on behalf of Gustavo Padovan) on 28/03/2016 at 21:13..
modetest: print signed values correctly

Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfd8cd461142f3bb1e1c8d40c290af7511af7370

Git commit ea78c17854ad1b9d155dab66c99777e513943083 by Emil Velikov on 28/03/2016 at 21:15..
proptest: print signed values correctly

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ea78c17854ad1b9d155dab66c99777e513943083

Git commit 0b3f9783df9c0aa2415765798d102ad4335bbe2a by Emil Velikov (on behalf of Eric Engestrom) on 07/04/2016 at 17:15..
amdgpu: Fix spelling mistakes

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b3f9783df9c0aa2415765798d102ad4335bbe2a

Git commit caef42bdfa0cf69b4c4d8333644527c87effe1bf by Emil Velikov (on behalf of Eric Engestrom) on 07/04/2016 at 17:15..
exynos: Fix spelling mistake

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/caef42bdfa0cf69b4c4d8333644527c87effe1bf

Git commit 7b356f4b5e8e2aed4311291fffaff1e608fbf1d1 by Emil Velikov (on behalf of Eric Engestrom) on 07/04/2016 at 17:15..
freedreno: Fix spelling mistakes

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b356f4b5e8e2aed4311291fffaff1e608fbf1d1

Git commit 723a6944c0ba8f6b25302adbea40b9d662f7b8ea by Emil Velikov (on behalf of Eric Engestrom) on 07/04/2016 at 17:15..
intel: Fix spelling mistakes

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/723a6944c0ba8f6b25302adbea40b9d662f7b8ea

Git commit 96f2907c85097a1e85a56e7e343893cf2b93f432 by Emil Velikov (on behalf of Eric Engestrom) on 07/04/2016 at 17:15..
tests: Fix spelling mistakes

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96f2907c85097a1e85a56e7e343893cf2b93f432

Git commit ce97507cfcbdbdc520872417b5605f3b807794ff by Emil Velikov (on behalf of Eric Engestrom) on 07/04/2016 at 17:16..
xf86drm: Fix spelling mistakes

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce97507cfcbdbdc520872417b5605f3b807794ff

Git commit 65ea85d85c5b4da22d9f4ea18ae368bc48fbf60a by Emil Velikov (on behalf of Thierry Reding) on 07/04/2016 at 17:32..
tegra: Sync with Linux kernel UAPI header

Update the UAPI header to the latest version in the Linux kernel. This
changes the struct drm_tegra_gem_mmap to properly handle offsets on 64-
bit architectures.

See commit bdf765071a8b ("drm/tegra: gem: Return 64-bit offset for
mmap(2)") in the Linux kernel (as of v4.1).

Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65ea85d85c5b4da22d9f4ea18ae368bc48fbf60a

Git commit 81506da8cfc1d0677dda7286bc705c1157bfcf4e by Daniel Vetter on 12/04/2016 at 11:15..
headers: Remove _DRM_GEM

This was purely a kernel-internal type used in a early patch version
to add GEM bo mmap support. It was never used in-kernel in merged code
nor in userspace. Nuke it to align with kernel headers.

For reference the kernel patch:

commit 05f51722a154e73019434bd020e50ddb941046c5
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Wed Dec 11 11:34:32 2013 +0100

    drm/bufs: remove handling of _DRM_GEM mappings

    Gone with the new gem vma offset manager from David.

    We can also ditch the uapi header definition from the enum since
    userspace never used this. It ended up in there purely for historical
    reasons (for reusing the old drm mmap code essentially), not because
    userspace ever needed it.

    Cc: David Herrmann <dh.herrmann at gmail.com>
    Reviewed-by: David Herrmann <dh.herrmann at gmail.com>
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81506da8cfc1d0677dda7286bc705c1157bfcf4e

Git commit 1e5c590a24a34cd74c5fb86eec8809d326a1c572 by Daniel Vetter on 12/04/2016 at 11:15..
tests/kms-steal-crtc: Use correct includes

It was relying on drm_fourcc.h providing <stdint.h>, which is silly.
Fix it.

Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e5c590a24a34cd74c5fb86eec8809d326a1c572

Git commit 7cba3bb75ec7366be7e01394329bb8a2658cbe14 by Daniel Vetter on 12/04/2016 at 11:15..
headers: Update drm_i915.h

Generated using make header_install.

Generated fromd drm-intel-next-queued commit
55c561a708eec328822721233b1148119e80f5c3

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cba3bb75ec7366be7e01394329bb8a2658cbe14

Git commit f37b9a8edded6f3ceb973eb05d184125b5c6297d by Daniel Vetter on 12/04/2016 at 11:15..
headers: Update drm_sarea.h

Generated using make headers_install. Only difference is a new value
of SAREA_MAX for mips. Not that we ever shipped a dri1 driver on that
platform probably ...

Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f37b9a8edded6f3ceb973eb05d184125b5c6297d

Git commit 268ae7cae5afd76462c3ef14ed9021a2d40c2e57 by Daniel Vetter on 12/04/2016 at 11:15..
headers: Update drm_fourcc.h

Only real difference is switching to kernel types for fixed-width
integers, like we should.

Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/268ae7cae5afd76462c3ef14ed9021a2d40c2e57

Git commit 89cdda3d5f4fcfcbc3508cc4ebe0c43768e2a65c by Daniel Vetter on 12/04/2016 at 11:15..
headers: Update drm_mode.h

Generated using make headers_install.

Only cosmetics&new definitions here now.

Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89cdda3d5f4fcfcbc3508cc4ebe0c43768e2a65c

Git commit cc9a53f076d4e958e595e1daaff2c286ce1b7bb1 by Daniel Vetter on 12/04/2016 at 11:15..
headers: Update drm.h

This needs the kernel patch to make sure the C++ protection is in place.

Otherwise just new defines, using the right fixed-width types and
some shuffling in where stuff is defined (the DRM_CAP list moved, but
the #defines are the same).

Generated using make headers_install.

Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc9a53f076d4e958e595e1daaff2c286ce1b7bb1

Git commit 739b8886025b31f2f9d09a535c8ff3670bb1d036 by Rob Clark (on behalf of Nicolas Dechesne) on 21/04/2016 at 13:40..
freedreno: add dummy fd_bo_from_fbdev implementation when KGSL is disabled

Make sure that this function is defined (even empty/dummy) when KGSL support is
disabled, since it's part of the driver i/f and it was reported to cause symbols
issues when building against musl libc implementation.

Reported-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne at linaro.org>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/739b8886025b31f2f9d09a535c8ff3670bb1d036

Git commit e3623d34cad0ac3f181b0deee0931df202b8f909 by Kenneth Graunke (on behalf of Michał Winiarski) on 28/04/2016 at 00:45..
intel/skl: Add missing SKL PCI IDs

Used by production devices:
    Intel(R) HD Graphics 510
    Intel(R) HD Graphics 535
    Intel(R) Iris(TM) Graphics 550
    Intel(R) Iris(TM) Graphics P555

Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
Tested-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3623d34cad0ac3f181b0deee0931df202b8f909

Git commit fc09c5ab84240e9b6bd0bed01685ef004f56c4fa by Kenneth Graunke on 28/04/2016 at 00:53..
Bump version for release

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc09c5ab84240e9b6bd0bed01685ef004f56c4fa

Git commit a9f8c9817659da534a4be256d258467abf34d208 by Timo Aaltonen on 03/05/2016 at 11:27..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9f8c9817659da534a4be256d258467abf34d208

Git commit d62c51a0b49097330f7d5be516611abcfb59fe64 by Timo Aaltonen on 03/05/2016 at 11:30..
update changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d62c51a0b49097330f7d5be516611abcfb59fe64

Git commit 09e9210bcf5c2c6940f5514fc978731ba2c4710f by Timo Aaltonen on 03/05/2016 at 11:30..
upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09e9210bcf5c2c6940f5514fc978731ba2c4710f

Git commit 7b3ec3a377400d7fd0631bdc41130a1e29b23b0c by Andreas Boll on 10/05/2016 at 12:46..
Update debian/upstream/signing-key.asc

Add Kenneth Graunke's key 1D49CC38.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b3ec3a377400d7fd0631bdc41130a1e29b23b0c

Git commit faef933820d873aea3fcf10a414d5f2b3e3d213f by Andreas Boll on 10/05/2016 at 12:48..
Bump Standards-Version to 3.9.8, no changes needed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/faef933820d873aea3fcf10a414d5f2b3e3d213f

Git commit 1078ee929b57a7b33d67997ebe47e66df9414b76 by Andreas Boll on 11/05/2016 at 07:54..
Update watch url to use https instead of http.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1078ee929b57a7b33d67997ebe47e66df9414b76

Git commit b7a51965e1c7a6e988c4882254ca21aa184f6396 by Alex Deucher on 13/05/2016 at 19:10..
tests/amdgpu: expand write/copy tests to compute

Uses same packets as gfx.

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7a51965e1c7a6e988c4882254ca21aa184f6396

Git commit 3f5b31939cd3490225a52e4e11337a1b355b2635 by Alex Deucher on 13/05/2016 at 19:10..
tests/amdgpu: expand write/copy tests to compute

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f5b31939cd3490225a52e4e11337a1b355b2635

Git commit 4e7ec72a1b7cdfdbe895379949a71201c124e0f2 by Alex Deucher (on behalf of Leo Liu) on 13/05/2016 at 19:10..
tests/amdgpu: add interface to adapt firmware requirement

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e7ec72a1b7cdfdbe895379949a71201c124e0f2

Git commit 7aab852d4ed25703fb986cf42328d3882697cfdc by Alex Deucher (on behalf of Sonny Jiang) on 13/05/2016 at 19:10..
tests/amdgpu: adapt to new polaris10/11 uvd fw

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Sonny Jiang <sonny.jiang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7aab852d4ed25703fb986cf42328d3882697cfdc

Git commit 361d0a88981628f0f20440262f02bfa3e175fa8b by Christian König on 02/06/2016 at 14:05..
amdgpu: fix fence status query

Not initializing the ip instance leads to sporadic fails in the tests.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/361d0a88981628f0f20440262f02bfa3e175fa8b

Git commit 70b64073f7d1bf56a30f7a809bd984d3ad688b9f by Alex Deucher (on behalf of Qiang Yu) on 06/06/2016 at 16:29..
drm: fix multi GPU drmGetDevices only return one device

When multi GPU present, after drmFoldDuplicatedDevices
merge same busid deveces, two different devices may be
seperated by zero in local_devices[]. The for loop
should check all local_devices instead of exit when
meet a zero.

Reviewed-by: Jim Qu <Jim.Qu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70b64073f7d1bf56a30f7a809bd984d3ad688b9f

Git commit 9bdec97a1991c3cc53d1601eb809e33b154a198d by Nicolai Hähnle on 10/06/2016 at 18:15..
xf86drm: ensure proper alignment of pointers in drmProcessPciDevice

Previously, (*device)->businfo.pci would end up misaligned, which results
in undefined behavior.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9bdec97a1991c3cc53d1601eb809e33b154a198d

Git commit 09bfd5c716eeaacec06c1d326b52b47e393e4d3e by Rob Clark on 13/06/2016 at 13:49..
freedreno/msm: fix memory leak on ringbuffer free

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09bfd5c716eeaacec06c1d326b52b47e393e4d3e

Git commit 625d1810ad1f61dd4f4b2b2ee7e5cc67e1fdc2f1 by Marek Olšák on 14/06/2016 at 09:45..
radeon: use SAMPLE_SPLIT=2 for better MSAA perf on EG/CM

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/625d1810ad1f61dd4f4b2b2ee7e5cc67e1fdc2f1

Git commit a3371f72cd819251c9f3acee77c032b9e2931024 by Julien Cristau on 24/06/2016 at 09:17..
Build libdrm-tegra on arm64 (closes: #828023).

Thanks, Martin Michlmayr!
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3371f72cd819251c9f3acee77c032b9e2931024

Git commit 22b6e33fe2e8346138ed7d8bd440c05ec4e6465f by Rodrigo Vivi on 29/06/2016 at 17:22..
intel: Add more Kabylake PCI IDs.

The spec has been updated adding new PCI IDs.

v2: Avoid using "H" instead of HALO to keep names uniform - DK.

Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22b6e33fe2e8346138ed7d8bd440c05ec4e6465f

Git commit 7996a8707eacd59a45e7128a543393dca2776e26 by Rodrigo Vivi on 29/06/2016 at 17:23..
intel: Removing PCI IDs that are no longer listed as Kabylake.

This is unusual. Usually IDs listed on early stages of platform
definition are kept there as reserved for later use.

However these IDs here are not listed anymore in any of steppings
and devices IDs tables for Kabylake on configurations overview
section of BSpec.

So it is better removing them before they become used in any
other future platform.

v2: Rebase.

Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7996a8707eacd59a45e7128a543393dca2776e26

Git commit d342cd34ac871b29cab709b72e9f1db1ded7e7bb by Emil Velikov (on behalf of Rob Herring) on 06/07/2016 at 15:58..
Android: strip out header files from sources list

AOSP master now errors if LOCAL_SRC_FILES contains headers, so filter
out header files from the source lists.

Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d342cd34ac871b29cab709b72e9f1db1ded7e7bb

Git commit 50d3c85bdb4ac0b3d546336605a722889aff7066 by Emil Velikov (on behalf of Jan Vesely) on 06/07/2016 at 15:58..
xf86drm.c: Fix mix of tabs and spaces

Remove whitespace at the end of line.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50d3c85bdb4ac0b3d546336605a722889aff7066

Git commit 8c8d5dd76fb80637031e824a48ceaa0f9f65d2dd by Emil Velikov (on behalf of Mike Frysinger) on 06/07/2016 at 15:58..
pull in sys/sysmacros.h when available

This header provides major/minor/makedev funcs under most Linux C
libs.  Pull it in to fix building with newer versions that drop the
implicit include via sys/types.h.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94231
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c8d5dd76fb80637031e824a48ceaa0f9f65d2dd

Git commit 2212a6465d1597fbc4d4ee0ea5ff87816bfa336e by Eric Anholt on 15/07/2016 at 22:38..
vc4: Update kernel headers for getparam addition.

This also brings over the C++ guard introduced recently in the kernel
headers.

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2212a6465d1597fbc4d4ee0ea5ff87816bfa336e

Git commit 5d830819480b089f62637fecc3aad11c5d1d5857 by Eric Anholt on 20/07/2016 at 18:43..
Bump version to 2.4.69 for release.

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d830819480b089f62637fecc3aad11c5d1d5857

Git commit 3c20893daa0a56b91869d806ae0d3a8d5d8b4cba by Emil Velikov (on behalf of Qiang Yu) on 20/07/2016 at 22:38..
drm: drmGetDevice return correct device on multi GPU setups

Currently drmGetDevice always returns the first device it finds under
/dev/dri/.

Move the target device to the start of the list during iteration. This
way during deduplication it'll preserve its place and will be returned
to the user.

v2: Keep the memory leak separate.
v3: Move the drmFoldDuplicatedDevices description

Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
[Emil Velikov: move drmFoldDuplicatedDevices description, add
changelog, reword commit message]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c20893daa0a56b91869d806ae0d3a8d5d8b4cba

Git commit 6c056eecd56374b069ed24c81f59b6638cde2f3a by Emil Velikov (on behalf of Qiang Yu) on 20/07/2016 at 22:44..
drm: fix drmFreeDevices memory leak on multi GPU setups

When in multi GPU case, devices array may have some
NULL "hole" in between two devices. So check all
array elements and free non-NULL device.

Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c056eecd56374b069ed24c81f59b6638cde2f3a

Git commit dd58044530ab57b8c2ee0a56008bc97bd1eecdd9 by Emil Velikov on 20/07/2016 at 22:44..
tests/drmdevice: print out the full 'bus' and 'dev' strings

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd58044530ab57b8c2ee0a56008bc97bd1eecdd9

Git commit 681fd2ab6da0627ac8b8838eed4b3878c1cb8d25 by Emil Velikov on 20/07/2016 at 22:44..
tests/drmdevice: be move verbose when using open()

Print out the node we're attempting to open and a message if/why we fail
to do so.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/681fd2ab6da0627ac8b8838eed4b3878c1cb8d25

Git commit 73db0a0421006d7b4af837c7a77dacbb005b800f by Rob Clark on 20/07/2016 at 23:42..
freedreno: rework internal ring->emit_reloc_ring()

No need for it to deal with ringmarkers.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73db0a0421006d7b4af837c7a77dacbb005b800f

Git commit 2ca73c666aca726d9f6b6ddc2b5ee1d28513320f by Rob Clark on 20/07/2016 at 23:42..
freedreno: add simpler ring-reloc

Provide a way to insert a reference (ie. OUT_IB()) to a target ring,
executing all the cmds in the target ring from the start.

Sometimes the ringmarker stuff is just overkill.  And it will won't
really work properly once we support multiple physical cmdstream buffers
per fd_ringbuffer.  So in the future the old ringmarker related APIs
will be deprecated in a few releases.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ca73c666aca726d9f6b6ddc2b5ee1d28513320f

Git commit b18b6e21fc4ae488f61492f46d8e6705e106593b by Rob Clark on 20/07/2016 at 23:42..
freedreno: split out fd_bo_cache

Eventually we'll want a separate bo-cache for ringbuffer bo's, since
ringbuffer bo's get vmap'd on the kernel side, it is preferrable to
re-use them as ringbuffers rather than something else.  Plus should
help to add madvise support if it is a bit better decoupled from bo
allocation (next patch).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b18b6e21fc4ae488f61492f46d8e6705e106593b

Git commit 0b34b683071901e1ffa82a2762e71c185217c1bc by Rob Clark on 20/07/2016 at 23:42..
freedreno: refactor bo-cache API

Split out interface to allocate from and release to bo-cache, and get
rid of direct usage of bucket level API from fd_bo/etc.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b34b683071901e1ffa82a2762e71c185217c1bc

Git commit 82780c87f9e39ab19dce6ec619ad744a26a0f886 by Rob Clark on 20/07/2016 at 23:42..
freedreno: move bo-cache to it's own file

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82780c87f9e39ab19dce6ec619ad744a26a0f886

Git commit 0c270df8dfde6d6d7b7adb236cd3325f2c0115bd by Rob Clark on 20/07/2016 at 23:42..
freedreno: sync uapi

(from drm-next for 4.8)

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c270df8dfde6d6d7b7adb236cd3325f2c0115bd

Git commit eb846d46bca614f24c50f3fa89f94a6820e16589 by Rob Clark on 20/07/2016 at 23:42..
freedreno: add madvise support

With a new enough drm/msm, we can let the kernel know about buffers that
are in the bo cache, so the kernel can free them under memory pressure.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb846d46bca614f24c50f3fa89f94a6820e16589

Git commit fe07584e050db55d0e41ed52c0c42f5e8ae84315 by Rob Clark on 20/07/2016 at 23:42..
freedreno: fix potential fd leak in error path

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe07584e050db55d0e41ed52c0c42f5e8ae84315

Git commit 904f1361ae11d53ee4d0cf297d38f4c243ee8d69 by Rob Clark on 20/07/2016 at 23:42..
freedreno: expose kernel driver version

gallium needs to know if the kernel is new enough to support explicit
fencing, dynamically grown ringbuffers, etc.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/904f1361ae11d53ee4d0cf297d38f4c243ee8d69

Git commit 8a6a8512d4ac6db5e85911de81f156d325dcc343 by Rob Clark on 20/07/2016 at 23:42..
freedreno: support either coarse or fine-grained bucket sizes

The normal bo cache uses some intermediate steps between power of two
jumps to reduce memory wastage.  But for a ringbuffer bo cache, we do
not need this.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a6a8512d4ac6db5e85911de81f156d325dcc343

Git commit 9e697c74991bd265a549bedfc7cd4a0267e234df by Rob Clark on 20/07/2016 at 23:42..
freedreno: ocd

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e697c74991bd265a549bedfc7cd4a0267e234df

Git commit 19b82b9817b696cfe06d32340cb65231775b203b by Rob Clark on 20/07/2016 at 23:42..
freedreno: fix potential leak at free

If user has emit'd reloc's, and then resets or deletes the ring, we want
to drop the ref's that the ring holds to the bo's to avoid a leak.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19b82b9817b696cfe06d32340cb65231775b203b

Git commit 892141a321c7acd32000e145916217eda2da14bb by Rob Clark on 20/07/2016 at 23:42..
freedreno/msm: use private bo-cache for ringbuffer bo's

Since they get vmap'd on the kernel side, they are a bit more costly.
Don't let them mingle with the riffraff.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/892141a321c7acd32000e145916217eda2da14bb

Git commit 0d6152913098d739be07f9085cdf44c9cc68d096 by Rob Clark on 20/07/2016 at 23:42..
freedreno/msm: drop return from get_cmd()

Not actually needed.  It just needs to ensure that there is a
corresponding entry in the submit's cmds table.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d6152913098d739be07f9085cdf44c9cc68d096

Git commit dd1f372001d4e6de648fa33b6b74d89aaa24cf75 by Rob Clark on 20/07/2016 at 23:42..
freedreno/msm: split out cmd buffer tracking from ring

First step towards supporting a single logical ringbuffer mapping to
multiple physical cmd buffers, which will enable dynamically growing
ringbuffers.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd1f372001d4e6de648fa33b6b74d89aaa24cf75

Git commit 1d1e01b2350e40711fcf19e200e46e2edfd887b2 by Rob Clark on 20/07/2016 at 23:42..
list: add first/last entry macros

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d1e01b2350e40711fcf19e200e46e2edfd887b2

Git commit d93d697deb4a808890bc9c64ec453b2d2f2ebb7f by Rob Clark on 20/07/2016 at 23:42..
freedreno/msm: split out dump_submit() helper

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d93d697deb4a808890bc9c64ec453b2d2f2ebb7f

Git commit 419a154dbef839b920689bea72aa9af41b2b114f by Rob Clark on 20/07/2016 at 23:42..
freedreno: support growable cmdstream buffers

The issue that userspace needed to solve is that there is ~two orders of
magnitude size difference in cmdstream buffers (both for gmem commands
and for draw commands), and that the previous practice of allocating
worst-case sizes is quite wasteful.  Previously a submit would be
constructed (for example) like:

  CMD  TARGET  DESCRIPTION
   g0    N     gmem/tiling commands
   b0    Y     binning commands
   d0    Y     draw commands

Which, after the one non-IB-target cmd buffer is inserted into the
kernel controlled ringbuffer, looks like (not to scale):

         b0:           d0:
        +-----+       +-----+
   IB1  | ... |       | ... |
        +-----+       +-----+
         ^             ^
         |             |
         +-----+       +-+---------+
         g0:   |         |         |
        +----+----+----+----+----+----+----
   IB0  | .. | IB | .. | IB | .. | IB | ...
        +----+----+----+----+----+----+----
         ^              tile0     tile1
         |
         +-----------+
  userspace          |
  ~~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  kernel             |
               ----+----+----
   ringbuffer  ... | IB | ...
               ----+----+----

Now, multiple physical cmdstream buffers per fd_ringbuffer are supported,
so this becomes:

  CMD  TARGET  DESCRIPTION
   g0    N
   ...   N     gmem/tiling commands
   gN    N
   b0    Y
   ...   Y     binning commands
   bN    Y
   d0    Y
   ...   Y     draw commands
   dN    Y

Which, after the non-IB-target cmd buffers (g0..gN) are inserted into
the kernel controlled ringbuffer, looks like:

             b0:      b1            d0:      d1
            +-----+  +-----+        +-----+  +-----+
       IB1  | ... |  | ... | ...    | ... |  | ... | ...
            +-----+  +-----+        +-----+  +-----+
             ^        ^              ^        ^
             |        |              |        |
             |        +-+            |  +-----+------+
             +-----+    |            |  |            |
                   |    |         +--+----------+    |
             g0:   |    |         |     |       |    |
            +----+----+----+----+----+----+---+----+----+----
       IB0  | .. | IB | IB | .. | IB | IB |.. | IB | IB |...
            +----+----+----+----+----+----+---+----+----+----
             ^                   tile0         tile1
             | to b0  to b1
             |   |      |          to|d0    to|d1
             |   |      +----+       |      +-+-----------+
             |   |           |       |      |             |
             |   +------+    |       +-+-------------+    |
             |    g1:   |    |         |    |        |    |
             |   +----+----+----+----+----+----+---+----+----+----
       IB0   |   | .. | IB | IB | .. | IB | IB |.. | IB | IB |...
             |   +----+----+----+----+----+----+---+----+----+----
             |    ^                   tileX         tileY
             |    |
             |    +-----------+
             +-----------+    |
      userspace          |    |
      ~~~~~~~~~~~~~~~~~~~|~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      kernel             |    |
                   ----+----+----+----
       ringbuffer  ... | IB | IB | ...
                   ----+----+----+----

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/419a154dbef839b920689bea72aa9af41b2b114f

Git commit 6a23bd4b3c52fcd7529062b31c36dd03ae0cdd75 by Rob Clark on 20/07/2016 at 23:42..
freedreno/msm: use hashtable to track bo idx

Note: cache the last ring the bo was emitted on, to avoid excess
hashtable lookups.  We do this by tracking ring seqno to avoid
problems with dangling pointers.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a23bd4b3c52fcd7529062b31c36dd03ae0cdd75

Git commit b59ed1881890de75fd13eb7056396bc7848760bc by Rob Clark on 20/07/2016 at 23:42..
freedreno: move legacy kgsl related README

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b59ed1881890de75fd13eb7056396bc7848760bc

Git commit 9d92a1f02032b2598d44d93567a425356bb8c773 by Andreas Boll on 21/07/2016 at 07:35..
Update debian/upstream/signing-key.asc

Add Eric Anholt's key D1FC9EE8.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d92a1f02032b2598d44d93567a425356bb8c773

Git commit 5d3c7ed8fc49f838ba0c10dd2882246cf20f86b0 by Andreas Boll on 21/07/2016 at 07:40..
Merge tag 'libdrm-2.4.69' into debian-unstable

libdrm-2.4.69
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d3c7ed8fc49f838ba0c10dd2882246cf20f86b0

Git commit e36e80c3fefb3bcee9c0b81f7b1b92345a5375bc by Andreas Boll on 21/07/2016 at 07:42..
Bump changelog.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e36e80c3fefb3bcee9c0b81f7b1b92345a5375bc

Git commit 108c9902ef556e3d841a95f41b0c0431053363f1 by Andreas Boll on 21/07/2016 at 08:25..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/108c9902ef556e3d841a95f41b0c0431053363f1

Git commit 1af780cc2710ddcbee78764d856ef5d1cce3e313 by Rob Clark on 21/07/2016 at 14:54..
freedreno: fix distcheck errors

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1af780cc2710ddcbee78764d856ef5d1cce3e313

Git commit 1f1b61d49128716f9808be23af20f54f1c26a573 by Rob Clark on 21/07/2016 at 18:10..
freedreno: fix android build break

The 'deprecated' #define was causing problems with bionic system headers
which used __attribute__((deprecated)).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
Tested-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f1b61d49128716f9808be23af20f54f1c26a573

Git commit feb1b39be164019ca47b5d3923873a39d7dd0d77 by Rob Clark on 21/07/2016 at 18:11..
freedreno: fix warnings

Signed-off-by: Rob Clark <robclark at freedesktop.org>
Tested-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/feb1b39be164019ca47b5d3923873a39d7dd0d77

Git commit 9d1ce35c68bd05a56199afd94600716ea269187a by Andreas Boll on 23/07/2016 at 07:45..
radeon: Wire up radeon-symbol-check to make check

This was missed in 552de225bf2740ba0cb52312c21353d71d934b8c

Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d1ce35c68bd05a56199afd94600716ea269187a

Git commit a5446775f27b52c120c75b8f82656aa64f93319d by Andreas Boll on 23/07/2016 at 07:45..
automake: Don't include Android Makefiles in the release tarball

Currently only some Android Makefiles are included in the release tarball.
To be more consistent one could either add the remaining files or don't
ship Android Makefiles altogether.

According to Emil the Android folk doesn't use our release tarballs.
Thus it makes sense to remove those files from distribution which also
means less work for maintenance in the future.

Suggested-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5446775f27b52c120c75b8f82656aa64f93319d

Git commit 9af2ccdef3428ade565d8213803a9dd094427f26 by Andreas Boll on 23/07/2016 at 07:45..
virtgpu: Update kernel header

Generated using make headers_install.

This brings the C++ guard, proper include path for drm.h and the
switching to kernel types for fixed-with integers.

Generated from drm-next commit c11dea5b0290984fa48111957ba3fdc5b3bdae5a

Suggested-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9af2ccdef3428ade565d8213803a9dd094427f26

Git commit 7e9e373935bc47e59156c53ba299a3df0b18a4c3 by Andreas Boll on 23/07/2016 at 07:45..
automake: Include virtgpu_drm.h in the release tarball

The plan is to use this version of virtgpu_drm.h in mesa and drop mesa's
local copy.
To actually use this header it needs to be shipped in the tarball.

This was missed in c745e541a9d8dfd3fb5e1ac57297e58d34d9328f

Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e9e373935bc47e59156c53ba299a3df0b18a4c3

Git commit 22263ca11a44abb57639f19318ad1dd4ef7fe956 by Andreas Boll on 23/07/2016 at 07:45..
man: Fix typo

Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22263ca11a44abb57639f19318ad1dd4ef7fe956

Git commit 248b3343ce4b855c89bdad4e8251885d1fa6904e by Andreas Boll on 23/07/2016 at 07:45..
radeon: Fix typo in stderr message

Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/248b3343ce4b855c89bdad4e8251885d1fa6904e

Git commit 0caa84cb046156b9b2ca248d32af9548b04316e1 by Rob Clark on 23/07/2016 at 13:25..
Bump version for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0caa84cb046156b9b2ca248d32af9548b04316e1

Git commit f19cd3a52827a2368040649c2fc5e7e75db10d08 by Eric Anholt on 25/07/2016 at 01:36..
Simplify the RELEASING steps based on current release.sh.

Since release.sh creates and pushes a libdrm-$VERSION tag for us,
there's no need to also have the user manually generating a $VERSION
tag as well.

I also dropped the "optional" part of distcheck.  You shouldn't have
pushed master with a version bump that hasn't passed distcheck.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f19cd3a52827a2368040649c2fc5e7e75db10d08

Git commit 664f02ebd985cfbf53a51195520fadc5ce8c7852 by Andreas Boll on 25/07/2016 at 09:54..
Merge tag 'libdrm-2.4.70' into debian-unstable

libdrm-2.4.70
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/664f02ebd985cfbf53a51195520fadc5ce8c7852

Git commit 73a70d053898d46c3e40fb611424f456e69c88b9 by Andreas Boll on 25/07/2016 at 09:54..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73a70d053898d46c3e40fb611424f456e69c88b9

Git commit 108ad20738f8d67fc7e728e79f136aa8fc41c5d1 by Andreas Boll on 25/07/2016 at 10:03..
Update libdrm-freedreno1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/108ad20738f8d67fc7e728e79f136aa8fc41c5d1

Git commit a2bfeba63f2c5f58a2c9803dd9aea01abd346c4c by Andreas Boll on 25/07/2016 at 10:17..
source/local-options: Add more files to extend-diff-ignore option.

Fixes 17 patch-system-but-direct-changes-in-diff lintian warnings.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2bfeba63f2c5f58a2c9803dd9aea01abd346c4c

Git commit cc02f99b2c3e19f8108a7341eedb2666e6c6e602 by Andreas Boll on 25/07/2016 at 10:33..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc02f99b2c3e19f8108a7341eedb2666e6c6e602

Git commit b214b05ccd433c484a6a65e491a1a51b19e4811d by Rob Clark on 02/08/2016 at 20:22..
list: fix an issue with android build using clang

Sorry, I don't understand the android build system enough to say *which*
version of clang this effects, but either "clang-2812033" or
"clang-3016494" (probably the later).

But when 'sample' is undefined (ie. unitialized variable), the result is
not as well defined as it is with gcc.  Instead use a typeof() cast with
a defined value (ie. zero).

This fixes a crash that was reported on android.

Reported-by: John Stultz <john.stultz at linaro.org>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b214b05ccd433c484a6a65e491a1a51b19e4811d

Git commit 3106a33fea1cde11b84814e53afd16c6053d2c15 by Alex Deucher (on behalf of satsahu) on 29/08/2016 at 16:52..
modetest: Adding amdgpu to module list

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3106a33fea1cde11b84814e53afd16c6053d2c15

Git commit 587e5a81790cf9e9ce670b2a0062bde0c3b9cb21 by Emil Velikov (on behalf of Daniel Kurtz) on 01/09/2016 at 15:02..
modetest: add mediatek to module list

There is a mediatek drm kms driver: Add "mediatek" to the static
lists of driver names.

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
Signed-off-by: JB Tsai <jb.tsai at mediatek.com>
Signed-off-by: Nicolas Boichat <drinkcat at chromium.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/587e5a81790cf9e9ce670b2a0062bde0c3b9cb21

Git commit 72a041694e9467ceb903808edf305eb7ea1cc813 by Emil Velikov (on behalf of Stéphane Marchesin) on 01/09/2016 at 15:02..
modetest: Also print the pixel clock

This can be useful for debugging. xrandr prints it, so why not.

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72a041694e9467ceb903808edf305eb7ea1cc813

Git commit 4462303700fd982eb5fdd266ee04d0543f4f6bf0 by Alex Deucher (on behalf of Flora Cui) on 02/09/2016 at 21:30..
amdgpu: expose the AMDGPU_GEM_CREATE_VRAM_CLEARED flag

With this flag specified, VRAM buffer will be cleared at
allocation time.

Signed-off-by: Flora Cui <Flora.Cui at amd.com>
Reviewed-by: Alexandre Demers <alexandre.f.demers at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4462303700fd982eb5fdd266ee04d0543f4f6bf0

Git commit 39fff5996227692cf8b6a75771a28a8d624f16ef by Marek Olšák on 05/09/2016 at 13:43..
radeon: sync radeon_drm.h with the kernel

the CIK tile mode definitions are moved out,
userspace doesn't use them

Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/39fff5996227692cf8b6a75771a28a8d624f16ef

Git commit 77bc69ae9cb2a719ae5142b4b91e6dc657e4c119 by Marek Olšák on 05/09/2016 at 13:43..
amdgpu: sync amdgpu_drm.h with the kernel

Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77bc69ae9cb2a719ae5142b4b91e6dc657e4c119

Git commit c65377977597e1d3a317aa5022ac7d3bc0f6ff83 by Marek Olšák on 05/09/2016 at 13:43..
amdgpu: fix valgrind warnings caused by amdgpu_query_firmware_version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c65377977597e1d3a317aa5022ac7d3bc0f6ff83

Git commit a625ba8d2d4da33bd6d7bb057d2bdf7cb484fd6c by Marek Olšák (on behalf of Ronie Salgado) on 05/09/2016 at 13:46..
amdgpu: add SI support

v2: without the amdgpu_drm.h change

Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a625ba8d2d4da33bd6d7bb057d2bdf7cb484fd6c

Git commit 98887140e343493f01be7a1dec721c024bcf72c7 by Chris Wilson (on behalf of Yang Rong) on 07/09/2016 at 12:50..
intel: Export pooled EU and min no. of eus in a pool.

Update kernel interface with new I915_GETPARAM ioctl entries for
pooled EU and min no. of eus in a pool. Add a wrapping function
for each parameter. Userspace drivers need these values when decide
the thread count. This kernel enabled pooled eu by default for BXT
and for fused down 2x6 parts it is advised to turn it off.

But there is another HW issue in these parts (fused
down 2x6 parts) before C0 that requires Pooled EU to be enabled as a
workaround. In this case the pool configuration changes depending upon
which subslice is disabled and the no. of eus in a pool is different,
So userspace need to know min no. of eus in a pool.

V2: use return value as the query results.
    ret < 0 when error, ret = 0 when not support, and ret > 0 indicate
    query results.(Chris)
V3: Correct V2 errors.

Signed-off-by: Yang Rong <rong.r.yang at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98887140e343493f01be7a1dec721c024bcf72c7

Git commit 2d00869599a1c853238401a38a334c3bc8673343 by Michel Dänzer on 08/09/2016 at 06:19..
intel: Add new symbols to intel-symbol-check

Fixes make check.

Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d00869599a1c853238401a38a334c3bc8673343

Git commit c47f47ea1cc777b9f9162fd3ea8955e25e5904c6 by Andreas Boll on 08/09/2016 at 11:16..
Remove Hurd from the architecture list.

It FTBFS, haven't built in the past and won't be useful without the
equivalent of the Linux Direct Rendering Manager (DRM) subsystem.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c47f47ea1cc777b9f9162fd3ea8955e25e5904c6

Git commit 95e2cc6a801d92a0634b75fb02221213bd11e9da by Christian Gmeiner (on behalf of The etnaviv authors) on 17/09/2016 at 13:05..
libdrm: add etnaviv drm support

Add the libdrm_etnaviv helper library to encapsulate etnaviv-specific
interfaces to the DRM.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
Tested-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95e2cc6a801d92a0634b75fb02221213bd11e9da

Git commit 0659558f6418693ad203b5de2f1bc4fa9f28708e by Christian Gmeiner (on behalf of The etnaviv authors) on 17/09/2016 at 13:05..
libdrm: add etnaviv tests

This adds the following basic unit tests:

- etnaviv_2d_test
  Let the 2D core render a defined pattern into a bo
  and store it as bmp.

- etnaviv_bo_cache_test
  Basic tests to validate the bo-cache behavior.

- etnaviv_cmd_stream_test
  Tests for the etna_cmd_stream API.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0659558f6418693ad203b5de2f1bc4fa9f28708e

Git commit abfa680dbdfa4600105d904f4903c047d453cdb5 by Kristian H. Kristensen on 28/09/2016 at 10:32..
Add drmModeAddFB2WithModifiers() which takes format modifiers

The only other user of this feature open codes the ioctl. Let's add an
entry point for this to libdrm.

Signed-off-by: Kristian H. Kristensen <hoegsberg at chromium.org>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abfa680dbdfa4600105d904f4903c047d453cdb5

Git commit 207efb16ea9465c4a38840efab1bbe65e6cf5c3d by Leo Liu on 30/09/2016 at 18:28..
tests/amdgpu: update vce encRefPic addr mode to tiled

Adapt to recent firmware update, it's also compatible with previous
firmware version

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/207efb16ea9465c4a38840efab1bbe65e6cf5c3d

Git commit a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c by Rob Clark on 04/10/2016 at 00:46..
Bump version for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c

Git commit 4b3d32505fc006956117ab282f3d0eca981d9ad4 by Andreas Boll on 06/10/2016 at 07:38..
Merge tag 'libdrm-2.4.71' into debian-unstable

libdrm-2.4.71
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b3d32505fc006956117ab282f3d0eca981d9ad4

Git commit eaa30491b00ee08794eab4a4af5ddd77560ffc94 by Andreas Boll on 06/10/2016 at 07:40..
Bump changelog.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eaa30491b00ee08794eab4a4af5ddd77560ffc94

Git commit 7d22f61c54da08eab31a33568573dce7d47a56d6 by Andreas Boll on 06/10/2016 at 07:58..
Update symbols file and bump shlibs for libdrm2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d22f61c54da08eab31a33568573dce7d47a56d6

Git commit 3c087014f17a0f40862e3ea8b8b2a6eb3ac6606c by Andreas Boll on 06/10/2016 at 08:10..
Update libdrm-intel1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c087014f17a0f40862e3ea8b8b2a6eb3ac6606c

Git commit a61442adb281ff2a021f1db19440ec1557bb47bd by Andreas Boll on 06/10/2016 at 08:31..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a61442adb281ff2a021f1db19440ec1557bb47bd

Git commit 9433b702fc164c3fe9e17d646eeaaa5de17a52de by Michel Dänzer on 13/10/2016 at 07:53..
headers: Sync drm{,_mode}.h with the kernel

Generated using make headers_install, based on linus master commit
b67be92feb486f800d80d72c67fd87b47b79b18e.

Acked-by: Daniel Vetter <daniel at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9433b702fc164c3fe9e17d646eeaaa5de17a52de

Git commit 7dd28475f129300e67838cb7cba5ce098bc6c0a7 by Michel Dänzer on 19/10/2016 at 09:31..
Add drmModePageFlipTarget

It supports the DRM_MODE_PAGE_FLIP_TARGET_* flags.

Acked-by: Daniel Vetter <daniel at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dd28475f129300e67838cb7cba5ce098bc6c0a7

Git commit 677cd97dc4a930af508388713f5016baf664ed18 by Eric Anholt (on behalf of Rob Herring) on 21/10/2016 at 19:50..
Return an -ENODEV from drmGetDevice() when no device was found.

Fixes crashes in Mesa on platform devices, which expected *device to
have a device when 0 was returned.

(code from a paste by Rob, commit message by anholt)

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/677cd97dc4a930af508388713f5016baf664ed18

Git commit 2d8c01f256011c013edf3a76672d6ce9e2b05d8f by Eric Anholt on 21/10/2016 at 19:50..
Silence runtime complaints on platform devices

glxgears was spamming this 12 times at startup because of Mesa's
probing of the DRM device code, which doesn't support platform
devices.

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d8c01f256011c013edf3a76672d6ce9e2b05d8f

Git commit 455e9b491723b89b19b6efc6590fc9c5558f7858 by Chris Wilson on 22/10/2016 at 08:32..
intel: Export raw GEM mmap interfaces

Export a set of interfaces to allow the caller to have precise control
over mapping the buffer - but still provide caching of the mmaps between
callers.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/455e9b491723b89b19b6efc6590fc9c5558f7858

Git commit 9e24d0c54b162b443e3e144740deb0e1d5f8760b by Chris Wilson on 22/10/2016 at 08:32..
intel: Migrate handle/name lookups from linear lists to hashtables

Walking a linear list to find a matching PRIME handle or flinked name
does not scale and becomes a major burden with just a few objects.
That said, the fixed size hash is not much better, it just buckets the
look into a few separate chains rather than one long one.

References: https://bugs.freedesktop.org/show_bug.cgi?id=94631
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e24d0c54b162b443e3e144740deb0e1d5f8760b

Git commit ec39fe07e7a0c05fb2d235440e18b7b52e25330a by Michel Dänzer on 24/10/2016 at 02:14..
intel: Add new symbols to intel-symbol-check

Fixes make check.

Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec39fe07e7a0c05fb2d235440e18b7b52e25330a

Git commit fe4579e263c8da19f790cc5c5430e12d9b1687b5 by Chris Wilson on 24/10/2016 at 20:19..
intel: Look prime handle up in handle hash table

A slightly confused copy'n'paste from the open path where we pass in
handle but use it as a global name, in the prime handle-from-fd pass we
pass in handle and do mean handle!

References: https://bugs.freedesktop.org/show_bug.cgi?id=98416
Fixes: 2f23bf1b7b89 ("intel: Migrate handle/name lookups from linear lists...")
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe4579e263c8da19f790cc5c5430e12d9b1687b5

Git commit 6493860d70b4b1bc4b7327dbb8b951643413a0ae by Alex Deucher on 31/10/2016 at 20:37..
amdgpu: check parameters in amdgpu_query_gpu_info

Make sure they aren't NULL.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97993

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6493860d70b4b1bc4b7327dbb8b951643413a0ae

Git commit 867e5db69b00402ba3ae517aa1cc2fe331e4ed01 by Andreas Boll on 03/11/2016 at 11:14..
Update a bunch of URLs in packaging to https.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/867e5db69b00402ba3ae517aa1cc2fe331e4ed01

Git commit f803a45e744272190aaaab1ad7c702641190d002 by Rob Clark on 05/11/2016 at 14:16..
add libsync.h helper

Rather than cut/pasting these couple ioctl wrappers everywhere, just
stuff them as static-inline into a header.

This is probably mostly used from mesa, but some drivers, test apps, etc
may also want to use it from libdrm.

v2: handle EINTR, add sync_accumulate() based on #dri-devel discussion,
    etc

Signed-off-by: Rob Clark <robclark at freedesktop.org>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f803a45e744272190aaaab1ad7c702641190d002

Git commit 9270d984cde31a8abc5f9ec31cbd86a10b883864 by Rob Clark on 05/11/2016 at 14:17..
freedreno: sync uapi header

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9270d984cde31a8abc5f9ec31cbd86a10b883864

Git commit e9eb44b45b8d4a2f06ef83365b28eca55c0f3fb4 by Rob Clark on 05/11/2016 at 14:18..
freedreno: add fence fd support

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9eb44b45b8d4a2f06ef83365b28eca55c0f3fb4

Git commit 670f1e4fdadc197599cdc61d3104f8c27234765e by Michel Dänzer (on behalf of Junwei Zhang) on 07/11/2016 at 08:44..
amdgpu: add the function to get the marketing name (v4)

This function is used to look up the marking name
for a specific board.

v2: agd: Squash in subsequent updates to the table.
v3: [Michel Dänzer]
* Make amdgpu_asic_id_table static, so it's not exported from
  libdrm_amdgpu.so.1
* Add amdgpu_get_marketing_name to amdgpu-symbols-check
* Fix indentation of second line of if statement
* Squash in another change removing redundant entries
* Change spelling of "RADEON" -> "Radeon"
* Remove "(TM)" from a minority of entries
v4: [Michel Dänzer]
* Use const char* instead of fixed size array for marketing_name (Emil
  Velikov)

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Flora Cui <Flora.Cui at amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/670f1e4fdadc197599cdc61d3104f8c27234765e

Git commit 319108f9475f0165c9b4885efc8cf3b7e042b7fb by Matt Turner (on behalf of Neil Roberts) on 14/11/2016 at 18:40..
intel: Allow some codenames in INTEL_DEVID_OVERRIDE

As well as allowing a hexadecimal PCI ID number, the
INTEL_DEVID_OVERRIDE environment variable can now contain one of a few
short codenames. The codenames are stored in a small table to map them
to a corresponding PCI ID. This makes it easier to use without having
to look up the PCI IDs manually.

The PCI IDs used are the same as those chosen for the -p option of
run.c in shader-db but SKL has been added as well.

Reviewed-by: Matt Turner <mattst88 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/319108f9475f0165c9b4885efc8cf3b7e042b7fb

Git commit 51002c0440b0e410efa3845f2633826aad7f3aa3 by Matt Turner on 14/11/2016 at 18:40..
intel: Add uthash.h to Makefile.sources.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51002c0440b0e410efa3845f2633826aad7f3aa3

Git commit 01db192f974ead239c7122c04ef83e2cc9a8db50 by Matt Turner on 14/11/2016 at 18:40..
amdgpu: Add amdgpu_asic_id.h to Makefile.sources.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01db192f974ead239c7122c04ef83e2cc9a8db50

Git commit b91bcbf6ab76c84a348b3e0bec0ee212e94a432a by Matt Turner on 14/11/2016 at 18:40..
freedreno: Add fd_ringbuffer_flush2 to symbol check.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b91bcbf6ab76c84a348b3e0bec0ee212e94a432a

Git commit 8cf431271a8ad33c35859da2fb0387e6bccecd44 by Matt Turner on 14/11/2016 at 18:40..
Bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cf431271a8ad33c35859da2fb0387e6bccecd44

Git commit de13ea387737cdc99ec43813acb4d4f443075db2 by Emil Velikov on 14/11/2016 at 19:52..
headers: Add README file

Since we're trying to standardise and make things more consistent in
the area, add a basic README which covers some of the more popular
topics.

v2:
 - Drop drm-misc (Daniel Vetter)
v3:
 - Elaborate on when and which headers to update
 - Add a list of headers and the respective "issues"
 - Add file to EXTRA_DIST

Cc: Dave Airlie <airlied at redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch> (v1)
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de13ea387737cdc99ec43813acb4d4f443075db2

Git commit f53d3542c1dfa2a1c1a5a7155d058df9a6bcce7b by Emil Velikov on 14/11/2016 at 19:53..
xd86drm: read more than 128 bytes of uevent in drmParsePciBusInfo

Some platforms (such as Macs using OF) can have more information in the
uevent file thus reading only the first 128 might not be sufficient.

Bump it to 512, which "should be enough for everybody" ;-)

v2: Use sizeof(data)-1 over hardcoded number (Eric).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98629
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reported-by: Mingcong Bai <jeffbai at aosc.xyz>
Tested-by: Mingcong Bai <jeffbai at aosc.xyz> (v1)
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f53d3542c1dfa2a1c1a5a7155d058df9a6bcce7b

Git commit 317bdff14ac8f1e8735f97d96c7eb963e1e47a4a by Emil Velikov on 14/11/2016 at 19:53..
Bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/317bdff14ac8f1e8735f97d96c7eb963e1e47a4a

Git commit 8c956d2e2f0ffdeedfb067ce6e4e45f2357b971c by Andreas Boll on 15/11/2016 at 13:30..
Merge tag 'libdrm-2.4.73' into debian-unstable

libdrm-2.4.73
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c956d2e2f0ffdeedfb067ce6e4e45f2357b971c

Git commit 810fefb2633dcbf7a01094af83df0d3fa8e76eb8 by Andreas Boll on 15/11/2016 at 13:31..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/810fefb2633dcbf7a01094af83df0d3fa8e76eb8

Git commit 35354731e531e390ed2167c89ce4abdd56bab89f by Andreas Boll on 15/11/2016 at 14:29..
Bump libdrm2's, libdrm-amdgpu1's, libdrm-freedreno1's and libdrm-intel1's symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35354731e531e390ed2167c89ce4abdd56bab89f

Git commit cd11bac06d51efc4a1e1ab0c6882575774d7a8cd by Andreas Boll on 15/11/2016 at 14:43..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd11bac06d51efc4a1e1ab0c6882575774d7a8cd

Git commit 3e81f8b7b974c66915ea1bbc43d5c613c97e72c1 by Ben Widawsky on 18/11/2016 at 23:57..
intel: Add Geminilake PCI IDs

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e81f8b7b974c66915ea1bbc43d5c613c97e72c1

Git commit a14d6a6a43742cfad7ab346bf9168eb893881816 by Christian Gmeiner on 20/11/2016 at 14:58..
etnaviv: add API to get drm fd from etna_device

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Acked-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a14d6a6a43742cfad7ab346bf9168eb893881816

Git commit befb6429f03072b128a55360c1cf57f7b4d47b67 by Christian Gmeiner on 20/11/2016 at 14:58..
etnaviv: add API to create etna_device from private dup() fd

Like etna_device_new() but creates it's own private dup() of the fd
which is close()d when the device is finalized.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Acked-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/befb6429f03072b128a55360c1cf57f7b4d47b67

Git commit 770f6bc424f93ab92f2c2f651615d02240f7387a by Robert Bragg on 21/11/2016 at 16:33..
intel: Add a getter for the intel_context ctx_id

Exposing the u32 context ID makes it possible to define new drm kernel
interfaces based on the same IDs that e.g. execbuf uses to identify a
gem context, that aren't themselves abstracted by libdrm but need to be
used by libdrm/drm_intel_context based clients such as (parts of) i-g-t
or Mesa.

For example this can be used to configure an i915-perf stream to collect
metrics for a specific context.

v2: s/drm_intel_gem_context_get_context_id/drm_intel_gem_context_get_id/

Signed-off-by: Robert Bragg <robert at sixbynine.org>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/770f6bc424f93ab92f2c2f651615d02240f7387a

Git commit 911280cb4a0106b869405e36f7317957628181d5 by Michel Dänzer on 22/11/2016 at 06:48..
intel: Add drm_intel_gem_context_get_id to intel-symbols-check

Fixes make check. Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/911280cb4a0106b869405e36f7317957628181d5

Git commit 7e0bc3bf1c247e1d53733d0e2e2ada52d29b5327 by Emil Velikov on 22/11/2016 at 13:54..
automake: make the build less chatty

Having the "Entering|Leaving directory X" messages it not required nor
useful in vast majority of the cases.

One can always have them printed by `make -w' or by overriding the
AM_MAKEFLAGS variable.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e0bc3bf1c247e1d53733d0e2e2ada52d29b5327

Git commit 37d790f7d449874d0bf199d9ca9871d12b4d599a by Emil Velikov on 22/11/2016 at 13:54..
xf86drm: introduce drmGetDeviceNameFromFd2

The original version considered only card devices, while this will pick
the device/node name regardless - card, control, renderD, other...

Current implementation is "linux" specific, in such that it relies on
sysfs/uevent file. At the same time this gives us the flexibility to
support any nodes even future ones, as long as they're within DRM_MAJOR.

Shamelessly copied from mesa, latter by: Gary Wong <gtw at gnu.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37d790f7d449874d0bf199d9ca9871d12b4d599a

Git commit 1fc32f1cc5046fe76f2d5094fc576e097ea031e7 by Emil Velikov (on behalf of Grazvydas Ignotas) on 22/11/2016 at 13:54..
tests: kms: fix shadowed declaration warning

There is no need to maintain the value in the shadowed variable from
what I can see.

Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1fc32f1cc5046fe76f2d5094fc576e097ea031e7

Git commit 1924b6704aa34bb3dd044b8e1e29558c521c6902 by Emil Velikov (on behalf of Grazvydas Ignotas) on 22/11/2016 at 13:54..
libdrm: random typo fixes

Just some trivial boring typo fixes all over the tree.
READMEs and comments only.

Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1924b6704aa34bb3dd044b8e1e29558c521c6902

Git commit 4f750ec756e66e1012b312dbc7f2d11fc9848ce2 by Christian Gmeiner on 24/11/2016 at 19:08..
etnaviv: change get_abs_timeout(..) to use ns.

Also update all callers.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f750ec756e66e1012b312dbc7f2d11fc9848ce2

Git commit d15515aea3c3e51336f9ab29691162c69acc9807 by Christian Gmeiner on 24/11/2016 at 19:08..
etnaviv: add etna_pipe_wait_ns(..)

We need to pass through a timeout parameter to implement
pipe->fence_finish() properly. The new fxn accepts a timeout
in nanoseconds. Simplify etna_pipe_wait(..) by using
etna_pipe_wait_ns(..).

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d15515aea3c3e51336f9ab29691162c69acc9807

Git commit 23d10b82440f59f2a685db34d3662d75f4a3784b by Rob Clark on 26/11/2016 at 17:51..
freedreno: 64bit support

a5xx and later are 64bit devices.. make reloc's handle that.  A new
public symbol is introduced to avoid silent problems with new mesa and
old libdrm (since on 64b reloc consumes two dwords).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23d10b82440f59f2a685db34d3662d75f4a3784b

Git commit a8315834a9d975efa901ba2add7f5001d645119e by Eric Anholt on 28/11/2016 at 18:24..
vc4: Add new GETPARAMs that have been merged to drm-next.

Signed-off-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8315834a9d975efa901ba2add7f5001d645119e

Git commit dae413e43866d36500538c2801cc66a5a89e426d by Robert Bragg on 29/11/2016 at 10:42..
Bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dae413e43866d36500538c2801cc66a5a89e426d

Git commit ac35f95f350472e410b4106572a5080be69f8fbe by Andreas Boll on 29/11/2016 at 17:18..
Merge tag 'libdrm-2.4.74' into debian-unstable

libdrm-2.4.74
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac35f95f350472e410b4106572a5080be69f8fbe

Git commit 148ff518547eea61335312c9ec4583e7e9b038cc by Andreas Boll on 29/11/2016 at 17:19..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/148ff518547eea61335312c9ec4583e7e9b038cc

Git commit 5836305282a58989107ac7e83483e81a762a63b2 by Andreas Boll on 29/11/2016 at 17:19..
Update debian/upstream/signing-key.asc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5836305282a58989107ac7e83483e81a762a63b2

Git commit 59f71414c0a4e45fa75bda9990c2d97cc5687519 by Andreas Boll on 29/11/2016 at 17:49..
Bump libdrm2's, libdrm-freedreno1's and libdrm-intel1's symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59f71414c0a4e45fa75bda9990c2d97cc5687519

Git commit d963fbc94795e4903f9ada320540380a3e774b7b by Andreas Boll on 29/11/2016 at 17:52..
Bump debhelper compat to 10.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d963fbc94795e4903f9ada320540380a3e774b7b

Git commit a4d943024af59e7bd81847aae9097d13537378e6 by Andreas Boll on 29/11/2016 at 18:01..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4d943024af59e7bd81847aae9097d13537378e6

Git commit b40a65d44857394966b25c5587f9dc978643f9c4 by Emil Velikov on 05/12/2016 at 17:17..
xf86drm: use maj/min in drmParsePciDeviceInfo()

Be consistent with drmParsePciBusInfo() and use solely the device
major/minor pair.

Cc: Jonathan Gray <jsg at jsg.id.au>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b40a65d44857394966b25c5587f9dc978643f9c4

Git commit 138d23117c6b96f57aaa0072992e0480153cfebd by Emil Velikov on 05/12/2016 at 17:17..
xf86drm: add plumbing to not retrieve PCI device revision

Will be used with the drmGetDevice[s]2 API.

Cc: Michel Dänzer <michel at daenzer.net>
Cc: Nicolai Hähnle <nhaehnle at gmail.com>
Cc: Mauro Santos <registo.mailling at gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98502
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/138d23117c6b96f57aaa0072992e0480153cfebd

Git commit aae3f318d5aca81b87a14360116bb766a51e82ef by Emil Velikov on 05/12/2016 at 17:21..
xf86drm: parse the separate sysfs files for vendor... info

Up-to recently (patch should land in 4.10) the kernel did not expose the
PCI device revision field as a separate sysfs file.

Thus one needed too parse the config file to retrieve it. This in
itself wakes up the device, which in some cases can be quite slow.

To avoid that, just check for the separate files and fall-back to the
original if kernel is not new enough.

v3: rework alongside drmGetDevice[s]2

Cc: Michel Dänzer <michel at daenzer.net>
Cc: Nicolai Hähnle <nhaehnle at gmail.com>
Cc: Mauro Santos <registo.mailling at gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98502
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aae3f318d5aca81b87a14360116bb766a51e82ef

Git commit 11687bf4180f7e21045ed9c4730533c40fe01ea5 by Emil Velikov on 05/12/2016 at 17:21..
xf86drm: introduce drmGetDevice[s]2

Relative to the original version, here one can provide a flags bitmask.
Currently only DRM_DEVICE_IGNORE_PCI_REVISION is supported.

Implementation detail:
If it's set, we will only parse the separate sysfs files and we won't
touch the config one. The latter awakes the device (causing delays)
which is the core reason why this API was introduced.

v2:
 - Initialize revision to 0xff if it's unread.
 - Change DRM_DEVICE_IGNORE_PCI_REVISION to DRM_DEVICE_GET_PCI_REVISION
 - Add explicit note that drmGetDevice[s]2 does not retrieve the
revision by default.

v3:
 - Correctly fold drmParsePciDeviceInfo() hunk in this patch.

Cc: Michel Dänzer <michel at daenzer.net>
Cc: Nicolai Hähnle <nhaehnle at gmail.com>
Cc: Mauro Santos <registo.mailling at gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98502
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/11687bf4180f7e21045ed9c4730533c40fe01ea5

Git commit b305238ceb5092dd9d78c06e4dbe99a1e0287ba6 by Emil Velikov on 05/12/2016 at 17:22..
tests/drmdevice: use drmGetDevice[s]2

Pass along DRM_DEVICE_GET_PCI_REVISION only when the individual nodes
are opened and update the printed messages accordingly.

v2: Attribute for the flag rename, call drmGetDevices2 w/o the flag.

v3: Keep drmParsePciDeviceInfo() hunk in previous patch.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b305238ceb5092dd9d78c06e4dbe99a1e0287ba6

Git commit 0c80fddd1d01206756bf2a3227cdf1efbfb16aaf by Emil Velikov on 05/12/2016 at 17:23..
tests: remove useless legacy tests

All of these 'tests' cover UMS functionality which is neither being
worked on or actively maintained.

The only cases where developers touch UMS code is to unwrap it from the
KMS codepaths and ensure that those are secure.

Anyone who feels strong about having these around can revive them, but
in all honestly do consider _seriously_ what you're doing ;-)

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c80fddd1d01206756bf2a3227cdf1efbfb16aaf

Git commit 9b05d403992c0ca181a920561d27931871909eb7 by Emil Velikov on 05/12/2016 at 17:24..
kms: remove commented out libudev code

Cc: Jakob Bornecrantz <wallbraker at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b05d403992c0ca181a920561d27931871909eb7

Git commit 0ec7252a1deba3bac78b5ba1ebd2898f6bbf0332 by Emil Velikov on 05/12/2016 at 17:24..
configure: remove libudev checks

Library is no longer used.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ec7252a1deba3bac78b5ba1ebd2898f6bbf0332

Git commit 5c1c91b3d381a51ea57fb68242f8645e63d806bd by Emil Velikov on 05/12/2016 at 17:24..
tests: automake: reorder makefile contents

Purely cosmetic changes.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c1c91b3d381a51ea57fb68242f8645e63d806bd

Git commit f189011b362a2dff3ab914523e546cc96f53df39 by Emil Velikov (on behalf of Jonathan Gray) on 05/12/2016 at 17:52..
xf86drm: implement drmGetMinorNameForFD for non-sysfs

Implement drmGetMinorNameForFD for systems without sysfs by
adapting drm_get_device_name_for_fd() from the Mesa loader.

v2: use type parameter to select dev name instead of always
    using DRM_DEV_NAME

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f189011b362a2dff3ab914523e546cc96f53df39

Git commit d05b9f2dde17e60996437332219b4b568f7edefa by Emil Velikov (on behalf of Jonathan Gray) on 05/12/2016 at 17:52..
xf86drm: implement drmParseSubsystemType for OpenBSD

Implement drmParseSubsystemType for OpenBSD by always returning
DRM_BUS_PCI.  No non-pci drm drivers are in the kernel and this is
unlikely to change anytime soon as the existing ones aren't permissively
licensed.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d05b9f2dde17e60996437332219b4b568f7edefa

Git commit c0ef1d078800a43611136e65be3c9c7472ac9d3f by Emil Velikov (on behalf of Jonathan Gray) on 05/12/2016 at 17:53..
xf86drm: implement drmParsePciDeviceInfo for OpenBSD

Implement drmParsePciDeviceInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

v2: adapt to drmParsePciDeviceInfo changes and use drmOpenMinor

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0ef1d078800a43611136e65be3c9c7472ac9d3f

Git commit fd190564daa4cd530833a94606646730a5c0ee6c by Emil Velikov (on behalf of Jonathan Gray) on 05/12/2016 at 17:53..
xf86drm: implement drmParsePciBusInfo for OpenBSD

Implement drmParsePciBusInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

v2: use drmGetMinorType to get node type instead of always
    using DRM_NODE_PRIMARY.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd190564daa4cd530833a94606646730a5c0ee6c

Git commit 08257927231e4f51c38e1d2bdbb8db0c2d4aec40 by Emil Velikov (on behalf of Jonathan Gray) on 05/12/2016 at 17:53..
xf86drm: implement an OpenBSD specific drmGetDevice2

DRI devices on OpenBSD are not in their own directory.  They reside in
/dev with a large number of statically generated /dev nodes.

Avoid stat'ing all of /dev on OpenBSD by implementing this custom path.

v2:
   - use drmGetMinorType to get node type
   - adapt to drmProcessPciDevice changes
   - verify drmParseSubsystemType type is PCI
   - add a comment describing why this was added

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08257927231e4f51c38e1d2bdbb8db0c2d4aec40

Git commit 3bc14c8cb99a8c4d927e07f947449c3e50d188c9 by Emil Velikov (on behalf of Grazvydas Ignotas) on 12/12/2016 at 14:01..
xf86drm: fix sign-compare warning

xf86drm.c:3601:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (expected < sizeof(match)) {
                     ^

Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3bc14c8cb99a8c4d927e07f947449c3e50d188c9

Git commit 0645648dd08942face3cad03bedcdd39e3a6f5fc by Emil Velikov on 14/12/2016 at 17:10..
autogen.sh: set format.subjectPrefix and sendemail.to if needed

Just set the rules automatically rather than asking each contributor to
update thing locally.

v2: Silence errors if run outside of git repo. (Eric)

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0645648dd08942face3cad03bedcdd39e3a6f5fc

Git commit a07cf7f08d79924ba00fd702230d3e1690eebc5e by Emil Velikov (on behalf of Seung-Woo Kim) on 14/12/2016 at 17:10..
libkms/exynos: fix memory leak in error path

This patch fixes memory leak in error path of exynos_bo_create().

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a07cf7f08d79924ba00fd702230d3e1690eebc5e

Git commit e3af5368b2c372cfda27bc010b9c98a923d83cd9 by Ville Syrjälä on 19/12/2016 at 13:14..
modetest: Allow the user to specify the plane ID

Devices can have multiple planes, so allow the user to choose between
them.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e3af5368b2c372cfda27bc010b9c98a923d83cd9

Git commit d5cf3f98314c1b9d87216e00c30c9fef06ff24c3 by Emil Velikov (on behalf of Jonathan Gray) on 24/12/2016 at 17:06..
xf86drm: adjust device node path for minor base

When constructing a path to a device node the minor number retrieved
from fstat needs to have the offset of the node type subtracted from it.
Control and render node types have the same major as the primary node
but each has their own block of minor types at fixed offsets.

v2: remove min < base test as requested by Emil

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5cf3f98314c1b9d87216e00c30c9fef06ff24c3

Git commit e2e766d5acdbb826f1cfe5643669db54ee86f456 by Emil Velikov (on behalf of Jonathan Gray) on 24/12/2016 at 17:06..
xf86drm: add a non-sysfs version of drmGetDeviceNameFromFd2

Implement a generic drmGetDeviceNameFromFd2() to use on non-linux
systems without sysfs.

v2: remove min < base test as requested by Emil

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2e766d5acdbb826f1cfe5643669db54ee86f456

Git commit eebefaf72c55fd2116f4c983ec6724a4d66ab413 by Emil Velikov (on behalf of Jonathan Gray) on 24/12/2016 at 17:06..
xf86drm: don't fatal on per device error in drmGetDevice[s]2

When iterating over all the device nodes if drmProcessPciDevice()
returned an error for any node the function would return an error,
ignoring any valid nodes.

The result of this on OpenBSD where drmProcessPciDevice() results in
device nodes being opened to issue ioctls to get pci data
was that data obtained from /dev/drm0 would be ignored if /dev/drm1
could not be opened.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eebefaf72c55fd2116f4c983ec6724a4d66ab413

Git commit e17cad1994d321a8279c124e7a85ddddcdd9e4cd by Thierry Reding on 12/01/2017 at 21:40..
xf86drm: Fix indentation

libdrm uses spaces for indentation. Fix the two inconsistent lines in
this file.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e17cad1994d321a8279c124e7a85ddddcdd9e4cd

Git commit 885624b0b9691562cdc019182985605a84042e5c by Thierry Reding on 12/01/2017 at 21:40..
Add .editorconfig

This encodes the indentation style for libdrm and can be used with
various editors. See http://editorconfig.org for instructions.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/885624b0b9691562cdc019182985605a84042e5c

Git commit e1ee01a7583508a47ae45b514f77383abd83db72 by Alex Deucher (on behalf of Alex Xie) on 13/01/2017 at 15:35..
amdgpu: Provide more specific error message if non-privileged user runs amdgpu_test

Before this change, the error message is:
"WARNING - Suite initialization failed..."
People might think this is a driver problem.

Tested with non-privileged user. Now the error message is like:
...
Error:Permission denied. Hint:Try to run this test program as root.
WARNING - Suite initialization failed for 'Basic Tests'.
...

Tested as root with no regression.

amdgpu_test uses CUnit. CUnit outputs warning message to stdout.
To be consistent, this commit outputs error message to stdout.

v2: Use strerror instead of %m. %m is a GNU C Library extension.
v3: Limit code and commit message within 80 characters per line.
    Update commit message.
    Remove a space before starting parenthesis in function call.

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Xie <AlexBin.Xie at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e1ee01a7583508a47ae45b514f77383abd83db72

Git commit 44f220ad6200dbccebea2287b874fda7665efe4d by Chris Wilson (on behalf of Dongwon Kim) on 15/01/2017 at 20:15..
intel: update global_name before HASH_ADD

bo->global_name should be updated first before a hash value
for the entry is calculated with it by HASH_ADD macro.

Signed-off-by: Dongwon Kim <dongwon.kim at intel.com>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44f220ad6200dbccebea2287b874fda7665efe4d

Git commit 4ecd1ef010beadef05f7c63c4546849b2eb5ac15 by Emil Velikov (on behalf of Taro Yamada) on 16/01/2017 at 14:41..
xf86drm: fix null termination of string buffer

The string written to the buffer by read() is not null-terminated,
but currently drmParsePciBusInfo() places null character only at the end of the buffer, not at the end of the
string.
As a result, the string passed to sscanf() contains an uninitialized value.

This patch changes to places null character at the end of the string.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99045
Signed-off-by: Taro Yamada <archer_ame at yahoo.co.jp>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ecd1ef010beadef05f7c63c4546849b2eb5ac15

Git commit 5856a5868cd70b02892fc759dc8fe5b3e53a8b96 by Emil Velikov (on behalf of Fabio Estevam) on 16/01/2017 at 14:54..
README: Fix grammar

Fix two grammar issues:

- "standard  autotools  packages ---> "standard  autotools  package"
- "If you are install" ---> "If you are installing"

Signed-off-by: Fabio Estevam <festevam at gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5856a5868cd70b02892fc759dc8fe5b3e53a8b96

Git commit ab50ffbc703573c08e3053555414a6c4d7d778e8 by Thierry Reding on 18/01/2017 at 07:34..
xf86drmMode.h: Use consistent padding

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab50ffbc703573c08e3053555414a6c4d7d778e8

Git commit 4bfbe4c69e95ae3aaaa151f3ffcdd1d3e112214b by Thierry Reding on 18/01/2017 at 07:34..
xf86drmMode.h: Add DisplayPort MST and DPI encoders/connectors

This brings xf86drmMode.h in sync with include/drm/drm_mode.h.
Eventually we really should only have a single set of definitions rather
than duplicating this in two files.

v2: add DPI encoder and connector types introduced in Linux v4.7

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4bfbe4c69e95ae3aaaa151f3ffcdd1d3e112214b

Git commit ecc2a097294dcc773dbe5e2a989f180bedb89b69 by Thierry Reding on 18/01/2017 at 07:34..
xf86drm: Fix type-punned pointer build warning

      CC       libdrm_la-xf86drmMode.lo
    ../xf86drmMode.c: In function 'drmHandleEvent':
    ../xf86drmMode.c:854:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       e = (struct drm_event *)(&buffer[i]);
                   ^

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99350
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ecc2a097294dcc773dbe5e2a989f180bedb89b69

Git commit 9e4c686aa36dfc09b715269a6bb11a452f87ec71 by Thierry Reding (on behalf of Neil Armstrong) on 19/01/2017 at 09:18..
tests/util: Add support for meson module

Add support for Amlogic Meson DRM driver merged for Linux 4.10.

Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e4c686aa36dfc09b715269a6bb11a452f87ec71

Git commit 2e57bba870399926e1a0d0be3f4918a0a8432474 by Thierry Reding on 20/01/2017 at 15:25..
xf86drm: Factor out drmDeviceAlloc()

Subsequent patches will add support for other bus types to drmDevice and
they will duplicate a lot of the code to allocate a drmDevice. Factor
out the common code so it can be reused.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e57bba870399926e1a0d0be3f4918a0a8432474

Git commit f8484ccbd12ba33ea5b3895efb7a39d986271be0 by Thierry Reding on 20/01/2017 at 15:25..
xf86drm: Add USB support

Allow DRM/KMS devices hosted on USB to be detected by the drmDevice
infrastructure.

v4:
- continue on error to process USB devices

v3:
- guard Linux-specific sysfs parsing code with #ifdef __linux__

v2:
- make sysfs_uevent_get() more flexible using a format string

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <thierry.reding at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8484ccbd12ba33ea5b3895efb7a39d986271be0

Git commit 7b1f37f474d6bdf09b0a7f17bdb89398dbcf0c74 by Thierry Reding on 20/01/2017 at 15:27..
xf86drm: Add platform and host1x bus support

ARM SoCs usually have their DRM/KMS devices on the platform bus, so add
support for that to enable these devices to be used with the drmDevice
infrastructure.

NVIDIA Tegra SoCs have an additional level in the hierarchy and DRM/KMS
devices can also be on the host1x bus. This is mostly equivalent to the
platform bus.

v4:
- continue on error to process platform or host1x device

v3:
- guard Linux-specific sysfs parsing code with #ifdef __linux__

v2:
- be careful not to overflow the full name
- read compatible strings into device info

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b1f37f474d6bdf09b0a7f17bdb89398dbcf0c74

Git commit 13b99f2a898a67320499e538303a689a270bb7f4 by Thierry Reding on 20/01/2017 at 15:27..
tests/drmdevice: Add USB, platform and host1x support

Extend the drmdevice test with support for the newly added USB, platform
and host1x busses.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13b99f2a898a67320499e538303a689a270bb7f4

Git commit 5403cb39c124c444babec51bd4499971cd86ccfa by Thierry Reding on 20/01/2017 at 15:27..
xf86drm: Reuse sysfs_uevent_get()

Recent patches for USB, platform and host1x bus support introduced the
sysfs_uevent_get() function that provides a generic way of parsing the
sysfs uevent file that is associated with each device in Linux.

Open-coded variants of this still exist in other places, so make those
reuse the new function to remove some code duplication.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5403cb39c124c444babec51bd4499971cd86ccfa

Git commit 91be4a93d098340f538e1163b7aec782b5d1d167 by Andreas Boll on 27/01/2017 at 14:16..
Switch to dbgsym packages.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91be4a93d098340f538e1163b7aec782b5d1d167

Git commit 9d1cf83ec91acc5d1031c6dcd465a2f845f60dcc by Andreas Boll on 27/01/2017 at 14:19..
Enable building etnaviv on armhf (Closes: #852685).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d1cf83ec91acc5d1031c6dcd465a2f845f60dcc

Git commit de5b41ef5ab617e5284596e220bc72f6065919f5 by Emil Velikov on 27/01/2017 at 15:47..
android: remove LOCAL_MODULE_TAGS := optional tag

Seems to be the default option since ~2009 with commit 2f31293ba78 "auto
import from //branches/cupcake/... at 137197". Fleshed out from a larger
commit in the AOSP repo/fork.

Cc: Dan Willemsen <dwillemsen at google.com>
Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de5b41ef5ab617e5284596e220bc72f6065919f5

Git commit 03d2e91d00cb78d49fe170fb19a29107951a8c96 by Emil Velikov on 27/01/2017 at 15:48..
android: introduce Android.common.mk to reduce boilerplate

... across the makefiles. Currently this isn't much but that will change
shortly.

As an added bonus this fixes all present and future cases where we've
forgotten to strip out the headers from LOCAL_SRC_FILES.

In a couple of cases (the tests) we start setting
LOCAL_EXPORT_C_INCLUDE_DIRS, which shouldn't be an issue.

Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03d2e91d00cb78d49fe170fb19a29107951a8c96

Git commit fc05e89b6f8634e9f347040c0e654e640cca067c by Emil Velikov on 27/01/2017 at 15:48..
android: add HAVE_VISIBILITY to Android.common.mk

Currently only libdrm.so properly annotates its internal/private
symbols. By setting the macro every binary produced will be in the same
boat. This should give is smaller and more secure files

Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc05e89b6f8634e9f347040c0e654e640cca067c

Git commit ff38457e0f72b24d3a9952893afae4f68da8e479 by Emil Velikov on 27/01/2017 at 15:48..
android: add note about command line defines and config.h

Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff38457e0f72b24d3a9952893afae4f68da8e479

Git commit 9c924e823543d24476d73b3f5878935552f31891 by Emil Velikov on 27/01/2017 at 15:48..
android: silence ~550 warnings

Analogous to the autoconf build add the following to the build

   -Wno-unused-parameter
   -Wno-missing-field-initializers

Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c924e823543d24476d73b3f5878935552f31891

Git commit 58459a57fa7202ca2c1f10607ac2d91c6c05f55f by Emil Velikov on 27/01/2017 at 16:15..
tests/nouveau: automake: fold C and CPP flags

Since we don't have any C++ souces this should be a no-op. Folding the
two seems to be the common practise throughout the repo.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58459a57fa7202ca2c1f10607ac2d91c6c05f55f

Git commit 8ef7e5b7026d06a803f0bf75fe323c14f142db3a by Emil Velikov (on behalf of Tomasz Figa) on 27/01/2017 at 16:18..
tests: Use -pthread in CFLAGS instead of -lpthread

-lpthread is not always a valid flag to pull pthread support, especially
on Android it will fail to link due to a missing libpthread.so. The more
generic way to build-in pthread support is to use the -pthread CFLAG, so
let's use it instead.

Signed-off-by: Tomasz Figa <tfiga at chromium.org>
[Emil Velikov: rebase on top of previous commit]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ef7e5b7026d06a803f0bf75fe323c14f142db3a

Git commit fe520bb902fc71b532ae921024e1e4ef3b82388b by Emilio Pozuelo Monfort on 27/01/2017 at 16:50..
Stop passing --disable-silent-rules to configure
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe520bb902fc71b532ae921024e1e4ef3b82388b

Git commit 350d2c1854152f4a91dd36f571f5b890437e08cd by Emilio Pozuelo Monfort on 27/01/2017 at 16:51..
Don't override dh_auto_install
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/350d2c1854152f4a91dd36f571f5b890437e08cd

Git commit 5e0f7c5c65ca6714cd7352d72303ec2cbec35cb5 by Alex Deucher (on behalf of Alex Xie) on 27/01/2017 at 16:53..
amdgpu: verify the tested device

Verify the vender ID and driver name.
Open all AMDGPU devices.
Provide an option to open render node.

Tested as root: PASS
Tested as non-privileged user:
All tests failed as expected

v2: Return value in the ene of function amdgpu_open_devices.
    Check the return value of amdgpu_open_devices.
    amdgpu_test is not for USB device for the time being.
    Get the name of node from function drmGetDevices2.
    Drop the legacy drmAvailable() from the test.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Alex Xie <AlexBin.Xie at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e0f7c5c65ca6714cd7352d72303ec2cbec35cb5

Git commit f86cfaab07a02543f48dca559f9476ad5ea31bba by Emilio Pozuelo Monfort on 27/01/2017 at 16:54..
Release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f86cfaab07a02543f48dca559f9476ad5ea31bba

Git commit 12dd7a2e9cfa20a3022cfe091e824b09c0bfb9d1 by Alex Deucher (on behalf of Alex Xie) on 27/01/2017 at 16:55..
amdgpu: A new option to choose which device to run most tests

This can be used to test multiple GPUs

v2: Use PCI bus ID and optional PCI device ID to choose device
    Add an option to display information of AMDGPU devices

Tested:
   ./amdgpu_test -p
   ./amdgpu_test
   ./amdgpu_test -b 1 #fail as expected
   ./amdgpu_test -b 6 #pass
   ./amdgpu_test -b -d 1 #fail as expected
   ./amdgpu_test -b -d 0 #pass

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Alex Xie <AlexBin.Xie at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12dd7a2e9cfa20a3022cfe091e824b09c0bfb9d1

Git commit 8a89d5f620967a9086495d15825415ac27bf061a by Alex Deucher (on behalf of Alex Xie) on 27/01/2017 at 16:56..
amdgpu: A new option to run tests on render node

Tested:
1. As root, tests passed on primary.
2. As root, tests passed on render node.
   BO export/import test was skipped
3. As non-privileged user, tests failed on primary as expected.
4. As non-privileged user, tests passed on render node.
   BO export/import test was skipped

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Alex Xie <AlexBin.Xie at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a89d5f620967a9086495d15825415ac27bf061a

Git commit a3d715ee14b29d2680ceaf44955679205795140c by Chris Wilson on 27/01/2017 at 20:00..
Import uapi/i915_drm.h from v4.10-rc5-950-g152d5750dda9

To sync with "drm/i915: Support explicit fencing for execbuf"
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a3d715ee14b29d2680ceaf44955679205795140c

Git commit 1bd35da961312aeb33fc7af586fa0d1f207a2d5f by Chris Wilson on 27/01/2017 at 20:00..
intel: Allow the client to control implicit synchronisation

The kernel allows implicit synchronisation to be disabled on individual
buffers. Use at your own risk.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bd35da961312aeb33fc7af586fa0d1f207a2d5f

Git commit c4b00767a7f3b2d00c7b1bc61e2b4d13f90c10ca by Chris Wilson on 27/01/2017 at 20:00..
intel: Support passing of explicit fencing from execbuf

Allow the caller to pass in an fd to an array of fences to control
serialisation of the execbuf in the kernel and on the GPU, and in return
allow creation of a fence fd for signaling the completion (and flushing)
of the batch. When the returned fence is signaled, all writes to the
buffers inside the batch will be complete and coherent from the cpu, or
other consumers. The return fence is a sync_file object and can be
passed to other users (such as atomic modesetting, or other drivers).

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4b00767a7f3b2d00c7b1bc61e2b4d13f90c10ca

Git commit 22cfd0431131538ad1953af86f7cc2d48af176d4 by Chris Wilson on 27/01/2017 at 20:20..
intel: Clear execobject flags before preserving object in reuse cache

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22cfd0431131538ad1953af86f7cc2d48af176d4

Git commit dfd536c60d0bdffe005e354be0677f066af94f83 by Chris Wilson on 27/01/2017 at 20:25..
intel: Export a function to re-enable implicit synchronisation

Implicit synchronisation is the default behaviour of the kernel when
rendering with an execobject. It may be disabled with
drm_intel_gem_bo_disable_implicit_sync(), and then to restore it use
drm_intel_gem_bo_enable_implicit_sync().

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfd536c60d0bdffe005e354be0677f066af94f83

Git commit 736970c49beb9de7ab549f076069d52f4e7bc6f2 by Chad Versace on 27/01/2017 at 21:07..
Bump version for 2.4.75 release

For Intel explicit fencing.

Signed-off-by: Chad Versace <chadversary at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/736970c49beb9de7ab549f076069d52f4e7bc6f2

Git commit ab5a9635563e43f8f948e4a29ea531e44ac9e79a by Dave Airlie on 28/01/2017 at 01:13..
Revert "Bump version for 2.4.75 release"

This reverts commit 736970c49beb9de7ab549f076069d52f4e7bc6f2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab5a9635563e43f8f948e4a29ea531e44ac9e79a

Git commit 0ad0c12fd3e04eaabec313432436fca462ca69ac by Dave Airlie on 28/01/2017 at 01:13..
intel: fix make distcheck

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ad0c12fd3e04eaabec313432436fca462ca69ac

Git commit d4b8344363b4e0f0e831e5722b6df5cc0bb08df8 by Dave Airlie (on behalf of Chad Versace) on 28/01/2017 at 01:14..
Bump version for 2.4.75 release

For Intel explicit fencing.

Signed-off-by: Chad Versace <chadversary at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4b8344363b4e0f0e831e5722b6df5cc0bb08df8

Git commit c486c35147217096a37bb8435fb74e3f287bf317 by Emilio Pozuelo Monfort on 30/01/2017 at 23:50..
Actually, release to experimenal
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c486c35147217096a37bb8435fb74e3f287bf317

Git commit fb4047118ed98f94769b2bb180e5df55a1c4be06 by Andreas Boll on 01/02/2017 at 14:51..
Merge tag 'libdrm-2.4.75' into debian-experimental

libdrm-2.4.75
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb4047118ed98f94769b2bb180e5df55a1c4be06

Git commit 5390d51308e24f0faf95569d3687bc9db0e336a5 by Andreas Boll on 01/02/2017 at 15:00..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5390d51308e24f0faf95569d3687bc9db0e336a5

Git commit 918f29ffd9a188ea4767743e00baf9cef3ddbbff by Andreas Boll on 01/02/2017 at 15:51..
Bump libdrm2's and libdrm-intel1's symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/918f29ffd9a188ea4767743e00baf9cef3ddbbff

Git commit c408f868497cc33e2cc2b94522ab5e7bb328d97a by Andreas Boll on 01/02/2017 at 15:54..
Update extend-diff-ignore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c408f868497cc33e2cc2b94522ab5e7bb328d97a

Git commit b7994bd7068cfd5956933abea1f06282a3a1a465 by Andreas Boll on 01/02/2017 at 15:54..
Add debian/source/format file.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7994bd7068cfd5956933abea1f06282a3a1a465

Git commit c42cc002ab6ec4f757c3fe8fed52fe8915a052cb by Andreas Boll on 01/02/2017 at 16:08..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c42cc002ab6ec4f757c3fe8fed52fe8915a052cb

Git commit 07edf5d905fffb908f48996a4fcc6eac63b9c3ae by Emil Velikov on 01/02/2017 at 22:09..
Remove unused tests/drmstat.c

Earlier commit removed all the legacy 'tests' but a file was left
danglig.

Fixes: 0c80fddd1d0 "tests: remove useless legacy tests"
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reported-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07edf5d905fffb908f48996a4fcc6eac63b9c3ae

Git commit 7a03cdf6a703911d2a8e8ab0781f1e6b88412329 by Alex Deucher (on behalf of Alex Xie) on 02/02/2017 at 20:22..
amdgpu: Free/uninit vamgr_32 in theoretically correct order

vamgr_32 is a region inside general VAM range. It is better to free and
deinitialize it before general VAM range.

Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Alex Xie <AlexBin.Xie at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a03cdf6a703911d2a8e8ab0781f1e6b88412329

Git commit 067e9a1d47a8373b3145481a70fec84ce8e76441 by Alex Deucher (on behalf of Alex Xie) on 02/02/2017 at 20:22..
amdgpu: vamgr_32 can be a struct instead of a pointer

vamgr_32 is an integral part of amdgpu_device. We don't need to calloc and free it.
This can save CPU time, reduce heap fragmentation.

Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Alex Xie <AlexBin.Xie at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
[Grazvydas Ignotas: rebase, correct a typo in commit message]
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/067e9a1d47a8373b3145481a70fec84ce8e76441

Git commit fe7cb34eda1855ac9770bc9f3e582897000e41b0 by Alex Deucher (on behalf of Alex Xie) on 02/02/2017 at 20:22..
amdgpu: vamgr can be a struct instead of a pointer

vamgr is an integral part of amdgpu_device. We don't need to calloc and free it.
This can save CPU time, reduce heap fragmentation.

Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Alex Xie <AlexBin.Xie at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
[Grazvydas Ignotas: rebase, correct a typo in commit message]
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe7cb34eda1855ac9770bc9f3e582897000e41b0

Git commit e0f05b2fad60f04971f05b4dcd7b219b1b21bd5e by Chris Wilson on 11/02/2017 at 11:02..
intel: Move is_softpin to obj->kflags

Use obj->kflags to set EXEC_OBJECT_PINNED when the object is softpinned,
and so remember to clear the softpin status when the object is freed
(and reused).

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0f05b2fad60f04971f05b4dcd7b219b1b21bd5e

Git commit ec80fd36a752960f28c5c900c8c68e201ce07093 by Chris Wilson on 11/02/2017 at 11:05..
intel: Move 48b support to bo_gem->kflags

Another boolean that can be set and used along side the other execobject
flags.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec80fd36a752960f28c5c900c8c68e201ce07093

Git commit f6499b11534450b0f8c2b20529ebedaae924c156 by Emil Velikov on 14/02/2017 at 01:35..
headers: add explicit note against local changes in the README

Even with the step by step guide people sometimes get confused.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6499b11534450b0f8c2b20529ebedaae924c156

Git commit a6cdfa5cd8cc953ffec4497cd8262059c4b14675 by Eric Engestrom on 28/02/2017 at 13:34..
autogen.sh: don't print old git-config values

Old values are of no interest to the user, so let's reduce the spam
a bit by hiding those.

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Chad Versace <chadversary at chromium.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a6cdfa5cd8cc953ffec4497cd8262059c4b14675

Git commit 1bf96af525436d3727d44d137fe922b491512b14 by Eric Engestrom on 28/02/2017 at 13:34..
autogen.sh: run git commands in the (potentially) git dir

If the build dir is outside of the git dir, the order matters :)

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Chad Versace <chadversary at chromium.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1bf96af525436d3727d44d137fe922b491512b14

Git commit 5ee9cb4b4b6964bcd463b0490f3027e6ccfbf45a by Eric Engestrom (on behalf of Thomas Hindoe Paaboel Andersen) on 28/02/2017 at 13:38..
intel: avoid null pointer dereference

Move the dereference after the null check.
Fixes: 028715ee707469189505 ("intel: Avoid the need for most overflow
                              checks by using a scratch page.")
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ee9cb4b4b6964bcd463b0490f3027e6ccfbf45a

Git commit 19c4cfc54918d361f2535aec16650e9f0be667cd by Chris Wilson on 08/03/2017 at 21:03..
intel: Add handle to hashtable before freeing along an error path

drm_intel_gem_bo_free() unconditionally attempts to remove the handle
from the hashtable. This goes horribly wrong if we haven't already added
the bo to the hashtable.

Reported-by: Michael Thayer <michael.thayer at oracle.com>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19c4cfc54918d361f2535aec16650e9f0be667cd

Git commit 2b7453f47862b0ae8032ba269b40830a34a6fb43 by Rob Clark on 21/03/2017 at 14:03..
freedreno: fix potential use-after-free on a5xx+

Something that valgrind spotted:

==8441== Invalid read of size 4
==8441==    at 0x5DEE168: msm_ringbuffer_emit_reloc (msm_ringbuffer.c:506)
==8441==    by 0x5B48F0F: OUT_RELOCW (freedreno_util.h:241)
==8441==    by 0x5B48F0F: fd5_emit_blit (fd5_emit.h:131)
==8441==    by 0x5B48F0F: emit_gmem2mem_surf.isra.12 (fd5_gmem.c:450)
==8441==    by 0x5B4910F: fd5_emit_tile_gmem2mem (fd5_gmem.c:477)
==8441==    by 0x5B14943: render_tiles (freedreno_gmem.c:342)
==8441==    by 0x5B14943: fd_gmem_render_tiles (freedreno_gmem.c:416)
==8441==    by 0x5B0FBA7: batch_flush (freedreno_batch.c:281)
==8441==    by 0x5B0FBA7: fd_batch_flush (freedreno_batch.c:306)
==8441==    by 0x5B11FE7: fd_context_flush (freedreno_context.c:52)
==8441==    by 0x58AD783: st_glFlush (st_cb_flush.c:121)
==8441==    by 0x5751EE7: _mesa_make_current (context.c:1652)
==8441==    by 0x58E6A97: st_api_make_current (st_manager.c:811)
==8441==    by 0x5A2CE43: dri_unbind_context (dri_context.c:207)
==8441==    by 0x5A2C77F: driUnbindContext (dri_util.c:589)
==8441==    by 0x4AC8A67: MakeContextCurrent (glxcurrent.c:214)
==8441==  Address 0x6f5eb1c is 204 bytes inside a block of size 240 free'd
==8441==    at 0x4868F44: realloc (vg_replace_malloc.c:785)
==8441==    by 0x5DEE143: msm_ringbuffer_emit_reloc (msm_ringbuffer.c:502)
==8441==    by 0x5B48F0F: OUT_RELOCW (freedreno_util.h:241)
==8441==    by 0x5B48F0F: fd5_emit_blit (fd5_emit.h:131)
==8441==    by 0x5B48F0F: emit_gmem2mem_surf.isra.12 (fd5_gmem.c:450)
==8441==    by 0x5B4910F: fd5_emit_tile_gmem2mem (fd5_gmem.c:477)
==8441==    by 0x5B14943: render_tiles (freedreno_gmem.c:342)
==8441==    by 0x5B14943: fd_gmem_render_tiles (freedreno_gmem.c:416)
==8441==    by 0x5B0FBA7: batch_flush (freedreno_batch.c:281)
==8441==    by 0x5B0FBA7: fd_batch_flush (freedreno_batch.c:306)
==8441==    by 0x5B11FE7: fd_context_flush (freedreno_context.c:52)
==8441==    by 0x58AD783: st_glFlush (st_cb_flush.c:121)
==8441==    by 0x5751EE7: _mesa_make_current (context.c:1652)
==8441==    by 0x58E6A97: st_api_make_current (st_manager.c:811)
==8441==    by 0x5A2CE43: dri_unbind_context (dri_context.c:207)
==8441==    by 0x5A2C77F: driUnbindContext (dri_util.c:589)
==8441==  Block was alloc'd at
==8441==    at 0x4868F44: realloc (vg_replace_malloc.c:785)
==8441==    by 0x5DEE08B: msm_ringbuffer_emit_reloc (msm_ringbuffer.c:481)
==8441==    by 0x5B48F0F: OUT_RELOCW (freedreno_util.h:241)
==8441==    by 0x5B48F0F: fd5_emit_blit (fd5_emit.h:131)
==8441==    by 0x5B48F0F: emit_gmem2mem_surf.isra.12 (fd5_gmem.c:450)
==8441==    by 0x5B4909F: fd5_emit_tile_gmem2mem (fd5_gmem.c:465)
==8441==    by 0x5B14943: render_tiles (freedreno_gmem.c:342)
==8441==    by 0x5B14943: fd_gmem_render_tiles (freedreno_gmem.c:416)
==8441==    by 0x5B0FBA7: batch_flush (freedreno_batch.c:281)
==8441==    by 0x5B0FBA7: fd_batch_flush (freedreno_batch.c:306)
==8441==    by 0x5B11FE7: fd_context_flush (freedreno_context.c:52)
==8441==    by 0x58AD783: st_glFlush (st_cb_flush.c:121)
==8441==    by 0x5751EE7: _mesa_make_current (context.c:1652)
==8441==    by 0x58E6A97: st_api_make_current (st_manager.c:811)
==8441==    by 0x5A2CE43: dri_unbind_context (dri_context.c:207)
==8441==    by 0x5A2C77F: driUnbindContext (dri_util.c:589)

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b7453f47862b0ae8032ba269b40830a34a6fb43

Git commit 7de1dfe3906bddabda1519c98f1c37900a34b41e by Andreas Boll (on behalf of Chris Wilson) on 21/03/2017 at 17:16..
intel: Add handle to hashtable before freeing along an error path

drm_intel_gem_bo_free() unconditionally attempts to remove the handle
from the hashtable. This goes horribly wrong if we haven't already added
the bo to the hashtable.

Reported-by: Michael Thayer <michael.thayer at oracle.com>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
(cherry picked from commit 19c4cfc54918d361f2535aec16650e9f0be667cd)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7de1dfe3906bddabda1519c98f1c37900a34b41e

Git commit c5b078451cc016e236ae7899b660710fdfc7b0a5 by Andreas Boll on 21/03/2017 at 17:19..
Document the cherry-pick in debian/changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5b078451cc016e236ae7899b660710fdfc7b0a5

Git commit bdecb10d8715d2ef31972801d24f3797f14dbaf7 by Andreas Boll on 21/03/2017 at 17:29..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdecb10d8715d2ef31972801d24f3797f14dbaf7

Git commit b983b054d4f1a6be67105e90f0ae2064f91a762c by Adam Jackson on 23/03/2017 at 16:07..
configure: Explicitly check for pkg-config at the top level

If you don't, then the first place the m4 expands is:

    if test "x$INTEL" != "xno"; then
	    PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
    fi

So on non-Intel architectures we never find it in the path, and all
subsequent PKG_CHECK_MODULESes fail. Boo autoconf.

Signed-off-by: Adam Jackson <ajax at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b983b054d4f1a6be67105e90f0ae2064f91a762c

Git commit d0dae26ca4e743933f50c1bf4a742e0db8e1994b by Rob Clark on 23/03/2017 at 19:22..
freedreno: valgrind support

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d0dae26ca4e743933f50c1bf4a742e0db8e1994b

Git commit a07ae97c75ca45c08327b53df5d8d53e56a46a8a by Rob Clark on 23/03/2017 at 19:22..
freedreno: fix device close issues

Move closing the fd to after subclass ->destroy() (since it might want
to delete gem bo's, etc), and actually free() the fd_device object.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a07ae97c75ca45c08327b53df5d8d53e56a46a8a

Git commit 3dc002df3e5607a3ae0a194b35e1f2fb2cd36697 by Marek Olšák on 27/03/2017 at 19:42..
amdgpu: sync amdgpu_drm.h with kernel 4.11-rc2

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3dc002df3e5607a3ae0a194b35e1f2fb2cd36697

Git commit c34b28ae9bac7a20e60482a2bf72f16ad5e28c67 by Marek Olšák on 27/03/2017 at 19:42..
amdgpu: update amdgpu_drm.h for Vega10

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c34b28ae9bac7a20e60482a2bf72f16ad5e28c67

Git commit 99908bfd4ce3132e99aabc96c1ee4946b1246fa5 by Marek Olšák (on behalf of Huang Rui) on 27/03/2017 at 19:42..
amdgpu: don't read registers not present on Vega10

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99908bfd4ce3132e99aabc96c1ee4946b1246fa5

Git commit fee173dc77295c8624291a4336075361d5dafd67 by Marek Olšák (on behalf of Huang Rui) on 27/03/2017 at 19:42..
tests/amdgpu: fix the count number for vega10

Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fee173dc77295c8624291a4336075361d5dafd67

Git commit 5a44f9e6c6a460a5ea0b698fb64d02b359927999 by Marek Olšák (on behalf of Leo Liu) on 27/03/2017 at 19:42..
tests/amdgpu: add uvd unit test support for vega10

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a44f9e6c6a460a5ea0b698fb64d02b359927999

Git commit f810e31bcf686a156b7b5be6298cd52247a98189 by Marek Olšák (on behalf of Leo Liu) on 27/03/2017 at 19:42..
tests/amdgpu: add vce unit test support for vega10

swizzle mode needs reference and input picture luma and
chroma pitch aligned with 256

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f810e31bcf686a156b7b5be6298cd52247a98189

Git commit a784c38af77714b9e878a7ff97ba18553697304c by Marek Olšák (on behalf of Junwei Zhang) on 27/03/2017 at 19:42..
tests/amdgpu: add Polaris12 support for cs test

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a784c38af77714b9e878a7ff97ba18553697304c

Git commit f684bb109fcdb85faa1b212bb6efcc352d8cbcdc by Marek Olšák (on behalf of Christian König) on 27/03/2017 at 19:42..
amdgpu: stop reading CC_RB_BACKEND_DISABLE on Vega10

Follow up to 'drm: don't access deprecated register on Vega10'.

The same information is available in enabled_rb_pipes_mask and reading that
register can cause GRBM bus problems.

Signed-off-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f684bb109fcdb85faa1b212bb6efcc352d8cbcdc

Git commit c7b5aaeb1f77a53a46c091b1ba999a76baa6c3fb by Marek Olšák (on behalf of Leo Liu) on 27/03/2017 at 19:45..
amdgpu_drm: add AMDGPU_HW_IP_UVD_ENC

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7b5aaeb1f77a53a46c091b1ba999a76baa6c3fb

Git commit 8d61a9a923c1ced974180609611ef615034fd484 by Marek Olšák on 29/03/2017 at 18:06..
configure.ac: bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d61a9a923c1ced974180609611ef615034fd484

Git commit 2e02d88a0cef55d8328e0fcf9c44f5694dc5af8e by Andreas Boll on 30/03/2017 at 08:22..
Merge tag 'libdrm-2.4.76' into debian-experimental

libdrm-2.4.76
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e02d88a0cef55d8328e0fcf9c44f5694dc5af8e

Git commit 45c309d8103e245aa3b6377ba9d7cf8e20094812 by Andreas Boll on 30/03/2017 at 08:22..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45c309d8103e245aa3b6377ba9d7cf8e20094812

Git commit a7a448b94733dc8ee92999bc87eeea3be6a283bd by Andreas Boll on 30/03/2017 at 08:23..
Update extend-diff-ignore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7a448b94733dc8ee92999bc87eeea3be6a283bd

Git commit eeabddf723b1c57d758ea60c8c0fd490b759e295 by Andreas Boll on 30/03/2017 at 08:41..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeabddf723b1c57d758ea60c8c0fd490b759e295

Git commit 18fbd7f0899d4e67a6902813a46be2983986c21c by Christian Gmeiner on 01/04/2017 at 15:12..
etnaviv: remove struct etna_specs

There is no need to cache spec values directly as library
users will cache them anyway.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18fbd7f0899d4e67a6902813a46be2983986c21c

Git commit 4e369f25a942837454f1c127a7a440571af4f486 by Nicolai Hähnle on 03/04/2017 at 08:11..
amdgpu: add amdgpu_bo_va_op_raw

This variant allows the caller full control over flags and size, and
allows passing a NULL bo (for PRT support).

Cc: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Cc: Jerry Zhang <Jerry.Zhang at amd.com>
Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e369f25a942837454f1c127a7a440571af4f486

Git commit f104148e40d6285a04698f0fa5f4ef76383bee6f by Nicolai Hähnle on 03/04/2017 at 16:31..
headers: sync amdgpu_drm.h from airlied/drm-next

Changes include: PRT and preemption flags, sensor info, and some more
changes for Vega10.

Generated using make headers_install from airlied/drm-next commit
320d8c3d38739fa8e31a076b86cbdafcf8897d5e.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f104148e40d6285a04698f0fa5f4ef76383bee6f

Git commit 0a4626fead67f228bd7fad3c8b00812ab2613ec8 by Nicolai Hähnle on 03/04/2017 at 16:32..
headers: the uint*_t vs. __u* discrepancy in amdgpu_drm is fixed

This was already done in commit 3dc002df3e5 ("amdgpu: sync amdgpu_drm.h
with kernel 4.11-rc2"), now update the README accordingly.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a4626fead67f228bd7fad3c8b00812ab2613ec8

Git commit eead59110771e617096d554ffd92360e023174e1 by Nicolai Hähnle (on behalf of Junwei Zhang) on 03/04/2017 at 16:32..
amdgpu: add REPLACE and CLEAR checking for VA op (v2)

v2: fix indent

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eead59110771e617096d554ffd92360e023174e1

Git commit f5995751b0722bdd3789b1afb48b86d8f075b1e7 by Emil Velikov on 03/04/2017 at 16:46..
amdgpu: add amdgpu_bo_va_op_raw to the symbol check

Otherwise the make check will rightfully fail.

Fixes: 4e369f25a94 ("amdgpu: add amdgpu_bo_va_op_raw")
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5995751b0722bdd3789b1afb48b86d8f075b1e7

Git commit c9ef5c4a1c691ebcdfa4261b406b8b81f7b5a18f by Emil Velikov (on behalf of Seung-Woo Kim) on 03/04/2017 at 16:46..
exynos: fix type-punned pointer build warning

As like the commit ecc2a097294d ("xf86drm: Fix type-punned pointer
build warning"), this fixes following build warning.

   exynos_drm.c: In function 'exynos_handle_event':
   exynos_drm.c:420:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      e = (struct drm_event *) &buffer[i];
                  ^

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9ef5c4a1c691ebcdfa4261b406b8b81f7b5a18f

Git commit 762be6c2102de0ec99659838a1423c4a131432ff by Emil Velikov (on behalf of Seung-Woo Kim) on 03/04/2017 at 16:46..
exynos/fimg2d: remove unused-function build warning

The function g2d_reset() is not anymore used after the commit
e3c97d1a2473 ("exynos/fimg2d: add g2d_validate_xyz() functions"),
so it should be removed.

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/762be6c2102de0ec99659838a1423c4a131432ff

Git commit a398adba7c845fe248ab1e5c338789ca2882644b by Emil Velikov (on behalf of Seung-Woo Kim) on 03/04/2017 at 16:46..
tests/exynos: remove unused-function build warning

The function g2d_blend_test() is blocked to call because of
feature unsafety. This patch blocks with proper feature name
and also blocks the function itself to remove build warning.

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a398adba7c845fe248ab1e5c338789ca2882644b

Git commit 2dc30dd5279fea1838f181724fb699a3689f582b by Emil Velikov (on behalf of Seung-Woo Kim) on 03/04/2017 at 16:46..
tests/exynos: fix invalid code of error path in g2d test

This patch fixes invalid code of error path including NULL
deference and leak in g2d test.

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dc30dd5279fea1838f181724fb699a3689f582b

Git commit 7b806e87890182ac1b6181a848e03cd5c7db97ec by Emil Velikov (on behalf of Seung-Woo Kim) on 03/04/2017 at 16:46..
xf86drm: remove memory leaks in drmGetBusid/drmGetReservedContextList

In error path of drmGetBusid() and drmGetReservedContextList(),
there are memory leaks for error path. So this removes them.

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b806e87890182ac1b6181a848e03cd5c7db97ec

Git commit c4d673acdcf1add753aa53d359f29bb44bc057db by Emil Velikov (on behalf of Rob Herring) on 03/04/2017 at 16:46..
Android: fix building of modetest and proptest

These tests depend on tests/util/ headers, but expect the include path
to be tests/.

Signed-off-by: Rob Herring <robh at kernel.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4d673acdcf1add753aa53d359f29bb44bc057db

Git commit 51a514c43f607c7f3c1231d1fcac15d450f98e5c by Emil Velikov (on behalf of Rob Herring) on 03/04/2017 at 16:46..
Android: disable pointer-arith and enum-conversion

Disable some more warnings from clang. These don't appear to be warnings
worth fixing.

Signed-off-by: Rob Herring <robh at kernel.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51a514c43f607c7f3c1231d1fcac15d450f98e5c

Git commit e5053343de6f910882a43214ce5c7b69a9b07927 by Emil Velikov (on behalf of Erik Faye-Lund) on 03/04/2017 at 16:51..
tegra: update symbol-check

I get a few more symbols in my build tegra-libraries, so let's
include these in the whitelist as well.

While we're at it, update the comment at the top.

Signed-off-by: Erik Faye-Lund <kusmabite at gmail.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5053343de6f910882a43214ce5c7b69a9b07927

Git commit 6796859fcce7b9d7157f066a8b0dac3ede6438dd by Emil Velikov (on behalf of Bernd Kuhls) on 03/04/2017 at 16:57..
tests/etnaviv: link against libdrm

Fixes link errors detected by buildroot autobuilders:

http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/build-end.log

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100530
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6796859fcce7b9d7157f066a8b0dac3ede6438dd

Git commit 63120172668610cebfd01e89f67e73037037dfd9 by Emil Velikov on 03/04/2017 at 17:01..
configure.ac: bring back pthread-stubs check

Accidentally removed with earlier commit. Although rather than simply
adding the check for all platforms, use the same heuristics as we do in
mesa.

Namely: pthread-stubs is a thing only for BSD platforms. Everyone else
should have lightweight pthread API in their C runtime library.

Fixes: 4ecd1ef010b ("xf86drm: fix null termination of string buffer")
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63120172668610cebfd01e89f67e73037037dfd9

Git commit e61e999838faa65f1c5cbddfbda06125be19e353 by Marek Olšák on 04/04/2017 at 09:36..
configure.ac: bump the version to 2.4.77
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e61e999838faa65f1c5cbddfbda06125be19e353

Git commit 64423a70361eec1b855022550b1c13cc4807ce0e by Eric Engestrom on 04/04/2017 at 16:00..
man/drm(7): fix typo

Reported-by: Oliver Kisielius <oliver.kisielius at gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100559
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64423a70361eec1b855022550b1c13cc4807ce0e

Git commit 33312e42a777d23f00febc0ece83c91429ef4bf9 by Eric Engestrom on 04/04/2017 at 16:09..
man: fix bug report instruction

Component "libdrm" doesn't exist (anymore?)

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33312e42a777d23f00febc0ece83c91429ef4bf9

Git commit 294be2616e1eda4e558253ae498f1503be347028 by Eric Engestrom on 04/04/2017 at 16:38..
man: fix bug report instructions (for real this time)

/me derped, component libdrm doesn't exist under Mesa because it's in DRI.
While at it, give the full URL and make it https.

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/294be2616e1eda4e558253ae498f1503be347028

Git commit 10ca5e13a8357dfa5562102ae94b9fa7f535f4df by Eric Engestrom on 04/04/2017 at 17:07..
man: fix bug report instructions (third time's the charm)

Compile- and run-tested this time.

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10ca5e13a8357dfa5562102ae94b9fa7f535f4df

Git commit cee84d8f80b52b8dcb432b18db55c50725ee0782 by Jordan Justen on 05/04/2017 at 06:16..
Merge tag 'libdrm-2.4.77' into debian-experimental

libdrm-2.4.77
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cee84d8f80b52b8dcb432b18db55c50725ee0782

Git commit 9116ff106b759d87053ad8a188068354282970d7 by Jordan Justen on 05/04/2017 at 06:19..
Start 2.4.77-1 changelog entry

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9116ff106b759d87053ad8a188068354282970d7

Git commit 677169e627f6fffe0518d6f6f6a056b01c1d50c2 by Jordan Justen on 05/04/2017 at 06:30..
Bump libdrm-amdgpu1 symbols

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/677169e627f6fffe0518d6f6f6a056b01c1d50c2

Git commit 8ad72f62c4e424994d2c260358de475a7d843bd2 by Jordan Justen on 05/04/2017 at 09:05..
Update debian/upstream/signing-key.asc for 2.4.77 release

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ad72f62c4e424994d2c260358de475a7d843bd2

Git commit 6c07d1158da1d1d4a7285f23cccfce189076b865 by Jordan Justen on 05/04/2017 at 09:32..
Upload to experimental

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c07d1158da1d1d4a7285f23cccfce189076b865

Git commit 0010d312dbf0dae05652b75cdef7cd361f686623 by Emil Velikov on 05/04/2017 at 17:11..
configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD

As mentioned on the xcb mailing list, the platform uses the GLIBC
forwarding mechanism.

https://lists.freedesktop.org/archives/xcb/2016-November/010896.html

Reported-by: Andreas Boll <andreas.boll.dev at gmail.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0010d312dbf0dae05652b75cdef7cd361f686623

Git commit e379c6a137bba5c40d9a126b71a667b4d7f5697a by Daniel Stone on 06/04/2017 at 19:32..
Headers: Sync drm{,_mode}.h with the kernel

Generated using make headers_install, based on drm-misc-next commit
5db06a8a98f515f67446a69c57577c4c363ec65d.

This clarifies the comments around modifiers such that they are
per-framebuffer rather than per-plane, adds the beginnings of aspect
ratio mode flags, link status properties, and updates the 'reserved'
field from vblank events to include the CRTC ID.

v2: Split into separate patch, pull in full kernel changes.
v3: Undo revert of connector-type enums, since it is not actually
    harmful.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e379c6a137bba5c40d9a126b71a667b4d7f5697a

Git commit 890d43a6a8d091211b82dd432af5e0a38472ffa6 by Daniel Stone (on behalf of Ander Conselvan de Oliveira) on 06/04/2017 at 19:32..
Add CRTC ID to vblank event

When using the atomic API, one request can span multiple CRTCs, however
one event is generated per CRTC. As we cannot disambiguate the CRTC with
user data (since we only have one piece of user data to pass in), newer
kernels can include the CRTC ID in the page flip event.

Add a new vfunc to dispatch vblank events carrying a CRTC ID to clients
who negotiate a higher interface version.

[daniels: Rebased, include new cap, call page_flip_handler if it is set
          but page_flip_handler2 isn't even on newer contexts, write a
	  commit message.]

v2: Split into separate commit.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/890d43a6a8d091211b82dd432af5e0a38472ffa6

Git commit 1142f9b30fd5c3b2ca93069bee757418ba497895 by Daniel Stone on 07/04/2017 at 08:10..
configure.ac: bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1142f9b30fd5c3b2ca93069bee757418ba497895

Git commit 047aba169731b32ca80b612e6e0d71e4b4e11937 by Samuel Pitoiset on 07/04/2017 at 15:58..
amdgpu: allow to query GPU sensor related information

This exposes amdgpu_query_sensor_info().

v2: - add amdgpu_query_sensor_info() to the symbols list

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/047aba169731b32ca80b612e6e0d71e4b4e11937

Git commit c9c77c37175be1a8f30e34d30f32a9f3f3df0dce by Marek Olšák on 08/04/2017 at 19:58..
configure.ac: bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9c77c37175be1a8f30e34d30f32a9f3f3df0dce

Git commit 47521438eb5c3f01c0bbae79c85ddbe8a5435a98 by Emil Velikov (on behalf of Tobias Jakobi) on 08/04/2017 at 20:33..
exynos: add C++ support to exynos_drmif header

Add the usual extern "C" when compiling in C++ mode.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47521438eb5c3f01c0bbae79c85ddbe8a5435a98

Git commit 3f1df25e0b6ebff8841647dff867b62d66dc40d7 by Eric Engestrom on 10/04/2017 at 16:17..
intel: remove dead code

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f1df25e0b6ebff8841647dff867b62d66dc40d7

Git commit 26e51e413be72256d4d416f8a9b9d04a78bfbf18 by Lucas Stach (on behalf of Philipp Zabel) on 12/04/2017 at 09:58..
etnaviv: sync uapi header

Import the etnaviv header changes from kernel commits 9ad59fea162c
("drm/etnaviv: submit support for in-fences") and 78ec187f64fa
("drm/etnaviv: submit support for out-fences") for fence fd support.

The drm_etnaviv_gem_submit structure was extended to include a flags
field, new flags for in-fence and out-fence fds and an input/output
fence fd field.

This is one-way backwards compatible because old userspace code passing
a short structure not including the flags field to new kernels will
cause the remaining fields to be zero-filled. New userspace code must
make sure to only pass the short structure to old kernels, though.

Not generated using make headers_install, since the drm/etnaviv_drm.h
uapi header is not installed yet by the kernel.
Copied from the airlied/drm-next commit 78ec187f64fa.

v2: improved commit message

Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26e51e413be72256d4d416f8a9b9d04a78bfbf18

Git commit 2f902a6844124291e8f4458ecae98543bd9a2802 by Lucas Stach (on behalf of Philipp Zabel) on 12/04/2017 at 09:58..
etnaviv: add fence fd support

Add etna_cmd_stream_flush2 with in-fence fd and out-fence fd support for
explicit fencing.

v3: added etna_cmd_stream_flush2 to etnaviv/etnaviv-symbol-check

v2: renamed etna_cmd_stream_flush_explicit to etna_cmd_stream_flush2

Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f902a6844124291e8f4458ecae98543bd9a2802

Git commit f02719c5246d301a50d7e0356bf3fe61b1e945a1 by Christian Gmeiner on 14/04/2017 at 22:45..
configure.ac: bump version for release

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f02719c5246d301a50d7e0356bf3fe61b1e945a1

Git commit f45853802e910fd472f368a2d461708491fedfa3 by Rob Clark on 15/04/2017 at 18:43..
freedreno: fix double-free on exit

Fixes: a07ae97 ("freedreno: fix device close issues")
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f45853802e910fd472f368a2d461708491fedfa3

Git commit d8d45a4938d99337503197fe6d28cbf20b16cc32 by Nicolai Hähnle on 18/04/2017 at 19:05..
amdgpu: add the interface of waiting multiple fences

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
[v2: allow returning the first signaled fence index]
Signed-off-by: monk.liu <Monk.Liu at amd.com>
[v3:
 - cleanup *status setting
 - fix amdgpu symbols check
v4: simplify return from amdgpu_cs_wait_fences (suggested
    by Edward O'Callaghan)]
Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com> (v1)
Reviewed-by: Jammy Zhou <Jammy.Zhou at amd.com> (v1)
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8d45a4938d99337503197fe6d28cbf20b16cc32

Git commit 90c304584af8e1bac6391530f59bbe9ccac8e06a by Nicolai Hähnle on 18/04/2017 at 19:05..
amdgpu: add a test for amdgpu_cs_wait_fences

Signed-off-by: monk.liu <Monk.Liu at amd.com>
[v2: actually hook up the test case]
Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90c304584af8e1bac6391530f59bbe9ccac8e06a

Git commit 7cfcd5ef4b394f66c4a6fde705cf7c583a0b0c7b by Edward O'Callaghan on 19/04/2017 at 08:08..
amdgpu/: concisely && consistently check null ptrs in canonical form

Be consistent and use the canonical form while sanity checking
null pointers, also combine a few branches for brevity.

v2: rebase on top of 'add amdgpu_cs_wait_fences' series.

Signed-off-by: Edward O'Callaghan <funfunctor at folklore1984.net>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7cfcd5ef4b394f66c4a6fde705cf7c583a0b0c7b

Git commit 064eddb84f22e54fa9d62177bfaa128ce897ea3a by Andreas Boll on 19/04/2017 at 12:30..
Merge tag 'libdrm-2.4.80' into debian-experimental

libdrm-2.4.80
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/064eddb84f22e54fa9d62177bfaa128ce897ea3a

Git commit 86d07ce6ba86dfcfffe34e15f2fb4082e843bf10 by Andreas Boll on 19/04/2017 at 12:32..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86d07ce6ba86dfcfffe34e15f2fb4082e843bf10

Git commit 242b6dce383a533d0c24b134326475b57ede6a8c by Andreas Boll on 19/04/2017 at 13:14..
Bump libdrm-amdgpu1's and libdrm-etnaviv1's symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/242b6dce383a533d0c24b134326475b57ede6a8c

Git commit b96599896ad49b2a89fd50dddab3cf2300bd0fc9 by Andreas Boll on 19/04/2017 at 13:15..
Remove libpthread-stubs0-dev build-dep per configure.ac.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b96599896ad49b2a89fd50dddab3cf2300bd0fc9

Git commit 46437947b197de7b29a44e621d8aa6f8ccb3a29b by Andreas Boll on 19/04/2017 at 13:35..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46437947b197de7b29a44e621d8aa6f8ccb3a29b

Git commit 691a21579962d2db2d5cb1de5286fa86ef22214f by Ilia Mirkin on 20/04/2017 at 03:25..
modetest: fix printing of fourcc on BE machines

fourcc is not a string, it's a packed integer. This happens to work out
on LE, but gets reversed on BE.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/691a21579962d2db2d5cb1de5286fa86ef22214f

Git commit d75a7ef1d7353cd122e5f8e975e69d2446eaad74 by Eric Anholt on 25/04/2017 at 23:10..
Add pl111 as a KMS driver for utils.

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d75a7ef1d7353cd122e5f8e975e69d2446eaad74

Git commit 2ee1fd2470e96473f27080c01c5ecd710a6ab6c8 by Eric Anholt on 25/04/2017 at 23:10..
Add the DPI encoder/connector types to KMS utils.

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ee1fd2470e96473f27080c01c5ecd710a6ab6c8

Git commit 00aa2c18810efb896afd9ff0acbadd4aa9540fe6 by Edward O'Callaghan on 03/05/2017 at 11:36..
amdgpu: Use the canonical form in branch predicate

Suggested-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Edward O'Callaghan <funfunctor at folklore1984.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00aa2c18810efb896afd9ff0acbadd4aa9540fe6

Git commit 7c27cd7c5da0b87cea0dacd454307e2613d3b415 by Adam Jackson on 04/05/2017 at 18:36..
Export drmDevicesEqual

drmCompareBusInfo was almost this already, but it wasn't exported, its
name didn't match its functionality, and while it almost looks like it
was usable for sorting due to memcmp it wouldn't work if you had
multiple bus types. I don't really want to think about defining a
sensible sort order for bus types, so let's at least make it less of a
trap for the caller.

Invert its boolean sense to be 'true if equal', rename it to describe
the types it actually operates on, and export.

Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.velilkov at collabora.com>
Signed-off-by: Adam Jackson <ajax at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c27cd7c5da0b87cea0dacd454307e2613d3b415

Git commit 7040fea0280bad527ed4b3d5eee7d7bfbf303efc by Adam Jackson on 04/05/2017 at 18:36..
configure: Fix the <sys/sysmacros.h> check

AC_HEADER_MAJOR only defines MAJOR_IN_SYSMACROS if major() is _not_
defined by <sys/types.h> alone. It is, but it warns, and that's ugly.
To fix this, push -Werror into CFLAGS when invoking AC_HEADER_MAJOR so
the warning makes the compilation test fail.

Reviewed-by: Emil Velikov <emil.velilkov at collabora.com>
Signed-off-by: Adam Jackson <ajax at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7040fea0280bad527ed4b3d5eee7d7bfbf303efc

Git commit a2fa2e08692483cf9f4d06caa6e0f0add59e3343 by Adam Jackson on 04/05/2017 at 19:57..
Fix stray caller of drmCompareDevices

Signed-off-by: Adam Jackson <ajax at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2fa2e08692483cf9f4d06caa6e0f0add59e3343

Git commit 41be41f99eb53bd4998b1cd930fa63f0e552d971 by Nicolai Hähnle on 16/05/2017 at 13:45..
amdgpu: add missing extern "C" headers

Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Xie <AlexBin.Xie at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41be41f99eb53bd4998b1cd930fa63f0e552d971

Git commit 3f457d2a6e2dd74820ad7258edef573ab3b114fd by Alex Deucher (on behalf of Hawking Zhang) on 23/05/2017 at 21:41..
amdgpu: add raven family id

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Chunming Zhou <David1.Zhou at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f457d2a6e2dd74820ad7258edef573ab3b114fd

Git commit 5faee772721d2d2623e7f5980477de773bc73128 by Alex Deucher (on behalf of Leo Liu) on 23/05/2017 at 21:43..
amdgpu/drm: add AMDGPU_HW_IP_VCN_DEC

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5faee772721d2d2623e7f5980477de773bc73128

Git commit eeb51df3ced003515ba4a71492eeb86c145cb77e by Alex Deucher (on behalf of Leo Liu) on 23/05/2017 at 21:43..
amdgpu/drm: add AMDGPU_HW_IP_VCN_ENC

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eeb51df3ced003515ba4a71492eeb86c145cb77e

Git commit 81312f3730c14a2930a7784493701809c7f04a26 by Marek Olšák on 24/05/2017 at 15:01..
Bump version to 2.4.81
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/81312f3730c14a2930a7784493701809c7f04a26

Git commit bbe998791d6cd0d5c048beba6ae8a6dbbf8185be by Rob Herring (on behalf of Elliott Hughes) on 28/05/2017 at 14:30..
Android's major/minor/makedev live in <sys/sysmacros.h>

Bug: https://github.com/android-ndk/ndk/issues/398

Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbe998791d6cd0d5c048beba6ae8a6dbbf8185be

Git commit ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4 by Rob Herring on 28/05/2017 at 14:34..
Android: fix missing trailing \

In commit bbe998791d6c ("Android's major/minor/makedev live in
<sys/sysmacros.h>"), it didn't apply cleanly and I missed the trailing
\, so add it here.

Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4

Git commit 1b8db1777983b917384c2ed78ed5a2ab653d9e55 by Eric Engestrom on 03/06/2017 at 22:39..
headers: sync drm_fourcc.h with airlied/drm-next

This adds a bunch of modifiers stuff, as well as a few new formats.
Includes the following changes:
ebbb0e5cfd2ceb1150b1 drm: add extern C guard for the UAPI headers
b9fb2a21ac8058965a6b drm_fourcc: Document linear modifier
af913418261d6d3e7a29 drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
fd056f05b9fcba35b77e drm: add fourcc codes for 16bit R and RG
73f1a5858bf82f3bf232 drm/fourcc: add vivante tiled layout format modifiers
ba2b5277dc52cc96944d drm: add RGB formats with separate alpha plane
5e91144dd702d068b22a drm/tegra: Add tiling FB modifiers

Generated using `make headers_install` from airlied/drm-next
at commit 2a1720376adda5ecf8e636fbfb05339c7dad1c55

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b8db1777983b917384c2ed78ed5a2ab653d9e55

Git commit 48aac8c6ef301be5ed4cf824779baa3c98981a90 by Eric Engestrom on 03/06/2017 at 22:39..
headers: sync drm_sarea.h with airlied/drm-next

Adds the C++ extern guards from
ebbb0e5cfd2ceb1150b1 drm: add extern C guard for the UAPI headers

Generated using `make headers_install` from airlied/drm-next
at commit 2a1720376adda5ecf8e636fbfb05339c7dad1c55

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48aac8c6ef301be5ed4cf824779baa3c98981a90

Git commit ec65d19809121b460c80b45509ed12a4cdbde4b8 by Leo Liu on 05/06/2017 at 14:41..
tests/amdgpu: rename uvd messages to decode messages

It will be shared with VCN decode

Signed-off-by: Leo Liu <leo.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec65d19809121b460c80b45509ed12a4cdbde4b8

Git commit 1851f1b57a96547d5b8f8b651768561ee6927b16 by Leo Liu on 05/06/2017 at 14:41..
tests/amdgpu: separate decode messages

AVC decode messages will be common with VCN decode

Signed-off-by: Leo Liu <leo.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1851f1b57a96547d5b8f8b651768561ee6927b16

Git commit 01096f2122234c48c959b5bcf451873de459bc47 by Leo Liu on 05/06/2017 at 14:41..
tests/amdgpu: move decode sum to common

Signed-off-by: Leo Liu <leo.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01096f2122234c48c959b5bcf451873de459bc47

Git commit c1f5eea50ff5d4c1a76bb16cbda5530a7bb8e8d1 by Leo Liu on 05/06/2017 at 14:41..
tests/amdgpu: add vcn tests support and sets

Signed-off-by: Leo Liu <leo.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1f5eea50ff5d4c1a76bb16cbda5530a7bb8e8d1

Git commit 16444e1061a2dcc80cdc80d64b6ae9ef2deee5fe by Leo Liu on 05/06/2017 at 14:41..
tests/amdgpu: implement vcn dec unit tests

Signed-off-by: Leo Liu <leo.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/16444e1061a2dcc80cdc80d64b6ae9ef2deee5fe

Git commit b6f450e065a538d566c71872ce890ff07956e3eb by Alex Deucher (on behalf of Tom St Denis) on 06/06/2017 at 16:14..
tests/amdgpu: Fix device_id option

The device_id option [-d] was badly broken.  This commit fixes
the width (was 8 is now 16 bits) as well as enables searches
without specifying a bus id.  It was also comparing "dev" from
the bus field which is not the PCI device id.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6f450e065a538d566c71872ce890ff07956e3eb

Git commit 9861a6c078790bd34628342c255fb9c0e1d5517d by Andreas Boll on 09/06/2017 at 08:23..
Merge tag 'libdrm-2.4.81' into debian-experimental

libdrm-2.4.81
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9861a6c078790bd34628342c255fb9c0e1d5517d

Git commit 1b40719c922f5fd8d99022d72e979c2215b19c02 by Andreas Boll on 09/06/2017 at 08:24..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b40719c922f5fd8d99022d72e979c2215b19c02

Git commit f5c87ed386133650e304eb041dcccbafa5b1cab5 by Andreas Boll on 09/06/2017 at 08:34..
Bump libdrm2's and libdrm-amdgpu1's symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5c87ed386133650e304eb041dcccbafa5b1cab5

Git commit a0fccb4e8e84fc3e51b1109ef0f683609857ca06 by Andreas Boll on 09/06/2017 at 08:41..
Upload to experimental.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0fccb4e8e84fc3e51b1109ef0f683609857ca06

Git commit 57d67d55d32e9196fceef41a693c89d0eb163a72 by Michel Dänzer on 12/06/2017 at 08:16..
tests/amdgpu: s/uvd_messages.h/decode_messages.h/ in Makefile.am

Fixes make distcheck with amdgpu enabled.

Fixes: ec65d1980912 ("tests/amdgpu: rename uvd messages to decode
                      messages")

Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57d67d55d32e9196fceef41a693c89d0eb163a72

Git commit 87dac00db38fa962c2fd6aa66c8482a9d7464903 by Michel Dänzer on 13/06/2017 at 01:20..
amdgpu: Add .editorconfig file for amdgpu coding style

The .editorconfig file in the toplevel directory doesn't match.

Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87dac00db38fa962c2fd6aa66c8482a9d7464903

Git commit 7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc by Michel Dänzer (on behalf of Xiaojie Yuan) on 13/06/2017 at 01:21..
amdgpu: move asic id table to a separate file

v2: fix an off by one error and leading white spaces
v3: use thread safe strtok_r(); initialize len before calling getline();
    change printf() to drmMsg(); add initial amdgpu.ids
v4: integrate some recent internal changes, including format changes
v5: fix line number for empty/commented lines; realloc to save memory;
    indentation changes
v6: remove a line error
v7: [Michel Dänzer]
* Move amdgpu.ids to new data directory
* Remove placeholder entries from amdgpu.ids
* Set libdrmdatadir variable in configure.ac instead of Makefile.am
  [Emil Velikov]
* Use isblank() instead of open-coding it [Emil Velikov]
* Don't leak asic_id_table memory if realloc fails [Emil Velikov]
* Check and bump table_max_size at the beginning of the while loop [Emil
  Velikov]
* Initialize table_max_size to the number of entries in data/amdgpu.ids
v8: [Michel Dänzer]
* Make sure amdgpu_asic_id.c gets rebuilt when amdgpu.ids changes

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Samuel Li <Samuel.Li at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc

Git commit b9549c954e190010a79e6691983b6ae16eac83d5 by Daniel Stone (on behalf of Eric Anholt) on 22/06/2017 at 09:49..
headers: Update drm_fourcc and vc4_drm.h with new VC4 tiling UAPI.

Taken from make headers_install of drm-misc-next
(34c8ea400ff6383b028f63df2453914163afc07c)

Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9549c954e190010a79e6691983b6ae16eac83d5

Git commit 2e333078575f643bf4eb26b3d1ffbaeca8403932 by Andreas Boll on 23/06/2017 at 09:58..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e333078575f643bf4eb26b3d1ffbaeca8403932

Git commit 92b5b308ca2fec356dd29bb2f27d88a5aff61798 by Dave Airlie on 27/06/2017 at 03:08..
amdgpu: sync amdgpu_drm with kernel.

This syncs the amdgpu_drm header with my drm-next branch as of
6d61e70ccc21606ffb8a0a03bd3aba24f659502b.

It brings over the VM and semaphore API changes.

Generated using make headers_install.
Generated from git://people.freedesktop.org/~airlied/linux drm-next commit 6d61e70ccc2.

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92b5b308ca2fec356dd29bb2f27d88a5aff61798

Git commit 3832374dafb8d0b1b69d8856be28352514afab5d by Dave Airlie on 28/06/2017 at 19:31..
drm: update drm.h to latest in drm-next.

This syncs the drm.h header with my drm-next branch as of
6d61e70ccc21606ffb8a0a03bd3aba24f659502b.

It brings over the semaphore API changes.

Generated using make headers_install.
Generated from git://people.freedesktop.org/~airlied/linux drm-next commit 6d61e70ccc2.

[airlied: I split patch in two, split reviewed by across both]

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3832374dafb8d0b1b69d8856be28352514afab5d

Git commit fc4922793f1871577bb44b1d69ec3801acb23eb6 by Dave Airlie on 28/06/2017 at 19:32..
libdrm: add drm syncobj create/destroy/import/export

These ioctls are now in drm next so add the first set of libdrm APIs.

Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc4922793f1871577bb44b1d69ec3801acb23eb6

Git commit 0733f376ae93f7580be1641d8ebc644561d438f4 by Rodrigo Vivi (on behalf of Anusha Srivatsa) on 29/06/2017 at 17:50..
intel: PCI Ids for S SKU in CFL

Add the PCI IDs for S SKU IN CFL by following the spec.

v2: Update IDs.

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
Reviewed-by: Clinton Taylor <clinton.a.taylor at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0733f376ae93f7580be1641d8ebc644561d438f4

Git commit 2b48faf30e03cdafccffd7d6c6a715c2f969fc31 by Rodrigo Vivi (on behalf of Anusha Srivatsa) on 29/06/2017 at 17:51..
intel: PCI Ids for H SKU in CFL

Add the PCI IDs for H SKU IN CFL by following the spec.

v2: Update IDs

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
Reviewed-by: Clinton Taylor <clinton.a.taylor at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b48faf30e03cdafccffd7d6c6a715c2f969fc31

Git commit 4c98652cb5cd3b0ef3681b1a7b2892c14b7f5c34 by Rodrigo Vivi (on behalf of Anusha Srivatsa) on 29/06/2017 at 17:51..
intel: PCI Ids for U SKU in CFL

Add the PCI IDs for U SKU IN CFL by following the spec.

v2: Update IDs

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
Reviewed-by: Clinton Taylor <clinton.a.taylor at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c98652cb5cd3b0ef3681b1a7b2892c14b7f5c34

Git commit 6b624bf3c394e1883314925c65c7ed1e98f3639f by Rodrigo Vivi on 30/06/2017 at 15:30..
intel: Add Cannonlake PCI IDs for U-skus.

Platform enabling and its power-on are organized in different
skus (U x Y x S x H, etc). So instead of organizing it in
GT1 x GT2 x GT3 let's also use the platform sku.

This is a copy of merged i915's
commit e918d79a5d0a ("drm/i915/cnl: Add Cannonlake PCI IDs for U-skus.")

v2: Remove PCI IDs for SKU not mentioned in spec.
v3: Add kernel commit id for reference.

Cc: Anusha Srivatsa <anusha.srivatsa at intel.com>
Cc: Clinton Taylor <clinton.a.taylor at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Clinton Taylor <clinton.a.taylor at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b624bf3c394e1883314925c65c7ed1e98f3639f

Git commit 80201d706712bd87f1bac8b7493bd784acd4a764 by Rodrigo Vivi on 30/06/2017 at 15:30..
intel: Add Cannonlake PCI IDs for Y-skus.

By the Spec all CNL Y skus are 2+2, i.e. GT2.

This is a copy of merged i915's
commit 95578277cbdb ("drm/i915/cnl: Add Cannonlake PCI IDs for Y-skus.")

v2: Add kernel commit id for reference.

Cc: Anusha Srivatsa <anusha.srivatsa at intel.com>
Cc: Clinton Taylor <clinton.a.taylor at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Clinton Taylor <clinton.a.taylor at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80201d706712bd87f1bac8b7493bd784acd4a764

Git commit 5c490bd6854a5b265aaa62ef62926c3ac97092c7 by Rodrigo Vivi (on behalf of Ben Widawsky) on 30/06/2017 at 15:30..
intel/gen10: Add missed gen10 stuff

This got lost on rebase, I believe

Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c490bd6854a5b265aaa62ef62926c3ac97092c7

Git commit 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c by Rodrigo Vivi (on behalf of Paulo Zanoni) on 30/06/2017 at 15:30..
intel: add GEN10 to IS_9XX.

As far as I understand, IS_9XX should return true for it.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c

Git commit 68da7812fc8f859afa7f202f832c72a35c8d4a1d by Rodrigo Vivi on 30/06/2017 at 21:25..
intel/intel_chipset: Move IS_9XX below IS_GEN10.

No functional change. Just organizing the code
so it gets clear for future platforms.

Paulo deserves credits becuase he was the one
that just noticed this IS_9XX was in the wrong position
after CNL patches got introduced.

Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68da7812fc8f859afa7f202f832c72a35c8d4a1d

Git commit 2393acd14487db0b7bedcf5af7b3710066809cbc by Christian Gmeiner on 06/07/2017 at 18:46..
etnaviv: submit full struct drm_etnaviv_gem_submit

It is safe to submit the full struct even on older kernels as such
kernels do not process the full struct. Without this change it
becomes quite challenging to extned the submit struct.

Freedreno has no special treatment too. See git commits
- freedreno: sync uapi header
- freedreno: add fence fd support

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>
Tested-by: Philipp Zabel <p.zabel at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2393acd14487db0b7bedcf5af7b3710066809cbc

Git commit ac214017904b31bc5f80f802d748d5f4f3149d22 by Eric Engestrom (on behalf of coypu) on 07/07/2017 at 09:49..
Remove redundant memclear

drmMalloc will zero out the memory for us

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac214017904b31bc5f80f802d748d5f4f3149d22

Git commit 69532d0188ffa12454bc26bb1c30c52555a984e0 by Dave Airlie on 18/07/2017 at 23:32..
drm/amdgpu: add syncobj create/destroy/import/export apis

These are just wrappers using the amdgpu device handle.

Acked-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69532d0188ffa12454bc26bb1c30c52555a984e0

Git commit 22790a65d4a12c43ddbb266cb5985a9ab6b29662 by Dave Airlie on 18/07/2017 at 23:33..
drm/amdgpu: add new low overhead command submission API. (v2)

This just sends chunks to the kernel API for a single command
stream.

This should provide a more future proof and extensible API
for command submission.

v2: use amdgpu_bo_list_handle, add two helper functions to
access bo and context internals.

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22790a65d4a12c43ddbb266cb5985a9ab6b29662

Git commit e12af382b5c59f531fddd6e5541f59474ba29ef1 by Dave Airlie on 18/07/2017 at 23:40..
amdgpu: add new symbols to tests.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e12af382b5c59f531fddd6e5541f59474ba29ef1

Git commit 23e234a3503f51b9d9c585123d33b936f522808d by Lucas Stach on 19/07/2017 at 08:49..
configure.ac: bump version for release

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/23e234a3503f51b9d9c585123d33b936f522808d

Git commit 5226b52773e0a9972cd1e0dade55cb9ae869941c by Emil Velikov (on behalf of Gurchetan Singh) on 20/07/2017 at 11:23..
xf86drm: continue after drmProcessPlatformDevice failure

On ChromeOS devices, readdir() processes the directory in
the following order:

-NAME-              -TYPE-
.                    n/a
..                   n/a
vgem                 n/a
card1           DRM_BUS_PLATFORM
renderD129      DRM_BUS_PLATFORM
card0             DRM_BUS_PCI
renderD128        DRM_BUS_PCI
controlD64        DRM_BUS_PCI

In drmGetDevices2, after drmProcessPlatformDevice fails for
/dev/dri/card1, we don't process the remaining directory entries.
As such, Vulkan fails to initialize since Mesa uses drmGetDevices2.
To fix this, continue if drmProcessPlatformDevice fails.

Fixes: 7b1f37f474d ("xf86drm: Add platform and host1x bus support")
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
[Emil: correct the host1x platforms as well]
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5226b52773e0a9972cd1e0dade55cb9ae869941c

Git commit 3876bc246a07070a6043159cd7623d4def9bbd4c by Emil Velikov on 20/07/2017 at 11:25..
xf86drm: continue with next device if drmProcessUsbDevice fails

Analogous to previous commit (and the rest of the codebase), simply
discard the device if we cannot parse it.

Fixes: f8484ccbd12 ("xf86drm: Add USB support")
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3876bc246a07070a6043159cd7623d4def9bbd4c

Git commit e33c5ac0dbc3c04449971f52978da8d53c7ab8e1 by Emilio Pozuelo Monfort on 26/07/2017 at 17:17..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e33c5ac0dbc3c04449971f52978da8d53c7ab8e1

Git commit 57a9f7d7de1d77602b1f0be5fbae5114f9acea0d by Emilio Pozuelo Monfort on 26/07/2017 at 17:18..
New upstream release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57a9f7d7de1d77602b1f0be5fbae5114f9acea0d

Git commit c9e088e4865173585a0afa32ff9ba959369a3726 by Emilio Pozuelo Monfort on 26/07/2017 at 17:23..
Add key from Lucas Stach
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9e088e4865173585a0afa32ff9ba959369a3726

Git commit 7aca9341e65807b502b83bb54ebef3bb8cea0238 by Emilio Pozuelo Monfort on 26/07/2017 at 18:02..
Add libdrm-common package
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7aca9341e65807b502b83bb54ebef3bb8cea0238

Git commit 2a37112d9dec6a9a5a4d6ab5716f287b9d4227e9 by Emilio Pozuelo Monfort on 26/07/2017 at 18:20..
Add new symbols
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a37112d9dec6a9a5a4d6ab5716f287b9d4227e9

Git commit b8299f5d1ec3b8f990fcbfbf14feca65681e98c1 by Emilio Pozuelo Monfort on 28/07/2017 at 20:38..
Bump shlibs for the libraries with new symbols
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b8299f5d1ec3b8f990fcbfbf14feca65681e98c1

Git commit a212996b7db9074c71993ff3796770f29c93638f by Emilio Pozuelo Monfort on 28/07/2017 at 20:40..
Bump Standards-Version to 4.0.0
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a212996b7db9074c71993ff3796770f29c93638f

Git commit fc3d4a6ecc5435f07b9408249042d61f667487ba by Emilio Pozuelo Monfort on 28/07/2017 at 20:40..
Release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc3d4a6ecc5435f07b9408249042d61f667487ba

Git commit 053ad3848786bf40a8131a2069d0fae259222c4f by Eric Engestrom on 01/08/2017 at 17:29..
radeon: add fallthrough annotation

GCC 7 started warning when a switch case has neither a `break` nor
a "fallthrough" comment.
Let's be explicit that we meant to fall through here.

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/053ad3848786bf40a8131a2069d0fae259222c4f

Git commit 0167e6836e91947418fec36c3b4b396760d0f345 by Jan Vesely on 02/08/2017 at 15:22..
amdgpu: Add FX-9800P Bristol Ridge iGPU id

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0167e6836e91947418fec36c3b4b396760d0f345

Git commit 517df5f5134af207c90ac92185dc8c7ed5a86f92 by Alex Deucher (on behalf of Hawking Zhang) on 04/08/2017 at 12:24..
tests/amdgpu: bypass UVD CS tests on raven

raven doesn't support UVD decode

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Xiaojie Yuan <Xiaojie.Yuan at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/517df5f5134af207c90ac92185dc8c7ed5a86f92

Git commit 4d0e05eb2a611eef83609678de27f45a9a3ad806 by Alex Deucher (on behalf of Hawking Zhang) on 04/08/2017 at 12:25..
tests/amdgpu: bypass VCE tests on raven

raven doesn't support VCE

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Xiaojie Yuan <Xiaojie.Yuan at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d0e05eb2a611eef83609678de27f45a9a3ad806

Git commit e2b6785c5abecceee8f3c1830ee1bb22e6d0ef51 by Alex Deucher (on behalf of Flora Cui) on 04/08/2017 at 12:27..
test/amdgpu: fix test failure for SI

Signed-off-by: Flora Cui <Flora.Cui at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e2b6785c5abecceee8f3c1830ee1bb22e6d0ef51

Git commit ac2b806c4556c8339f5eb95578884278b1925acb by Eric Engestrom on 07/08/2017 at 13:16..
freedreno: remove dead error path

`pipe` cannot be non-null, so the label reduces to a simple return.
Then, there is no point initialising `pipe` just to overwrite it before
anyone reads it.

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ac2b806c4556c8339f5eb95578884278b1925acb

Git commit 6338e452c907a5e8024b2f3615795ac68dcf0a35 by Eric Engestrom on 07/08/2017 at 13:16..
freedreno/msm: remove dead error path

`ring` cannot be non-null, so the label reduces to a simple return.
Then, there is no point initialising `ring` just to overwrite it before
anyone reads it.

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6338e452c907a5e8024b2f3615795ac68dcf0a35

Git commit ceb70a6b1015be5ccc7858c4d3e29c13acbf71b7 by Eric Engestrom on 07/08/2017 at 13:16..
freedreno: prevent deadlock in error path

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ceb70a6b1015be5ccc7858c4d3e29c13acbf71b7

Git commit 4d244155945f5531b4d9735bbe73c887aac81070 by Alex Deucher (on behalf of Monk Liu) on 07/08/2017 at 19:00..
amdgpu: fix missing mutex unlock before return

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Monk Liu <monk.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d244155945f5531b4d9735bbe73c887aac81070

Git commit 2a89ae5d7a7d5845226ed85146140ff4c8788d59 by Alex Deucher (on behalf of Monk Liu) on 08/08/2017 at 16:00..
amdgpu: fix race issue between two bo functions(v2)

there is race issue between two threads on amdgpu_bo_reference and
amdgpu_bo_import, this patch tends to fix it by moving the
pthread_mutex_lock out of bo_free_internal and move to bo_reference
to cover the update_reference part.

The mutex_unlock in bo_import should also cover bo refcount
increasement.

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Monk Liu <monk.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a89ae5d7a7d5845226ed85146140ff4c8788d59

Git commit 687d250797ff0028fee949cdd66c9f012f69992d by Alex Deucher (on behalf of Monk Liu) on 08/08/2017 at 16:16..
amdgpu: merge and cleanup amdgpu_bo_free

since bo_reference and bo_internal_free are
all only used by bo_free, so we just merge them
together

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Monk Liu <monk.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/687d250797ff0028fee949cdd66c9f012f69992d

Git commit 7ec689a5406a4c5f468e126007c5aa9d72dd7f59 by Jason Ekstrand on 15/08/2017 at 14:50..
drm: Pull new modifier uapi into drm_fourcc and drm_mode

Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ec689a5406a4c5f468e126007c5aa9d72dd7f59

Git commit 9d133dd08720d80dfc8ce098bf0972ebd05c454d by Leo Liu (on behalf of Boyuan Zhang) on 16/08/2017 at 20:16..
tests/amdgpu: add uvd encode unit tests

Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d133dd08720d80dfc8ce098bf0972ebd05c454d

Git commit 20138ea997e4e2eadd43846c114a7891688d653d by Emil Velikov (on behalf of Jan Vesely) on 21/08/2017 at 12:05..
drmsltest: Check expected neighbours

Fixes: 7d8c9464081634f053e16e5eac9655a12fae1dc4
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/20138ea997e4e2eadd43846c114a7891688d653d

Git commit e5ce5c6807a85187dd9cede54e9144f3bcc3ee47 by Emil Velikov (on behalf of Chih-Wei Huang) on 21/08/2017 at 12:05..
android: add rules to build amdgpu.ids

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5ce5c6807a85187dd9cede54e9144f3bcc3ee47

Git commit a0531e76f68e5f69cdc149d7cbff4ba299352dfe by Emil Velikov (on behalf of Chih-Wei Huang) on 21/08/2017 at 12:05..
android: amdgpu: fix build break

Define two macros to avoid building errors.

Fixes: 7e6bf88cac (amdgpu: move asic id table to a separate file)

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a0531e76f68e5f69cdc149d7cbff4ba299352dfe

Git commit 99d3f8253cff617af4662c48ba737bf6e10e146e by Eric Engestrom (on behalf of Philipp Zabel) on 21/08/2017 at 13:04..
etnaviv: fix etna_bo_from_name

Look up BOs from the name table using the name parameter instead of
req.handle (which at this point is always zero).

Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Wladimir J. van der Laan <laanwj at gmail.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99d3f8253cff617af4662c48ba737bf6e10e146e

Git commit f19dbb79fe54994ecd505ac67ad15d19f591933a by Daniel Stone on 24/08/2017 at 11:31..
configure.ac: Bump version to 2.4.83
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f19dbb79fe54994ecd505ac67ad15d19f591933a

Git commit 05a830d382382905d87b55af90aa109fb76e4c16 by Alex Deucher on 31/08/2017 at 14:23..
tests/amdgpu: add missing header to SOURCES

Fixes the tarball generation.

fixes: 9d133dd08720d80dfc8ce098bf0972 (tests/amdgpu: add uvd encode unit tests)
bug: https://bugs.freedesktop.org/show_bug.cgi?id=102391
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05a830d382382905d87b55af90aa109fb76e4c16

Git commit d55d0804f9e37637d7510f38f97e07a50c6b7baa by Jan Vesely on 05/09/2017 at 03:48..
amdgpu: Do not write beyond allocated memory when parsing ids

Fixes crash when/usr/share/libdrm/amdgpu.ids contains ASIC_ID_TABLE_NUM_ENTRIES + 1 entries.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102432
Fixes: 7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc (amdgpu: move asic id table to a separate file)
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d55d0804f9e37637d7510f38f97e07a50c6b7baa

Git commit 6dca9387d20204898f9e831d59b725d062513fd0 by Eric Engestrom (on behalf of Philipp Zabel) on 14/09/2017 at 09:36..
etnaviv: prevent deadlock in error path

If drmPrimeFDToHandle fails in etna_bo_from_dmabuf, the function must
not return with the table_lock mutex held. Unlock the mutex in the error
path.

Based on ceb70a6b1015 ("freedreno: prevent deadlock in error path").

Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dca9387d20204898f9e831d59b725d062513fd0

Git commit 76418c244d4c52a8dd20809e3e8b4e70501fc76f by Eric Engestrom on 15/09/2017 at 16:06..
freedreno/kgsl: fix pointer-to-int cast

Fixes this warning:

freedreno/kgsl/kgsl_ringbuffer.c: In function ‘kgsl_ringbuffer_flush’:
freedreno/kgsl/kgsl_ringbuffer.c:149:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   req.timestamp = (uint32_t)kgsl_ring->bo->hostptr;
                   ^

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76418c244d4c52a8dd20809e3e8b4e70501fc76f

Git commit 7c71188610b4ceba0339c2bc884320bcb749adee by Rodrigo Vivi (on behalf of Anuj Phogat) on 21/09/2017 at 21:40..
intel: Change a KBL pci id to GT2 from GT1.5

See Mesa commit 9c588ff

Cc: Matt Turner <mattst88 at gmail.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c71188610b4ceba0339c2bc884320bcb749adee

Git commit 1dd84e01a972b1759839a7326009be24ab3e6de2 by Marek Olšák on 28/09/2017 at 20:48..
amdgpu: print error messages when amdgpu_device_initialize is failing

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1dd84e01a972b1759839a7326009be24ab3e6de2

Git commit f236d9e0497546cf4d310815f3cfd1514e6a29d4 by Timo Aaltonen on 03/10/2017 at 08:03..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f236d9e0497546cf4d310815f3cfd1514e6a29d4

Git commit f099b599fc13620a6774b1fc358bc5f2adb953e4 by Timo Aaltonen on 03/10/2017 at 08:15..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f099b599fc13620a6774b1fc358bc5f2adb953e4

Git commit 736ef0b61cab55378202c5f49d91799cc2b99091 by Christian König on 04/10/2017 at 08:47..
amdgpu: make userptr unit test more interesting

Do a fork() to force some MMU callbacks.

Signed-off-by: Christian König <christian.koenig at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/736ef0b61cab55378202c5f49d91799cc2b99091

Git commit 670db97dc39a7879f52bad230327edf4374b7516 by Christian König (on behalf of Andrey Grodzovsky) on 04/10/2017 at 08:50..
amdgpu: Add deadlock detection test suit.

Adding initial tests for locks detection when SW
scheduler FIFO is full.

The test works by submitting a batch of identical commands which make the CP
stall waiting for condition to become true. The condition is later satisfied
form a helper thread. Other events that happen during this time
might create deadlock situations. One such example is GPU reset
triggered by this stall when  amdgpu_lockup_timeout != 0.

v2:
Increase the delay from 2 to 100 ms.
Comment out the compute test until it's working.
Typos fix.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/670db97dc39a7879f52bad230327edf4374b7516

Git commit 657b09438bf4978c9597368165c56227013625e9 by Leo Liu (on behalf of James Zhu) on 06/10/2017 at 13:40..
tests/amdgpu: add new uvd enc support check

Query hardware IP information to find out if there are uvd encode rings
ready for use in kernel driver.

Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/657b09438bf4978c9597368165c56227013625e9

Git commit 2ecafcae8a215d9994fb26a122d97bcb5437c5e8 by Leo Liu (on behalf of James Zhu) on 06/10/2017 at 13:40..
tests/amdgpu: fix uvd enc data corruption issue

In uvd encode parameter package, parameters input_pic_luma_pitch and
input_pic_chroma_pitch should be picture width align with hardware alignment.
The hardware alignment is 16 for amdgpu family earlier than AMDGPU_FAMILY_AI,
and 256 for later than and including AMDGPU_FAMILY_AI.

Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ecafcae8a215d9994fb26a122d97bcb5437c5e8

Git commit 011fd913b445b5e17148c37d169396c39eced3df by Rob Herring on 09/10/2017 at 14:22..
Android: move libraries to /vendor

As part of Treble project in Android O, all the device specific files have
to be located in a separate vendor partition. This is done by setting
LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not
break existing platforms without a vendor partition as it will just move
files to /system/vendor.

Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/011fd913b445b5e17148c37d169396c39eced3df

Git commit 965133914b14f571b91109814c393b62f7bc588a by Rob Herring on 09/10/2017 at 14:22..
headers: sync DRM_MODE_ROTATE/REFLECT defines from kernel v4.14-rc1

Add the new DRM_MODE_ROTATE_* and DRM_MODE_REFLECT_* defines from v4.14-rc1
kernel.

Reviewed-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/965133914b14f571b91109814c393b62f7bc588a

Git commit d27fd2d02300fdc107c9cc54d57989b8a29efd9f by Dave Airlie on 11/10/2017 at 00:41..
headers: sync syncobj ioctl defines.

This syncs the drm.h header with my drm-next branch as of
bb7a9c8d712f37385a706a594d6edf6e6d2669d0

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d27fd2d02300fdc107c9cc54d57989b8a29efd9f

Git commit ad4df736a9f8098cd47008c72948ceff9e9f9dac by Marek Olšák on 12/10/2017 at 18:35..
include: sync drm.h and amdgpu_drm.h with airlied/drm-next
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad4df736a9f8098cd47008c72948ceff9e9f9dac

Git commit b6e24501a1f8c58501fdfa39b435e440ee667feb by Marek Olšák on 12/10/2017 at 18:35..
amdgpu: add sync_file import and export functions

v2: update amdgpu-symbol-check

Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b6e24501a1f8c58501fdfa39b435e440ee667feb

Git commit 2048a9e7278d64954080077fb29d603fbb611873 by Marek Olšák on 12/10/2017 at 18:35..
drm: add drmSyncobjWait wrapper

Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2048a9e7278d64954080077fb29d603fbb611873

Git commit 59aa57b363ba8de550aced1d397c54fd9e5e213c by Marek Olšák on 12/10/2017 at 18:35..
amdgpu: add amdgpu_cs_syncobj_wait

v2: update amdgpu-symbol-check

Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59aa57b363ba8de550aced1d397c54fd9e5e213c

Git commit c74d4614048f65b412caa572c900d15adba38ce3 by Marek Olšák on 12/10/2017 at 18:35..
amdgpu: add amdgpu_cs_fence_to_handle

v2: update amdgpu-symbol-check

Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c74d4614048f65b412caa572c900d15adba38ce3

Git commit 290d29d9794813a2fe0578dbb905ad09bc810516 by Marek Olšák on 12/10/2017 at 18:48..
configure.ac: bump version to 2.4.84
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/290d29d9794813a2fe0578dbb905ad09bc810516

Git commit df8221da806fe84e490515a0f5019a8258aeaed9 by Timo Aaltonen on 13/10/2017 at 05:59..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df8221da806fe84e490515a0f5019a8258aeaed9

Git commit d88127af6625adcdf2717fc5472b9b7465bcdb14 by Timo Aaltonen on 13/10/2017 at 06:04..
update the changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d88127af6625adcdf2717fc5472b9b7465bcdb14

Git commit 2a8bee86de6e66bf59dbf555bbc25a1d92c0e13d by Timo Aaltonen on 13/10/2017 at 06:10..
libdrm2.symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a8bee86de6e66bf59dbf555bbc25a1d92c0e13d

Git commit 79112c95c3bad5b547f8e56e5c833ed60061e61a by Timo Aaltonen on 13/10/2017 at 06:10..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79112c95c3bad5b547f8e56e5c833ed60061e61a

Git commit f576442ba4423efbb4baefa650aa032560c2f32c by Timo Aaltonen on 13/10/2017 at 07:23..
libdrm-amdgpu1.symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f576442ba4423efbb4baefa650aa032560c2f32c

Git commit b5edf1b07e3c613d245a69e9dedad6f24232301f by Timo Aaltonen on 13/10/2017 at 07:42..
upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5edf1b07e3c613d245a69e9dedad6f24232301f

Git commit 511c71c868a7b0fac23e1387290554fee1a85434 by Kristian H. Kristensen on 18/10/2017 at 19:32..
modetest: Decode IN_FORMATS plane blob property

This teaches modetest about the new IN_FORMATS blob and decodes the
blob to show supported formats and modifiers.

Signed-off-by: Kristian H. Kristensen <hoegsberg at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/511c71c868a7b0fac23e1387290554fee1a85434

Git commit ba68d7bf600125f2755a5b3d6b1a17e8a130ba36 by Ville Syrjälä on 19/10/2017 at 16:16..
modetest: Allow full testing of primary planes

Allow the user to override the default configuration set by setcrtc
for the primary plane. On some hardware primary planes can be freely
positioned/sized, and it'd be nice if we can actually test that feature.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba68d7bf600125f2755a5b3d6b1a17e8a130ba36

Git commit bcae7226a1c36bee22ad747dc12960e52a706cfa by Bas Nieuwenhuizen (on behalf of Andres Rodriguez) on 20/10/2017 at 19:21..
headers: Sync amdgpu_drm.h with drm-next

Generated using make headers_install from:
airlied/drm-next 282dc83 Merge tag 'drm-intel-next-2017-10-12' ...

Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Acked-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcae7226a1c36bee22ad747dc12960e52a706cfa

Git commit 35bc82cee9aab62d556e2ea6dfe29f71ce13dcb3 by Bas Nieuwenhuizen (on behalf of Andres Rodriguez) on 20/10/2017 at 19:51..
amdgpu: implement context priority for amdgpu_cs_ctx_create2 v3

Add a new context creation function that allows specifying the context
priority.

A high priority context has the potential of starving lower priority
contexts. The current kernel driver implementation allows only apps
that hold CAP_SYS_NICE or DRM_MASTER to acquire a priority above
AMDGPU_CTX_PRIORITY_NORMAL.

v2: corresponding changes for kernel patch v2
v3: Fixed 'make check' symbol error

Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35bc82cee9aab62d556e2ea6dfe29f71ce13dcb3

Git commit 09be54122fbd145d23751eddf7be5b220774a117 by Bas Nieuwenhuizen (on behalf of Tobias Jakobi) on 20/10/2017 at 21:38..
Add const qualifier to arguments of drmModeAddFB2()

Both drmModeAddFB2() and drmModeAddFB2WithModifiers() have some
arguments that are just pointers to uint32_t in disguise. These
are not modified (just copied) in the function, so we can add a
const qualifier here.

Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09be54122fbd145d23751eddf7be5b220774a117

Git commit f579747485115cb1605a671082a70181b9a5b425 by Marek Olšák on 20/10/2017 at 22:20..
amdgpu: add padding to the fence to handle ioctl

copied from Dave's kernel patch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f579747485115cb1605a671082a70181b9a5b425

Git commit e580be90e88eeed95faa5452e343f3ec509517e5 by Marek Olšák on 20/10/2017 at 22:26..
configure.ac: bump version to 2.4.85
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e580be90e88eeed95faa5452e343f3ec509517e5

Git commit 0d889201d106f7f440a0e45b3fef554c31e2a551 by Dave Airlie on 25/10/2017 at 06:38..
drm: sync drm headers from drm-next.

This updates the headers with the contents in drm-next
at 62884cd386b876638720ef88374b31a84ca7ee5f

This adds leasing and aspect ratio.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d889201d106f7f440a0e45b3fef554c31e2a551

Git commit 61ff9779e37179ed5106c0e2452e16500127fb9e by Dave Airlie on 25/10/2017 at 06:44..
drm/syncobj: fix some whitespace issues

These had tabs, just remove them.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/61ff9779e37179ed5106c0e2452e16500127fb9e

Git commit 9b38ea82fc30ccbf38ebc0c55412b27e5a5afd7b by Christian König (on behalf of Andrey Grodzovsky) on 27/10/2017 at 16:25..
amdgpu: Add wrappers for AMDGPU_VM IOCTL.

v2:
Rename wrappers to match the IOCTL naming, fix
identation and fix make check error.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b38ea82fc30ccbf38ebc0c55412b27e5a5afd7b

Git commit 33dcc29f7ccc554de1fc42f4b95adf056822eabb by Christian König (on behalf of Andrey Grodzovsky) on 27/10/2017 at 16:26..
amdgpu: Add VMID reservation per GPU context test.

The test will Reserve a VMID, submit a command and
unreserve the VMID.

v2:
Wrappers names were changed.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33dcc29f7ccc554de1fc42f4b95adf056822eabb

Git commit f9b47c67d84c68dd0c56eb0f63753890fb3396d1 by Andreas Boll on 30/10/2017 at 12:37..
Merge tag 'libdrm-2.4.85' into debian-unstable

libdrm-2.4.85
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9b47c67d84c68dd0c56eb0f63753890fb3396d1

Git commit ffde4528e6647e5b5a2668f0139857c061b62de6 by Andreas Boll on 30/10/2017 at 12:38..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ffde4528e6647e5b5a2668f0139857c061b62de6

Git commit af89a5aba1c4e275cbf07bb4e3f6476981e07ad0 by Andreas Boll on 30/10/2017 at 12:51..
Update libdrm-amdgpu1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af89a5aba1c4e275cbf07bb4e3f6476981e07ad0

Git commit 0e8476c29d68f07032212bae9d4b3d18e14319c7 by Andreas Boll on 30/10/2017 at 12:52..
Bump standards version to 4.1.1.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e8476c29d68f07032212bae9d4b3d18e14319c7

Git commit d3feff5f1afbdee438c7375763f13846e965c3e1 by Andreas Boll on 30/10/2017 at 13:01..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3feff5f1afbdee438c7375763f13846e965c3e1

Git commit a4b487cd80f7394f3c285d5883a24a07e156f867 by Marek Olšák on 31/10/2017 at 01:11..
configure.ac: bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4b487cd80f7394f3c285d5883a24a07e156f867

Git commit 76c325ee7d8975248d18f2e0b6b16a03abcef4df by Marek Olšák on 31/10/2017 at 14:48..
amdgpu: fix 32-bit build
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76c325ee7d8975248d18f2e0b6b16a03abcef4df

Git commit b617f059ad45517bded1f2d8c8e3a52b60e80bd7 by Marek Olšák on 31/10/2017 at 14:49..
configure.ac: bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b617f059ad45517bded1f2d8c8e3a52b60e80bd7

Git commit f3091bac21a963f1a3d8ce5db85c0f2b4acbeb49 by Christian König (on behalf of Andrey Grodzovsky) on 03/11/2017 at 12:07..
amdgpu: Fix wrappers for AMDGPU_VM IOCTL.

Rmove amdgpu_context_handle from the interface and use
amdgpu_device_handle instead. Uupdate VMID reservation test
accordingly.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3091bac21a963f1a3d8ce5db85c0f2b4acbeb49

Git commit 2fe4c07b38ded7f4b9341512da6e670d3321012b by Marek Olšák on 03/11/2017 at 16:28..
configure.ac: bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fe4c07b38ded7f4b9341512da6e670d3321012b

Git commit 62e0767b816cb52b35226d439090ef580bd60b01 by Rob Clark on 04/11/2017 at 21:23..
freedreno: sync uapi header (driver version 1.3.0)

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62e0767b816cb52b35226d439090ef580bd60b01

Git commit 7064b2eae9c136162e5c7f25571d63f71d066887 by Rob Clark on 04/11/2017 at 21:23..
freedreno: submit-queue context priority

With a new-enough kernel to support prioritized submit-queues, we can
expose priority level support to mesa.  Open a submit queue associated
with the fd_pipe and pass it's id back to SUBMIT ioctl.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7064b2eae9c136162e5c7f25571d63f71d066887

Git commit be40710f063a5218f62da61f5a854c69836f91e7 by Emil Velikov (on behalf of Inki Dae) on 07/11/2017 at 11:19..
exynos: change the license to X11/MIT

Change GPL license of Exynos related code to X11/MIT.

I'd like to keep a consistent license across all Exynos code
because License checker notices two more licenses exist
in libdrm.

For the license change I need to get your agree - all committers.
So please give me Acked-by if you agree with me.

Signed-off-by: Inki Dae <inki.dae at samsung.com>
Acked-by: Hyungwon Hwang <human.hwang at samsung.com>
Acked-by: SooChan Lim <sc1.lim at samsung.com>
Acked-by: Sangjin LEE <lsj119 at samsung.com>
Acked-by: Boram Park <boram1288.park at samsung.com>
Acked-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Acked-by: Joonyoung Shim <jy0922.shim at samsung.com>
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be40710f063a5218f62da61f5a854c69836f91e7

Git commit cfe0ae53556261250a08b625e020a7e0712bc59e by Emil Velikov on 07/11/2017 at 11:21..
freedreno: add the API fd_pipe_new2 to the symbol test

As kindly spotted by `make check'

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfe0ae53556261250a08b625e020a7e0712bc59e

Git commit 4b4ccaac2e01af2d5846d168dedc2ee9cb8e7672 by Christian König on 07/11/2017 at 14:13..
amdpgu: fix coding style in amdgpu_vamgr.c

No functional change.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b4ccaac2e01af2d5846d168dedc2ee9cb8e7672

Git commit a844925c8af45161145ab512efb8d5584c9d97f2 by Christian König on 08/11/2017 at 15:11..
amdgpu: sanitize 64bit VA manager

Adding the extra reservation of the 32bit space to the 64bit manager is
complete nonsense and just a waste of memory and CPU cycles.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a844925c8af45161145ab512efb8d5584c9d97f2

Git commit 944f6665de36b6a6c36263f23b7b9d1730e544fa by Christian König on 08/11/2017 at 15:12..
amdgpu: fix 32bit VA manager max address

The range is exclusive not inclusive.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/944f6665de36b6a6c36263f23b7b9d1730e544fa

Git commit 6c0ea4b0c5452bfc1e67b74ce723696ef3c80b25 by Christian König on 08/11/2017 at 15:12..
amdgpu: use the high VA range if possible

This frees up the low range for HMM.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c0ea4b0c5452bfc1e67b74ce723696ef3c80b25

Git commit 0c2481edf7a2ce674beaf9ea61a6b19dea2f210b by Christian König on 09/11/2017 at 09:35..
Revert "amdgpu: use the high VA range if possible"

This reverts commit 6c0ea4b0c5452bfc1e67b74ce723696ef3c80b25.

Accidentially pushed an incomplete patch.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c2481edf7a2ce674beaf9ea61a6b19dea2f210b

Git commit 931f01964a2f2a75e8563feccc70ac2eb0296d99 by Christian König on 09/11/2017 at 09:36..
Revert "amdgpu: fix 32bit VA manager max address"

This reverts commit 944f6665de36b6a6c36263f23b7b9d1730e544fa.

Accidentially pushed an imcomplete patch.

Signed-off-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/931f01964a2f2a75e8563feccc70ac2eb0296d99

Git commit e38de517991a20d7a2abdffc1bc4fd702e8f673c by Eric Anholt on 10/11/2017 at 20:10..
headers: Sync vc4 header from drm-next.

This updates the header with the contents from drm-next d65d31388a23
("Merge tag 'drm-misc-next-fixes-2017-11-07' of
git://anongit.freedesktop.org/drm/drm-misc into drm-next")

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e38de517991a20d7a2abdffc1bc4fd702e8f673c

Git commit 8d34bba212342ec0e187cd3602d01edba2d7ec26 by Eric Anholt on 10/11/2017 at 20:10..
headers: Sync up some header guard changes from drm-next.

This pulls in pieces of drm-next d65d31388a23
("Merge tag 'drm-misc-next-fixes-2017-11-07' of
git://anongit.freedesktop.org/drm/drm-misc into drm-next")

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d34bba212342ec0e187cd3602d01edba2d7ec26

Git commit 8affa2699587b8239135b75ade24ee837df1606c by Eric Anholt on 10/11/2017 at 20:10..
headers: Sync up some comment spelling and whitespace fixes from drm-next.

This pulls in pieces of drm-next d65d31388a23
("Merge tag 'drm-misc-next-fixes-2017-11-07' of
git://anongit.freedesktop.org/drm/drm-misc into drm-next")

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8affa2699587b8239135b75ade24ee837df1606c

Git commit 59808bcacd48f4168c3c1093b4616c2ee039b5a1 by Eric Anholt on 10/11/2017 at 20:10..
headers: Sync up mga_drm.h from drm-next.

The kernel started using the struct from drm.h instead of the typedef.

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59808bcacd48f4168c3c1093b4616c2ee039b5a1

Git commit f696698e0249a8b65ef7d1a0c484633fc3f286ef by Eric Anholt on 10/11/2017 at 20:10..
headers: Sync up kernel changes to use kernel types instead of stdint.h.

This pulls in pieces of drm-next d65d31388a23 ("Merge tag
'drm-misc-next-fixes-2017-11-07' of
git://anongit.freedesktop.org/drm/drm-misc into drm-next")

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f696698e0249a8b65ef7d1a0c484633fc3f286ef

Git commit 21885876af4c2c8a51547bb81d6d10413eed71d5 by Eric Anholt on 10/11/2017 at 20:10..
headers: Drop outdated node about a delta in drm_mode.h.

Fixed in 9433b702fc16 ("headers: Sync drm{,_mode}.h with the kernel")

Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21885876af4c2c8a51547bb81d6d10413eed71d5

Git commit 864219425d9cf2fb4df677aa93bd54051ebcafc2 by Christian König (on behalf of Andrey Grodzovsky) on 13/11/2017 at 17:20..
amdgpu: Add functions to disable suites and tests.

Suits are diasbled based on hooks they provide (e.g incompatible
ASIC or missing blocks). Single tests are diasbled explicitly.
Suit or test can be forced to execute even if disabled by adding -f
flag after specifying suit [test] ids.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/864219425d9cf2fb4df677aa93bd54051ebcafc2

Git commit 806d0803600000faecb4025d8e9c7490cb097c25 by Christian König (on behalf of Andrey Grodzovsky) on 13/11/2017 at 17:20..
amdgpu: Use new suite/test disabling functionality.

Switch from disabling tests during run to using the new disable
API.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/806d0803600000faecb4025d8e9c7490cb097c25

Git commit 818a0d4245801edd9a85ea95429bac4eb6ec2ef8 by Christian König (on behalf of Andrey Grodzovsky) on 13/11/2017 at 17:20..
amdgpu: Move memory alloc tests in bo suite.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/818a0d4245801edd9a85ea95429bac4eb6ec2ef8

Git commit 9041594424f1a87d5f96edd0f140aa8fd80d7a32 by Andreas Boll on 14/11/2017 at 08:48..
Merge tag 'libdrm-2.4.88' into debian-unstable

libdrm-2.4.88
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9041594424f1a87d5f96edd0f140aa8fd80d7a32

Git commit 48a5d7be0af0476aca26aed42c2e941716f5c630 by Andreas Boll on 14/11/2017 at 08:49..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/48a5d7be0af0476aca26aed42c2e941716f5c630

Git commit 2b0f9f2223df588e1f911f0eb4cb6ab823ee5dbc by Andreas Boll on 14/11/2017 at 09:00..
Update libdrm-amdgpu1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b0f9f2223df588e1f911f0eb4cb6ab823ee5dbc

Git commit a9362d253586a2f0d2c142a5084de1eb283e7c39 by Andreas Boll on 14/11/2017 at 09:10..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9362d253586a2f0d2c142a5084de1eb283e7c39

Git commit 9ad9b7e91ee8af621bb80bb80ecd0f76eba7c51c by Christian König (on behalf of Andrey Grodzovsky) on 14/11/2017 at 13:26..
amdgpu: Add memory over allocation test.

Allocates 1 TB of memory. Test is disabled by default
since it's triggers OOM killer.

v2:
FIx the test to only alloc the BO and assert if return value
not equal to -ENOMEM and remove test disable on start.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ad9b7e91ee8af621bb80bb80ecd0f76eba7c51c

Git commit 18ffe485cdfa41d48b6f2d3080cb990d28c27d57 by Andrey Grodzovsky on 16/11/2017 at 04:28..
amdgpu: Disable deadlock test suite for Vega 10

The test stalls the CP, until RCA is done the test is
disabled to not disrupt regression testing.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18ffe485cdfa41d48b6f2d3080cb990d28c27d57

Git commit 0ab36dafaf818c35a258dac0c75b779ab2ae792b by Rob Herring on 27/11/2017 at 19:38..
Android: disable warnings causing errors

AOSP master has changed the build default to -Werror making all the
warnings errors. Override that with -Wno-error.

Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0ab36dafaf818c35a258dac0c75b779ab2ae792b

Git commit 1a129004a82d557695fad1a7b9c37fe18b00c79f by Andrey Grodzovsky on 29/11/2017 at 15:31..
amdgpu: Switch amdgpu CS tests enabling to the new way.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a129004a82d557695fad1a7b9c37fe18b00c79f

Git commit aeab24aa9e074043965cf911f60a3736c4f6455d by Andrey Grodzovsky on 29/11/2017 at 15:31..
amdgpu: Dynamicly disable BO suite "Metadata" test.

Disable the test instead of doing  #ifdef 0

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aeab24aa9e074043965cf911f60a3736c4f6455d

Git commit 1749d56ea00f350a74f662bdad82bcafa19889da by Alex Deucher (on behalf of David Mao) on 30/11/2017 at 03:05..
amdgpu: Adding amdgpu_cs_create_syncobj2 to create syncobj as signaled initially

Signed-off-by: David Mao <david.mao at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1749d56ea00f350a74f662bdad82bcafa19889da

Git commit f71e95108de9a414226b0421ae2af99902ea28a5 by Michel Dänzer on 30/11/2017 at 14:52..
amdgpu: Add amdgpu_cs_create_syncobj2 to amdgpu-symbol-check

Fixes make check. Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f71e95108de9a414226b0421ae2af99902ea28a5

Git commit bc21168fa924d3fc4a000492e861f50a1a135b25 by Andrey Grodzovsky on 30/11/2017 at 19:51..
amdgpu: Add explicit dependency test.

The test is as following:

1) Create context A & B
2) Send a command submission using context A which fires up a compute shader.
3) The shader wait a bit and then write a value to a memory location.
4) Send a command submission using context B which writes another value to the same memory location, but having an explicit dependency on the first command submission.
5) Wait with the CPU for both submissions to finish and inspect the written value.

Test passes if the value seen in the memory location after both submissions is from command B.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc21168fa924d3fc4a000492e861f50a1a135b25

Git commit 85c6b0b00ab894116880d2338776727ccff2d5c3 by Michel Dänzer on 01/12/2017 at 15:52..
amdgpu: Clean up amdgpu_parse_asic_ids error handling

* Move error message printing into amdgpu_parse_asic_ids and make it
  return void
* Print only "Invalid format" error message if parse_one_line returns
  -EINVAL
* Use strerror instead of printing the (negative) error code in hex

Acked-by: Slava Abramov <slava.abramov at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85c6b0b00ab894116880d2338776727ccff2d5c3

Git commit 5219809a3223e0328ae43a8975bfd6bf713c9ef1 by Michel Dänzer on 05/12/2017 at 11:49..
amdgpu: Simplify error handling in parse_one_line

* Move empty/commented line check before the strdup and return -EAGAIN
  directly
* Initialize r = -EAGAIN and remove redundant assignments
* Set r = -ENOMEM if last strdup fails, and remove redundant goto

Acked-by: Slava Abramov <slava.abramov at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5219809a3223e0328ae43a8975bfd6bf713c9ef1

Git commit f05a2b4cb1aedb906524718db8ba2e62383f3064 by Michel Dänzer on 05/12/2017 at 11:50..
amdgpu: Only remember the device's marketing name

There's no point in keeping around the full table of marketing names,
when amdgpu_get_marketing_name only ever returns the device's marketing
name.

Acked-by: Slava Abramov <slava.abramov at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f05a2b4cb1aedb906524718db8ba2e62383f3064

Git commit 47419a1497fa585ff74b41732b267356b9d5b949 by Michel Dänzer on 05/12/2017 at 14:58..
amdgpu.ids: Refresh from AMD 17.40 release

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/47419a1497fa585ff74b41732b267356b9d5b949

Git commit 7f2993948cc13b4f526cfe6b7fe272581a633928 by Andrey Grodzovsky on 12/12/2017 at 14:25..
amdgpu: Remove dummy CU_ASSERT_EQUAL.

Fixes test failure on rhel.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Qiang Yu <Qiang.Yu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f2993948cc13b4f526cfe6b7fe272581a633928

Git commit 8d8ab9812ca6224c31d01f4664742b24a7364a67 by Christian Gmeiner on 15/12/2017 at 18:09..
etnaviv: sync uapi header

Import the etnaviv header changes from kernel commit 05916bed1 (drm-next)

The drm_etnaviv_gem_submit structure was extended to include performance
monitor requests. Also two new ioctls got added to be able to readout
performance monitor domains and their signals.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Acked-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d8ab9812ca6224c31d01f4664742b24a7364a67

Git commit 305c1d113ca26cadf695bd41eeed20cff79aa671 by Christian Gmeiner on 15/12/2017 at 18:09..
etnaviv: add permon support

Query all domains and their signals and provide it this information
via struct etna_perfmon and the corresponding api functions.

v2:
 - code style changes
 - etna_perfmon_create(..): add missing clean up in error case

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/305c1d113ca26cadf695bd41eeed20cff79aa671

Git commit 6a6b7432bfe94f8047b688fd6875ad93d153c6d0 by Christian Gmeiner on 15/12/2017 at 18:10..
etnaviv: support performance monitor requests

Add etna_cmd_stream_perf(..) to submit perform requests.
Userspace can submit pmrs via submit ioctl to sample perfmon
signals.

v3:
 - mark perfmon bos as RW

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a6b7432bfe94f8047b688fd6875ad93d153c6d0

Git commit 4f8e426884a51b6786459ea2505f1ce82a13a87c by Andrey Grodzovsky on 15/12/2017 at 18:30..
tests/amdgpu: Add return CUE_SUCCESS to suite_vcn_tests_clean.

    fixes: 806d0803600000faecb4025d8e9c7490cb097c25 (amdgpu: Use new suite/test disabling functionality.)
    bug: https://bugs.freedesktop.org/show_bug.cgi?id=104280

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f8e426884a51b6786459ea2505f1ce82a13a87c

Git commit 7d984e609470aa38d4c3f7d48e26fa763a03af13 by Christian Gmeiner (on behalf of Lucas Stach) on 15/12/2017 at 18:40..
etnaviv: fix BO cache to properly work with different flags

Currently if the oldest BO in a bucket has different flags than what we
look for we'll miss the cache.Fix this by iterating over the cached BOs
until we find the oldest one with matching flags. This improves the hit
ratio for some of the buckets.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d984e609470aa38d4c3f7d48e26fa763a03af13

Git commit 1abccedc4d18305e8c3e3dd00d3262c134ef1d44 by Dave Airlie (on behalf of Bas Nieuwenhuizen) on 17/12/2017 at 23:51..
drm: Add drmSyncobjReset & drmSyncobjSignal wrappers.

anv already uses the ioctls but does not use libdrm, so these were
not wrapped yet.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1abccedc4d18305e8c3e3dd00d3262c134ef1d44

Git commit 5889f6ba1a250777ff8b6ba96a35dba3f02071ff by Dave Airlie (on behalf of Bas Nieuwenhuizen) on 17/12/2017 at 23:51..
amdgpu: Add syncobj reset & signal wrappers.

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5889f6ba1a250777ff8b6ba96a35dba3f02071ff

Git commit c4171535389d72e9135c9615cecd07b346fd6d7e by Dave Airlie (on behalf of Keith Packard) on 18/12/2017 at 00:04..
drm: Add drm mode lease ioctl wrappers [v3]

drmModeCreateLease
drmModeListLessees
drmModeGetLease
drmModeRevokeLease

Changes for v2:

Remove lessee id from GetLease
Remove lessor_id from ListLeases
Add revoke
Renumber to track kernel rebase on drm-next

Signed-off-by: Keith Packard <keithp at keithp.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4171535389d72e9135c9615cecd07b346fd6d7e

Git commit d4331dda5b5969922c4f1e3ad6d53f23becb91ab by Dave Airlie (on behalf of Keith Packard) on 18/12/2017 at 00:04..
drm: Add CrtcGetSequence and CrtcQueueSequence IOCTLs [v2]

These provide a crtc-id based interface to get the current sequence
(frame) number and to queue an event to be delivered at a specific sequence.

v2: Remove FIRST_PIXEL_OUT flag. This has been removed from the
    proposed kernel API

Signed-off-by: Keith Packard <keithp at keithp.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4331dda5b5969922c4f1e3ad6d53f23becb91ab

Git commit 831036a6f62005da9fb4a75fe043bd96ce672d27 by Dave Airlie on 18/12/2017 at 01:24..
configure.ac: bump version for release
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/831036a6f62005da9fb4a75fe043bd96ce672d27

Git commit 74c716b4f55c190c88bb800be9011a0f7e44a3d2 by Andreas Boll on 18/12/2017 at 15:52..
Merge tag 'libdrm-2.4.89' into debian-unstable

libdrm-2.4.89
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74c716b4f55c190c88bb800be9011a0f7e44a3d2

Git commit c9ce0ca0d7dad3fba2dd141c57ca2bd8ce5e154e by Andreas Boll on 18/12/2017 at 15:53..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9ce0ca0d7dad3fba2dd141c57ca2bd8ce5e154e

Git commit d81ee5b367b1d04b87fcff5221ff475f7289b0dc by Andreas Boll on 18/12/2017 at 16:23..
Update libdrm2.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d81ee5b367b1d04b87fcff5221ff475f7289b0dc

Git commit efecf1a645afbce60c6fe7ca89cf9e28df54d8ae by Andreas Boll on 18/12/2017 at 16:25..
Update libdrm-amdgpu1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/efecf1a645afbce60c6fe7ca89cf9e28df54d8ae

Git commit fe06cdf279f9ad8f9520af628501c757032ecca5 by Andreas Boll on 18/12/2017 at 16:27..
Update libdrm-etnaviv1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe06cdf279f9ad8f9520af628501c757032ecca5

Git commit 7bf2f1d733a56b36cbe4d1e61ed50a401a719843 by Andreas Boll on 18/12/2017 at 16:28..
Update libdrm-freedreno1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7bf2f1d733a56b36cbe4d1e61ed50a401a719843

Git commit 69bb021a2ba39dcc8c8604a886974b5b14bc3eb0 by Andreas Boll on 18/12/2017 at 16:38..
Bump standards version to 4.1.2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69bb021a2ba39dcc8c8604a886974b5b14bc3eb0

Git commit 69d8e77f048c02cc963e83b38732979aa3adf2b8 by Andreas Boll on 18/12/2017 at 16:47..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69d8e77f048c02cc963e83b38732979aa3adf2b8

Git commit ad3152fa698b128c9bd266522b0b48594b131055 by Michel Dänzer (on behalf of Seung-Woo Kim) on 08/01/2018 at 17:32..
amdgpu: fix not to add amdgpu.ids when building without amdgpu

The amdgpu.ids is only required when building with amdgpu support.
Fix not to add it without amdgpu.

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad3152fa698b128c9bd266522b0b48594b131055

Git commit a8e436de5d444982e791470cfec505e6280c416a by Christian König on 09/01/2018 at 16:15..
amdgpu: fix 32bit VA manager max address

The range is exclusive not inclusive.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8e436de5d444982e791470cfec505e6280c416a

Git commit 0a3c01f4ad6a09450e59008085c7bf8151aeb5c4 by Christian König on 09/01/2018 at 16:15..
headers: sync up amdgpu_drm.h with drm-next

Sync up amdgpu changes from drm-next.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a3c01f4ad6a09450e59008085c7bf8151aeb5c4

Git commit 07ea20d5beb24315b721adf83bbfa72ce016e146 by Christian König on 09/01/2018 at 16:15..
amdgpu: use the high VA range if possible v2

Retire the low range on Vega10 this frees up everything below 0xffff800000000000 for HMM.

v2: keep the 32bit range working.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07ea20d5beb24315b721adf83bbfa72ce016e146

Git commit de807d1a740effe60da62d07dcfeae7c01012d15 by Christian König on 09/01/2018 at 16:15..
test/amdgpu: fix compiler warnings

SWAP_32() should mask first and then shift.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de807d1a740effe60da62d07dcfeae7c01012d15

Git commit d3cb58831517d4d42869a7c1f518c861baafdc8e by Rodrigo Vivi (on behalf of Anuj Phogat) on 11/01/2018 at 18:29..
intel: Add more Coffeelake PCI IDs

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa at intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3cb58831517d4d42869a7c1f518c861baafdc8e

Git commit 168dbe9a0ee29dbe5ddd16706147f2e6d8ad5576 by Alex Deucher (on behalf of Hawking Zhang) on 12/01/2018 at 17:12..
tests/amdgpu: execute write linear on all the available rings

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/168dbe9a0ee29dbe5ddd16706147f2e6d8ad5576

Git commit cbbb8a332d972a4ab18622f1c53de21324735fef by Alex Deucher (on behalf of Hawking Zhang) on 12/01/2018 at 17:15..
tests/amdgpu: execute const fill on all the available rings

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbbb8a332d972a4ab18622f1c53de21324735fef

Git commit f115de819bc10bb36565f344a66fa619219911b9 by Alex Deucher (on behalf of Hawking Zhang) on 12/01/2018 at 17:17..
tests/amdgpu: execute copy linear on all the available rings

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f115de819bc10bb36565f344a66fa619219911b9

Git commit 5f7deb50787b82038cc35fb1e31b761e33e5a341 by Dylan Baker on 12/01/2018 at 17:40..
Add meson build system

This patch adds a complete meson build system, including tests and
install. It has the necessary hooks to allow it be used as a subproject
for other meson based builds such as mesa.

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-and-tested-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f7deb50787b82038cc35fb1e31b761e33e5a341

Git commit cc86cbfb1cb79ade0d2261e0a7e848bd7d14a8be by Dylan Baker on 12/01/2018 at 17:40..
autotools: Include meson.build files in tarball

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc86cbfb1cb79ade0d2261e0a7e848bd7d14a8be

Git commit fd9bcb73e9c5a01085069b37c2f5e04300a9b4d4 by Dylan Baker on 12/01/2018 at 17:40..
README: Add note about meson

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd9bcb73e9c5a01085069b37c2f5e04300a9b4d4

Git commit 57d3d4c96887cde016fe1d2766196accf77ca423 by Michel Dänzer on 15/01/2018 at 09:01..
amdgpu: Don't print error message if parse_one_line returned -EAGAIN

It means it just didn't find an entry for the GPU in the amdgpu.ids file.

Fixes spurious

 amdgpu_parse_asic_ids: Cannot parse ASIC IDs: Resource temporarily unavailable

error messages in that case.

Reported-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57d3d4c96887cde016fe1d2766196accf77ca423

Git commit 6fe93b8000757e77c3d94f8d8f1b7a22f928de73 by Michel Dänzer on 16/01/2018 at 15:57..
amdgpu: Don't dereference device_handle after amdgpu_device_deinitialize

Fixes use after free:

==2537== Invalid read of size 4
==2537==    at 0x1162C9: suite_deadlock_tests_enable (deadlock_tests.c:101)
==2537==    by 0x10B157: amdgpu_disable_suits (amdgpu_test.c:421)
==2537==    by 0x10B157: main (amdgpu_test.c:560)
==2537==  Address 0x5e44f24 is 452 bytes inside a block of size 1,016 free'd
==2537==    at 0x4C2BE1B: free (vg_replace_malloc.c:530)
==2537==    by 0x504CD8B: amdgpu_device_reference (amdgpu_device.c:164)
==2537==    by 0x504CD8B: amdgpu_device_deinitialize (amdgpu_device.c:307)
==2537==    by 0x1162BB: suite_deadlock_tests_enable (deadlock_tests.c:97)
==2537==    by 0x10B157: amdgpu_disable_suits (amdgpu_test.c:421)
==2537==    by 0x10B157: main (amdgpu_test.c:560)
==2537==  Block was alloc'd at
==2537==    at 0x4C2CC05: calloc (vg_replace_malloc.c:711)
==2537==    by 0x504CA5E: amdgpu_device_initialize (amdgpu_device.c:212)
==2537==    by 0x116298: suite_deadlock_tests_enable (deadlock_tests.c:93)
==2537==    by 0x10B157: amdgpu_disable_suits (amdgpu_test.c:421)
==2537==    by 0x10B157: main (amdgpu_test.c:560)

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6fe93b8000757e77c3d94f8d8f1b7a22f928de73

Git commit 032bb3b11d2d559d2f03008e14dcf8ec10e28150 by Michel Dänzer on 18/01/2018 at 09:12..
amdgpu: Symlink .editorconfig to tests/amdgpu

In order to use consistent editorconfig settings in both amdgpu
directories.

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/032bb3b11d2d559d2f03008e14dcf8ec10e28150

Git commit 3509e7cd2b9098193b9f8c97ecd68fae929eb131 by Dylan Baker (on behalf of Christoph Haag) on 18/01/2018 at 18:13..
meson: fix the install path of amdgpu.ids

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3509e7cd2b9098193b9f8c97ecd68fae929eb131

Git commit 1cc17744b988106b4fe71ee9d3d17b651d6adb40 by Christian König on 23/01/2018 at 10:17..
amdgpu: fix high VA mask

That constant needs to be 64bits.

Fixes: amdgpu: use the high VA range if possible v2

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1cc17744b988106b4fe71ee9d3d17b651d6adb40

Git commit 6736ad45d88c4ce16c6f76fd128fae73b51ea2dc by Eric Engestrom (on behalf of Seung-Woo Kim) on 25/01/2018 at 10:39..
modetest: Fix to check return value of asprintf()

There is warning about ignoring return value of 'asprintf'. Fix to
check return value of asprintf().

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6736ad45d88c4ce16c6f76fd128fae73b51ea2dc

Git commit 7e28d73af018d02b5e1827769d61e04f73e50d69 by Dylan Baker on 25/01/2018 at 18:29..
meson: set proper pkg-config version for libdrm_freedreno

Copy and paste error from exynos.

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e28d73af018d02b5e1827769d61e04f73e50d69

Git commit 5df936718df62a8d1f696ff0f5fe7984aa35150b by Dylan Baker on 25/01/2018 at 18:29..
meson: set the minimum version correctly

Currently we ask for 0.42, but we actually require 0.43 because we pass
file objects as arguments to tests. If someone needs version 0.42 it
wouldn't be hard, just a lot of replacing files() with strings.

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5df936718df62a8d1f696ff0f5fe7984aa35150b

Git commit 5e239f3e3d18e13e6ffa3128407d37b3c7582593 by Andrey Grodzovsky on 26/01/2018 at 12:45..
amdgpu: Update deadlock test to not assert on ECANCELED

Kernel will abort jobs for guilty (causing GPU hang) context
with -ECANCELED don't assert if that the case.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e239f3e3d18e13e6ffa3128407d37b3c7582593

Git commit 429bb5820d2bb1e99dba15c05e912226be1ad1fc by Andrey Grodzovsky on 26/01/2018 at 12:45..
amdgpu: Fix segfault in deadlock test.

If amdgpu_cs_query_fence_status terminates prematurely the BO
sometimes is unmapped before helper thread writes a vlaue
into it causing a segfault.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/429bb5820d2bb1e99dba15c05e912226be1ad1fc

Git commit 8e75f5a1453b1699b91992493e2d2e2a6236965c by Michel Dänzer on 26/01/2018 at 14:25..
amdgpu: Disable deadlock test suite by default for SI ASICs

Hangs my Cape Verde.

Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e75f5a1453b1699b91992493e2d2e2a6236965c

Git commit 82aef5f0cbeb5145408f8c5979dc826937d51b7b by Michel Dänzer on 26/01/2018 at 14:25..
amdgpu: Disable VM test suite by default for SI ASICs

Hangs my Cape Verde.

Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82aef5f0cbeb5145408f8c5979dc826937d51b7b

Git commit 6f0f6cee5e9be1dcf816c144e05d26352c85a9e8 by Rob Clark on 26/01/2018 at 20:29..
freedreno: clamp priority based on # of rings

In case of a kernel that is new enough to support multiple submit-
queues, but with an adreno generation which doesn't support multiple
prioritized ringbuffers, we'd attempt to open a submit-queue with
prio=1 (medium), which is rejected by the kernel.

This could happen either w/ an older mesa (which uses fd_pipe_new())
or a newer mesa which defaults to prio=1 if no pipe context priority
flags are set.

The simple answer to fix both cases is to clamp the requested priority
according to the number of rings.  This might not do exactly what you
want, if we hypothetically had 2 rings (it would result in requested
medium priority being high priority instead of low priority).  But the
number of rings (for hw gen's that support this) is purely a software
construct, so the easy answer there is to have the kernel advertise at
least 3 rings if it supports more than one.  There isn't really any
reason to do otherwise.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6f0f6cee5e9be1dcf816c144e05d26352c85a9e8

Git commit 089d45456b618f78d461c6271fbdfb42ce09fc3e by Eric Engestrom on 29/01/2018 at 15:41..
remove unnecessary double-semicolon

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/089d45456b618f78d461c6271fbdfb42ce09fc3e

Git commit c6fcd176e8949148ad2e07b0ee970cd1ad287113 by Eric Engestrom on 29/01/2018 at 15:41..
tests/amdgpu: add parentheses to make operation priority explicit

While at it, align with the other half on the next line.

Cc: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6fcd176e8949148ad2e07b0ee970cd1ad287113

Git commit 80f33f4529710f5a24583ab5189d00cc7cb0d62b by Eric Engestrom on 29/01/2018 at 15:41..
tests/amdgpu: drop unused variables

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80f33f4529710f5a24583ab5189d00cc7cb0d62b

Git commit 256cdc02a89a6ad51f9ba7bebc6d1ade20f8bfa8 by Eric Engestrom on 29/01/2018 at 15:41..
tests/util: fix signed/unsigned comparisons

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/256cdc02a89a6ad51f9ba7bebc6d1ade20f8bfa8

Git commit 28052ad589babf12938acc89d349c8b356e838aa by Eric Engestrom on 29/01/2018 at 15:41..
tests/util: drop unused parameters

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28052ad589babf12938acc89d349c8b356e838aa

Git commit 44867b0eefcd8f14923bc8849bcb38f445f9120e by Eric Engestrom on 29/01/2018 at 15:41..
tests/etnaviv: drop unused `return 0`

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44867b0eefcd8f14923bc8849bcb38f445f9120e

Git commit 52689eebeb060df52fbca4009a076961cdf78edb by Eric Engestrom on 29/01/2018 at 15:41..
meson: add missing HAVE_RADEON

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52689eebeb060df52fbca4009a076961cdf78edb

Git commit a7434d3618c5a1a3d3006fdb158acd86a5d9380e by Eric Engestrom on 29/01/2018 at 15:41..
configure: remove unused HAVE_CUNIT define

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7434d3618c5a1a3d3006fdb158acd86a5d9380e

Git commit c56db628c77ecc734bfa00d773cc1717c8c1f825 by Eric Engestrom on 29/01/2018 at 15:41..
configure: remove unused HAVE_INSTALL_TESTS define

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c56db628c77ecc734bfa00d773cc1717c8c1f825

Git commit de9be0bebf242a6ceb5ad41a714a9d0306c6f4f1 by Eric Engestrom on 29/01/2018 at 15:41..
meson,configure: remove unused HAVE_OMAP define

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de9be0bebf242a6ceb5ad41a714a9d0306c6f4f1

Git commit 052ef66f06ae10f49129020137e6cadf3298c540 by Eric Engestrom on 29/01/2018 at 15:41..
meson,configure: remove unused HAVE_TEGRA define

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/052ef66f06ae10f49129020137e6cadf3298c540

Git commit 2cd9105db60714c4c9f9e89625da920b4940455f by Eric Engestrom on 29/01/2018 at 15:41..
meson,configure: remove unused HAVE_FREEDRENO define

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2cd9105db60714c4c9f9e89625da920b4940455f

Git commit 540827cc7da2228ae54947adcbf33555a48d0b1c by Eric Engestrom on 29/01/2018 at 15:41..
meson,configure: remove unused HAVE_ETNAVIV define

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/540827cc7da2228ae54947adcbf33555a48d0b1c

Git commit ee47329bef727a109418f7134638e0fe67210748 by Eric Engestrom on 29/01/2018 at 15:41..
meson,configure: always define HAVE_{INTEL,VMWGFX,NOUVEAU,EXYNOS,VC4,RADEON}

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee47329bef727a109418f7134638e0fe67210748

Git commit ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76 by Eric Engestrom on 29/01/2018 at 15:41..
always define HAVE_FREEDRENO_KGSL

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76

Git commit d2b0a4ec70d93040159af0cbc15717d35812ffc5 by Eric Engestrom on 29/01/2018 at 15:41..
always define HAVE_CAIRO

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2b0a4ec70d93040159af0cbc15717d35812ffc5

Git commit 1d7bbf852094481a8f514ed786b7a7a8af67e5fe by Eric Engestrom on 29/01/2018 at 15:41..
always define HAVE_VALGRIND

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d7bbf852094481a8f514ed786b7a7a8af67e5fe

Git commit 5457e0082df2516ee20f2f08370eb063675e4de3 by Eric Engestrom on 29/01/2018 at 15:41..
meson: sort HAVE_* defines

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5457e0082df2516ee20f2f08370eb063675e4de3

Git commit 2d50a404f6b00117b477766ccd078973933aedc3 by Eric Engestrom on 29/01/2018 at 16:18..
xf86atomic: fix -Wundef warning

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d50a404f6b00117b477766ccd078973933aedc3

Git commit 8177d73bdb12eedfa85da35fad6882afb2b01288 by Eric Engestrom on 29/01/2018 at 16:18..
meson: cleanup whitespace

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8177d73bdb12eedfa85da35fad6882afb2b01288

Git commit 75758d2ccf608de5774863d3bb7ae36c50197355 by Eric Engestrom on 31/01/2018 at 11:22..
meson,configure: add warning when using undefined preprocessor tokens

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/75758d2ccf608de5774863d3bb7ae36c50197355

Git commit 7797751cf7bbbcffdb1003f3a38479388dc4d7f9 by Eric Engestrom on 31/01/2018 at 11:22..
xf86drmHash: remove always-false #if guards

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7797751cf7bbbcffdb1003f3a38479388dc4d7f9

Git commit 0db36bdec8a1b2caac0046c22eb477ba19c2b43c by Eric Engestrom on 31/01/2018 at 11:22..
configure: always define HAVE_LIBDRM_ATOMIC_PRIMITIVES and HAVE_LIB_ATOMIC_OPS

Fixes #if undefined warnings

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0db36bdec8a1b2caac0046c22eb477ba19c2b43c

Git commit 440e6ad0702a912dc61e19aba179e13903767a9a by Eric Engestrom on 31/01/2018 at 11:22..
exynos/tests: use #ifdef for never-defined token

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/440e6ad0702a912dc61e19aba179e13903767a9a

Git commit ba17673eed0383cc41ed49e8c9841b6b819fdfd3 by Eric Engestrom on 31/01/2018 at 11:23..
meson,configure: turn undefined preprocessor tokens warnings into errors

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba17673eed0383cc41ed49e8c9841b6b819fdfd3

Git commit 10e85a8b7f28e80f5184919b2448ade18c19ca21 by Emil Velikov on 31/01/2018 at 15:57..
tests/amdgpu: add missing config.h include

Otherwise we'll end up without the macros set during configure stage.
And effectively error out in sanity tests such as the mmap static
assert.

To reproduce, do a multilib build - 32bit build on 64bit machine.

Cc: Fabio Pedretti <pedretti.fabio at gmail.com>
Cc: Andrey Grodzovsky <Andrey.Grodzovsky at amd.com>
Fixes: 33dcc29f7cc ("amdgpu: Add VMID reservation per GPU context test.")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104819
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10e85a8b7f28e80f5184919b2448ade18c19ca21

Git commit 9e34ad590e0e1003a597b8cc790a3f36830ba993 by Dylan Baker on 31/01/2018 at 17:15..
meson: fix libdrm_nouveau pkgconfig include directories

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9e34ad590e0e1003a597b8cc790a3f36830ba993

Git commit b1e63d9ee622f3f08127bab43bf6817101b870a8 by Bas Nieuwenhuizen on 06/02/2018 at 17:15..
drm: Fix 32-bit drmSyncobjWait.

Otherwise we get an EFAULT, at least on a 64-bit kernel.

Fixes: 2048a9e7 "drm: add drmSyncobjWait wrapper"
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b1e63d9ee622f3f08127bab43bf6817101b870a8

Git commit bde3b9b689407eadd1cb0d9348a0fd7906c880e2 by Chunming Zhou on 07/02/2018 at 03:23..
fix return value for syncobj wait

otherwise -ETIME is missed.

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bde3b9b689407eadd1cb0d9348a0fd7906c880e2

Git commit d07be74a4afe9d22f987aca7e8e84cccaa210248 by Chunming Zhou on 08/02/2018 at 06:35..
amdgpu: fix inefficient vamgr algorithm

issue: UMD allocates top 4GB, but don't do anything, just reserve top 4GB space,
but the performance of VP13 drops from 162fps to 99fps.

root cause:
our va hole list of vamgr is too long by time going.

fix:
reusing old hole as much as possible can make the list shortest.

result:
performance recovers as non-list path, next patch will remove non-list code path.

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d07be74a4afe9d22f987aca7e8e84cccaa210248

Git commit 41b94a3fb6e87d057fad78568d920d29489e5060 by Chunming Zhou on 08/02/2018 at 06:52..
amdgpu: clean up non list code path for vamgr

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41b94a3fb6e87d057fad78568d920d29489e5060

Git commit 09642c073e8af71127cf98b48fe1b2a376c606cf by Chunming Zhou on 08/02/2018 at 07:03..
tests/amdgpu: add bo eviction test

for(( i=1; i < 100; i++))
do
     echo "Hello, Welcome $i times "
     sudo ./amdgpu_test -s 1 -t 5
done

with above stricpt, run in two terminals, will reproduce Felix's swap leeking issue.

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09642c073e8af71127cf98b48fe1b2a376c606cf

Git commit fa35b51f6366bd44185177f0a66e02191905d774 by Michel Dänzer on 08/02/2018 at 08:50..
Revert "amdgpu: clean up non list code path for vamgr"

This reverts commit 41b94a3fb6e87d057fad78568d920d29489e5060.

It caused crashes with radeonsi in at least glxgears and Xorg.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa35b51f6366bd44185177f0a66e02191905d774

Git commit 69f9faeee6c10d07a9f9f35e175a75f6e7eeecd1 by Chunming Zhou on 09/02/2018 at 09:28..
amdgpu: clean up non list code path for vamgr v2

v2: Add missing "goto out"

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Tested-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69f9faeee6c10d07a9f9f35e175a75f6e7eeecd1

Git commit deb59781fcc1183e19cca67e2db35c2e21f40ed5 by Dylan Baker on 09/02/2018 at 16:52..
meson: include headers in root directory in ext_libdrm

Which is used in wraps.

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/deb59781fcc1183e19cca67e2db35c2e21f40ed5

Git commit ad5b702fec3f9cb54feeb403e7b31c10ebc0ca7c by Marek Olšák on 09/02/2018 at 19:30..
amdgpu: add amdgpu_query_sw_info for querying high bits of 32-bit address space

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad5b702fec3f9cb54feeb403e7b31c10ebc0ca7c

Git commit 03f80b9f6a6f28e4942b1685a205a9484b2a0d63 by Michel Dänzer on 12/02/2018 at 14:47..
amdgpu: Add amdgpu_query_sw_info to amdgpu-symbol-check

Fixes make check. Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03f80b9f6a6f28e4942b1685a205a9484b2a0d63

Git commit a4b6fd651f1b34f13eb3a3bc101a34adfa3b54a5 by Robert Foss on 14/02/2018 at 16:33..
android: Move gralloc handle struct to libdrm

This struct is used in mesa and drm_hwcomposer.
Versions of if have been implemented in several grallocs:
drm_gralloc, gbm_gralloc, minigbm and intel-minigbm.

Other than the 1:1 move of the struct a new generic name
has been chosen and variables have had comments added to them.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a4b6fd651f1b34f13eb3a3bc101a34adfa3b54a5

Git commit 76cd0af39960d0c36e7aacd4fe8d6a08f4af8ecc by Robert Foss on 14/02/2018 at 16:33..
android: Add version variable to gralloc_handle_t

The version variable will be used for versioning of this
struct and the corresponding accessor functions.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76cd0af39960d0c36e7aacd4fe8d6a08f4af8ecc

Git commit ed0ed55f3e6c2e1a460d72fed270f6243dcf92a5 by Robert Foss on 14/02/2018 at 16:33..
android: Mark gralloc_handle_t magic variable as const

Mark magic member of gralloc_handle_t as const.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed0ed55f3e6c2e1a460d72fed270f6243dcf92a5

Git commit 8e00d5ffbda7ae7ef6e33aa51aa71a0bf347f488 by Robert Foss on 14/02/2018 at 16:33..
android: Remove member name from gralloc_handle_t

The name member of gralloc_handle_t is no longer needed and has been removed.
The version field has also been bumped.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e00d5ffbda7ae7ef6e33aa51aa71a0bf347f488

Git commit e75e0ea2e3e29aa65dff868b1088bd41d9405781 by Robert Foss on 14/02/2018 at 16:33..
android: Change gralloc_handle_t members to be fixed width

In order to lessen future alignment issues, lets switch to
fixed width integers where possible.

This excludes the data_owner since it is a pid_t which
in theory could be larger than 32 bits.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e75e0ea2e3e29aa65dff868b1088bd41d9405781

Git commit 36c816fbee30fd4f31ea5233fe97126deaacd625 by Marek Olšák on 17/02/2018 at 03:28..
configure.ac: bump version to 2.4.90
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36c816fbee30fd4f31ea5233fe97126deaacd625

Git commit a05f5ac3023fd9a16b0dfffe30786e83c7513197 by Marek Olšák on 17/02/2018 at 19:20..
meson: bump the version number
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a05f5ac3023fd9a16b0dfffe30786e83c7513197

Git commit e87a87925ea23e84ed6f67de73a5ef2713ca2c49 by Marek Olšák on 17/02/2018 at 19:25..
RELEASING: mention meson
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e87a87925ea23e84ed6f67de73a5ef2713ca2c49

Git commit b3c4c79e16f13a72e8124f69453a37135329f968 by Thierry Reding on 19/02/2018 at 13:56..
drm/fourcc: Fix fourcc_mod_code() definition

Avoid compiler warnings when the val parameter is an expression.

This is based on commit 5843f4e02fbe86a59981e35adc6cabebee46fdc0 from
Linux v4.16-rc1.

Acked-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3c4c79e16f13a72e8124f69453a37135329f968

Git commit ab5aaf6c8eb93462c15007e9b54f4447c1ea8148 by Thierry Reding on 19/02/2018 at 13:58..
drm/tegra: Sanitize format modifiers

The existing format modifier definitions were merged prematurely, and
recent work has unveiled that the definitions are suboptimal in several
ways:

  - The format specifiers, except for one, are not Tegra specific, but
    the names don't reflect that.
  - The number space is split into two, reserving 32 bits for some
    "parameter" which most of the modifiers are not going to have.
  - Symbolic names for the modifiers are not using the standard
    DRM_FORMAT_MOD_* prefix, which makes them awkward to use.
  - The vendor prefix NV is somewhat ambiguous.

Fortunately, nobody's started using these modifiers, so we can still fix
the above issues. Do so by using the standard prefix. Also, remove TEGRA
from the name of those modifiers that exist on NVIDIA GPUs as well. In
case of the block linear modifiers, make the "parameter" smaller (4
bits, though only 6 values are valid) and don't let that leak into any
of the other modifiers.

Finally, also use the more canonical NVIDIA instead of the ambiguous NV
prefix.

This is based on commit 5843f4e02fbe86a59981e35adc6cabebee46fdc0 from
Linux v4.16-rc1 and also updates modetest to use the new defines.

Acked-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab5aaf6c8eb93462c15007e9b54f4447c1ea8148

Git commit 33a2851ab9bc3cd8a68bedf4cf0fdc549b0f3596 by Andrey Grodzovsky on 19/02/2018 at 14:32..
amdgpu: Fix mistake in initial hole size calculation.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33a2851ab9bc3cd8a68bedf4cf0fdc549b0f3596

Git commit d256e82b81469ae9e444b18b0831ca0d692e98b6 by Andreas Boll on 20/02/2018 at 08:49..
Merge tag 'libdrm-2.4.90' into debian-unstable

libdrm-2.4.90
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d256e82b81469ae9e444b18b0831ca0d692e98b6

Git commit a2a105615b611b57b3a0eb893815124bb6ad79c4 by Andreas Boll on 20/02/2018 at 08:50..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2a105615b611b57b3a0eb893815124bb6ad79c4

Git commit 4c94b3ee1048187b13e8dca4bb5a8c51c07a9b3d by Andreas Boll on 20/02/2018 at 09:00..
Update libdrm-amdgpu1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c94b3ee1048187b13e8dca4bb5a8c51c07a9b3d

Git commit d7dd07a035b280db7ad535da27caf9e18c16cc43 by Andreas Boll on 20/02/2018 at 09:02..
Bump standards version to 4.1.3.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7dd07a035b280db7ad535da27caf9e18c16cc43

Git commit 3adb31bc4f8e8bb8fc104d128bda6f8c11db64f7 by Andreas Boll on 20/02/2018 at 09:16..
Update extend-diff-ignore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3adb31bc4f8e8bb8fc104d128bda6f8c11db64f7

Git commit 36ccdcead04a9f6afcf533ea5e7d4af38689c54a by Andreas Boll on 20/02/2018 at 09:44..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36ccdcead04a9f6afcf533ea5e7d4af38689c54a

Git commit 9411f8ea03a4c019a0069845545cae45136596fc by Eric Engestrom (on behalf of Igor Gnatenko) on 20/02/2018 at 10:02..
meson: do not use cairo/valgrind if disabled

-Dcairo-tests=false currently results into enabling cairo support if it
was found. Same for valgrind.

v2:
* Use underscore-prefixed variables to not change type of variable
* Use empty array for "fake" dependency instead of real empty object

v3:
* Fix typo

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Signed-off-by: Igor Gnatenko <ignatenko at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9411f8ea03a4c019a0069845545cae45136596fc

Git commit 9eb6c8a6b1aad741ddd23f8fd85925d795edbee3 by Eric Engestrom (on behalf of Jonathan Gray) on 20/02/2018 at 15:05..
meson/configure.ac: pthread-stubs not present on OpenBSD

pthread-stubs is no longer required on OpenBSD and has been removed.
libpthread parts involved moved to libc.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
[Eric: add meson equivalent]
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9eb6c8a6b1aad741ddd23f8fd85925d795edbee3

Git commit 5db7bf41b27d7445f2920a938c780920b6c27851 by Rob Herring on 20/02/2018 at 20:15..
android: revert making handle magic and version members const

Const members are problematic for dynamically allocating struct
gralloc_handle_t, so just drop the const modifier.

Reviewed-by: Robert Foss <robert.foss at collabora.com>
Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5db7bf41b27d7445f2920a938c780920b6c27851

Git commit 652bcea5a609ab6de1f54d2143968c954a37e959 by Rob Herring on 20/02/2018 at 20:15..
android: fix mis-named alloc_handle_t

Fix a typo where alloc_handle_t should be gralloc_handle_t. One still
remains in gralloc_handle_create, but a subsequent commit will fix that
along with other problems in gralloc_handle_create.

Reviewed-by: Robert Foss <robert.foss at collabora.com>
Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/652bcea5a609ab6de1f54d2143968c954a37e959

Git commit 86c62e49c81eb56200ec72936462a9a8629d7d1d by Rob Herring on 20/02/2018 at 20:16..
android: add helper to convert buffer_handle_t to gralloc_handle_t ptr

Clients frequently need to convert a buffer_handle_t (aka
native_handle_t *) to a gralloc_handle_t ptr. This is a simple cast, but
add an inline function to do the conversion.

Reviewed-by: Robert Foss <robert.foss at collabora.com>
Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86c62e49c81eb56200ec72936462a9a8629d7d1d

Git commit 009634e493097afae95d190fc26cb04a1664648a by Rob Herring on 20/02/2018 at 20:16..
android: fix gralloc_handle_create() problems

There's a number of problems with gralloc_handle_create starting with it
doesn't even compile. More importantly, it doesn't really create (i.e.
allocate) a handle. It allocates a native_handle_t, copies it to a
struct gralloc_handle_t on the stack and returns the struct (not a ptr).
So the caller still has to allocate a struct gralloc_handle_t to hold
the returned struct.

Rework gralloc_handle_create() to allocate a new handle and return the
pointer to the allocated handle. Callers should free the handle with
native_handle_close() and native_handle_delete(). In the interest of
making gralloc_handle_t opaque, return a native_handle_t ptr instead.

Reviewed-by: Robert Foss <robert.foss at collabora.com>
Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/009634e493097afae95d190fc26cb04a1664648a

Git commit 4f08bfe96da1542f336589edf310d06ebce3cf20 by Eric Engestrom (on behalf of Heiko Becker) on 23/02/2018 at 17:53..
*-symbol-check: Don't hard-code nm executable

Helpful if your nm executable has a prefix based on the
architecture, for example.

Signed-off-by: Heiko Becker <heirecka at exherbo.org>
Cc: Timo Gurr <timo.gurr at gmail.com>
[Eric: v2: rebase and add Meson support]
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f08bfe96da1542f336589edf310d06ebce3cf20

Git commit 1384c0812337515694731a18643faf504402bece by Rob Clark on 26/02/2018 at 19:04..
freedreno: add interface to get buffer address

Needed for clover/OpenCL.  Fortunately the kernel interface is already
in place.

Include a stub _put_iova() so mesa can tell us when it no longer needs
the buffer to be pinned.  There is no kernel interface for this (yet),
but at least if we want to unpin buffers we won't need mesa changes.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1384c0812337515694731a18643faf504402bece

Git commit cd8a80493beea4fbdd0a2e0b68ef0adbdaac1133 by Christian König on 28/02/2018 at 12:27..
amdgpu: mostly revert "use the high VA range if possible v2"

This reverts commit 07ea20d5beb24315b721adf83bbfa72ce016e146.

Unfortunately it turned out that this change broke some corner cases in
Mesa.

Revert it for now, but keep the high range in separate VA managers.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd8a80493beea4fbdd0a2e0b68ef0adbdaac1133

Git commit ff0da7b32369a08c8a2f69cd4dcd046ad7a15bec by Christian König on 28/02/2018 at 12:27..
amdgpu: add AMDGPU_VA_RANGE_HIGH

Return high addresses if requested and available.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff0da7b32369a08c8a2f69cd4dcd046ad7a15bec

Git commit bca585b02f09e27d7adef8375630515711bd4802 by Christian König on 28/02/2018 at 19:04..
amdgpu: fix "add AMDGPU_VA_RANGE_HIGH"

The range is stored as exclusive, not inclusive. Subtracts one to get
the inclusive interval for the calculation. This fixes crashes when 32bit
addresses are in use.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bca585b02f09e27d7adef8375630515711bd4802

Git commit 1f6a85cc3773025940005e443f9bddcbf1795c27 by Chunming Zhou on 02/03/2018 at 02:32..
test/amdgpu: disable bo eviction test by default

if some system has no swap space and memory is less, than the test
could fail.
And bo eviction test takes much more time in some system, which effects
automation test result and efficiency.
So disable it by default now, only be used by developer manually.

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f6a85cc3773025940005e443f9bddcbf1795c27

Git commit a1a13d2002666922dbc7530c6f16aad600c3c3f3 by Michel Dänzer on 02/03/2018 at 11:19..
tests/amdgpu: Fix misspellings of "suite"

Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1a13d2002666922dbc7530c6f16aad600c3c3f3

Git commit 7a58c21f3ef3fd9f47d9f73cc9d725996ad691a0 by Eric Engestrom on 05/03/2018 at 17:34..
meson: add configuration summary

The message block printed is the same as the one in configure.ac

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a58c21f3ef3fd9f47d9f73cc9d725996ad691a0

Git commit 85ae22af0f209e73c954d8867d9189ab2cfeb3e1 by Rob Clark on 05/03/2018 at 20:55..
bump version for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85ae22af0f209e73c954d8867d9189ab2cfeb3e1

Git commit 7b12381723021fd5fbcf761e6832dd16a14f52d4 by Rodrigo Vivi on 05/03/2018 at 23:13..
intel/intel_chipset.h: Sync Cannonlake IDs.

Let's sync CNL ids with Spec and kernel.

Sync with kernel commit '3f43031b1693 ("drm/i915/cnl:
Add Cannonlake PCI IDs for another SKU.")' and
commit 'e3890d05b342 ("drm/i915/cnl: Sync PCI ID with Spec.")'

Cc: James Ausmus <james.ausmus at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b12381723021fd5fbcf761e6832dd16a14f52d4

Git commit 45eee3fd44f4fa253cd4d5c03f48d4a6899f899f by Daniel Stone on 07/03/2018 at 17:19..
drm/atomic: Refuse to add invalid objects to requests

Object and property IDs cannot be zero. Prevent them from being added to
the request stream at all, rather than breaking at commit time.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/45eee3fd44f4fa253cd4d5c03f48d4a6899f899f

Git commit 28370370afb2b291a2cfe6a5478a29d9a1b1c28f by Emil Velikov (on behalf of Eric Engestrom) on 08/03/2018 at 17:54..
freedreno: add missing symbols to symbol-check

Fixes: 1384c081233751569473 "freedreno: add interface to get buffer address"
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28370370afb2b291a2cfe6a5478a29d9a1b1c28f

Git commit 924f856a9047b87e8bfdc2867f7fe484e3f71343 by Marek Olšák (on behalf of Qiang Yu) on 08/03/2018 at 20:01..
amdgpu:support 16 ibs per submit for PAL/SRIOV

to support SRIOV and MCBP, need 16 IBs per submit

Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/924f856a9047b87e8bfdc2867f7fe484e3f71343

Git commit 666d59d86b548dc553f295bf2db7513848536768 by Marek Olšák on 09/03/2018 at 01:04..
Revert "amdgpu:support 16 ibs per submit for PAL/SRIOV"

This reverts commit 924f856a9047b87e8bfdc2867f7fe484e3f71343.

Wrong patch.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/666d59d86b548dc553f295bf2db7513848536768

Git commit a5329cd990cd1b85e2755f708fd9e48ac06b99a7 by Marek Olšák (on behalf of Sabre Shao) on 09/03/2018 at 01:06..
drm/amdgpu: Remove IB count checking

Signed-off-by: Sabre Shao <Sabre.Shao at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5329cd990cd1b85e2755f708fd9e48ac06b99a7

Git commit 5236de6cc1ee3759567e0fd8cd6260386b8d5b7e by Eric Engestrom on 09/03/2018 at 17:12..
meson: use pkg-config to detect libatomic_ops

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5236de6cc1ee3759567e0fd8cd6260386b8d5b7e

Git commit 0663dbd3efc7e6d644662c903722d1fc4a199cfa by Dylan Baker on 13/03/2018 at 18:30..
meson: don't use compiler.has_header

Meson's compiler.has_header is completely useless, it only checks that a
header exists, not whether it's usable. This creates problems if a
header contains a conditional #error declaration, like so:

> #if __x86_64__
> # error "Doesn't work with x86_64!"
> #endif

Compiler.has_header will return true in this case, even when compiling
for x86_64. This is useless.

Instead, we'll do a compile check so that any #error declarations will
be treated as errors, and compilation will work.

Fixes compilation on x32 architecture.

Gentoo Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=649746
meson bug: https://github.com/mesonbuild/meson/issues/2246
CC: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0663dbd3efc7e6d644662c903722d1fc4a199cfa

Git commit 09b2cbf9e4755592e95c6ee9425f6b653aa5634f by Timo Aaltonen on 14/03/2018 at 04:57..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09b2cbf9e4755592e95c6ee9425f6b653aa5634f

Git commit 770ff7b5e7e3ded49cfe51c9137bdf767fbb5bc9 by Timo Aaltonen on 14/03/2018 at 06:52..
update the changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/770ff7b5e7e3ded49cfe51c9137bdf767fbb5bc9

Git commit 94ef243810c99c3f4ae5d211212e9d9c99076e88 by Timo Aaltonen on 14/03/2018 at 07:03..
upload to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94ef243810c99c3f4ae5d211212e9d9c99076e88

Git commit 2bd461e32a5fd50169704786ba975324ddc11cb2 by Eric Engestrom on 14/03/2018 at 09:47..
meson: make it easy to add headers to check

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2bd461e32a5fd50169704786ba975324ddc11cb2

Git commit a58490de0d8ae5c290d2db6e59fc44edc829d9c6 by Eric Engestrom on 14/03/2018 at 11:50..
meson: detect alloca.h

amdgpu makes use of it

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a58490de0d8ae5c290d2db6e59fc44edc829d9c6

Git commit 56983e0cffc0254c8cfe989fe05e1061f9afe6b0 by Sven Joachim on 14/03/2018 at 21:25..
Update libdrm-freedreno1.symbols and shlibs
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56983e0cffc0254c8cfe989fe05e1061f9afe6b0

Git commit dff690ac3128300577d7cd7e4f086004c4114ab6 by Eric Engestrom (on behalf of Seung-Woo Kim) on 15/03/2018 at 16:30..
tests/exynos: remove dead condition

There is already condition checking input values between 2 and 4096
so condition checking 0 is always false. Remove the dead condition.

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dff690ac3128300577d7cd7e4f086004c4114ab6

Git commit 1d444fb0670176b769234a37ebd074705b8bd683 by Andreas Boll on 16/03/2018 at 11:37..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d444fb0670176b769234a37ebd074705b8bd683

Git commit ed07718ae7bab596297abf210bb0c37c6dba58ed by Rob Herring (on behalf of John Stultz) on 19/03/2018 at 04:18..
libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64

When building AOSP after updating libdrm project to the
freedesktop/master branch, I've seen the following build errors:

external/libdrm/intel/Android.mk: error: libdrm_intel
(SHARED_LIBRARIES android-arm64) missing libpciaccess
(SHARED_LIBRARIES android-arm64) You can set
ALLOW_MISSING_DEPENDENCIES=true in your environment if this is
intentional, but that may defer real problems until later in the
build.

Using ALLOW_MISSING_DEPENDENCIES=true when building allows
things to function properly, but is not ideal.

So basically, while I'm not including the libdrm_intel package
into the build, just the fact that the Android.mk file references
libpciaccess which isn't a repo included in AOSP causes the build
failure.

So it seems we need some sort of conditional filter in the
Android.mk to skip over it if we're not building for intel.

Cc: Chad Versace <chad.versace at linux.intel.com>
Cc: Marissa Wall <marissaw at google.com>
Cc: Sean Paul <seanpaul at google.com>
Cc: Dan Willemsen <dwillemsen at google.com>
Cc: Tomasz Figa <tfiga at google.com>
Cc: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: John Stultz <john.stultz at linaro.org>
Signed-off-by: Rob Herring <robh at kernel.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed07718ae7bab596297abf210bb0c37c6dba58ed

Git commit 32e0370e36e8263b1e7dfb75f76934dbfce53e9c by Eric Engestrom (on behalf of Inki Dae) on 20/03/2018 at 14:14..
tests: fix memory leak issue

Fixed memory leak issue to drmModeRes and drmModePlaneRes objects.

These objects were allocated by drmModeGetResources and
drmModeGetPlaneResources functions but not freed properly.

So this patch frees them by calling drmModeFreeResources
drmModeFreePlaneResources functions at failure case.

Signed-off-by: Inki Dae <inki.dae at samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32e0370e36e8263b1e7dfb75f76934dbfce53e9c

Git commit 1a44bbae734fa6aa227d2ac621ff7884af1ae8ef by Eric Engestrom on 20/03/2018 at 14:30..
meson,configure: always define HAVE_OPEN_MEMSTREAM

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a44bbae734fa6aa227d2ac621ff7884af1ae8ef

Git commit e8d3d885b1362caba4f1e1dfa42d45bac7163124 by Eric Engestrom on 20/03/2018 at 14:31..
meson,configure: always define HAVE_VISIBILITY

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e8d3d885b1362caba4f1e1dfa42d45bac7163124

Git commit 07585200e937a528bd9fad3d5850de68823f27fa by Eric Engestrom on 20/03/2018 at 14:31..
meson,configure: always define UDEV

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07585200e937a528bd9fad3d5850de68823f27fa

Git commit 431f1a147e33b3fae7ea78a47d40a6014b682ebd by Eric Engestrom on 20/03/2018 at 14:31..
meson: replace `if(compiles) have=true` with `have=compiles`

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/431f1a147e33b3fae7ea78a47d40a6014b682ebd

Git commit 0926f0af54d654b1a95826066edcae30b8052581 by Eric Engestrom on 20/03/2018 at 18:19..
meson,configure: include config.h automatically

This will prevent any more missing `#include "config.h"` bug, at the
cost of having to recompile some files that didn't need to be when
changing build options.

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0926f0af54d654b1a95826066edcae30b8052581

Git commit 56f6d3d48d405024802fa1e52a80f8918fba7fc5 by Eric Engestrom on 20/03/2018 at 18:19..
meson: drop unneeded dependency to libudev

libdrm only needed libudev for a few days 3 years ago,
between fde4969176822fe54197 and its revert 5b0e76f143887c4ec7db.

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56f6d3d48d405024802fa1e52a80f8918fba7fc5

Git commit edaca475e8b21da95ffee11b7287bc976ad31d49 by Eric Engestrom on 20/03/2018 at 18:19..
meson: move line to allow using `config` earlier

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edaca475e8b21da95ffee11b7287bc976ad31d49

Git commit 361d4bffd322f2743f8b5ce4a81ed0482105afac by Eric Engestrom on 20/03/2018 at 18:19..
meson: drop unnecessary variable

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/361d4bffd322f2743f8b5ce4a81ed0482105afac

Git commit b81d44d587d1706d5c7568e539340632a748782b by Christian König (on behalf of Satyajit) on 22/03/2018 at 08:59..
libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export

Currently while exporting prime handle to fd read write access is
not granted. mmap fails because of this. mmap was not supported on
prime initially.
Here is link to related discussion
https://lists.freedesktop.org/archives/dri-devel/2017-February/131840.html

Adding the DRM_RDWR flag in amdgpu_bo_export to support mmap.

Signed-off-by: Satyajit <satyajit.sahu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b81d44d587d1706d5c7568e539340632a748782b

Git commit d930ef82b2fe32d793e78ce536567ead7cc973d7 by Emil Velikov (on behalf of Gowtham Tammana) on 22/03/2018 at 16:43..
omap: add Android build support

Add Android.mk file to build libdrm_omap library.

Signed-off-by: Gowtham Tammana <g-tammana at ti.com>
Signed-off-by: Andrew F. Davis <afd at ti.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d930ef82b2fe32d793e78ce536567ead7cc973d7

Git commit 32ee9c0e0566ee6642c3df02315a2595105c0c87 by Emil Velikov (on behalf of Stefan Schake) on 22/03/2018 at 16:47..
android: Add missing include exports

They were set for the static library but not the shared variant.

Signed-off-by: Stefan Schake <stschake at gmail.com>
Acked-by: John Stultz <john.stultz at linaro.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32ee9c0e0566ee6642c3df02315a2595105c0c87

Git commit bb45ce4e3ac751315bfd7fbfd9e1425bf515ec0d by Emil Velikov (on behalf of John Stultz) on 22/03/2018 at 16:47..
libdrm: Use readdir instead of readdir_r to avoid build warnings

Building libdrm under AOSP, we see the following build warning:
external/libdrm/xf86drm.c:2861:12: warning: 'readdir_r' is deprecated: readdir_r is deprecated; use readdir instead [-Wdeprecated-declarations]
    while (readdir_r(sysdir, pent, &ent) == 0 && ent != NULL) {
           ^

Building on Linux with glibc produces the same warning.
Thus, this patch replaces readdir_r with readdir.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102031
Cc: Robert Foss <robert.foss at collabora.com>
Cc: Rob Herring <robh at kernel.org>
Cc: Stefan Schake <stschake at gmail.com>
Cc: John Stultz <john.stultz at linaro.org>
Signed-off-by: John Stultz <john.stultz at linaro.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
[Emil Velikov: remove unused variables, Eric]
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb45ce4e3ac751315bfd7fbfd9e1425bf515ec0d

Git commit 00aa37443f32ff22e439093bc4039c21c74d0d2e by Eric Engestrom on 22/03/2018 at 18:27..
xf86drmMode: merge successive mutually-exclusive #ifs

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Frank Binns <frank.binns at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00aa37443f32ff22e439093bc4039c21c74d0d2e

Git commit bb0fd5f3b30141e2049a31f9ccd3f806645b21e0 by Emil Velikov (on behalf of Tomasz Figa) on 28/03/2018 at 16:08..
intel: Do not use libpciaccess on Android

This patch makes the code not rely anymore on libpciaccess when compiled
for Android to eliminate ioperm() and iopl() syscalls required by that
library. As a side effect, the mappable aperture size is hardcoded to 64
MiB on Android, however nothing seems to rely on this value anyway, as
checked be grepping relevant code in drm_gralloc and Mesa.

Cc: Rob Herring <rob.herring at linaro.org>
Signed-off-by: Tomasz Figa <tfiga at google.com>
[Emil Velikov: rebase against master. add missing __func__, Eric]
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb0fd5f3b30141e2049a31f9ccd3f806645b21e0

Git commit 4dfa458979c345ea5eb46749f545d78c09e3f244 by Emil Velikov on 28/03/2018 at 16:08..
Revert "libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64"

This reverts commit ed07718ae7bab596297abf210bb0c37c6dba58ed.

The commit added a guard since libpciaccess may be missing on some
setups. As of last commit there are no traces of the project, from
Android POV.

Hence, we can revert this workaround - which caused similar breakage to
the one it's trying to fix. This time in Mesa.

Cc: Rob Herring <rob.herring at linaro.org>
Acked-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4dfa458979c345ea5eb46749f545d78c09e3f244

Git commit 2fa58c77fb9e563219f8ec647b9ddf52f3390ed2 by Chunming Zhou (on behalf of Rex Zhu) on 30/03/2018 at 02:50..
headers: sync up amdgpu_drm.h with drm-next

Add sensor_info type
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK

Reviewed-by: Evan Quan <evan.quan at amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fa58c77fb9e563219f8ec647b9ddf52f3390ed2

Git commit 8e535dd2142433b24aebc6eddeaee04663489aa2 by Daniel Stone on 30/03/2018 at 15:10..
headers: Sync with drm-next

Taken from the drm-next pull for 4.17-rc1 (694f54f680f7), and manually
reconciled:

  core:
    - Dropped DRM_MODE_TYPE_ALL and DRM_MODE_FLAG_ALL; these are purely
      internal details of the bits accepted by the currently running
      kernel, and can not be generally relied on by userspace
    - Add HDCP flags
    - Note CTM entry representation is sign-magnitude format, not
      two's-complement
  amdgpu:
    - Add QUERY_STATE2 context op
    - Add VCN firmware version query
  etnaviv:
    - Add more GPU feature flags
  i915:
    - Add caps, params and ioctls for PMU / perf-stream
    - Add support for explicit fencing
  nouveau:
    - Add TILE_COMP layout
  vc4:
    - Add perfmon ioctls
  virtgpu:
    - Add capset-fix param
  vmware:
    - Add handle-close ioctl and explicit-fencing support

Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e535dd2142433b24aebc6eddeaee04663489aa2

Git commit 8ec043ecead3aacc017464d5eb133618909f723d by Daniel Stone on 30/03/2018 at 15:11..
headers: Update README

Nouveau has made a very deliberate choice to hide its actual kernel ABI
behind libdrm. i915 is no longer out of date.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8ec043ecead3aacc017464d5eb133618909f723d

Git commit 35affe89d5f617a972b1cfee00c51cbe9e7c64a2 by Robert Foss (on behalf of John Stultz) on 03/04/2018 at 08:19..
libdrm: gralloc_handle.h: Fix build issue with Android

In trying to integrate the new gralloc_handle.h with the
drm_hwcomposer, I started seeing the following compilation
errors:

In file included from external/drm_hwcomposer/platformdrmgeneric.cpp:28:
external/libdrm/android/gralloc_handle.h:108:9: error: cannot initialize return object of type 'native_handle_t *' (aka 'native_handle *') with an lvalue of type 'struct gralloc_handle_t *'
        return handle;
               ^~~~~~
1 error generated.

This seems to be due to the gralloc_handle_create() definition
needs to return a native_handle_t * type, rather then a
gralloc_handle_t *, which is what the code actually returns.

After talking w/ Rob Herring, having the code return the
native handle should be the proper fix, so that is what
this patch changes.

Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Stefan Schake <stschake at gmail.com>
Cc: Robert Foss <robert.foss at collabora.com>
Cc: Sean Paul <seanpaul at google.com>
Cc: Rob Herring <robh at kernel.org>

Signed-off-by: John Stultz <john.stultz at linaro.org>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35affe89d5f617a972b1cfee00c51cbe9e7c64a2

Git commit cb850ceb0f25117bccb557545a3ea7a54472df80 by Leo Liu (on behalf of James Zhu) on 06/04/2018 at 13:35..
tests/amdgpu: add vce mv tests support and sets

Signed-off-by: James Zhu <James.Zhu at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb850ceb0f25117bccb557545a3ea7a54472df80

Git commit d4b4c51437048b28e31a4704739d8b0cfbb6ffcb by Christian König (on behalf of Xiaojie Yuan) on 19/04/2018 at 14:48..
amdgpu: enlarge the maximum number of cards supported

128 is the maximum number of cards that the kernel can support
at the moment.

Change-Id: I155b7b21635306d8ecc440b85fb8954501ab5599
Signed-off-by: Xiaojie Yuan <Xiaojie.Yuan at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4b4c51437048b28e31a4704739d8b0cfbb6ffcb

Git commit 50426f3e177c383a2de1c22534171c12461164a3 by Rodrigo Vivi (on behalf of Matt Atwood) on 24/04/2018 at 20:05..
Intel: Add a Kaby Lake PCI ID

Based on kernel commit '672e314b21dc ("drm/i915/kbl: Add KBL GT2 sku")'

v2: name change M -> ULX, add enumeration in KBL ULX
v3: add entry to IS_KABYLAKE

Signed-off-by: Matt Atwood <matthew.s.atwood at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50426f3e177c383a2de1c22534171c12461164a3

Git commit bc9c789073c82c645210c80b6e63117444dce252 by Michel Dänzer on 27/04/2018 at 14:42..
amdgpu: Deinitialize vamgr_high{,_32}

Fixes memory leaks.

Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc9c789073c82c645210c80b6e63117444dce252

Git commit 1ac3ecde2f2c9afd7110389eccc6860daa6627ca by Paulo Zanoni on 01/05/2018 at 21:30..
intel: add support for ICL 11

Add the PCI IDs and the basic code to enable ICL.  This is the current
PCI ID list in our documentation.

Kernel commit: d55cb4fa2cf0 ("drm/i915/icl: Add the ICL PCI IDs")

v2: Michel provided a fix to IS_9XX that was broken by rebase bot.
v3: Fix double definition of PCI IDs, update IDs according to bspec
    and keep them in the same order and rebase (Lucas)

Cc: Michel Thierry <michel.thierry at intel.com>
Reviewed-by: Michel Thierry <michel.thierry at intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ac3ecde2f2c9afd7110389eccc6860daa6627ca

Git commit c5a656818492d3f772f2236cd5cbb407616cd188 by Rob Clark on 09/05/2018 at 11:40..
freedreno: add fd_pipe refcounting

In mesa/gallium, a pipe_fence can outlive the pipe_context it was
created from.  But to wait on the fence we need to know the submit-
queue (ie. the fd_pipe).

The most straightforward way to fix this is to add reference counting
to the fd_pipe and let the fence hold a reference to the pipe (rather
than hanging on to the context, which might have been destroyed before
the fence).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c5a656818492d3f772f2236cd5cbb407616cd188

Git commit cb592ac8166e348bf61afa3f7b7f626ccaf55a0f by Rob Clark on 09/05/2018 at 22:03..
bump version for release

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb592ac8166e348bf61afa3f7b7f626ccaf55a0f

Git commit bd142c0ce69c5a69a68df749232544edcd0c57c7 by Andreas Boll on 18/05/2018 at 11:56..
Merge tag 'libdrm-2.4.92' into debian-unstable

libdrm-2.4.92
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd142c0ce69c5a69a68df749232544edcd0c57c7

Git commit b567f86b4c1e0ddb157db0df248424b12d01a114 by Andreas Boll on 18/05/2018 at 11:57..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b567f86b4c1e0ddb157db0df248424b12d01a114

Git commit 438bead01276a85a38f94775667e09db0aea0960 by Andreas Boll on 18/05/2018 at 12:20..
Update libdrm-freedreno1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/438bead01276a85a38f94775667e09db0aea0960

Git commit 1e292c5bef6724232bbbde5645a20575487e282a by Andreas Boll on 18/05/2018 at 12:22..
control: Update to my Debian address.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e292c5bef6724232bbbde5645a20575487e282a

Git commit a85865ce06329f36fa8db133f9676c38536e3572 by Andreas Boll on 18/05/2018 at 12:24..
Update Vcs-* URLs to point at salsa.debian.org.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a85865ce06329f36fa8db133f9676c38536e3572

Git commit 093cdad8efd097957cd66fbeb961effdf7ec6e6a by Andreas Boll on 18/05/2018 at 12:24..
Bump debhelper compat to 11.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/093cdad8efd097957cd66fbeb961effdf7ec6e6a

Git commit d4e5ebc31d0cb92cc75707fb98e44ef2636def4e by Andreas Boll on 18/05/2018 at 12:24..
Bump standards version to 4.1.4.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4e5ebc31d0cb92cc75707fb98e44ef2636def4e

Git commit 4401b7377c5285b6a0e38b7154a5d90db2b16c05 by Andreas Boll on 18/05/2018 at 12:32..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4401b7377c5285b6a0e38b7154a5d90db2b16c05

Git commit f34b6942ec5fd7ee3724576b8ee962c2553aad24 by Eric Engestrom (on behalf of Kevin Strasser) on 21/05/2018 at 14:06..
xf86drm: Be sure to closedir before return

removed in commit bb45ce4e3ac751315bfd7fbfd9e1425bf515ec0d

Adding it back as it is still needed in the case where we don't find a
match.

Signed-off-by: Kevin Strasser <kevin.strasser at intel.com>
Fixes: bb45ce4e3ac751315bfd "libdrm: Use readdir instead of readdir_r to
                             avoid build warnings"$
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f34b6942ec5fd7ee3724576b8ee962c2553aad24

Git commit 35615697f787f0ac46a2c00e61651cba668e6ef7 by Michel Dänzer on 22/05/2018 at 16:05..
Always pass O_CLOEXEC when opening DRM file descriptors

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35615697f787f0ac46a2c00e61651cba668e6ef7

Git commit 712fa0f3f420a7b9b42ae6d6fcb513aca97d541d by Jan Vesely on 25/05/2018 at 16:12..
amdgpu: Take a lock before removing devices from fd_tab hash table.

Close the file descriptors under lock as well.
v2: close fds after removing from hash table

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/712fa0f3f420a7b9b42ae6d6fcb513aca97d541d

Git commit 52ef6fbaf1962dac2a8b75078c20d65da90cfe8d by Jan Vesely on 25/05/2018 at 16:12..
amdgpu/util_hash_table: Add helper function to count the number of entries in hash table

Analogous to the mesa commit of the same name.
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52ef6fbaf1962dac2a8b75078c20d65da90cfe8d

Git commit c1f2d9b900e30119bcf6f88c0d11a0dd620fd060 by Jan Vesely on 25/05/2018 at 16:12..
amdgpu: Destroy fd_hash table when the last device is removed.

Fixes memory leak on module unload.
Analogous to mesa commit of the same name.
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1f2d9b900e30119bcf6f88c0d11a0dd620fd060

Git commit 22b3efbe9b6ba4d0d35dba64c27a8ebd920140d3 by Rob Clark on 18/06/2018 at 17:07..
freedreno: add user ptr to fd_ringbuffer

Something for users of fd_ringbuffer to use as they see fit.  (For now,
just so mesa can add some debugging state.)

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/22b3efbe9b6ba4d0d35dba64c27a8ebd920140d3

Git commit 591c1d72abbc1ae67890a50dc107a0e4b9ef13c3 by Rodrigo Vivi (on behalf of José Roberto de Souza) on 20/06/2018 at 23:39..
intel: Introducing Whiskey Lake platform

Whiskey Lake uses the same gen graphics as Coffe Lake, including some
ids that were previously marked as reserved on Coffe Lake, but that
now are moved to WHL page.

So, let's just move them to WHL macros that will feed into CFL macro
just to keep it better organized to make easier future code review
but it will be handled as a CFL.

This is a copy of merged i915's
commit b9be78531d27 ("drm/i915/whl: Introducing Whiskey Lake platform")

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/591c1d72abbc1ae67890a50dc107a0e4b9ef13c3

Git commit 7164abebecfbf450cdc55133eb3162f8c1501ff3 by Rodrigo Vivi (on behalf of José Roberto de Souza) on 20/06/2018 at 23:39..
intel: Introducing Amber Lake platform

Amber Lake uses the same gen graphics as Kaby Lake, including a id
that were previously marked as reserved on Kaby Lake, but that now is
moved to AML page.

So, let's just move it to AML macro that will feed into KBL macro
just to keep it better organized to make easier future code review
but it will be handled as a KBL.

This is a copy of merged i915's
commit e364672477a1 ("drm/i915/aml: Introducing Amber Lake platform")

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7164abebecfbf450cdc55133eb3162f8c1501ff3

Git commit fe0488aa13c35952b9f3f37ff2c74b6b858e8e73 by Marek Olšák on 11/07/2018 at 03:26..
amdgpu: don't call add_handle_to_table for KMS BO exports

Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe0488aa13c35952b9f3f37ff2c74b6b858e8e73

Git commit 7e4501027cbb6536fbd096d4ba39d39a57a61f2d by Michel Dänzer on 11/07/2018 at 13:43..
Revert "amdgpu: don't call add_handle_to_table for KMS BO exports"

This reverts commit fe0488aa13c35952b9f3f37ff2c74b6b858e8e73.

It caused messages like

 amdgpu 0000:23:00.0: bo 000000007dce0b3e va 0x0000101800-0x000010181f conflict with 0x0000101800-0x0000101820

in dmesg, and eventually a Xorg crash while running piglit.

Evidently, such BOs can actually be re-imported by other means than via
a KMS handle.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e4501027cbb6536fbd096d4ba39d39a57a61f2d

Git commit 4fa33e45e6d919b144d307934f372c82bc498c3c by Michel Dänzer (on behalf of Christian König) on 17/07/2018 at 14:48..
amdgpu: make sure to set CLOEXEC on duplicated FDs

Otherwise we leak file descriptors into child processes.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4fa33e45e6d919b144d307934f372c82bc498c3c

Git commit 7f52a0ebf7d8f5edbe7382454b7c5d03bb0bb7dc by Emil Velikov on 24/07/2018 at 15:24..
xf86drm: drmGetDevice2: error out if the fd has unknown subsys

Currently one can open() any /dev node. If it's unknown
drmParseSubsystemType() will return an error.

Track that and bail as needed.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f52a0ebf7d8f5edbe7382454b7c5d03bb0bb7dc

Git commit 56e72d3f2e6d6929433574aaf9fbb422f54d8646 by Emil Velikov on 24/07/2018 at 15:24..
xf86drm: introduce drm_device_has_rdev() helper

Currently we match the opened drmDevice fd with each drmDevice we
process.

Move that after all the devices are processed and folded, via the
drm_device_has_rdev(). This makes the code easier to follow and allows
us to unify the massive process loop across drmGetDevice2 and
drmGetDevices2. That in itself is coming with a later commit.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56e72d3f2e6d6929433574aaf9fbb422f54d8646

Git commit f808fee90dba88d7bb1f2e8091377e4878ad5a4a by Emil Velikov on 24/07/2018 at 15:24..
xf86drm: Fold drmDevice processing into process_device() helper

Don't duplicate the nearly identical code across the two call sites.
It improves legibility and the diff stat seems nice.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f808fee90dba88d7bb1f2e8091377e4878ad5a4a

Git commit 95b262f01975d7522cea67d5f5647e45a0152cf5 by Emil Velikov on 24/07/2018 at 15:24..
xf86drm: Allocate drmDevicePtr's on stack

Currently we dynamically allocate 16 pointers and reallocate more as
needed.

Instead, allocate the maximum number (256) on stack - the number is
small enough and is unlikely to change in the foreseeable future.

This allows us to simplify the error handling and even shed a few bytes
off the final binary.

v2:
 - add a define & description behind the magic 256
 - report error to strerr and skip when over 256 device nodes

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com> (v1)
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch> (v1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/95b262f01975d7522cea67d5f5647e45a0152cf5

Git commit a02900133b32dd4a7d6da4966f455ab337e80dfc by Emil Velikov on 24/07/2018 at 15:24..
xf86drm: introduce a get_real_pci_path() helper

Introduce a helper which gets the real sysfs path for the given pci
device.

In other words, instead opening the /sys/dev/char/*/device symlink, we
opt for the actual /sys/devices/pci*/*/

It folds three (nearly identical) snprintf's and paves the way of adding
extra devices (see next patch) a piece of pie.

v2: use a caller (on stack) provided real_path (Eric)

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com> (v1)
Reviewed-by: Robert Foss <robert.foss at collabora.com> (v1)
Reviewed-by: Eric Engestrom <eric at engestrom.ch> (v1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a02900133b32dd4a7d6da4966f455ab337e80dfc

Git commit 3988580e4c0f4b3647a0c6af138a3825453fe6e0 by Emil Velikov on 24/07/2018 at 15:25..
xf86drm: Add drmDevice support for virtio_gpu

The GPU almost exclusively lives on the PCI bus, so we expose it as a
normal PCI one.

This allows all existing drmDevice users to work without any changes.

One could wonder why a separate typeset is not introduced, alike say
host1x. Unlike host1x the PCI/platform distinction for virtio provides
no extra information. Plus if needed we can add the separate set at a
later stage.

Here are a few 'features' that virtio seems to be missing:
 - provides extra information on top the plaform devices
 - supports a range of GPU devices
 - is considered hardware description (DT)

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3988580e4c0f4b3647a0c6af138a3825453fe6e0

Git commit c64dc00fd96740d2846be1f43956151d75c441eb by Emil Velikov on 24/07/2018 at 15:27..
tests/drmdevices: install alongside other utilities

It's mildly useful program, to ship it when the user wants the "tests"
installed. Obviously the "tests" in the name is a misnomer.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c64dc00fd96740d2846be1f43956151d75c441eb

Git commit 33b035722b8fb30509d893597f1891c00e5c80f9 by Emil Velikov on 24/07/2018 at 15:27..
tests/drmdevice: add a couple of printf headers

Add a few printf statements, which should make the output easier to
parse.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33b035722b8fb30509d893597f1891c00e5c80f9

Git commit 8a3a8c15e2917fe0e3006ac5305a9df15970a56a by Emil Velikov on 24/07/2018 at 15:27..
drmdevice: convert the tabbed output into a tree

Making the output a little bit easier to parse by human beings.

v2: Add extra whitespace (Eric)

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com> (v1)
Reviewed-by: Robert Foss <robert.foss at collabora.com> (v1)
Reviewed-by: Eric Engestrom <eric at engestrom.ch> (v1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a3a8c15e2917fe0e3006ac5305a9df15970a56a

Git commit 68bd236aa417048238dc28464540a85ceb88963e by Emil Velikov on 24/07/2018 at 15:27..
drmdevice: print the correct host1x information

While fairly close, the host1x and platform are two separate things.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/68bd236aa417048238dc28464540a85ceb88963e

Git commit 9c979e0ec4052acc93da94f477c3d3d6139ebd31 by Marek Olšák on 25/07/2018 at 21:21..
amdgpu: add amdgpu_bo_handle_type_kms_noimport

Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c979e0ec4052acc93da94f477c3d3d6139ebd31

Git commit 4519db23ef716f37f804485f50955c26c38a6ae6 by Michel Dänzer (on behalf of Mariusz Ceier) on 30/07/2018 at 10:21..
xf86drm: Fix error path in drmGetDevice2

In drmGetDevice2 when no local device is found or when
drm_device_has_rdev filters out all devices, *device might be left
uninitialized causing drmGetDevice2 to not return error - since
it's only returned when *device == NULL.

Above leads to crash in the firefox in system with amdgpu.

With this change firefox displays:

libGL error: MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: amdgpu_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: amdgpu
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: amdgpu_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: amdgpu

and doesn't crash.

Bugzilla: https://bugs.freedesktop.org/107384
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Signed-off-by: Mariusz Ceier <mceier+mesa-dev at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4519db23ef716f37f804485f50955c26c38a6ae6

Git commit fcbf206aa293af2d478e48dc45e4e8b3af0e7737 by Rob Clark on 30/07/2018 at 16:18..
freedreno: add fd_ringbuffer_new_object()

Add new API for reusable "state objects" which can be re-used multiple
times.  Backend implementation for msm will follow.  (Probably not
needed to support this for any device that uses kgsl backend, since this
is mostly useful for a5xx+.)

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fcbf206aa293af2d478e48dc45e4e8b3af0e7737

Git commit 2932a03180b9224b9d44a83c2ee299f19107f92d by Rob Clark on 30/07/2018 at 16:18..
freedreno: small cleanup

Make cheezy growable array thing less open-coded before adding more.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2932a03180b9224b9d44a83c2ee299f19107f92d

Git commit 04190a912eebdbf4ff7ca45115ee21b1e4a0edd2 by Rob Clark on 30/07/2018 at 16:18..
freedreno: slight reordering

Splitting code-motion out from next patch.  Once we add stateobj rb's
this loop could add new entries to bos table, so it needs to be before
we set req.bos/req.nr_bos.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/04190a912eebdbf4ff7ca45115ee21b1e4a0edd2

Git commit 716ab859c3f250601fbeb878b0849954cc6139f0 by Rob Clark on 30/07/2018 at 16:18..
freedreno/msm: "stateobj" support

Adds support for "state object" cmdstream buffers which can be
constructed once, and re-used many times.  This enables the use
for CP_SET_DRAW_STATE packets on newer hardware, to lower the
CPU overhead.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/716ab859c3f250601fbeb878b0849954cc6139f0

Git commit 87fdbfb62fb3de6759d465d07cc13f922084694e by Marek Olšák on 01/08/2018 at 01:26..
configure.ac: bump version to 2.4.93
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87fdbfb62fb3de6759d465d07cc13f922084694e

Git commit 7aa1a511336dd7cb26dafef81d76edd6978a6cdf by Christian König on 07/08/2018 at 11:26..
amdgpu: stop using the hash table for fd_tab

We have so few devices that just walking a linked list is probably
faster.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7aa1a511336dd7cb26dafef81d76edd6978a6cdf

Git commit 52370cc6eb37e31f44daf563bada4392f6a58e49 by Christian König on 07/08/2018 at 11:27..
amdgpu: add handle table implementation v2

The kernel handles are dense and the kernel always tries to use the
lowest free id. Use this to implement a more efficient handle table
by using a resizeable array instead of a hash.

v2: add handle_table_fini function, extra key checks,
    fix typo in function name

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52370cc6eb37e31f44daf563bada4392f6a58e49

Git commit bde850bc32293702ff0bdd7b0acb5164c385785e by Christian König on 07/08/2018 at 11:27..
amdgpu: use handle table for KMS handles

Instead of the hash use the handle table.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bde850bc32293702ff0bdd7b0acb5164c385785e

Git commit 9a38e850a543a3ea9c1315f501cd4484baed079d by Christian König on 07/08/2018 at 11:27..
amdgpu: use handle table for flink names

Instead of the hash use the handle table.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a38e850a543a3ea9c1315f501cd4484baed079d

Git commit d6cb0ee408e88310f2b4caefc51b655410072974 by Christian König on 07/08/2018 at 11:27..
amdgpu: remove the hash table implementation

Not used any more.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d6cb0ee408e88310f2b4caefc51b655410072974

Git commit cbf0bb7f192b814be84dff538fb90dacf65958c7 by Christian König on 07/08/2018 at 11:27..
amdgpu: always add all BOs to handle table

This way we can always find a BO structure by its handle.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cbf0bb7f192b814be84dff538fb90dacf65958c7

Git commit 93220283cbd3ae1e85ab075c0ff812fd758c568b by Emil Velikov (on behalf of Benjamin Gaignard) on 07/08/2018 at 12:39..
tests/modetest: Add atomic support

If "-a" option is set this make modetest use atomic API instead
of legacy API.

Test the frame rate ("-v") it does a loop and swap between two
framebuffer for each active planes.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93220283cbd3ae1e85ab075c0ff812fd758c568b

Git commit 649d4e60fa0f2e98a48141588f373d12fb3e6e9c by Emil Velikov (on behalf of Mike Lothian) on 07/08/2018 at 12:58..
libdrm: Fix amdgpu build failure

Use the correct files to build libdrm_amdgpu.

Signed-of-by: Mike Lothian <mike at fireburn.co.uk>
Fixes: d6cb0ee408e ("amdgpu: remove the hash table implementation")
Cc: Christian König <christian.koenig at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/649d4e60fa0f2e98a48141588f373d12fb3e6e9c

Git commit f693c468c1996445d525bb93ac895772adfb8d0a by Emil Velikov (on behalf of Benjamin Gaignard) on 07/08/2018 at 14:40..
tests/util: Add support for stm module

Signed-off-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f693c468c1996445d525bb93ac895772adfb8d0a

Git commit f49dccbb24c51de9905582a788bd70e1f3a28efa by Christian König (on behalf of Junwei Zhang) on 08/08/2018 at 10:37..
amdgpu: add bo from user memory to handle table

When create bo from user memory, add it to handle table
for future query.

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f49dccbb24c51de9905582a788bd70e1f3a28efa

Git commit 4d454424e1f25c50e3567dd76c86f9b67d42090a by Christian König (on behalf of Junwei Zhang) on 08/08/2018 at 10:37..
amdgpu: add a function to find bo by cpu mapping (v2)

Userspace needs to know if the user memory is from BO or malloc.

v2: update mutex range and rebase

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d454424e1f25c50e3567dd76c86f9b67d42090a

Git commit f4f61e5ec87384d074e5f6b2719e293dabf21829 by Christian König (on behalf of Junwei Zhang) on 08/08/2018 at 10:37..
tests/amdgpu: add test for finding bo by CPU mapping

Add a test for API to query bo by CPU mapping

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f4f61e5ec87384d074e5f6b2719e293dabf21829

Git commit a43940eb91a88ace5519c353caaab0c85a8c0d51 by Rob Clark on 08/08/2018 at 18:31..
freedreno: don't leak stateobj rb refs

One stateobj can be emitted multiple times in a single cmdstream, but
only the first time is a cmd entry added to the parent.  Since it will
be only unref'd once after flush, we should only ref it the first time
it is emitted (ie. the time it is added to cmd table).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a43940eb91a88ace5519c353caaab0c85a8c0d51

Git commit 879d7c0298d1d4bc52d71d599cc07cafb4645808 by Rob Clark on 08/08/2018 at 18:31..
freedreno: fix use-after-free with stateobj rb's

We could be dropping last reference in ->flush(), so clear the entry in
the parent rb's table to avoid deref'ing after free'd.

Also, ring_bo_del()'s use of ring_cache expects that it is dropping the
last reference.  So drop our ref to the stateobj's ring_bo first.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/879d7c0298d1d4bc52d71d599cc07cafb4645808

Git commit c0877d481be8703dae492132e38d1b8146d016d9 by Andreas Boll on 13/08/2018 at 17:54..
Merge tag 'libdrm-2.4.93' into debian-unstable

libdrm-2.4.93
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0877d481be8703dae492132e38d1b8146d016d9

Git commit 9baa45f6e26417e4a5cabea737c9d5e411d35b87 by Andreas Boll on 13/08/2018 at 17:56..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9baa45f6e26417e4a5cabea737c9d5e411d35b87

Git commit 7df49586c9c0a0f1057829479a31d493f49861c5 by Andreas Boll on 13/08/2018 at 18:09..
Update libdrm-freedreno1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7df49586c9c0a0f1057829479a31d493f49861c5

Git commit 01b3a0a426188434cc5d29c28fc1897f1955a8b5 by Andreas Boll on 13/08/2018 at 18:20..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/01b3a0a426188434cc5d29c28fc1897f1955a8b5

Git commit 6e30031788f8fdb944d3cd8897acd45ca02433ba by Rodrigo Vivi on 14/08/2018 at 23:06..
intel: Add a new CFL PCI ID.

One more CFL ID added to spec.

Align with kernel commit d0e062ebb3a4 ("drm/i915/cfl:
Add a new CFL PCI ID.")

v2: fix commit subject.

Cc: José Roberto de Souza <jose.souza at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: José Roberto de Souza <jose.souza at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e30031788f8fdb944d3cd8897acd45ca02433ba

Git commit 1e12c16d7697a1223630a507c1032d940794039a by Michel Dänzer on 15/08/2018 at 08:34..
amdgpu: Use uint32_t i in amdgpu_find_bo_by_cpu_mapping

The compiler points out that an int doesn't work as intended if
dev->bo_handles.max_key > INT_MAX:

../../amdgpu/amdgpu_bo.c: In function ‘amdgpu_find_bo_by_cpu_mapping’:
../../amdgpu/amdgpu_bo.c:550:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  for (i = 0; i < dev->bo_handles.max_key; i++) {
                ^
../../amdgpu/amdgpu_bo.c:558:8: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  if (i < dev->bo_handles.max_key) {
        ^

Fixes: 4d454424e1f2 ("amdgpu: add a function to find bo by cpu mapping
                     (v2)")
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e12c16d7697a1223630a507c1032d940794039a

Git commit bc4c9f442246b8f39a6edf2673400cd97f3e1133 by Christian König on 16/08/2018 at 06:50..
amdgpu: fix off by one in handle_table_insert

Stupid me, max_key must always be larger than key.

Signed-off-by: Christian König <christian.koenig at amd.com>
Bugzilla: https://bugs.freedesktop.org/107552
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bc4c9f442246b8f39a6edf2673400cd97f3e1133

Git commit cc472c5bb30262defe07d9fb1ef0fe6a020b2ea9 by Alex Deucher (on behalf of Likun Gao) on 16/08/2018 at 18:45..
amdgpu: Disable deadlock test suite for RV

disable deadlock test suite for RV

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc472c5bb30262defe07d9fb1ef0fe6a020b2ea9

Git commit c6493f360e7529c26042b7a5c63725c82de88d8a by Michel Dänzer on 17/08/2018 at 07:12..
amdgpu: Eliminate void* arithmetic in amdgpu_find_bo_by_cpu_mapping

Arithmetic using void* pointers isn't defined by the C standard, only as
a GCC extension. Avoids compiler warnings:

../../amdgpu/amdgpu_bo.c: In function ‘amdgpu_find_bo_by_cpu_mapping’:
../../amdgpu/amdgpu_bo.c:554:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   if (cpu >= bo->cpu_ptr && cpu < (bo->cpu_ptr + bo->alloc_size))
                                                ^
../../amdgpu/amdgpu_bo.c:561:23: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
   *offset_in_bo = cpu - bo->cpu_ptr;
                       ^

v2: Use uintptr_t instead of char*, don't change function signature
    (Junwei Zhang)

Fixes: 4d454424e1f2 ("amdgpu: add a function to find bo by cpu mapping
                     (v2)")
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c6493f360e7529c26042b7a5c63725c82de88d8a

Git commit 3d8b6ea6646e3e86afd83a27014001736cf6fc01 by Christian König (on behalf of Junwei Zhang) on 17/08/2018 at 10:54..
amdgpu: free flink bo in bo import

Fix potential memory leak when handle flink bo in bo import.
Free the flink bo after bo import and in error handling.

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d8b6ea6646e3e86afd83a27014001736cf6fc01

Git commit f31fd57c604fa1563243f3522924466be65f5e9a by Christian König (on behalf of Junwei Zhang) on 17/08/2018 at 10:55..
amdgpu: add a function to create amdgpu bo internally (v4)

a helper function to create and initialize amdgpu bo

v2: update error handling: add label and free bo
v3: update error handling: separate each error label
v4: update error handling and rebase

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f31fd57c604fa1563243f3522924466be65f5e9a

Git commit 7a5df1682428a7cbfb52c2b4334539c488945fcf by Guido Günther on 22/08/2018 at 08:22..
Enable etnaviv on arm64

There are 64 bit CPUs supporting etnaviv like the i.MX8.

Closes: #906915
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7a5df1682428a7cbfb52c2b4334539c488945fcf

Git commit 9d2781ce373191a0bf887b330a7b9faadbdce094 by Emilio Pozuelo Monfort on 22/08/2018 at 08:57..
Merge branch 'arm64-etnaviv' into 'debian-unstable'

Enable etnaviv on arm64

See merge request xorg-team/lib/libdrm!1
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d2781ce373191a0bf887b330a7b9faadbdce094

Git commit f0c642e8df414ffc50321505c6b9acb9ba9fd4e5 by Eric Anholt (on behalf of Tanmay Shah) on 23/08/2018 at 15:48..
libdrm: add msm drm uapi header

msm_drm.h file Generated using make headers_install.

Generated from
tree - git://people.freedesktop.org/~airlied/linux
branch - drm-next
commit - 6d08b06e67cd117f6992c46611dfb4ce267cd71e

Remove freedreno/msm/msm_drm.h to maintain only
one copy of msm_drm.h and change freedreno Makefile
and meson.build file accordingly.

v2: Remove private freedreno/msm/msm_drm.h
v3: meson.build update
v3: README update (by anholt)

Signed-off-by: Tanmay Shah <tanmay at codeaurora.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f0c642e8df414ffc50321505c6b9acb9ba9fd4e5

Git commit 8389c5454804d5cd7f62f1cadb841fb1b8a51817 by Kristian H. Kristensen on 23/08/2018 at 21:38..
Bump to version 2.4.94
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8389c5454804d5cd7f62f1cadb841fb1b8a51817

Git commit bcb9d976cd91c018aa4eef13563813288984601f by Emil Velikov on 24/08/2018 at 12:37..
xf86drm: fallback to normal path when realpath fails

Earlier commit reworked our sysfs handling to use realpath.
Sadly that backfired since the Firefox sandboxing mechanism rejects
that. Despite the files/folders being in the allowed list, of the
sandboxing mechanism.

Oddly enough, the Chromium sandboxing doesn't complain about any of
this.

Since there are no Firefox releases with the fix, add a temporary
solution which falls back to the original handling.

Sadly, this won't work for virgl.

v2: drop return type - function cannot return NULL (Eric)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107516
Fixes: a02900133b3 ("xf86drm: introduce a get_real_pci_path() helper")
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Tested-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bcb9d976cd91c018aa4eef13563813288984601f

Git commit f3d90e8db42d8d8a839558c0bc4c368c0107a4b9 by Michel Dänzer on 27/08/2018 at 09:50..
amdgpu-symbol-check: Add amdgpu_find_bo_by_cpu_mapping

Fixes: 4d454424e1f2 ("amdgpu: add a function to find bo by cpu mapping
                      (v2)"
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3d90e8db42d8d8a839558c0bc4c368c0107a4b9

Git commit 6041355e353ca4a00ee5712ff52a8f6ccbfa47b3 by Timo Aaltonen on 30/08/2018 at 15:03..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6041355e353ca4a00ee5712ff52a8f6ccbfa47b3

Git commit e76f1424a04e5c1c53a4f35dfe49452cc346aa2a by Timo Aaltonen on 30/08/2018 at 16:43..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e76f1424a04e5c1c53a4f35dfe49452cc346aa2a

Git commit 840304aa72193f07ad8c1e1e29db0d96116522e9 by Timo Aaltonen on 30/08/2018 at 18:18..
Update libdrm-amdgpu1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/840304aa72193f07ad8c1e1e29db0d96116522e9

Git commit 3d0777331028e6151f3f757ef8c1987866e86ee4 by Timo Aaltonen on 30/08/2018 at 18:25..
release to unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d0777331028e6151f3f757ef8c1987866e86ee4

Git commit f17725108809efaaf139f141808d537d14db3708 by Christian König (on behalf of Junwei Zhang) on 01/09/2018 at 09:57..
amdgpu: add error return value for finding bo by cpu mapping (v2)

If nothing is found, error should be returned.

v2: udpate the error value different from parameter check

Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f17725108809efaaf139f141808d537d14db3708

Git commit 937d62ea69a839e231658ef026c8bbfde8fd4a40 by Christian König (on behalf of Qiang Yu) on 03/09/2018 at 08:55..
amdgpu: add amdgpu_bo_inc_ref() function.

For Pro OGL be able to work with upstream libdrm.

Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/937d62ea69a839e231658ef026c8bbfde8fd4a40

Git commit 580bd83fb4f242d59d18dcc18d47cbf6a9b12df7 by Christian König (on behalf of Qiang Yu) on 03/09/2018 at 10:37..
amdgpu: amdgpu_bo_inc_ref don't return dummy int

Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/580bd83fb4f242d59d18dcc18d47cbf6a9b12df7

Git commit 4d87c2e203d3813fefa6589afeddb1547a2c8b8e by Daniel Vetter on 04/09/2018 at 12:15..
Add basic CONTRIBUTING file

I picked up a bunch of the pieces from wayland's version:

https://gitlab.freedesktop.org/wayland/wayland/blob/master/CONTRIBUTING.md

The weston one is fairly similar. Then I rather massively trimmed it
down since in reality libdrm is a bit a dumping ground with very few
real rules. The commit rights and CoC sections I've copied verbatim
from igt respectively drm-misc. Weston/Wayland only differ in their
pick of how many patches you need (10 instead of 5). I think for
libdrm this is supremely relevant, since most everyone will get their
commit rights by contributing already to the kernel or mesa and having
commit rights there already.

Anyway, I figured this is good to get the rules documented, even if
there's mostly not many rules.

Note: This references maintainers in a MAINTAINERS file, which needs
to be created first.

Note: With the gitlab migration the entire commit rights process is
still a bit up in the air. But gitlab commit rights and roles are
hierarchical, so we can do libdrm-only maintainer/commiter roles
("Owner" and "Developer" in gitlab-speak). This should avoid
conflating libdrm roles with mesa roles, useful for those pushing to
libdrm as primarily kernel contributors.

v2: Comments from Emil:
- Recommend subject prefix.
- Fix copypaste fumbles, this isn't igt/wayland ...

v3: Comments from Marek:
- libdrm moved to mesa, update the document. Atm the entire account
  request situation is entirely not clear for gitlab and mesa
  projects, so that's a bit up in the air. Also, should probably send
  an announcement to dri-devel@, which didn't happen.
- amd folks don't submit their patches to dri-devel, document that.
  Probably applies to other drivers too.

v4: Comments from Rob:
- Also include kernel/userspace in the commit counts criteria, due to
  libdrm's special role as a glue library.

v5: Summarize the irc discussion on gitlab roles in the commit message
a bit.

v6: Some grammer stuff from Eric E.

v7: Use --local in git config (Eric E.)

Cc: Dave Airlie <airlied at gmail.com>
Cc: Michel Dänzer <michel at daenzer.net>
Cc: Emil Velikov <emil.velikov at collabora.com>
Cc: Marek Olšák <marek.olsak at amd.com>
Cc: Rob Clark <robdclark at gmail.com>
Cc: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Rob Clark <robdclark at gmail.com> (v4)
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com> (v6)
Acked-by: Emil Velikov <emil.l.velikov at gmail.com> (v6)
Acked-by: Marek Olšák <marek.olsak at amd.com> (v5)
Acked-by: Dave Airlie <airlied at redhat.com>
References: https://gitlab.freedesktop.org/wayland/weston/blob/master/CONTRIBUTING.md
References: https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-misc.html#commit-rights
References: https://cgit.freedesktop.org/drm/igt-gpu-tools/tree/CONTRIBUTING#n54
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d87c2e203d3813fefa6589afeddb1547a2c8b8e

Git commit 4a9030dc8b732846a0e0784e4c577cc0f081f64d by Eric Engestrom on 04/09/2018 at 14:41..
add gitlab-ci builds of libdrm

It currently does 4 builds: 2 using Meson and 2 using Autotools, 2 using
the latest dependencies on ArchLinux and 2 using very old dependencies
on Debian (including manually building libpciaccess to have the oldest
version supported, to make sure it keeps being supported).

All the build options are turned on for both Meson and Autotools.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a9030dc8b732846a0e0784e4c577cc0f081f64d

Git commit b06d71bb2244d20ee3643c47c0de5f9d98b99ef5 by Eric Engestrom (on behalf of Tom Anderson) on 05/09/2018 at 12:09..
Fix build with -std=c11

typeof() is a GNU extension that will only work when the compiler is passed
-std=gnu*.  __typeof__() works with -std=c*, however.
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b06d71bb2244d20ee3643c47c0de5f9d98b99ef5

Git commit 564995316e6fc0270239a8dafa90f4f890d1ebf2 by Eric Engestrom on 05/09/2018 at 17:28..
xf86drm: merge get_normal_pci_path() into get_real_pci_path()

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/564995316e6fc0270239a8dafa90f4f890d1ebf2

Git commit 9030a0f453acfb838bafa033f3d5bc345e01a22e by Eric Engestrom on 05/09/2018 at 17:28..
xf86drm: rename "real_path" to "pci_path"

"real_path" was getting confusing when there are other *paths in the
same functions.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9030a0f453acfb838bafa033f3d5bc345e01a22e

Git commit 4e81d4f9c9b7fd6510cf006374a749ce45bdcc11 by Rodrigo Vivi (on behalf of Lucas De Marchi) on 05/09/2018 at 23:14..
intel: add generic functions to check PCI ID

This will allow platforms to reuse kernel IDs instead of manually
keeping them in sync. In most of the cases we only need to extend
IS_9XX().  Current platforms that fit this requirement can be ported
over to use this macro. Right now it's a nop since it doesn't have any
PCI ID added.

The i915_pciids.h header is in sync with kernel tree on
drm-tip 2018y-08m-20d-21h-41m-11s.

v2: - move to a separate .c so we can have the array in a single
      compilation unit
    - use a single array for all gens
    - add real functions to get or check gen by pciid
    - define our own pci device struct rather than inherit the one
      kernel uses: we can throw away most of the fields

v3: - add comment to keep ids sorted by gen
    - remove misleading comment about all gens

Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e81d4f9c9b7fd6510cf006374a749ce45bdcc11

Git commit 8e7eb3bcfee06a6c680b6c30753c7a633c1fc85c by Rodrigo Vivi (on behalf of Lucas De Marchi) on 05/09/2018 at 23:14..
intel: make gen11 use generic gen macro

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8e7eb3bcfee06a6c680b6c30753c7a633c1fc85c

Git commit bf9df763d6814aa5ca4ef86ab9662f82be3d746c by Rodrigo Vivi (on behalf of Lucas De Marchi) on 05/09/2018 at 23:14..
intel: make gen10 use generic gen macro

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf9df763d6814aa5ca4ef86ab9662f82be3d746c

Git commit 584ca8fe53c7d5612f566a9eabf7336751a96924 by Rodrigo Vivi (on behalf of Lucas De Marchi) on 05/09/2018 at 23:14..
intel: make gen9 use generic gen macro

The 2 PCI IDs that are used for the command line overrid mechanism
were left defined. The rest can be gone and then we just use the kernel
defines.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/584ca8fe53c7d5612f566a9eabf7336751a96924

Git commit c55f1b9b29fe9ffa632497fe4accfeacadd4c7f6 by Rodrigo Vivi (on behalf of Lucas De Marchi) on 05/09/2018 at 23:14..
intel: get gen once for gen >= 9

We don't need to call IS_GEN() for each gen >= 9: we can rather use the
new intel_is_genx() helper to iterate the pciids array once.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c55f1b9b29fe9ffa632497fe4accfeacadd4c7f6

Git commit 7f7c28dbd4ca78a3523cd627940dd98d35007149 by Eric Engestrom on 06/09/2018 at 15:22..
gitlab-ci: use templates to deduplicate the build commands

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f7c28dbd4ca78a3523cd627940dd98d35007149

Git commit 473e2d2e67fec52503fe02b7a0ca26c4cd8fdbb6 by Rodrigo Vivi (on behalf of Emil Velikov) on 12/09/2018 at 15:47..
intel: annotate the intel genx helpers as private

They're used internally and never meant to be part of the API.
Add the drm_private notation, which should resolve that.

v2: (Rodrigo) Add missing include.
v3: (Rodrigo) Keep includes grouped per Eric suggestion.

Cc: Eric Engestrom <eric.engestrom at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Fixes: 4e81d4f9c9b ("intel: add generic functions to check PCI ID")
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/473e2d2e67fec52503fe02b7a0ca26c4cd8fdbb6

Git commit 5bd5f7b25e4966e62883ca0362147605117c0831 by Christian König on 14/09/2018 at 12:13..
tests/amdgpu: add unaligned VM test

Make a VM mapping which is as unaligned as possible.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bd5f7b25e4966e62883ca0362147605117c0831

Git commit 3b64b54e32caa3b10358ac41c59d1e48a9e5b2c8 by Rob Clark on 14/09/2018 at 17:41..
freedreno: fix spelling typo

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b64b54e32caa3b10358ac41c59d1e48a9e5b2c8

Git commit 28328298ca94344538a0d7f41350810f086900ee by Rob Clark on 14/09/2018 at 17:41..
freedreno: move ring_cache behind fd_bo_del()

So that it isn't bypassing normal refcnt'ing.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/28328298ca94344538a0d7f41350810f086900ee

Git commit c40bd3cbf8002edec94ef7d6275db192b4ecc53b by Christian König on 18/09/2018 at 12:53..
amdgpu: remove invalid check in amdgpu_bo_alloc

The heap is checked by the kernel and not libdrm, to make it even worse
it prevented allocating resources other than VRAM and GTT.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c40bd3cbf8002edec94ef7d6275db192b4ecc53b

Git commit 864d4501b95837d225eeca9b6e3ff3925baef063 by Christian König on 18/09/2018 at 12:56..
test/amdgpu: add proper error handling v2

Otherwise the calling function won't notice that something is wrong.

v2: check map result as well

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/864d4501b95837d225eeca9b6e3ff3925baef063

Git commit b46945e2dccb77b736a46adfa237e56590bd955b by Christian König on 18/09/2018 at 12:56..
test/amdgpu: add GDS, GWS and OA tests

Add allocation tests for GDW, GWS and OA.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b46945e2dccb77b736a46adfa237e56590bd955b

Git commit a9463bdb01b6eff2f6ec58695bdbe188ca7e8497 by Eric Engestrom on 18/09/2018 at 18:39..
headers/README: fix/add link to drm-next

Reviewed-by: Sean Paul <seanpaul at chromium.org>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9463bdb01b6eff2f6ec58695bdbe188ca7e8497

Git commit 3b3f0a408e0126a834b0fc727f4b04dcc955d2c3 by Timo Aaltonen on 19/09/2018 at 15:25..
rules, control: Switch to meson.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b3f0a408e0126a834b0fc727f4b04dcc955d2c3

Git commit 7dc31cecd48d66b8ac508b4c6873d3b1a3f06e84 by Timo Aaltonen on 19/09/2018 at 15:26..
enable_static_build.diff: Fix static build with meson.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dc31cecd48d66b8ac508b4c6873d3b1a3f06e84

Git commit d891911a3cc372740e52927b501fbf5bbf9adef8 by Timo Aaltonen on 19/09/2018 at 15:27..
Add-amdgpu_find_bo_by_cpu_mappin.diff: Fix amdgpu symbol check test.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d891911a3cc372740e52927b501fbf5bbf9adef8

Git commit 36bb0ea47b71d220b31e55717228032fb69b4dee by Lucas De Marchi on 20/09/2018 at 05:46..
intel: annotate public functions

This was done with:
while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		line=$((line-1))
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

Then some corner cases were manually fixed. "a.txt" above contains the
symbols collected from intel/intel-symbol-check. The idea here will be
to switch the default visibility to hidden so we don't export symbols we
shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/36bb0ea47b71d220b31e55717228032fb69b4dee

Git commit 6229895cc5c99070db17c7e5413e6bf33fc7f618 by Lucas De Marchi on 20/09/2018 at 05:46..
libkms: annotate public functions

This was done with:
nm --dynamic --defined-only build/libkms/libkms.so | \
	grep kms_ | \
	cut -d' ' -f3 > /tmp/a.txt

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

The idea here will be to switch the default visibility to hidden so we
don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6229895cc5c99070db17c7e5413e6bf33fc7f618

Git commit d7320bfcddc596f23fa2b7166e447a0747139199 by Lucas De Marchi on 20/09/2018 at 05:46..
nouveau: annotate public functions

This was done with:
nm --dynamic --defined-only build/nouveau/libdrm_nouveau.so | \
	grep nouveau_ | \
	cut -d ' ' -f3 > /tmp/a.txt

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		line=$((line-1))
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

Then some corner cases were manually fixed. The idea here will be to
switch the default visibility to hidden so we don't export symbols we
shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d7320bfcddc596f23fa2b7166e447a0747139199

Git commit e15e3a65b80d1da5407bd46b4b0d514e621badd6 by Lucas De Marchi on 20/09/2018 at 05:46..
amdgpu: annotate public functions

This was done with:
nm --dynamic --defined-only build/amdgpu/libdrm_amdgpu.so | \
	grep amdgpu_ | \
	cut -d' ' -f3 > /tmp/a.txt

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		line=$((line-1))
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

Then the alignment of function arguments were manually fixed all over.
The idea here will be to switch the default visibility to hidden so we
don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e15e3a65b80d1da5407bd46b4b0d514e621badd6

Git commit 26f9ce50e1353861e4c91f22ade5033072f4058e by Lucas De Marchi on 20/09/2018 at 05:46..
libdrm: annotate public functions

This was done with:
nm --dynamic --defined-only build/libdrm.so | \
	grep " T " | \
	grep -v _fini | grep -v _init | \
	cut -d' ' -f3 > /tmp/a.txt

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

Then the alignment of function arguments were manually fixed all over.
The idea here will be to switch the default visibility to hidden so we
don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26f9ce50e1353861e4c91f22ade5033072f4058e

Git commit 3441a18c3ae0cc7dbb8dc3d1bea720eef078e96c by Lucas De Marchi on 20/09/2018 at 05:46..
etnaviv: annotate public functions

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

In which /tmp/a.txt contains the public symbols from
etnaviv-symbol-check. The idea here will be to switch the default
visibility to hidden so we don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3441a18c3ae0cc7dbb8dc3d1bea720eef078e96c

Git commit 9a1470fb410bbc84045929b1490366504c33bb59 by Lucas De Marchi on 20/09/2018 at 05:46..
freedreno: annotate public functions

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

In which /tmp/a.txt contains the public symbols from
freedreno-symbol-check. The idea here will be to switch the default
visibility to hidden so we don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a1470fb410bbc84045929b1490366504c33bb59

Git commit f3f7266d94e0354bfd979b30525b0efe87576462 by Lucas De Marchi on 20/09/2018 at 05:46..
omap: annotate public functions

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

In which /tmp/a.txt contains the public symbols from
omap-symbol-check. The idea here will be to switch the default
visibility to hidden so we don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3f7266d94e0354bfd979b30525b0efe87576462

Git commit 9f45264815eff6ebeba3a7ed2149b5b29d5d6707 by Lucas De Marchi on 20/09/2018 at 05:46..
radeon: annotate public functions

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

In which /tmp/a.txt contains the public symbols from
radeon-symbol-check. The idea here will be to switch the default
visibility to hidden so we don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f45264815eff6ebeba3a7ed2149b5b29d5d6707

Git commit d1db9dd2005dccf86325d254124a5f58d0c8739c by Lucas De Marchi on 20/09/2018 at 05:46..
tegra: annotate public functions

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

In which /tmp/a.txt contains the public symbols from
tegra-symbol-check. The idea here will be to switch the default
visibility to hidden so we don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d1db9dd2005dccf86325d254124a5f58d0c8739c

Git commit 67967e9b5c0bb15eb7c95f060810d454c8eb6732 by Lucas De Marchi on 20/09/2018 at 05:46..
exynos: annotate public functions

while read sym; do
	read f func line _ <<<$(cscope -d -L -1 $sym)
	if [ ! -z "$f" ]; then
		sed -i "${line}s/^/drm_public /" $f
	fi
done < /tmp/a.txt

In which /tmp/a.txt contains the public symbols from
exynos-symbol-check. The idea here will be to switch the default
visibility to hidden so we don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67967e9b5c0bb15eb7c95f060810d454c8eb6732

Git commit ba808253bc16b481dbee69323d5a560b103d1091 by Lucas De Marchi on 20/09/2018 at 05:46..
meson: make symbols hidden by default

Now that symbols that should be exported are annotated accordingly, make
all the rest hidden by default.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba808253bc16b481dbee69323d5a560b103d1091

Git commit 1e3fcc495b250516db5ebe66cf33b58c1477508b by Lucas De Marchi on 20/09/2018 at 05:46..
autotools: make symbols hidden by default

Now that symbols that should be exported are annotated accordingly, make
all the rest hidden by default.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1e3fcc495b250516db5ebe66cf33b58c1477508b

Git commit a2920ea6a8e3daa79e9885abd6b762b3079fde86 by Eric Engestrom on 20/09/2018 at 17:23..
intel: add missing drm_public exports

Fixes: 36bb0ea47b71d220b31e "intel: annotate public functions"
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Mark Janes <mark.a.janes at intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108006
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Tested-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2920ea6a8e3daa79e9885abd6b762b3079fde86

Git commit 4b737cde8f689b66709850cf6794c699f935622c by Eric Engestrom on 20/09/2018 at 17:23..
nouveau: add missing drm_public exports

Fixes: d7320bfcddc596f23fa2 "nouveau: annotate public functions"
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Mark Janes <mark.a.janes at intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108006
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Tested-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4b737cde8f689b66709850cf6794c699f935622c

Git commit ff8cb2402aa125e7273bcdb936e11543707c0145 by Eric Engestrom on 20/09/2018 at 18:28..
radeon: add missing drm_public exports

Fixes: 9f45264815eff6ebeba3 "radeon: annotate public functions"
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Mark Janes <mark.a.janes at intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108006
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Tested-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff8cb2402aa125e7273bcdb936e11543707c0145

Git commit 07852574626c8740a0c1bbd2bacce0bb7bf1bb66 by Eric Engestrom on 20/09/2018 at 18:28..
omap: fix symbol annotations

Fixes: f3f7266d94e0354bfd97 "omap: annotate public functions"
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07852574626c8740a0c1bbd2bacce0bb7bf1bb66

Git commit 4ec31fc31a4be909c8204164c844b4a18f098af7 by Eric Engestrom on 20/09/2018 at 18:28..
freedreno: add missing drm_public

Fixes: 9a1470fb410bbc840459 "freedreno: annotate public functions"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ec31fc31a4be909c8204164c844b4a18f098af7

Git commit eaed5c8825a1d901ff29526b1463643bb7970d7d by Emil Velikov (on behalf of Stefan Agner) on 04/10/2018 at 13:26..
modeprint: use libutil to lookup strings

Use libutil to lookup connector type names and state. This also
makes sure that the latest connector type addition "DPI" gets
printed correctly.

Signed-off-by: Stefan Agner <stefan at agner.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eaed5c8825a1d901ff29526b1463643bb7970d7d

Git commit 8d44918a7d5ad677b0f0fb6b7802318c95f783d0 by Emil Velikov (on behalf of Stefan Agner) on 04/10/2018 at 13:26..
modeprint: print encoder type

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d44918a7d5ad677b0f0fb6b7802318c95f783d0

Git commit 946fa21966698c456d19de8a21afacce4d2ddf87 by Emil Velikov (on behalf of Daniel Stone) on 04/10/2018 at 13:37..
CI: Capture test logs as GitLab artifacts

GitLab CI already captures all the stdout/stderr output from the build
process as the log. However, some other important information is hidden
in other log files.

Taken from Wayland, capture logs from the configuration process as well
as from every check.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Cc: Rodrigo Vivi <rodrigo.vivi at gmail.com>
Cc: Lucas De Marchi <lucas.de.marchi at gmail.com>
Cc: Eric Engeström <eric.engestrom at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
[Emil: use wildcard to match the artefacts]
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/946fa21966698c456d19de8a21afacce4d2ddf87

Git commit 660643e498f6c084ac488f95c4392d02dde48a98 by Emil Velikov on 04/10/2018 at 13:39..
automake: set NM before running the tests

Set/export the NM variable since it may not be set already.

Fixes: 4f08bfe96da ("*-symbol-check: Don't hard-code nm executable")
Cc: Heiko Becker <heirecka at exherbo.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/660643e498f6c084ac488f95c4392d02dde48a98

Git commit 99c3540dd4a066d0295a9a1aa8d4a49d85ab5178 by Emil Velikov on 04/10/2018 at 13:39..
*-symbols-check: error out when using unset variables

It will make bugs like the one fixed with previous patch dead obvious.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99c3540dd4a066d0295a9a1aa8d4a49d85ab5178

Git commit f6b4737e2fa009020e4c2062ba50eb35ab9d15ac by Emil Velikov (on behalf of Lucas De Marchi) on 04/10/2018 at 13:42..
android: make symbols hidden by default

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f6b4737e2fa009020e4c2062ba50eb35ab9d15ac

Git commit 5775741d16dd5e18e02ea129eefb3f452dd0dc78 by Emil Velikov (on behalf of Ezequiel Garcia) on 04/10/2018 at 13:46..
tests/util: Add support for sun4i-drm driver

This is the DRM driver for all Allwinner (sunxi) platforms.

Signed-off-by: Ezequiel Garcia <ezequiel at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5775741d16dd5e18e02ea129eefb3f452dd0dc78

Git commit e08b7f22345f3aae4c358bc237e27bece87b5d10 by Emil Velikov on 04/10/2018 at 13:49..
gitlab-ci: pass the correct toggles to configure

Trivial typos - s/admgpu/amdgpu/;s/vmwfgx/vmwgfx/

Fixes: 4a9030dc8b7 ("add gitlab-ci builds of libdrm")
Cc: Brian Starkey <brian.starkey at arm.com>
Reported-by: Brian Starkey <brian.starkey at arm.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e08b7f22345f3aae4c358bc237e27bece87b5d10

Git commit 1b18f508c89c574a9d4eb9347c608fd7e8beab31 by Emil Velikov (on behalf of Ayan Kumar Halder) on 04/10/2018 at 13:51..
libdrm: headers: Sync with drm-next

Generated using make headers_install from the drm-next
tree - git://anongit.freedesktop.org/drm/drm
branch - drm-next
commit - 2dc7bad71cd310dc94d1c9907909324dd2b0618f

The changes were as follows :-

  core: (drm.h, drm_fourcc.h, drm_mode.h)
    - Added client capabilities for ASPECT_RATIO and WRITEBACK_CONNECTORS
    - Added Arm AFBC modifiers
    - Added BROADCOM's SAND and UIF modifiers
    - Added Qualcomm's modifiers
    - Added some picture aspect ratio and content type options
    - Added some drm mode flags
    - Added writeback connector id

  amdgpu:
    - Added GEM domain mask
    - Added some GEM flags
    - Added some hardware ip flags
    - Added chunk id and IB fence.
    - Added some query ids

  i915:
    -Added an IOCTL (I915_PARAM_MMAP_GTT_COHERENT)

  qxl:
    - Minor changes

  tegra:
    - Added some comments about struct drm_tegra* members
    - Modified DRM_IOCTL_TEGRA_CLOSE_CHANNEL

  vc4:
    - Added some members for 'struct drm_vc4_submit_cl'

Changes in v2:
    - Mentioned 'libdrm' in the commit header.

Changes in v3:
    - Removed the changes to radeon_drm.h, sis_drm.h and via_drm.h as suggested by
      Emil Velikov <emil.l.velikov at gmail.com>

Changes in v4:
    - Removed the changes to vmwgfx_drm.h as it caused a build break ie
      'make check' failed.

Change-Id: I018a06f65bf4a6a68400ab252b9cd05d041299b3
Signed-off-by: Ayan Kumar halder <ayan.halder at arm.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b18f508c89c574a9d4eb9347c608fd7e8beab31

Git commit 6e50a309afb340088d7da762f4434d409216caf2 by Emil Velikov on 04/10/2018 at 14:08..
Bump to version 2.4.95

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e50a309afb340088d7da762f4434d409216caf2

Git commit 7dea956d388f10bec7dc31be4baf683fb6fb6cde by Emil Velikov on 04/10/2018 at 14:22..
Revert "Bump to version 2.4.95"

This reverts commit 6e50a309afb340088d7da762f4434d409216caf2.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7dea956d388f10bec7dc31be4baf683fb6fb6cde

Git commit 86326a2c536c95f1c990845e163c7d24c70dc1de by Emil Velikov on 04/10/2018 at 14:22..
intel: include i915_pciids.h in the tarball

Fixes: 4e81d4f9c9b ("intel: add generic functions to check PCI ID")
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/86326a2c536c95f1c990845e163c7d24c70dc1de

Git commit 4f1c76539692253247fd2022111873601e50b1d9 by Emil Velikov on 04/10/2018 at 14:22..
Bump to version 2.4.95

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f1c76539692253247fd2022111873601e50b1d9

Git commit f8392583418aef5e27bfed9989aeb601e20cc96d by Thomas Hellstrom on 09/10/2018 at 12:47..
libdrm: Allow dynamic drm majors on linux

To determine whether a device node is a drm device node or not, the code
currently compares the node's major number to the static drm major device
number.

This breaks the standalone vmwgfx driver on XWayland dri clients,
https://cgit.freedesktop.org/mesa/vmwgfx
and any future attempt to introduce dynamic device numbers for drm.

So instead of checking for the device major, instead check for the presence
of the /sys/dev/char/<major>:<minor>/device/drm directory.

Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8392583418aef5e27bfed9989aeb601e20cc96d

Git commit 9c9cfebcc0145fd277549e63f60aec6bf5a553c6 by Andreas Boll on 10/10/2018 at 09:20..
Merge tag 'libdrm-2.4.95' into debian-unstable

libdrm-2.4.95
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9c9cfebcc0145fd277549e63f60aec6bf5a553c6

Git commit fce0cde27288c961331c80c46e257e76a628efc0 by Andreas Boll on 10/10/2018 at 09:21..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fce0cde27288c961331c80c46e257e76a628efc0

Git commit afc86e6d36221dabc36e4f4015bd0e80c58211e9 by Andreas Boll on 10/10/2018 at 09:22..
Drop Add-amdgpu_find_bo_by_cpu_mappin.diff, upstream
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/afc86e6d36221dabc36e4f4015bd0e80c58211e9

Git commit a846b38579e44da7872209b5e03a4bdd1707db60 by Andreas Boll on 10/10/2018 at 09:25..
Update libdrm-amdgpu1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a846b38579e44da7872209b5e03a4bdd1707db60

Git commit 4ed0e2a15c0747332649fbed78cdebafb693ef64 by Andreas Boll on 10/10/2018 at 09:31..
Drop static libdrm library from libdrm-dev.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ed0e2a15c0747332649fbed78cdebafb693ef64

Git commit 528fe3897ee5c54d1634d0a040e4a8189176ada5 by Andreas Boll on 10/10/2018 at 09:43..
Update extend-diff-ignore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/528fe3897ee5c54d1634d0a040e4a8189176ada5

Git commit b5d669069408b3f6cd7c303f69e424456a5f3617 by Andreas Boll on 10/10/2018 at 09:49..
Close bug #907698
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5d669069408b3f6cd7c303f69e424456a5f3617

Git commit f89f173d58980e6ac4966d6845199be2b925a759 by Andreas Boll on 10/10/2018 at 09:50..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f89f173d58980e6ac4966d6845199be2b925a759

Git commit eabc4cb35c0d3a60dbff79f1a78eebb928b0f10d by Andrey Grodzovsky on 10/10/2018 at 18:38..
amdgpu/test: Allow BO mapping flags to be passed in tests

v2:
Call amdgpu_bo_va_op_raw directly in amdgpu_bo_alloc_and_map_raw
Move amdgpu_bo_alloc_and_map_raw into C file to avoid including
unistd.h in amdgpu_test.h

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eabc4cb35c0d3a60dbff79f1a78eebb928b0f10d

Git commit 21f11764589ab7331b0ac69c49fadf22de4c0aff by Andrey Grodzovsky on 10/10/2018 at 18:38..
amdgpu/test: Fix deadlock tests for AI and RV v2

Seems like AI and RV requires uncashed memory mapping to be able
to pickup value written to memory by CPU after the WAIT_REG_MEM
command was already launched.
.
Enable the test for AI and RV.

v2:
Update commit description.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/21f11764589ab7331b0ac69c49fadf22de4c0aff

Git commit f9dadcece665cdbd4584febf845334db866b57f7 by Rob Clark on 13/10/2018 at 19:39..
xf86drmHash: remove redundant zero init

drmMalloc() is already calloc()

Signed-off-by: Rob Clark <robclark at freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9dadcece665cdbd4584febf845334db866b57f7

Git commit 566b1d9f93e4922edf5b13b80cb46179e9d85802 by Rob Clark on 13/10/2018 at 21:12..
freedreno/msm: get rid of ring_bo unref hack

Since 28328298 'freedreno: move ring_cache behind fd_bo_del()' this hack
is no longer necessary.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/566b1d9f93e4922edf5b13b80cb46179e9d85802

Git commit a8a006192634d1390acf3a09d4edec27084c8507 by Rob Clark on 13/10/2018 at 21:18..
freedreno: expose refcnt'ing on ringbuffers

Move this out of msm_ringbuffer backend so that the gallium driver can
refcnt rb's

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a8a006192634d1390acf3a09d4edec27084c8507

Git commit bf001648a92c8f5e10d95322f486a346febd2c09 by Rob Clark on 13/10/2018 at 21:20..
freedreno: add flags param for rb creation

For now, we want a way for gallium to be able to provide hints for the
upcoming rb suballocation.  But could be useful for other things down
the road.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf001648a92c8f5e10d95322f486a346febd2c09

Git commit 33faf339c3de8e70dcef5240f9e88e1e2bde3713 by Rob Clark on 13/10/2018 at 21:21..
freedreno/msm: support suballocation for stateobj rb's

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33faf339c3de8e70dcef5240f9e88e1e2bde3713

Git commit 09cbccff558988c57e52685ffb359441db8c2bd7 by Rob Clark on 13/10/2018 at 21:22..
freedreno: remove deprecated ringmarker API

It's usage in mesa was removed more than two years ago.  And it stands
in the way of some optimizations needed to reduce the overhead of hw
stateobjs (ie. CP_SET_DRAW_STATE, where the # of cmds in the submit
ioctl goes up significantly).

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/09cbccff558988c57e52685ffb359441db8c2bd7

Git commit 96b625240cb621531b49b8cb05249dafba4e0817 by Rob Clark on 13/10/2018 at 21:22..
freedreno/msm: remove reset of linked rings

The msm_cmd isn't refcount'd, so with stateobj rb's that have
independent lifecycle, this is no longer a safe thing to do.
Really, now that there is a bo-cache for rb's, fd_ringbuffer_reset()
should be deprecated because it adds a bunch of pointless complexity.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96b625240cb621531b49b8cb05249dafba4e0817

Git commit 5c4722e9078a845dce097168731f1be88cf61e75 by Rob Clark on 13/10/2018 at 21:23..
freedreno/msm: simplify emit_reloc_ring() vfunc

Now that it doesn't have to deal with the ringmarker case, we can make
some simplifications.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c4722e9078a845dce097168731f1be88cf61e75

Git commit 880871b3787d2664daefe228bc99ead298d5a76e by Rob Clark on 13/10/2018 at 21:23..
freedreno/msm: use hashtable to track submit.cmds table

With streaming stateobjs to upload uniforms, the submit.cmds table gets
much larger, and iterating over it for each ring to ring reloc starts
getting expensive.

TODO if we have flag to pass when constructing parent rb, we could
avoid dynamically allocating this and bo_table in get_cmd() or bo2idx

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/880871b3787d2664daefe228bc99ead298d5a76e

Git commit 413a49a0688441e36beff361b7ad100a7f80e051 by Rob Clark on 13/10/2018 at 21:23..
freedreno/msm: simplify msm_ringbuffer_flush()

Now that it doesn't have to deal with ringmarkers we can simplify the
reloc handling.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/413a49a0688441e36beff361b7ad100a7f80e051

Git commit 032258b7f77974e14fd319bc3a61d91cc403a21a by Rob Clark on 13/10/2018 at 21:24..
freedreno/msm: handle ring-reloc to other stateobjs

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/032258b7f77974e14fd319bc3a61d91cc403a21a

Git commit b730f5c8c5bcf761ff438280911c1f604c19132b by Rob Clark on 14/10/2018 at 15:23..
freedreno/kgsl: fix build

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b730f5c8c5bcf761ff438280911c1f604c19132b

Git commit f94075c3c52aa7e1174d604c806a810d0305378b by Rob Clark on 14/10/2018 at 15:23..
freedreno/msm: fix c90 warning

Wasn't really sure how to switch the silly -Wdeclaration-after-statement
flag off on a per directory basis.  So make the code uglier instead.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f94075c3c52aa7e1174d604c806a810d0305378b

Git commit 5a3bdc7add2f30f7673052376514c91dbcd1b64a by Rob Clark on 16/10/2018 at 14:32..
Bump to version 2.4.96

Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5a3bdc7add2f30f7673052376514c91dbcd1b64a

Git commit 9d07fbf5939011f7fdf6329689ef9dcc1c6648ff by Daniel Vetter on 17/10/2018 at 15:17..
doc: Rename README&CONTRIBUTING to .rst

Looks much neater on the gitlab UI, e.g. on my personal libdrm fork:

https://gitlab.freedesktop.org/danvet/drm

Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d07fbf5939011f7fdf6329689ef9dcc1c6648ff

Git commit b3dec018df8263b84492d43b909ad871c030b8a9 by Andrey Grodzovsky on 01/11/2018 at 18:57..
amdgpu/test: Add illegal register and memory access test v2

Illegal access will cause CP hang followed by job timeout and
recovery kicking in.
Also, disable the suite for all APU ASICs until GPU
reset issues for them will be resolved and GPU reset recovery
will be enabled by default.

v2:
Add KV to deasbled APUs list and add comments regarding
necessary kernel amdgpu paramteres to run the tests.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b3dec018df8263b84492d43b909ad871c030b8a9

Git commit 0be850441f24c55cf5a2f1ce3b33457add685b96 by Andrey Grodzovsky on 02/11/2018 at 20:22..
amdgpu/test: Disable deadlock tests for all non gfx8/9 ASICs.

Since only for those ASICs gpu reset is enabled by deafult.
Also update disable message and fix identation .

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0be850441f24c55cf5a2f1ce3b33457add685b96

Git commit 0f2f38bf06ad6211fdfb07e5a4edace07e86f0fc by Eric Engestrom on 09/11/2018 at 10:59..
xf86drmHash: remove unused loop variable

Reported-by: Jan Vesely <jano.vesely at gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0f2f38bf06ad6211fdfb07e5a4edace07e86f0fc

Git commit 8c1fddc640999ab94a64129cd3e1c68e6dc14502 by Eric Engestrom on 09/11/2018 at 10:59..
meson: fix typo in compiler flag

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c1fddc640999ab94a64129cd3e1c68e6dc14502

Git commit e642f480b816f21448fc616f6122df5e8a6070fa by Eric Engestrom on 11/11/2018 at 18:39..
tests: skip drmdevice test if the machine doesn't have any drm device

Error message was invalid too, negative values aren't the number of
devices, they're errno error codes.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e642f480b816f21448fc616f6122df5e8a6070fa

Git commit 9b28c5aea3a37dc6382a61fb65c97a9db6eeeac0 by Eric Anholt on 20/11/2018 at 04:36..
Avoid hardcoded strlens in drmParseSubsystemType().

Having people count characters is error-prone, when we could just have
a computer do it.

Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b28c5aea3a37dc6382a61fb65c97a9db6eeeac0

Git commit 89700ab0aa73a85a90a2e1c2fd0d6857a0ee300d by Eric Anholt on 20/11/2018 at 04:36..
drm: Attempt to parse SPI devices as platform bus devices.

For ARM systems with tinydrm displays attached to SPI, the bus name is
/spi but we have platform device info for the rest.  Fixes
eglInitialize() failures on hx8357d since the EGL_EXT_device_drm
changes.

Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/89700ab0aa73a85a90a2e1c2fd0d6857a0ee300d

Git commit b28b8237623c0a3c0fdb6ad0e85319f3c8dab8a9 by Christian König on 05/12/2018 at 13:41..
amdgpu: add VM test to exercise max/min address space

Make sure the kernel doesn't crash if we map something at the minimum/maximum address.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b28b8237623c0a3c0fdb6ad0e85319f3c8dab8a9

Git commit ba45adb2a121dae8fa408f921ef2caae86d2f78e by Andrey Grodzovsky on 11/12/2018 at 20:41..
amdgpu/test: Enable deadlock test for CI family (gfx7)

I retested GPU recovery with  Bonaire ASIC and it works.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba45adb2a121dae8fa408f921ef2caae86d2f78e

Git commit 200e9e98a2fbd876ee5f0afd943731a63b7af3dc by Ilia Mirkin (on behalf of François Tigeot) on 14/12/2018 at 01:39..
xf86drm: implement drmParseSubsystemType for DragonFly

Like on OpenBSD, the DragonFly BSD kernel only contains
pci drm drivers.

Signed-off-by: François Tigeot <ftigeot at wolfpond.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/200e9e98a2fbd876ee5f0afd943731a63b7af3dc

Git commit 8f2e09251ecea3c95eb21ae73a282447ad700776 by Ilia Mirkin (on behalf of François Tigeot) on 14/12/2018 at 01:39..
libdrm: Use DRM_IOCTL_GET_PCIINFO on DragonFly

It is a cleaner and less fragile way to get PCI IDs than the one
currently used by local DPorts patches.

Signed-off-by: François Tigeot <ftigeot at wolfpond.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f2e09251ecea3c95eb21ae73a282447ad700776

Git commit 866ada1b373ab3576723c1c4b9dd20744b087aef by Leo Liu on 14/12/2018 at 17:21..
tests/amdgpu/vcn: fix the nop command in IBs

Just make them properly i.e. put 0 to the Nop reg

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/866ada1b373ab3576723c1c4b9dd20744b087aef

Git commit d8e615f9757ac0c990b4bb74c9ec086a4b62be06 by Lucas De Marchi on 17/12/2018 at 20:49..
gitignore: sort file

LANG=C sort -u .gitignore | sponge .gitignore

This way it's easier to keep track of the entries.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8e615f9757ac0c990b4bb74c9ec086a4b62be06

Git commit 2c02f1e610ebd4620852e53f88e8a605fdc936b2 by Lucas De Marchi on 17/12/2018 at 20:49..
gitignore: add _build

This is the directory used by meson/autotools (at least in the
.gitlab-ci configuration) so ignore the whole dir.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c02f1e610ebd4620852e53f88e8a605fdc936b2

Git commit 597725e9511f8c0405fdd8d92d749bce58c0bce3 by Robert Foss (on behalf of Mauro Rossi) on 18/12/2018 at 20:18..
android: Fix 32-bit app crashing in 64-bit Android

Seemingly the 64-bit int is always aligned to 8 in LP64.
But this is not hold in LP32.

Consequently sizeof(gralloc_drm_handle_t) are different
between LP64 (which is 18 ints) and LP32 (which is 16 ints).
As a result, 32-bit apps will crash in 64-bit OS since the
checking handle->base.numInts != GRALLOC_GBM_HANDLE_NUM_INTS
is true.

Fix it by always aligning 64-bit int to 8. Besides, to avoid
additional padding, just exchange the order of data_owner
and modifier. It aligns modifier to 8 natually.
This makes gralloc_drm_handle_t fit in 16 ints perfectly.

(v2) gralloc_drm_handle.h patch now applied in gralloc_handle.h
     and GRALLOC_HANDLE_VERSION updated to 4

Reported-by: Mauro Rossi <issor.oruam at gmail.com>
Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/597725e9511f8c0405fdd8d92d749bce58c0bce3

Git commit b541d21a0a908bf98d44375720f4430297720743 by Eric Engestrom on 03/01/2019 at 18:36..
freedreno: remove always-defined #ifdef

While at it, let's include xf86atomic.h explicitly, instead of relying
on some other file accidentally including it before including this file.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b541d21a0a908bf98d44375720f4430297720743

Git commit 6d2379857b6fccc1cadeb81acdcee295b081b0cb by Eric Engestrom on 03/01/2019 at 18:36..
xf86atomic: #undef internal define

Thanks to the #error just above, any file including this header can only
see one state for this macro: defined, with the value `1`.
Let's just #undef it once we're done using it in here so that other
files don't misconstrue any meaning to it.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d2379857b6fccc1cadeb81acdcee295b081b0cb

Git commit 403f3c92fdea994b62029fb79e2520a0d399704e by Eric Engestrom on 03/01/2019 at 18:41..
README: reflow the project description to improve readability

Also, move the sentence about "who would use libdrm" into its own paragraph,
as it is something people discovering libdrm will want to know.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/403f3c92fdea994b62029fb79e2520a0d399704e

Git commit cfab2fc33d3653daeb0d8f78941306e34107393a by Alex Deucher on 10/01/2019 at 15:15..
amdgpu: update to latest marketing names from 18.50

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfab2fc33d3653daeb0d8f78941306e34107393a

Git commit 1b28c15115bd41f9db7ed2d61525ec99ef3a8c59 by James Clarke on 12/01/2019 at 17:07..
Fix build on GNU/kFreeBSD

The kFreeBSD sys/types.h does not define (u)int*_t, unlike FreeBSD
itself, so explicitly include stdint.h. Also libbsd-overlay no longer
seems to be needed, so drop it.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b28c15115bd41f9db7ed2d61525ec99ef3a8c59

Git commit 38518c20c661427aee5a8ed12b72278de6af3831 by Emilio Pozuelo Monfort on 16/01/2019 at 11:36..
Merge branch 'kfreebsd' into 'debian-unstable'

Fix build on GNU/kFreeBSD

See merge request xorg-team/lib/libdrm!2
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38518c20c661427aee5a8ed12b72278de6af3831

Git commit 98cff551b0d5e54f564e99207e9c1e8d110f0914 by Marek Olšák on 16/01/2019 at 16:57..
amdgpu: update amdgpu_drm.h

it's in kernel 5.0

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98cff551b0d5e54f564e99207e9c1e8d110f0914

Git commit f19afaa519c2aa51d8449168fa83a98f2f04e0e5 by Marek Olšák on 16/01/2019 at 21:39..
amdgpu: add a faster BO list API

Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f19afaa519c2aa51d8449168fa83a98f2f04e0e5

Git commit b7a7a90336fbb19efb3f91f92b5d964b0dfb7ec2 by Marek Olšák on 22/01/2019 at 16:18..
Bump the version to 2.4.97
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7a7a90336fbb19efb3f91f92b5d964b0dfb7ec2

Git commit 632037da93cf2af3aa2393334f1459e1c77f57e7 by Andreas Boll on 23/01/2019 at 10:39..
Merge tag 'libdrm-2.4.97' into debian-unstable

libdrm-2.4.97
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/632037da93cf2af3aa2393334f1459e1c77f57e7

Git commit 9f4f97547c8a2687f4dbc41586e97b93d969dbdb by Andreas Boll on 23/01/2019 at 10:39..
Bump changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f4f97547c8a2687f4dbc41586e97b93d969dbdb

Git commit bd66ef268b90985d3e6ffb8a0bd3ccbaf4825355 by Andreas Boll on 23/01/2019 at 11:12..
Update libdrm-amdgpu1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd66ef268b90985d3e6ffb8a0bd3ccbaf4825355

Git commit 90118a57c8b5aac327954a796394eb1aa516dc25 by Andreas Boll on 23/01/2019 at 11:13..
Update libdrm-freedreno1.symbols and shlibs.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90118a57c8b5aac327954a796394eb1aa516dc25

Git commit 2c379e32be756a04befcf948267aa994346d07a1 by Andreas Boll on 23/01/2019 at 11:21..
Add changelog entries for kbsd fixes
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c379e32be756a04befcf948267aa994346d07a1

Git commit fa420ee812851eb0b10c8789b718e7603147a686 by Andreas Boll on 23/01/2019 at 11:45..
Upload to unstable.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa420ee812851eb0b10c8789b718e7603147a686

Git commit 6415bd3ced9d80137e30cb90837eb01932607882 by Alex Deucher on 01/02/2019 at 05:26..
amdgpu: add some raven marketing names

Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6415bd3ced9d80137e30cb90837eb01932607882

Git commit 3df8a7f01abffbfcb93683c20d66987999d1a4d1 by Emil Velikov on 04/02/2019 at 15:26..
xf86drm: fallback to MODALIAS for OF less platform devices

Some devices can lack OF data or it may not be available in the uevent
file. Fallback to the MODALIAS data in those cases.

We strip any leading "MODALIAS=.*:" thus the resulting information is
compatible with existing code in Mesa.

v2: foo -> tmp_name

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Lucas Stach <l.stach at pengutronix.de> (v1)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3df8a7f01abffbfcb93683c20d66987999d1a4d1

Git commit ee798b98479709acdd8d1492689dc93c1a62f239 by Emil Velikov on 04/02/2019 at 15:28..
xf85drm: de-duplicate drmParse{Platform.Host1x}{Bus,Device}Info

The functions are virtually identical, fold them up.

v2: foo -> tmp_name (Eric)

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ee798b98479709acdd8d1492689dc93c1a62f239

Git commit 70a1ae89be6b9f9a535f1fbaff3e4b1c4bb46d4a by Rodrigo Vivi on 04/02/2019 at 18:45..
intel: sync i915_pciids.h with kernel

Straight copy from the kernel file.

Add more PCI Device IDs for Coffee Lake, Ice Lake,
and Amber Lake. It also include a reorg on Whiskey Lake IDs.

Align with kernel commits:

5e0f5a58b167 ("drm/i915/cfl: Adding another PCI Device ID.")
03ca3cf8e9aa ("drm/i915/icl: Adding few more device IDs for Ice Lake")
c0c46ca461f1 ("drm/i915/aml: Add new Amber Lake PCI ID")
c1c8f6fa731b ("drm/i915: Redefine some Whiskey Lake SKUs")

Cc: José Roberto de Souza <jose.souza at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70a1ae89be6b9f9a535f1fbaff3e4b1c4bb46d4a

Git commit 17dfe3ac93217b43f93bc81d1129bd38a89d0368 by Emil Velikov (on behalf of Christopher James Halse Rogers) on 07/02/2019 at 17:43..
xf86drm: Add drmIsMaster()

We can't use drmSetMaster to query whether or not a drm fd is master
because it requires CAP_SYS_ADMIN, even if the fd *is* a master fd.

Pick DRM_IOCTL_MODE_ATTACHMODE as a long-deprecated ioctl that is
DRM_MASTER but not DRM_ROOT_ONLY as the probe by which we can detect
whether or not the fd is master.

This is useful for code that might get master by open()ing the drm device
while no other master exists, but can't call drmSetMaster itself because
it's not running as root or is in a container, where container-root isn't
real-root.

v2: Use the AUTH_MAGIC request rather than MODE_ATTACHMODE, as it's more
    clearly related to master status.

v3: [Emil] Don't expose internals, check for -EACCES.

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch> (v2)
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17dfe3ac93217b43f93bc81d1129bd38a89d0368

Git commit eba6609b7bee5a56fa5334992b1e6f3aef8d244a by Eric Engestrom on 08/02/2019 at 18:52..
xf86drm: fix return type for drmIsMaster()

Xserver has struct members named `bool`, which means the last commit
breaks its build with errors like this:

  error: two or more data types in declaration specifiers
  Bool bool;
       ^

Fix this by making it return a 0/1 integer, with the same semantic as
the boolean it was before.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109587
Fixes: 17dfe3ac93217b43f93b "xf86drm: Add drmIsMaster()"
Cc: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eba6609b7bee5a56fa5334992b1e6f3aef8d244a

Git commit e09f327765902f3b7d31874ccf0f45b783299bc0 by Eric Engestrom on 19/02/2019 at 09:50..
freedreno: revert bad freedreno/atomic_ops commits

This reverts 6d2379857b6fccc1cade "xf86atomic: #undef internal define"
and b541d21a0a908bf98d44 "freedreno: remove always-defined #ifdef".

I didn't realise at the time that freedreno/freedreno_ringbuffer.h gets
installed, and then used by Mesa for instance. These two commits were
fine in libdrm, but broke Mesa which needs to use struct fd_ringbuffer
but doesn't need to access ::refcnt. The hack that I removed serves to
keep the struct at the correct size while only exposing the ::refcnt
member within libdrm.

Fixes: 6d2379857b6fccc1cade "xf86atomic: #undef internal define"
Fixes: b541d21a0a908bf98d44 "freedreno: remove always-defined #ifdef"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e09f327765902f3b7d31874ccf0f45b783299bc0

Git commit 1592d471bba5eadc626dcdf3975d1fc07c70dfe0 by Eric Engestrom on 19/02/2019 at 11:59..
gitlab-ci: fix archlinux builds

base/archlinux has been replaced with archlinux/base, which is
maintained directly by the archlinux community.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1592d471bba5eadc626dcdf3975d1fc07c70dfe0

Git commit 56c21f877bda7b8c62c3d7925b070b5113d807f2 by Alex Deucher (on behalf of Emily Deng) on 22/02/2019 at 21:02..
libdrm: Fix issue about differrent domainID but same BDF

For multiple GPUs which has the same BDF, but has different domain ID,
the drmOpenByBusid will return the wrong fd when startx.

The reproduce sequence as below:
1. Call drmOpenByBusid to open Card0, then will return the right fd0, and the
fd0 is master privilege;
2. Call drmOpenByBusid to open Card1. In function drmOpenByBusid, it will
open Card0 first, this time, the fd1 for opening Card0 is not master
privilege, and will call drmSetInterfaceVersion to identify the
domain ID feature, as the fd1 is not master privilege, then drmSetInterfaceVersion
will fail, and then won't compare domain ID, then return the wrong fd for Card1.

Solution:
First loop search the best match fd about drm 1.4.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Emily Deng <Emily.Deng at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56c21f877bda7b8c62c3d7925b070b5113d807f2

Git commit d54e546852dd6ffdc732ffa17f102b7ce87a7352 by Eric Engestrom (on behalf of Seung-Woo Kim) on 26/02/2019 at 10:39..
configure.ac fix build error for config.h in autotools

After the commit 0926f0af54d6 ("meson,configure: include config.h
automatically"), there is build error for autotools because
config.h is not included. Fix the error by adding "-include
config.h" to CPPFLAGS instead of CFLAGS from configure.ac.

Reference: https://bugs.freedesktop.org/show_bug.cgi?id=106561
Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Fixes: 0926f0af54d654b1a958 "meson,configure: include config.h automatically"
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d54e546852dd6ffdc732ffa17f102b7ce87a7352

Git commit 0b032a645e5d6e63e50792d9ce999c863b166c58 by Tapani Pälli on 11/03/2019 at 07:12..
libkms: update list of intel_drivers for Android build

Add new iris driver, remove deprecated ilo driver.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b032a645e5d6e63e50792d9ce999c863b166c58

Git commit 4735ca71af9f741e2438104d543dc3c5a8107f35 by Eric Engestrom (on behalf of Andreas Baierl) on 12/03/2019 at 11:55..
xf86drm: Fix segmentation fault while parsing device info

This fixes a bug, which was introduced with commit ee798b98
"xf85drm: de-duplicate drmParse{Platform.Host1x}{Bus,Device}Info".
where accessing *compatible[i] with i>0 results in a segfault.

Signed-off-by: Andreas Baierl <ichgeh at imkreisrum.de>
Fixes: ee798b98479709acdd8d "xf85drm: de-duplicate drmParse{Platform.Host1x}{Bus,Device}Info"
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
[Eric: add the same fix to the free() below]
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4735ca71af9f741e2438104d543dc3c5a8107f35

Git commit c8bc69a165e1ec62ccea56efbb70b1854337606b by Alex Deucher on 18/03/2019 at 15:49..
amdgpu: add marketing name for AMD Radeon VII

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c8bc69a165e1ec62ccea56efbb70b1854337606b

Git commit 8c6dbd7938092ff64b64bb8d637d56b0dc3f7fc9 by Alex Deucher (on behalf of Cui, Flora) on 18/03/2019 at 15:49..
tests/amdgpu: add deadlock test for sdma

deadlock test for sdma will cause gpu recoverty.
disable the test for now until GPU reset recovery could survive at least
1000 times test.

v2: add modprobe parameter

Reviewed-and-tested-by: Evan Quan <evan.quan at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Flora Cui <flora.cui at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c6dbd7938092ff64b64bb8d637d56b0dc3f7fc9

Git commit 8db4e2db41491ba05b7fe4da0725114bbf2378b2 by Alex Deucher (on behalf of Cui, Flora) on 18/03/2019 at 15:49..
tests/amdgpu: add memset dispatch test

add memset dispatch test for gfx9
v2: disable dispatch test for other ASICs

Signed-off-by: Flora Cui <flora.cui at amd.com>
Tested-by: Rui Teng <rui.teng at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8db4e2db41491ba05b7fe4da0725114bbf2378b2

Git commit c1ced0bafdb4c817a30ff7b8c4ceb7db1e93ecc5 by Alex Deucher (on behalf of Cui, Flora) on 18/03/2019 at 15:49..
tests/amdgpu: add memcpy dispatch test

add memcpy dispatch test for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Tested-by: Rui Teng <rui.teng at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c1ced0bafdb4c817a30ff7b8c4ceb7db1e93ecc5

Git commit 00dd9b72a13863dd73cf1340f3700a2bb00f0fe3 by Alex Deucher (on behalf of Cui, Flora) on 18/03/2019 at 15:49..
tests/amdgpu: add memset draw test

add memset draw test for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Tested-by: Rui Teng <rui.teng at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00dd9b72a13863dd73cf1340f3700a2bb00f0fe3

Git commit 852a9d20ad645d399774a2b3ff1746521841ba54 by Alex Deucher (on behalf of Cui, Flora) on 18/03/2019 at 15:49..
tests/amdgpu: add memcpy draw test

add memcpy draw test for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Tested-by: Rui Teng <rui.teng at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/852a9d20ad645d399774a2b3ff1746521841ba54

Git commit a85b31c973d9f619be862655793ab957318321dc by Alex Deucher (on behalf of Cui, Flora) on 21/03/2019 at 02:38..
tests/amdgpu: minor fix for dispatch/draw test

1. clear cmd buffer
2. make amdgpu_memcpy_dispatch_test static
3. tab/space fix

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Flora Cui <flora.cui at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a85b31c973d9f619be862655793ab957318321dc

Git commit ae836decb41a69d00bfadab78a7cb69f88de4c94 by Lucas De Marchi (on behalf of Anusha) on 25/03/2019 at 21:34..
intel: sync i915_pciids.h with kernel

Add CML and EHL PCI IDs, and one more for ICL. This is in sync with
kernel header as of b024ab9b2d3a ("drm/i915/bios: iterate over child
devices to initialize ddi_port_info")

Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae836decb41a69d00bfadab78a7cb69f88de4c94

Git commit 4835d74cc1e59ee146f634aa3e7b7ad814f2d429 by Rob Clark (on behalf of Gurchetan Singh) on 04/04/2019 at 00:11..
virtgpu: Update kernel header

Generated using make headers_install.

This brings in the in/out fence support for explicit
synchronization.

v2: don't use experimental kernel branch

Signed-off-by: Gurchetan Singh <gurchetansingh at chromium.org>
Reviewed-by: Robert Foss <robert.foss at collabora.com>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4835d74cc1e59ee146f634aa3e7b7ad814f2d429

Git commit 028cbfff63e641b690afd0ef34e3efc7d989723b by Alex Deucher on 04/04/2019 at 18:42..
amdgpu: update amdgpu_drm.h from drm-next for 5.2

From drm-next commit b4e4538a0ab5079ae5dc401970e11f0ff2ba13a7

Adds support for:
- RAS queries
- context priority updates
- CS chunks support for scheduled dependencies
- IB flag for GDS max wave id

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/028cbfff63e641b690afd0ef34e3efc7d989723b

Git commit b21d23e3ba811dfec52e079493a8a58cc953bf02 by Alex Deucher (on behalf of xinhui pan) on 04/04/2019 at 18:44..
amdgpu: add ras tests

Signed-off-by: xinhui pan <xinhui.pan at amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b21d23e3ba811dfec52e079493a8a58cc953bf02

Git commit b4fbc6d70cf39971aed731ccf66246302d788899 by Alex Deucher (on behalf of xinhui pan) on 04/04/2019 at 18:45..
drm/amdgpu: support test mask

support per device test mask. Skip inject test on non-server card.

Signed-off-by: xinhui pan <xinhui.pan at amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4fbc6d70cf39971aed731ccf66246302d788899

Git commit 210bfdf8f8e7cada97797081ecec29c913ab6ab0 by Eric Engestrom (on behalf of Ayan Halder) on 12/04/2019 at 15:33..
headers: Sync with drm-next

Generated using make headers_install from the drm-next
tree - git://anongit.freedesktop.org/drm/drm
branch - drm-next
commit - 14d2bd53a47a7e1cb3e03d00a6b952734cf90f3f

The changes were as follows :-

core: (drm.h, drm_fourcc.h, drm_mode.h)
- Added 'struct drm_syncobj_transfer', 'struct drm_syncobj_timeline_wait' and 'struct drm_syncobj_timeline_array'
- Added various DRM_IOCTL_SYNCOBJ_ ioctls
- Added some new RGB and YUV formats
- Added 'DRM_FORMAT_MOD_VENDOR_ALLWINNER'
- Added 'SAMSUNG' and Arm's 'AFBC' and 'ALLWINNER' format modifiers
- Added 'struct drm_mode_rect'

i915:
- Added struct 'struct i915_user_extension' and various 'struct drm_i915_gem_context_'
- Added different modes of per-process Graphics Translation Table

Changes from v1:-
- Removed the changes to 'msm_drm.h' as it breaks the build for 'freedreno' platform.

Signed-off-by: Ayan Kumar halder <ayan.halder at arm.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/210bfdf8f8e7cada97797081ecec29c913ab6ab0

Git commit fcf80e2fd7741c9140e5e2971f9742fe7a82f68e by Alex Deucher (on behalf of Pan, Xinhui) on 12/04/2019 at 16:38..
amdgpu: Fix a structure initialization issue

struct drmPciBusInfo has been aligned to 6 bytes. So memcmp will access
the last byte which is not initialized.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: xinhui pan <xinhui.pan at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fcf80e2fd7741c9140e5e2971f9742fe7a82f68e

Git commit ad8bec1ed86158df374ea99bd6e73c5aa7bb089f by Emil Velikov (on behalf of Eric Engestrom) on 17/04/2019 at 17:18..
amdgpu/tests: drop unused local vars

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad8bec1ed86158df374ea99bd6e73c5aa7bb089f

Git commit 360292c7ab527c48ba023103e10a4f6db7ecc2a5 by Emil Velikov (on behalf of Eric Engestrom) on 17/04/2019 at 17:23..
fix various typos

Saw a couple of typos fixes in the patch DragonFlyBSD carries [1], so
I ran codespell (a spell checker for code) on the whole repo.

[1] https://github.com/DragonFlyBSD/DPorts/blob/master/graphics/libdrm/files/patch-xf86drm.c

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/360292c7ab527c48ba023103e10a4f6db7ecc2a5

Git commit f8f8b2b9b0268b001c8f363101c7ce9bf6bc3068 by Emil Velikov (on behalf of Fritz Koenig) on 17/04/2019 at 17:28..
tests/modetest: add QCOM_COMPRESSED to supported modifiers list

Signed-off-by: Fritz Koenig <frkoenig at google.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f8f8b2b9b0268b001c8f363101c7ce9bf6bc3068

Git commit 439a4c036149c1bf080fc20ba718846ce6825d1d by Emil Velikov on 17/04/2019 at 17:31..
Revert "libdrm: Fix issue about differrent domainID but same BDF"

This reverts commit 56c21f877bda7b8c62c3d7925b070b5113d807f2.

There were issues pointed out during review that were not addressed.
Would love to have this re-land, once those are addressed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/439a4c036149c1bf080fc20ba718846ce6825d1d

Git commit 0b474eab3dd37c09f7f05e55176fcaea76fb4f92 by Emil Velikov (on behalf of Lubomir Rintel) on 17/04/2019 at 17:52..
tests/util: Add armada-drm driver

This makes the test utilities work with the Armada driver without the
necessity of using the -M argument.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b474eab3dd37c09f7f05e55176fcaea76fb4f92

Git commit 232dc3305d55d199f4765968d299bfc2a249d920 by Bas Nieuwenhuizen on 18/04/2019 at 08:39..
amdgpu: Add context priority override function.

This way we can override the priority of a single context using a
master fd.

Since we cannot usefully create an amdgpu device of a master fd
without the fd deduplication kicking in this takes a plain fd.

This can be used by e.g. radv to get high priority contexts using
a master fd from the primary node or a lease.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Andres Rodriguez <andresx7 at gmail.com>
Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/232dc3305d55d199f4765968d299bfc2a249d920

Git commit be3b07617fc999e366e8185dbc7851ae5943df27 by Emil Velikov on 19/04/2019 at 15:31..
Bump the version to 2.4.98

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/be3b07617fc999e366e8185dbc7851ae5943df27

Git commit 818033deff2ba1a3ed4e39b3f4a0c2f1da9b23eb by Emil Velikov (on behalf of John Stultz) on 25/04/2019 at 09:55..
libdrm: Android.mk: Add minimal Android platform check

Add a check to error out on Android version K(4.4) or
lower.

This is due to dependency added in a previous commit on mmap64,
which was introduced with Android L.

Cc: Sean Paul <seanpaul at chromium.org>
Cc: Alistair Strachan <astrachan at google.com>
Cc: Marissa Wall <marissaw at google.com>
Suggested-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/818033deff2ba1a3ed4e39b3f4a0c2f1da9b23eb

Git commit ebbb8f9cbfc3b51d52e6fe3b146ea824030eb48a by Emil Velikov (on behalf of Sean Paul) on 25/04/2019 at 09:55..
libdrm: Use mmap64 instead of __mmap2

__mmap2 isn't supported on all platforms, mmap64 is the right way
to do this in android.

Also folds in a fix from Stéphane Marchesin <marcheu at chromium.org>

Cc: Sean Paul <seanpaul at chromium.org>
Cc: Alistair Strachan <astrachan at google.com>
Cc: Marissa Wall <marissaw at google.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Sean Paul <seanpaul at chromium.org>
[jstultz: Folded in Stéphane's fix]
Signed-off-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ebbb8f9cbfc3b51d52e6fe3b146ea824030eb48a

Git commit 51553dd0e063cb2d27ad1c68746c247cb6dbd518 by Emil Velikov (on behalf of John Stultz) on 25/04/2019 at 09:57..
libdrm: amdgpu: Initialize unions with memset rather than "= {0}"

Clang complains when initializing unions using "= {0}"
so instead use memset.

Cc: Sean Paul <seanpaul at chromium.org>
Cc: Alistair Strachan <astrachan at google.com>
Cc: Marissa Wall <marissaw at google.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51553dd0e063cb2d27ad1c68746c247cb6dbd518

Git commit 225d73fd3bdd68ec8e41081f34109e2814c7aaba by Emil Velikov (on behalf of Prabhanjan Kandula) on 25/04/2019 at 09:57..
libdrm: Avoid additional drm open close

Avoid additional drm device open and close.

Cc: Sean Paul <seanpaul at chromium.org>
Cc: Alistair Strachan <astrachan at google.com>
Cc: Marissa Wall <marissaw at google.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/225d73fd3bdd68ec8e41081f34109e2814c7aaba

Git commit 763f646d7fee7c2457469d681b97029d4fd5e9d4 by Emil Velikov (on behalf of Adrian Salido) on 25/04/2019 at 09:58..
libdrm: reduce number of reallocations in drmModeAtomicAddProperty

When calling drmModeAtomicAddProperty allocation of memory
happens as needed in increments of 16 elements. This can be very
slow if there are multiple properties to be updated in an Atomic
Commit call.

Increase this to as many as can fit in a memory PAGE to avoid
having to reallocate memory too often.

Also this patch has a small one line perf tweak in
drmModeAtomicDuplicate() to only memcpy items to the cursor
position in order avoid copying the entire item array if its
mostly empty.

Cc: Sean Paul <seanpaul at chromium.org>
Cc: Alistair Strachan <astrachan at google.com>
Cc: Marissa Wall <marissaw at google.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
[jstultz: Expanded commit message]
Signed-off-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/763f646d7fee7c2457469d681b97029d4fd5e9d4

Git commit 357ef598827ee93a21a8410080f2528b6fb14a26 by Emil Velikov (on behalf of Hemant Hariyani) on 25/04/2019 at 09:58..
libdrm: omap: Add DRM_RDWR flag to dmabuf export

Allows mmap on dmabuf fd with MAP_SHARED and PROT_WRITE.

This fixes boot failures with Android (likely w/ closed source
user-space drivers) that were caused due to mmap() returning
error.

Cc: Sean Paul <seanpaul at chromium.org>
Cc: Alistair Strachan <astrachan at google.com>
Cc: Marissa Wall <marissaw at google.com>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Hemant Hariyani <hemanthariyani at ti.com>
[picked and updated commitmsg from http://git.ti.com/cgit/cgit.cgi/android/external-libdrm.git/]
Signed-off-by: Praneeth Bajjuri <praneeth at ti.com>
Signed-off-by: Alistair Strachan <astrachan at google.com>
[jstultz: Tweaked commit message]
Signed-off-by: John Stultz <john.stultz at linaro.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/357ef598827ee93a21a8410080f2528b6fb14a26

Git commit 6a7d1329dbcc898f51173885db08d36c80bb5f20 by Emil Velikov (on behalf of Seung-Woo Kim) on 25/04/2019 at 10:08..
tests/libkms-test-plane: fix possbile memory leak

The pointer p aquired with drmModeGetPlane() is not free in error
path. Fix possible memory leak by calling drmModeFreePlane() in
the error path.

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a7d1329dbcc898f51173885db08d36c80bb5f20

Git commit b39377d66ac04363f3c47ba5870c5ef71a95f5b8 by Eric Engestrom (on behalf of Seung-Woo Kim) on 03/05/2019 at 11:47..
xf86drm: Fix possible memory leak with drmModeGetPropertyPtr()

In drmModeGetPropertyPtr(), from upper error path, it calls free
but with just next error path, it does not call. Fix the possible
memory leak.

Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b39377d66ac04363f3c47ba5870c5ef71a95f5b8

Git commit 642ec7fc344faf11a2933d094cc3184c2b8f0126 by Christian König (on behalf of Chunming Zhou) on 16/05/2019 at 10:07..
add cs chunk for syncobj timeline

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/642ec7fc344faf11a2933d094cc3184c2b8f0126

Git commit ec6ae51e807e17f00457c97fc60bc5ac55d3021d by Christian König (on behalf of Chunming Zhou) on 16/05/2019 at 10:07..
add timeline wait/query ioctl v2

v2: drop export/import

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ec6ae51e807e17f00457c97fc60bc5ac55d3021d

Git commit 46f930d962b60109d3876324c95a9ff1b80a3f4e by Christian König (on behalf of Chunming Zhou) on 16/05/2019 at 10:07..
wrap syncobj timeline query/wait APIs for amdgpu v3

v2: symbos are stored in lexical order.
v3: drop export/import and extra query indirection

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46f930d962b60109d3876324c95a9ff1b80a3f4e

Git commit 12712eb6e313c990d86e53657b8bc3722da3a6ec by Christian König (on behalf of Chunming Zhou) on 16/05/2019 at 10:07..
add timeline signal/transfer ioctls v2

v2: use one transfer ioctl

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/12712eb6e313c990d86e53657b8bc3722da3a6ec

Git commit 6bb5cc174ba04d81f5d840cd08cfa99d9dc3274c by Christian König (on behalf of Chunming Zhou) on 16/05/2019 at 10:07..
expose timeline signal/export/import interfaces v2

v2: adapt to new one transfer ioctl

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6bb5cc174ba04d81f5d840cd08cfa99d9dc3274c

Git commit 6a72661c33a9fcdfbb5449cc6c0c92810ed217fd by Christian König (on behalf of Chunming Zhou) on 16/05/2019 at 10:07..
wrap transfer interfaces

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6a72661c33a9fcdfbb5449cc6c0c92810ed217fd

Git commit 7ab471ed8516927fb6b98d68f2f18f0dd13ce719 by Christian König (on behalf of Chunming Zhou) on 16/05/2019 at 10:07..
add syncobj timeline tests v3

v2: drop DRM_SYNCOBJ_CREATE_TYPE_TIMELINE, fix timeout calculation,
    fix some warnings
v3: add export/import and cpu signal testing cases

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7ab471ed8516927fb6b98d68f2f18f0dd13ce719

Git commit 922d92994267743266024ecceb734ce0ebbca808 by Michel Dänzer on 16/05/2019 at 12:43..
amdgpu: Add amdgpu_cs_syncobj_transfer to amdgpu-symbol-check

Fixes make check. Trivial.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/922d92994267743266024ecceb734ce0ebbca808

Git commit f3e6d22baa5b69c8a4f90e1fc27d095cf0eff687 by Michel Dänzer (on behalf of Chunming Zhou) on 11/06/2019 at 13:54..
update drm.h

   a) delta: only DRM_CAP_SYNCOBJ_TIMELINE
   b) Generated using make headers_install.
   c) Generated from origin/drm-misc-next commit 982c0500fd1a8012c31d3c9dd8de285129904656"

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Suggested-by: Michel Dänzer <michel at daenzer.net>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f3e6d22baa5b69c8a4f90e1fc27d095cf0eff687

Git commit 5db0f7692d1fdf05f9f6c0c02ffa5a5f4379c1f3 by Michel Dänzer (on behalf of Chunming Zhou) on 11/06/2019 at 13:55..
enable syncobj test depending on capability

Feature is controlled by DRM_CAP_SYNCOBJ_TIMELINE drm capability.

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5db0f7692d1fdf05f9f6c0c02ffa5a5f4379c1f3

Git commit 74efcc7b9f1533227458dc5027a835548904888c by Marek Olšák (on behalf of Huang Rui) on 21/06/2019 at 16:46..
amdgpu: add navi family id

Reviewed-by: Tim Writer <Tim.Writer at amd.com>
Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/74efcc7b9f1533227458dc5027a835548904888c

Git commit 9f2e558ca3a5d1ef3b9ef5809f04779b60e2715c by Marek Olšák (on behalf of Hawking Zhang) on 21/06/2019 at 16:46..
libdrm/amdgpu: add new member in drm_amdgpu_device_info for navi10

pa_sc_tile_steering_override is a new member introduced for gfx10

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9f2e558ca3a5d1ef3b9ef5809f04779b60e2715c

Git commit dbab346bb1dab11f873464b90f6df16b3e50a179 by Marek Olšák (on behalf of Tao Zhou) on 21/06/2019 at 16:46..
libdrm/amdgpu: add new vram type (GDDR6) for navi10

AMDGPU_VRAM_TYPE_GDDR6 is a new vram type for navi10

Reviewed-by: Tim Writer <Tim.Writer at amd.com>
Signed-off-by: Tao Zhou <tao.zhou1 at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbab346bb1dab11f873464b90f6df16b3e50a179

Git commit 0eaf5df5535e2d7125cf6d8eae04058b2dd2d294 by Marek Olšák (on behalf of Leo Liu) on 21/06/2019 at 16:46..
tests/amdgpu/vcn: add VCN2.0 decode support

With different register offsets from VCN1.0

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: James Zhu <James.Zhu at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0eaf5df5535e2d7125cf6d8eae04058b2dd2d294

Git commit 8d27deced945374813e11e32630bef8bb3d41529 by Ilia Mirkin on 22/06/2019 at 17:29..
util: add C8 format, support it with SMPTE pattern

This also adds a helper to generate a color LUT, which has to be used in
conjunction with the C8 indexed format.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d27deced945374813e11e32630bef8bb3d41529

Git commit 32401fe5ce2bce0dc38098582c4b06a58a99c930 by Ilia Mirkin on 22/06/2019 at 17:33..
util: fix MAKE_RGBA macro for 10bpp modes

We need to shift the values up, otherwise we'd end up with a negative
shift. This works for up-to 16-bit components, which is fine for now.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/32401fe5ce2bce0dc38098582c4b06a58a99c930

Git commit e5442195fbe01df92658d7df7030507e3dc6c89e by Ilia Mirkin on 22/06/2019 at 17:34..
util: add gradient pattern

The idea is to have a horizontal pattern split into two with the top and
bottom halves having different precision. This allows one to see whether
10bpc support is working properly or not, as there are many pieces to
the puzzle beyond the basic format support (gamma ramps, bpc encodings,
etc).

This is really only useful on 10bpc formats, but we also add support for
8bpc formats to ease testing. In the future, this could be applied to
16bpc formats as well.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e5442195fbe01df92658d7df7030507e3dc6c89e

Git commit b59d14e7fce6b7597511be190f4202bb4bec7919 by Ilia Mirkin on 22/06/2019 at 17:34..
util: add fp16 format support

This change adds support for all current patterns.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b59d14e7fce6b7597511be190f4202bb4bec7919

Git commit def955c09ecec3789b03dfdedc1761ad65ab8eb2 by Ilia Mirkin on 22/06/2019 at 17:34..
util: add cairo drawing for 30bpp formats when available

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/def955c09ecec3789b03dfdedc1761ad65ab8eb2

Git commit 78ea933460ffec691e2dac5393e403064df47d02 by Ilia Mirkin on 22/06/2019 at 17:34..
modetest: don't pretend that atomic mode includes a format

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/78ea933460ffec691e2dac5393e403064df47d02

Git commit 557d1a2e6f0dcaa5db444624d6407564118f1c0f by Ilia Mirkin on 22/06/2019 at 17:34..
modetest: add an add_property_optional variant that does not print errors

As new features are added and others are declared to be legacy, it's
nice to be able to implement fallbacks. As such, create a
property-setting variant that does not generate errors which can very
well be entirely expected.

Will be used for gamma control in a future change.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/557d1a2e6f0dcaa5db444624d6407564118f1c0f

Git commit bfc469f241060700837ad3efaf3500265e9a9dd6 by Ilia Mirkin on 22/06/2019 at 17:34..
modetest: add C8 support to generate SMPTE pattern

This includes logic to configure the LUT accordingly.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfc469f241060700837ad3efaf3500265e9a9dd6

Git commit 5d0e9dec3fb3eb019bb9fd4b1e3d32484198917f by Ilia Mirkin on 22/06/2019 at 17:34..
modetest: add the ability to specify fill patterns on the commandline

Instead of hacking the binary every time, we can now specify directly.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d0e9dec3fb3eb019bb9fd4b1e3d32484198917f

Git commit f2da507a049585e4780f67659f7d9d85e0bf0a54 by Ilia Mirkin on 22/06/2019 at 17:34..
modetest: add FP16 format support

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2da507a049585e4780f67659f7d9d85e0bf0a54

Git commit 08bd098d84d6e57b18b8b13505b91af920f3f0f2 by Ilia Mirkin on 22/06/2019 at 18:56..
util: fix include path for drm_mode.h

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/08bd098d84d6e57b18b8b13505b91af920f3f0f2

Git commit 8849aa87fb3879b7d3fd4c9e4435bc0eb1499fa9 by Lucas Stach on 24/06/2019 at 14:21..
etnaviv: drop etna_bo_from_handle symbol

There is no implementation and also no users, so there is no point
in keeping it in the API.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8849aa87fb3879b7d3fd4c9e4435bc0eb1499fa9

Git commit e246114c46140589ae95dfa3f517d59e853667d1 by Michel Dänzer on 25/06/2019 at 15:58..
amdgpu: Move union declaration to top of amdgpu_cs_ctx_override_priority

Avoids compiler warning:

../../amdgpu/amdgpu_cs.c: In function 'amdgpu_cs_ctx_override_priority':
../../amdgpu/amdgpu_cs.c:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  union drm_amdgpu_sched args;
  ^~~~~

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e246114c46140589ae95dfa3f517d59e853667d1

Git commit 46cb2aa1ede16380df2d965ca125d855c4278823 by Michel Dänzer on 25/06/2019 at 15:59..
amdgpu: Update amdgpu_bo_handle_type_kms_noimport documentation

To reflect current reality.

Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46cb2aa1ede16380df2d965ca125d855c4278823

Git commit cecedcb8a1c87c564cb34bc8725ae9bec68c4a1c by Christian Gmeiner (on behalf of Marek Vasut) on 28/06/2019 at 14:17..
etnaviv: Fix double-free in etna_bo_cache_free()

The following situation can happen in a multithreaded OpenGL application.
A BO is submitted from etna_cmd_stream #1 with flags set for read.
A BO is submitted from etna_cmd_stream #2 with flags set for write.
This triggers a flush on stream #1 and clears the BO's current_stream
pointer. If at this point, stream #2 attempts to queue BO again, which
does happen, the BO will be added to the submit list twice. The Linux
kernel driver correctly detects this and warns about it with "BO at
index %u already on submit list" kernel message.

However, when cleaning the BO cache in etna_bo_cache_free(), the BO
which was submitted twice will also be free()d twice, this triggering
a glibc double free detector.

The fix is easy, even if the BO does not have current_stream set,
iterate over current streams' list of BOs before adding the BO to it
and verify that the BO is not yet there.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Christian Gmeiner <christian.gmeiner at gmail.com>
Cc: Lucas Stach <l.stach at pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Wladimir J. van der Laan <laanwj at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cecedcb8a1c87c564cb34bc8725ae9bec68c4a1c

Git commit b12282db9cef4aa4f9038f0248ecdd30f02bb439 by Michel Dänzer on 01/07/2019 at 09:31..
amdgpu: Pass file descriptor directly to amdgpu_close_kms_handle

And propagate drmIoctl's return value.

This allows replacing all remaining open-coded DRM_IOCTL_GEM_CLOSE
ioctl calls with amdgpu_close_kms_handle calls.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b12282db9cef4aa4f9038f0248ecdd30f02bb439

Git commit a1bde9b6d869b65fc911843f9ef0f3e2e64d5797 by Michel Dänzer on 01/07/2019 at 09:31..
amdgpu: Add BO handle to table in amdgpu_bo_create

Simplifies its callers.

dev->bo_table_mutex is now always held when amdgpu_bo_create is called
(this was already the case in amdgpu_bo_import).

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a1bde9b6d869b65fc911843f9ef0f3e2e64d5797

Git commit 1ec0df8a254def5195ef77b2a2022720afb24c49 by Michel Dänzer on 01/07/2019 at 09:32..
amdgpu: Rename fd_mutex/list to dev_mutex/list

Seems to better reflect what they're for.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ec0df8a254def5195ef77b2a2022720afb24c49

Git commit b2103fa3257daa6acfdc6f4d4d8565abebaec4a8 by Marek Olšák on 02/07/2019 at 18:36..
Bump version to 2.4.99
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b2103fa3257daa6acfdc6f4d4d8565abebaec4a8

Git commit dcc586c66c65b9b36cf62c91e060778ccf6072ed by Ilia Mirkin on 03/07/2019 at 04:19..
tests/util: fix incorrect memset argument order

Make it actually clear the LUT.

Reported-by: Dave Airlie <airlied at redhat.com>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dcc586c66c65b9b36cf62c91e060778ccf6072ed

Git commit 13e2c356039ab5270174c9401c120bc9df5e23a6 by Eric Engestrom (on behalf of Jonathan Gray) on 03/07/2019 at 11:26..
xf86drm: test for render nodes before primary nodes

Unlike Linux the OpenBSD primary "drm" device name is substring of the
"drmR" render node device name and strncmp() tests resulted in render
nodes being flagged as primary nodes.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13e2c356039ab5270174c9401c120bc9df5e23a6

Git commit 293b95e81531dbfc1327cbaae125cc13e7fb074d by Eric Engestrom (on behalf of Jonathan Gray) on 03/07/2019 at 11:28..
xf86drm: open correct render node on non-linux

drm render nodes have the same major as drm primary devices but offset
the minor by a base of 128.

I expected the name of the device to have numbering starting at 0 when
these non-linux codepaths were added (before OpenBSD had render nodes).

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/293b95e81531dbfc1327cbaae125cc13e7fb074d

Git commit 0d5ea0773652e5d5fcd4a578f8b3d3303a40b6a1 by Eric Engestrom on 03/07/2019 at 12:06..
xf86drm: dedupe `#define`s

Adapted from a local patch carried by DragonFlyBSD:
https://github.com/DragonFlyBSD/DPorts/blob/bc056f88f7e4d468d8c9751f831a47b5ae1326e3/graphics/libdrm/files/patch-xf86drm.h

Patch is sadly uncredited (a bot authored the commit), so I can't credit
the author here either.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0d5ea0773652e5d5fcd4a578f8b3d3303a40b6a1

Git commit 6869e4cea77ba1dce709a6359941ab73fe0adcc1 by Eric Engestrom on 03/07/2019 at 12:06..
xf86drm: use max size of drm node name instead of arbitrary size

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6869e4cea77ba1dce709a6359941ab73fe0adcc1

Git commit 331e51e32f47e2e4992509acf7d77d3ec30948d7 by Eric Engestrom on 03/07/2019 at 12:06..
xf86drm: dedupe drmGetDeviceName() logic

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/331e51e32f47e2e4992509acf7d77d3ec30948d7

Git commit 0247b19dc0d61408fe3a5d2954468f28e6bfe200 by Flora Cui on 19/07/2019 at 08:42..
tests/amdgpu: fix for dispatch/draw test

1. skip test if there's no desired ring
2. clear shader buffer
3. update command buffer for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0247b19dc0d61408fe3a5d2954468f28e6bfe200

Git commit 3aba0f3889e88ac7d08d2e3e8b0f181893dba97a by Flora Cui on 19/07/2019 at 08:42..
tests/amdgpu: add gpu reset test

1. perform gpu reset
2. perform dispatch test to verify gpu reset to a good state

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3aba0f3889e88ac7d08d2e3e8b0f181893dba97a

Git commit 3bda60fd14b384a8db89d2972b44f383ca445ff4 by Lucas De Marchi on 29/07/2019 at 23:55..
intel: sync i915_pciids.h with kernel

Straight copy from the kernel file, aligned with drm-intel-next-queued
commit cb823ed9915b ("drm/i915/gt: Use intel_gt as the primary object
for handling resets")

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: José Roberto de Souza <jose.souza at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3bda60fd14b384a8db89d2972b44f383ca445ff4

Git commit e4f164575ca57317c9ea4b948d2cfa93d1821016 by Lucas De Marchi (on behalf of Rodrigo Vivi) on 30/07/2019 at 00:00..
intel: add the TGL 12 PCI IDs and macros

Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: José Roberto de Souza <jose.souza at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4f164575ca57317c9ea4b948d2cfa93d1821016

Git commit 6652cf86737d178edb669652e1fa75d37ffcd7c2 by Lucas De Marchi (on behalf of Rodrigo Vivi) on 30/07/2019 at 00:00..
intel: Add support for EHL

Add the PCI ID import for EHL.

Cc: James Ausmus <james.ausmus at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: José Roberto de Souza <jose.souza at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6652cf86737d178edb669652e1fa75d37ffcd7c2

Git commit b0f2d60ba7942a28fa27200a30fb9b9890ee1ceb by Alex Deucher (on behalf of Flora Cui) on 03/08/2019 at 03:07..
tests/amdgpu: disable reset test for now

ASIC hang randomly.

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b0f2d60ba7942a28fa27200a30fb9b9890ee1ceb

Git commit 98996fd02150c29ca14fbd79a0fdfa2187806121 by Alex Deucher (on behalf of Le Ma) on 03/08/2019 at 03:08..
tests/amdgpu: divide dispatch test into compute and gfx

for better clarification

v2: accordingly change dispatch_test caller in gpu_reset test

Signed-off-by: Le Ma <le.ma at amd.com>
Reviewed-by: Flora Cui <flora.cui at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98996fd02150c29ca14fbd79a0fdfa2187806121

Git commit 9cb663f33c65e9f92bf0e50fa4013c7f60827323 by Timo Aaltonen on 08/08/2019 at 10:48..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9cb663f33c65e9f92bf0e50fa4013c7f60827323

Git commit 00001625042ac321548c57aed96658c733d86db9 by Alex Deucher (on behalf of Guchun Chen) on 08/08/2019 at 17:19..
amdgpu: add gfx ras inject configuration file

This configuration file will be picked up when
running gfx ras inject tests by amdgpu_test tool.
For the time being, only add those tests that are
successfully trafficked. In addition, this file
can also be modified by user to add or delete ras
inject unit tests for different IP blocks/subblocks.

Signed-off-by: Dennis Li <dennis.li at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00001625042ac321548c57aed96658c733d86db9

Git commit 1ef1e4db965cdeb63cf676e56672f58c705a67eb by Alex Deucher (on behalf of Guchun Chen) on 08/08/2019 at 17:19..
tests/amdgpu/ras: refine ras inject test

Ras inject test framework is invalid with original codes,
so refine it to make it work on top of kernel ras inject
feature enablement.

Signed-off-by: Dennis Li <dennis.li at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ef1e4db965cdeb63cf676e56672f58c705a67eb

Git commit 14922551aa33e7592d2421cc89cf20a860a65310 by Alex Deucher (on behalf of Guchun Chen) on 08/08/2019 at 17:20..
amdgpu: add umc ras inject test configuration

Both umc single_correctable and multi_uncorrectable
inject types are added.

Signed-off-by: Dennis Li <dennis.li at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14922551aa33e7592d2421cc89cf20a860a65310

Git commit aa3657b9371d92705d2921d2508d5354d5b1ec1d by Timo Aaltonen on 12/08/2019 at 07:33..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aa3657b9371d92705d2921d2508d5354d5b1ec1d

Git commit 605a2803ed99b9aff95d80320dcb4b5331fb99c1 by Timo Aaltonen on 12/08/2019 at 08:26..
02_kfreebsd.diff: Dropped, upstream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/605a2803ed99b9aff95d80320dcb4b5331fb99c1

Git commit 6129dc87de97e16b6b088857c6ce34143172cf61 by Timo Aaltonen on 12/08/2019 at 08:47..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6129dc87de97e16b6b088857c6ce34143172cf61

Git commit 6c27dc32dc7f1c24097bd93d582aa80d8135dc26 by Timo Aaltonen on 12/08/2019 at 09:11..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c27dc32dc7f1c24097bd93d582aa80d8135dc26

Git commit 10cd9c3da848e131db0eb8e1f9cf88fe4d85e703 by Rodrigo Vivi (on behalf of Anusha Srivatsa) on 06/09/2019 at 20:12..
intel: sync i915_pciids.h with kernel

Add the new CML PCI IDS.

Align with kernel commit:
bfc4c359b2822 ("drm/i915/cml: Add Missing PCI IDs")

This is in sync with kernel header as of:
0747590267e7 ("drm-tip: 2019y-08m-30d-18h-03m-18s UTC integration manifest")

Cc: José Roberto de Souza <jose.souza at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10cd9c3da848e131db0eb8e1f9cf88fe4d85e703

Git commit 827a2a2042359ac93a9b082ee9584b43baa1a3f7 by Eric Engestrom on 14/09/2019 at 21:22..
meson: fix sys/mkdev.h detection on Solaris

On Solaris, sys/sysmacros.h has long-deprecated copies of major() & minor()
but not makedev().
sys/mkdev.h has all three and is the preferred choice.

Let's make sure we check for all 3 major(), minor() and makedev().

Fixes build failure with error:
../xf86drm.c: In function ‘drmOpenMinor’:
../xf86drm.c:454:30: error: implicit declaration of function ‘makedev’ [-Werror=implicit-function-declaration]
  454 |         return drmOpenDevice(makedev(DRM_MAJOR, minor), minor, type);
      |                              ^~~~~~~

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Tested-by: Alan Coopersmith <alan.coopersmith at oracle.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/827a2a2042359ac93a9b082ee9584b43baa1a3f7

Git commit cb637bc17becf609349d6a09afd26aaeebc144ed by Alex Deucher (on behalf of Guchun Chen) on 16/09/2019 at 12:57..
amdgpu: remove json package dependence

Except CUnit library, no additional external
library should be needed when compiling amdgpu_test.
This will keep this binary self containing.

Suggested-by: Christian König <christian.koenig at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb637bc17becf609349d6a09afd26aaeebc144ed

Git commit 018169bfbab281c70059602925d49de3852a47c2 by Alex Deucher (on behalf of Guchun Chen) on 16/09/2019 at 12:57..
amdgpu: delete test configuration file

Json package dependence is removed from amdgpu_test,
so this json configuration file is not needed any more.

Suggested-by: Christian König <christian.koenig at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/018169bfbab281c70059602925d49de3852a47c2

Git commit 58fc6d6eae1844a080e6b47d118a9a7d7dc72268 by Alex Deucher (on behalf of Guchun Chen) on 16/09/2019 at 12:57..
amdgpu: add ras inject unit test

Both UMC and GFX ras single_correctable
inject tests are added.

Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/58fc6d6eae1844a080e6b47d118a9a7d7dc72268

Git commit c51809fa674b3db1de0325485f9d93f6bdbc2c62 by Alex Deucher (on behalf of Guchun Chen) on 16/09/2019 at 12:57..
amdgpu: add ras feature capability check in inject test

When running ras inject test, it's needed to be aligned
with kernel's ras enablement.

Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c51809fa674b3db1de0325485f9d93f6bdbc2c62

Git commit 0c427545cd931490c760d51cc3c50be75615b26d by Alex Deucher (on behalf of Le Ma) on 18/09/2019 at 12:54..
tests/amdgpu: add the missing deactivation case for dispatch test

Signed-off-by: Le Ma <le.ma at amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c427545cd931490c760d51cc3c50be75615b26d

Git commit 7e46f4dc80f74a7709397135e90de72cfe675ffe by Eric Engestrom (on behalf of Niclas Zeising) on 28/09/2019 at 11:04..
meson.build: Fix typo

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e46f4dc80f74a7709397135e90de72cfe675ffe

Git commit 4083e8f2c65989461f5a62ed7b295c8c04032664 by Eric Engestrom (on behalf of Niclas Zeising) on 04/10/2019 at 08:36..
meson.build: Fix header detection on FreeBSD

FreeBSD requires sys/types.h for sys/sysctl.h, add it as part of the
includes when checking for headers.
Instead of splitting out the check for sys/sysctl.h from the other
header checks, just add sys/types.h to all header checks.

v2 [Emil]
 - add inline comment
 - drop bash/sh hunk

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Niclas Zeising <zeising at daemonic.se>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4083e8f2c65989461f5a62ed7b295c8c04032664

Git commit 9b1e0842538626303e3873c8bff4a483da1374e7 by Eric Engestrom (on behalf of Emil Velikov) on 04/10/2019 at 08:42..
*-symbols-check: use normal shell over bash

None of the tests are bash specific. Tested with bash, zsh, dash, mksh
and ksh.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Niclas Zeising <zeising at daemonic.se>
Reviewed-by: Niclas Zeising <zeising at daemonic.se>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b1e0842538626303e3873c8bff4a483da1374e7

Git commit dddeff5028e1f3f34f67846c12876cd189c61bd1 by Eric Engestrom on 04/10/2019 at 08:43..
*-symbols-check: let meson figure out how to execute the scripts

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dddeff5028e1f3f34f67846c12876cd189c61bd1

Git commit e4f090f3c23d7b92068ee182a277700ba3988c36 by Eric Engestrom on 14/10/2019 at 15:57..
RELEASING: update instructions to use meson instead of autotools

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e4f090f3c23d7b92068ee182a277700ba3988c36

Git commit f057dc91e93ae21e11ab48a26127d569972f3eae by Eric Engestrom on 14/10/2019 at 16:07..
libdrm: remove autotools support

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f057dc91e93ae21e11ab48a26127d569972f3eae

Git commit 3b0a41d93b91fafd1e644b509d72c3abf82372a3 by Nirmoy Das on 15/10/2019 at 11:18..
test/amdgpu: don't free unused bo handle

Signed-off-by: Nirmoy Das <nirmoy.das at amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b0a41d93b91fafd1e644b509d72c3abf82372a3

Git commit 9a61cf4e0e6436ff995a3a8733cdf98b23de8f6d by Marek Olšák on 15/10/2019 at 18:30..
include: update amdgpu_drm.h

Generated from kernel commit:
    815fb4c9d7da862 "drm/amdgpu: return tcc_disabled_mask to userspace"

Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a61cf4e0e6436ff995a3a8733cdf98b23de8f6d

Git commit 00320d7d68ddc7d815d073bb7c92d9a1f9bb8c31 by Marek Olšák on 15/10/2019 at 19:20..
amdgpu: add amdgpu_cs_query_reset_state2 for AMDGPU_CTX_OP_QUERY_STATE2

This is a better GPU reset query.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00320d7d68ddc7d815d073bb7c92d9a1f9bb8c31

Git commit 05734951d68feaf1ce321676387dc383f7c3d7fc by Marek Olšák on 16/10/2019 at 19:27..
Bump the version to 2.4.100
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05734951d68feaf1ce321676387dc383f7c3d7fc

Git commit 51e3bb566558b9b1b76fd81895ba3584907d02de by Marek Olšák on 16/10/2019 at 21:33..
Revert "libdrm: remove autotools support"

This reverts commit f057dc91e93ae21e11ab48a26127d569972f3eae.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/51e3bb566558b9b1b76fd81895ba3584907d02de

Git commit 0190f49a139e7069d7cad6a6890832831da1aa8b by Marek Olšák on 16/10/2019 at 21:35..
Bump the version to 2.4.100 for autotools
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0190f49a139e7069d7cad6a6890832831da1aa8b

Git commit fc933651b13e2f0d9d4e2083206c3faadc11c50a by Eric Engestrom on 18/10/2019 at 17:05..
Revert "Revert "libdrm: remove autotools support""

The external tooling issue has been fixed, so we can delete autotools
again :)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc933651b13e2f0d9d4e2083206c3faadc11c50a

Git commit c69c9c4f4eaaea302e41e3ffd5f7b6d4bcc6a37a by Eric Engestrom on 20/10/2019 at 19:08..
gitlab-ci: pre-build containers to improve CI run time and reliability

Shaves about 50% off the build time on both debian and arch builds.
(yeah, I know, it's very small anyway compared to mesa, but we might
 want to add more things in the future)

This also makes the build no longer dependent on external websites:
once the image is build, only fdo-internal services are used.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c69c9c4f4eaaea302e41e3ffd5f7b6d4bcc6a37a

Git commit e0870848f9c1e45e5f1f1bd3fc4477b3224c15e6 by Rohan Garg on 24/10/2019 at 16:04..
Add a libdrm-tests package

libdrm-tests provides utilities like modetest and vbltest for
easier debugging.

Closes: #868898
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e0870848f9c1e45e5f1f1bd3fc4477b3224c15e6

Git commit 07f671759507cccec004e23c6344b93f947a38e3 by Chunming Zhou on 26/10/2019 at 03:11..
sync up drm.h

    a) delta: drm: use pad as flags in drm_syncobj_timeline_array.
    b) Generated using make headers_install.
    c) Generated from origin/drm-misc-next commit 949561eb85bcee10248e7da51d44a0325d5e0d1b"

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07f671759507cccec004e23c6344b93f947a38e3

Git commit 0a7ad7df1472a3002cc1baa8e9879350bc59acfa by Chunming Zhou on 26/10/2019 at 03:11..
libdrm: wrap new flexible syncobj query interface v2

v2: nit-picks fix

Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: Christian König <Christian.Koenig at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
For the xf86drm.[ch] part : Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a7ad7df1472a3002cc1baa8e9879350bc59acfa

Git commit 707cb44b88579a22fc94e90042891e873fb8f455 by Timo Aaltonen on 30/10/2019 at 11:22..
control: Update libdrm-tests description a bit.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/707cb44b88579a22fc94e90042891e873fb8f455

Git commit a5a7634719647bd4c6e992f2c4f18c0378a1ab6b by Timo Aaltonen on 30/10/2019 at 11:22..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5a7634719647bd4c6e992f2c4f18c0378a1ab6b

Git commit 082db8e6b833ef57802178a4da27a9145f7ea53f by Timo Aaltonen on 30/10/2019 at 11:30..
update the changelog
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/082db8e6b833ef57802178a4da27a9145f7ea53f

Git commit 8569cd106cfad040d9a9dd61b1dc8cd4c42bfc04 by Timo Aaltonen on 30/10/2019 at 11:33..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8569cd106cfad040d9a9dd61b1dc8cd4c42bfc04

Git commit 900090aade02ba3c62e334c874e0cd61ab54a67e by Timo Aaltonen on 31/10/2019 at 21:27..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/900090aade02ba3c62e334c874e0cd61ab54a67e

Git commit c2fe8ad2512dd6c31d67e01f8dd3a0fc4eddc8fc by Timo Aaltonen on 06/11/2019 at 18:04..
control, rules: Disable libdrm-tests, 2.4.100 is needed for mesa 19.3 now and not after waiting for the NEW queue to clear.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2fe8ad2512dd6c31d67e01f8dd3a0fc4eddc8fc

Git commit 92dfa7c337304e3c5b18017fe2474fa75a49fd3e by Timo Aaltonen on 06/11/2019 at 18:05..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92dfa7c337304e3c5b18017fe2474fa75a49fd3e

Git commit fdc89cb3881c65514ed22182e23e71aecb2c1fee by Timo Aaltonen on 07/11/2019 at 07:19..
Revert dropping libdrm-tests, since the package ended up in NEW anyway.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fdc89cb3881c65514ed22182e23e71aecb2c1fee

Git commit 67b653e6393911cd0c5295932f256b899478c3a2 by Timo Aaltonen on 07/11/2019 at 07:19..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67b653e6393911cd0c5295932f256b899478c3a2

Git commit a7996fda4c344d21b673002f349eb79d5ec955c8 by Eric Engestrom on 11/11/2019 at 22:57..
freedreno: drop leftover symbol from the export list

Fixes: 09cbccff558988c57e52 ("freedreno: remove deprecated ringmarker API")
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7996fda4c344d21b673002f349eb79d5ec955c8

Git commit 303cf6bbf3522cfba19a5950198183b75d195beb by Eric Engestrom on 11/11/2019 at 22:57..
meson: import Mesa's symbols check script

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/303cf6bbf3522cfba19a5950198183b75d195beb

Git commit 791297e94d8863ebca351090fe6c83e09e4f4fe4 by Eric Engestrom on 11/11/2019 at 22:57..
amdgpu: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/791297e94d8863ebca351090fe6c83e09e4f4fe4

Git commit ff832d734b91e4a9f400102d4383d16d5f0b8c46 by Eric Engestrom on 11/11/2019 at 22:57..
etnaviv: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ff832d734b91e4a9f400102d4383d16d5f0b8c46

Git commit 2763cd390eea8e5bda0b289acb9b40c6571d6729 by Eric Engestrom on 11/11/2019 at 22:57..
exynos: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2763cd390eea8e5bda0b289acb9b40c6571d6729

Git commit 6c819350af20df1c4a0182934036faf8ad4c8b9e by Eric Engestrom on 11/11/2019 at 22:57..
freedreno: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6c819350af20df1c4a0182934036faf8ad4c8b9e

Git commit 1386b99027bd6af26a6149f32dc6f2e2c1476f1a by Eric Engestrom on 11/11/2019 at 22:57..
intel: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1386b99027bd6af26a6149f32dc6f2e2c1476f1a

Git commit 35fa20f1fd477b600c756dbeee1008c6a929a368 by Eric Engestrom on 11/11/2019 at 22:57..
libkms: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/35fa20f1fd477b600c756dbeee1008c6a929a368

Git commit 574778100e5a3320216120512b8adbf1ea76fd8a by Eric Engestrom on 11/11/2019 at 22:57..
nouveau: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/574778100e5a3320216120512b8adbf1ea76fd8a

Git commit 0cfa21d55ec78eafc544d502e2e52ba4a196c4ae by Eric Engestrom on 11/11/2019 at 22:57..
omap: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cfa21d55ec78eafc544d502e2e52ba4a196c4ae

Git commit 451e0543280c6cfcea4d9a53cb018999fe94de9c by Eric Engestrom on 11/11/2019 at 22:57..
radeon: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/451e0543280c6cfcea4d9a53cb018999fe94de9c

Git commit dbd4320ad6dd89fee8f2e4b965e2fed17fc946f9 by Eric Engestrom on 11/11/2019 at 22:57..
tegra: convert to new symbols check

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dbd4320ad6dd89fee8f2e4b965e2fed17fc946f9

Git commit 73d826be4d2d2777cd32484dbece7f3f6a420b6f by Eric Engestrom on 11/11/2019 at 22:57..
meson: drop old symbols check environment

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/73d826be4d2d2777cd32484dbece7f3f6a420b6f

Git commit d5682defcdff6bbec295a4407841ccecc0599200 by Eric Engestrom (on behalf of Simon Ser) on 12/11/2019 at 00:16..
Fix missing stdlib includes in xf86drmMode.h

Including xf86drmMode.h results in undefined references to uint32_t
and ssize_t. Include the stdlib headers that define them to allow the
file to be included without xf86drm.h.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d5682defcdff6bbec295a4407841ccecc0599200

Git commit 1128fa10d69c7ce90940fab28daad3aa102428e3 by Eric Engestrom on 12/11/2019 at 23:37..
gitlab-ci: drop arch build down to daily builds

Suggested-by: Michel Dänzer <michel at daenzer.net>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1128fa10d69c7ce90940fab28daad3aa102428e3

Git commit 55be53d65fcaffe44722f8d930ce6e6fb66d68e5 by Eric Engestrom on 15/11/2019 at 03:05..
gitlab-ci: set up cross build infra

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55be53d65fcaffe44722f8d930ce6e6fb66d68e5

Git commit 202d10a9e2a14c5af68235ebda58c2873100967b by Eric Engestrom on 15/11/2019 at 03:07..
gitlab-ci: add x86 (32 bits) build

Suggested-by: Daniel Vetter <daniel at ffwll.ch>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/202d10a9e2a14c5af68235ebda58c2873100967b

Git commit a39c34e64ad83e134fe276ead1bad8bffb4d454e by Eric Engestrom on 15/11/2019 at 03:10..
gitlab-ci: add aarch64 & armhf builds

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a39c34e64ad83e134fe276ead1bad8bffb4d454e

Git commit ca3d5a1dba92e50405fd57b0ab93084bf578aaac by Timo Aaltonen on 15/11/2019 at 05:49..
rules: Override dh_missing.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ca3d5a1dba92e50405fd57b0ab93084bf578aaac

Git commit 50c0ecb1094816d7fd1c2d7ca0408f0d73674097 by Timo Aaltonen on 21/11/2019 at 12:46..
rules: Include additional test binaries on arm. (Closes: #944752)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50c0ecb1094816d7fd1c2d7ca0408f0d73674097

Git commit c63653602a3adfb271023403abad2d503ba160db by Timo Aaltonen on 21/11/2019 at 12:47..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c63653602a3adfb271023403abad2d503ba160db

Git commit 9d48895425a2d51287455e2c63517cdacd879953 by Eric Engestrom on 23/11/2019 at 00:37..
gitlab-ci: add PowerPC build

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9d48895425a2d51287455e2c63517cdacd879953

Git commit a2d588fe12dd55b222bcd31d683bd17a41326df7 by Ville Syrjälä (on behalf of Devarsh Thakkar) on 25/11/2019 at 14:13..
modetest: Add support for setting mode having floating vertical refresh rate

For the scenario where user may require to modeset with a mode
supporting a fractional value for vertical refresh-rate,
appropriate mode can be selected by searching for mode
having matching fractional vertical refresh rate using
below equation.

vrefresh = (1000 * pixel clock) / (htotal * vtotal) Hz.

We do this way since driver doesn't return float value of vrefresh
as it use int for vrefresh in struct drm_mode_info, but we can derive
the actual value using pixel clock, horizontal total size and
vertical total size values.

So for e.g. if user want to select mode having 59.94 Hz as refresh rate
then with this patch it be can done as shown in below command,
given there is an appropriate mode is available :

modetest -M xlnx -s 39:1920x1080-59.94 at BG24 -v

NOTE: Above command was tested on xilinx DRM driver with DP
monitor which was supporting mode having 59.94 Hz refresh rate.

V2: Update commit message
V3: Update with below changes as per review comments :
  1) Use epsilon for vrefresh comparison
  2) Use implicit type-casting wherever possible
V4: Keep patch version history on main commit message

Signed-off-by: Devarsh Thakkar <devarsh.thakkar at xilinx.com>
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a2d588fe12dd55b222bcd31d683bd17a41326df7

Git commit 028760201554b22e0e9faafa81e0dc80b28db777 by Marek Olšák (on behalf of xinxu at loongson.cn) on 26/11/2019 at 02:23..
tests/amdgpu/basic_tests.c: change BUFFER_SIZE used in Userptr Test adjust to PAGE_SIZE

Userptr Test will fail on PAGE_SIZE bigger than BUFFER_SIZE(8 * 1024)

Signed-off-by: xinxu <xinxu at loongson.cn>


(cherry picked from commit fb7dfdc5fb58795365b70117c3eb625f2edb8f06)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/028760201554b22e0e9faafa81e0dc80b28db777

Git commit cd77f114ca0073f609fc89d22390152945e73107 by Peter Seiderer (on behalf of Ross Burton) on 28/11/2019 at 21:01..
tests/nouveau/threaded: adapt ioctl signature

POSIX says ioctl() has the signature (int, int, ...) but glibc has decided to
use (int, unsigned long int, ...) instead.

Use a #ifdef to adapt the replacement function as appropriate.

Signed-off-by: Ross Burton <ross.burton at intel.com>

[Taken from https://raw.githubusercontent.com/openembedded/openembedded-core/master/meta/recipes-graphics/drm/libdrm/musl-ioctl.patch]
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd77f114ca0073f609fc89d22390152945e73107

Git commit 325a063ab5f5b25ec435e3a1a673bbd2292f4ee4 by Pierre-Eric Pelloux-Prayer on 03/12/2019 at 15:17..
gitlab-ci: update to current ci-templates master

To workaround skopeo issues.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/325a063ab5f5b25ec435e3a1a673bbd2292f4ee4

Git commit 02e1d0ff8b30b85b3223ecf1e38fae3b493cb495 by Alex Deucher on 04/12/2019 at 22:26..
amdgpu: add new marketing names from 19.30

Add new marketing names.

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02e1d0ff8b30b85b3223ecf1e38fae3b493cb495

Git commit 8de2696213d0f25a10a167b5fd6c312d6ce6a1af by Eric Engestrom (on behalf of Peter Seiderer) on 05/12/2019 at 13:25..
meson.build: fix intel atomics detection

Use the stronger compiler.link() test (instead of the weaker
compiler.compile()) to fix the intel atomics detection.

Fixes false positive in case of sparc compile (buildroot toolchain).

Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8de2696213d0f25a10a167b5fd6c312d6ce6a1af

Git commit 8c1185d22cb5ea09dea063bd4a0a4f8b64487919 by Peter Seiderer (on behalf of Lauren Post) on 05/12/2019 at 21:35..
Add ARM support into xf86drm.h

This provides support for Xorg interface.  Without this the vivante
samples will hang during close requiring a reboot

[Adapted from yocto project]
Upstream-Status: Pending
Signed-off-by: Lauren Post <lauren.post at freescale.com>
Signed-off-by: Evan Kotara <evan.kotara at freescale.com>
[Thomas: change CAS code to only be used on ARMv6/ARMv7, and not
ARMv4/ARMv5, which don't support ldrex/strex. If no CAS implementation
is provided libdrm falls back to a system call for locking/unlocking.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
---
Changes v1 -> v2:
  - add comment explaining exclusion of ARMv4/ARMv5 and lower
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c1185d22cb5ea09dea063bd4a0a4f8b64487919

Git commit 8c511950395ce496028bbc5ba30d9b9632690db6 by Peter Seiderer (on behalf of Thomas Petazzoni) on 06/12/2019 at 21:57..
xf86atomic: require CAS support in libatomic_ops

Since AO_compare_and_swap_full() is used by libdrm, AO_REQUIRE_CAS
must be defined before including <atomic_ops.h> so that we are sure
that CAS support will be provided. This is necessary to make sure that
the AO_compare_and_swap_full() function will be provided on all
architectures, including the ones that don't have built-in CAS support
such as SPARCv8.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c511950395ce496028bbc5ba30d9b9632690db6

Git commit d93856fe82dbefae04692897fb08fcdb1cd53cac by Marek Olšák (on behalf of changzhu) on 09/12/2019 at 20:46..
tests/amdgpu: enable dispatch/draw tests for Renoir

It can run dispatch/draw tests on new renoir chips. So it needs to
enable dispatch/draw tests for Renoir again.

Change-Id: I3a72a4bbfe0fc663ee0e3e58d8e9c304f513e568
Signed-off-by: changzhu <Changfeng.Zhu at amd.com>
Reviewed-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d93856fe82dbefae04692897fb08fcdb1cd53cac

Git commit 67017ea07e8f1e027cac1add9876d6be4e27b4b9 by Marek Olšák (on behalf of Flora Cui) on 09/12/2019 at 20:46..
tests/amdgpu: update draw test for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67017ea07e8f1e027cac1add9876d6be4e27b4b9

Git commit d72b9189c45befc0f66dd8e719e5d531746c4a65 by Marek Olšák (on behalf of Flora Cui) on 09/12/2019 at 20:46..
tests/amdgpu: add dispatch hang test

add compute/gfx dispatch hang test for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d72b9189c45befc0f66dd8e719e5d531746c4a65

Git commit 71b9e68d999be479b560d2930d8325ad627bf4be by Marek Olšák (on behalf of Flora Cui) on 09/12/2019 at 20:46..
tests/amdgpu: add bad slow dispatch test

add gfx/compute bad slow dispatch test for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/71b9e68d999be479b560d2930d8325ad627bf4be

Git commit 5e1f6533a0b15587220f661872c86981706b4d42 by Marek Olšák (on behalf of Flora Cui) on 09/12/2019 at 20:46..
tests/amdgpu: add gfx ring draw hang test

for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5e1f6533a0b15587220f661872c86981706b4d42

Git commit 31a6ec141ad0f190af59a96d86f0ebe8fcee6287 by Marek Olšák (on behalf of Flora Cui) on 09/12/2019 at 20:46..
tests/amdgpu: add gfx ring bad slow draw test

for gfx9

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31a6ec141ad0f190af59a96d86f0ebe8fcee6287

Git commit 7f827145221ee2a1c2c067690ada140dcaf1edb2 by Ville Syrjälä (on behalf of Devarsh Thakkar) on 11/12/2019 at 15:47..
modetest: Use floating vrefresh while dumping mode

Add function to derive floating value of vertical
refresh rate from drm mode using pixel clock,
horizontal total size and vertical total size.

Use this function to find suitable mode having vrefresh
value which is matching with user provided vrefresh value.

If user doesn't provide any vrefresh value in args then
update vertical refresh rate value in pipe args using this
function.

Also use this function for printing floating vrefresh while
dumping all available modes.

This will give more accurate picture to user for available modes
differentiated by floating vertical refresh rate and help user
select more appropriate mode using suitable refresh rate value.

V4:
1) While setting mode, print mode name and vrefresh using struct
   drmModeModeInfo instead of struct pipe_args.
2) Revert back to using a float value instead of float *
   for vrefresh arg in connector_find_mode().

V3:
1) Change name of function used to derive refresh rate.

V2:
1) Don't use inline function for deriving refresh rate from mode.
2) If requested mode not found, print refresh rate only
   if user had provided it in args.

Signed-off-by: Devarsh Thakkar <devarsh.thakkar at xilinx.com>
Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7f827145221ee2a1c2c067690ada140dcaf1edb2

Git commit 4c31d1181bf474c37dfea5500dd69db897e02996 by Lucas De Marchi (on behalf of José Roberto de Souza) on 17/12/2019 at 21:27..
intel: sync i915_pciids.h with kernel

Changes:
651cc835d5f6 ("drm/i915: Add new EHL/JSL PCI ids")
b6a8781a447c ("drm/i915/cml: Remove unsupport PCI ID")
8717c6b7414f ("drm/i915/cml: Separate U series pci id from origianl list.")

v2: added the latest CML changes

Cc: James Ausmus <james.ausmus at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c31d1181bf474c37dfea5500dd69db897e02996

Git commit 6d3f06f6660ecec94b5ae257e31aa5fa469c79cd by Eric Engestrom on 17/12/2019 at 22:29..
gitlab-ci: rename build folder to simply `build`

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d3f06f6660ecec94b5ae257e31aa5fa469c79cd

Git commit edafcf18e5b5347c1f5dc5a2d9f87da1a00789b9 by Eric Engestrom on 17/12/2019 at 22:37..
add a minimal .gitignore back

It was entirely deleted along with autotools, but adding this simple one
will cover most people's needs.

Suggested-by: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/edafcf18e5b5347c1f5dc5a2d9f87da1a00789b9

Git commit c70bd7b7059b2df0d73b5dfbad19f841957bcdba by Eric Engestrom (on behalf of Scott Anderson) on 17/12/2019 at 23:07..
meson: Replace 'config.h' with config_file

This fixes an issue with libdrm failing to build when used as a meson
subproject. Using 'config.h' directly will cause it to possibly refer to
the wrong file.

By using `@0 at .format(config_file)`, it will be transformed into the
correct relative path, e.g. `./config.h` in normal build,
`./subprojects/libdrm/config.h` in subproject build.

Signed-off-by: Scott Anderson <scott at anderso.nz>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c70bd7b7059b2df0d73b5dfbad19f841957bcdba

Git commit ed9652400106ad08572f07cdf1fd6f8a1e7212bf by Marek Olšák (on behalf of Yifan Zhang) on 31/12/2019 at 01:25..
tests/amdgpu: fix a amdgpu_test hang issue on some platforms.

The computer ring test name mis-match in different files,
thus may be set with TRUE on wrong platforms.

Change-Id: I0b918ff8faf08c9c9f1ad55f4dcd18f66b956901
Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ed9652400106ad08572f07cdf1fd6f8a1e7212bf

Git commit fb1634583f3ba22c67cad0df7022b6ac48a40c56 by Marek Olšák (on behalf of Luben Tuikov) on 07/01/2020 at 19:38..
tests/amdgpu: Fix various warnings

This patch fixes the following warnings:
-Wformat=
-Wmaybe-uninitialized
-Wmisleading-indentation
-Wstringop-truncation
-Wunused-function
-Wunused-variable

It also removes forward declarations and moves
global functions to the bottom, keeping locals
at the top, in ras_tests.c.

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb1634583f3ba22c67cad0df7022b6ac48a40c56

Git commit 4ff499cd85f86a7b5b28f3449de2fbad1b91c795 by Marek Olšák (on behalf of Luben Tuikov) on 07/01/2020 at 19:38..
tests/amdgpu: Fix unused function warning (v2)

This patch fixes:
-Wunused-function

v2: Always enable amdgpu_ras_test().

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ff499cd85f86a7b5b28f3449de2fbad1b91c795

Git commit 680542ce086f5d0ba70331f8d350edfae20c534f by Marek Olšák (on behalf of Luben Tuikov) on 07/01/2020 at 19:38..
tests/amdgpu: Fix buffer overflow (v3)

This patch fixes the following warning:
-Wformat-overflow=

v2: Use the correct strlcat(3).
v3: Use strncat(3) and remove libbsd dependency.

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/680542ce086f5d0ba70331f8d350edfae20c534f

Git commit 7fdebb02ffb885b635a3a5177cdc803516852d5f by Marek Olšák (on behalf of Luben Tuikov) on 07/01/2020 at 19:38..
tests/amdgpu: Proper format for "-l"

Proper format for command line option "-l",
listing the supported and unsupported tests:

1) Add an aligned column header.

2) Align all fields into columns.

3) Fixed length fields, come before the last
column, which is a variable length field.

4) Variable length field, which is the name of the
test, goes in the last column.

5) If a suite is disabled, do not iterate over its
tests, as they'd naturally be all disabled.

Now the output looks like this:
$sudo ./amdgpu_test -l
 What: ID:   Status: Name
Suite:  1:  ENABLED: Basic Tests
 Test:  1:  ENABLED: Query Info Test
 Test:  2:  ENABLED: Userptr Test
 Test:  3: DISABLED: bo eviction Test
 Test:  4:  ENABLED: Command submission Test (GFX)
 Test:  5:  ENABLED: Command submission Test (Compute)
 Test:  6:  ENABLED: Command submission Test (Multi-Fence)
 Test:  7:  ENABLED: Command submission Test (SDMA)
 Test:  8:  ENABLED: SW semaphore Test
 Test:  9: DISABLED: Sync dependency Test
 Test: 10: DISABLED: Dispatch Test (Compute)
 Test: 11: DISABLED: Dispatch Test (GFX)
 Test: 12: DISABLED: Draw Test
 Test: 13: DISABLED: GPU reset Test
Suite:  2:  ENABLED: BO Tests
 Test:  1:  ENABLED: Export/Import
 Test:  2: DISABLED: Metadata
 Test:  3:  ENABLED: CPU map/unmap
 Test:  4:  ENABLED: Memory alloc Test
 Test:  5:  ENABLED: Memory fail alloc Test
 Test:  6:  ENABLED: Find bo by CPU mapping
Suite:  3: DISABLED: CS Tests
Suite:  4: DISABLED: VCE Tests
Suite:  5:  ENABLED: VCN Tests
 Test:  1:  ENABLED: VCN DEC create
 Test:  2:  ENABLED: VCN DEC decode
 Test:  3:  ENABLED: VCN DEC destroy
 Test:  4:  ENABLED: VCN ENC create
 Test:  5:  ENABLED: VCN ENC decode
 Test:  6:  ENABLED: VCN ENC destroy
Suite:  6: DISABLED: UVD ENC Tests
Suite:  7: DISABLED: Deadlock Tests
Suite:  8:  ENABLED: VM Tests
 Test:  1:  ENABLED: resere vmid test
 Test:  2:  ENABLED: unaligned map
 Test:  3:  ENABLED: vm mapping test
Suite:  9: DISABLED: RAS Tests
Suite: 10:  ENABLED: SYNCOBJ TIMELINE Tests
 Test:  1:  ENABLED: syncobj timeline test
$_

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7fdebb02ffb885b635a3a5177cdc803516852d5f

Git commit b9600be207fa1d32e4bd4f032484cd40d177c378 by Marek Olšák on 07/01/2020 at 19:44..
Revert "tests/amdgpu: Fix buffer overflow (v3)"

This reverts commit 680542ce086f5d0ba70331f8d350edfae20c534f.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9600be207fa1d32e4bd4f032484cd40d177c378

Git commit 54b982dc6a23d1d462b0b82fc891df6153918a19 by Marek Olšák on 07/01/2020 at 19:44..
Revert "tests/amdgpu: Fix unused function warning (v2)"

This reverts commit 4ff499cd85f86a7b5b28f3449de2fbad1b91c795.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/54b982dc6a23d1d462b0b82fc891df6153918a19

Git commit 9ebfac15a5c443e847b432765e3b3aa35f74c6f1 by Marek Olšák on 07/01/2020 at 19:44..
Revert "tests/amdgpu: Fix various warnings"

This reverts commit fb1634583f3ba22c67cad0df7022b6ac48a40c56.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ebfac15a5c443e847b432765e3b3aa35f74c6f1

Git commit cb3d067587189f17abb5861ef645bc2655b5d376 by Luben Tuikov on 08/01/2020 at 18:18..
tests/amdgpu: Fix various warnings (v2)

This patch fixes the following warnings:
-Wformat=
-Wmaybe-uninitialized
-Wmisleading-indentation
-Wstringop-truncation
-Wunused-function
-Wunused-variable

It also removes forward declarations and moves
global functions to the bottom, keeping locals
at the top, in ras_tests.c.

v2: Fix compilation.

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cb3d067587189f17abb5861ef645bc2655b5d376

Git commit 29a5a85dae2ee6c14830e67d1356d4232f88df42 by Luben Tuikov on 08/01/2020 at 18:20..
tests/amdgpu: Fix unused function warning (v2)

This patch fixes:
-Wunused-function

v2: Always enable amdgpu_ras_test().

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/29a5a85dae2ee6c14830e67d1356d4232f88df42

Git commit c9d4540bf6b94594432a1ed17119e500230d2cdb by Luben Tuikov on 08/01/2020 at 18:21..
tests/amdgpu: Fix buffer overflow (v3)

This patch fixes the following warning:
-Wformat-overflow=

v2: Use the correct strlcat(3).
v3: Use strncat(3) and remove libbsd dependency.

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c9d4540bf6b94594432a1ed17119e500230d2cdb

Git commit 899da0f486f19f5f56f2f97e93e948a6ec10f789 by Emil Velikov (on behalf of John Stultz) on 21/01/2020 at 17:56..
libdrm: modetest: Allow selecting modes by index

Often there are many similar modes, which cannot be selected
via modetest due to its simple string matching.

This change adds a mode index in the display output, which can
then be used to specify a specific modeline to be set.

Cc: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: Rob Clark <robdclark at chromium.org>
Cc: Bjorn Andersson <bjorn.andersson at linaro.org>
Cc: Sumit Semwal <sumit.semwal at linaro.org>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: John Stultz <john.stultz at linaro.org>
[emil: rebase]
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/899da0f486f19f5f56f2f97e93e948a6ec10f789

Git commit 07d48a4c00ac7944ee066384121e2a00d2b94e30 by Emil Velikov (on behalf of Ezequiel Garcia) on 21/01/2020 at 17:56..
modetest: Fix segmentation fault

When a mode is set with just a connector "-s foo",
we get a nasty segmentation fault. Fix it.

Signed-off-by: Ezequiel Garcia <ezequiel at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07d48a4c00ac7944ee066384121e2a00d2b94e30

Git commit 077e64292cd08bcd84d78b0d5e33bb0fc0cd4078 by Eric Engestrom on 23/01/2020 at 16:55..
meson: add symbols check for core libdrm

All the libdrm_* submodules have symbols checks, no reason to keep core
libdrm wild.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/077e64292cd08bcd84d78b0d5e33bb0fc0cd4078

Git commit 074947ee4be95f9b88558ab052e46cb0653a8a8f by Eric Engestrom on 23/01/2020 at 17:00..
meson: always define whether headers exist

Combined with -Wundef (added in 75758d2ccf & enforced in ba17673eed),
this provides absolute safety against #ifdef typos.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/074947ee4be95f9b88558ab052e46cb0653a8a8f

Git commit 933729720ba091c7d808bf2d0f435c85609f718a by Imre Deak on 28/01/2020 at 13:32..
intel: drm_intel_bo_gem_create_from_* on platforms w/o HW tiling

Platforms without a HW detiler doesn't support the get_tiling IOCTL.
Fix the drm_intel_bo_gem_create_from_* functions assuming the default
no-tiling, no-swizzling setting for the GEM buffer in this case.

v2:
- Add the missing gem handle IOCTL parameter. (Eric)

Signed-off-by: Imre Deak <imre.deak at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/933729720ba091c7d808bf2d0f435c85609f718a

Git commit 5c8ff5773298bd88b4133ebee2ceeaf193228b52 by Alex Deucher on 01/02/2020 at 17:12..
amdgpu: add new marketing names from 19.50

Add new marketing names.

Acked-by: Leo Liu <leo.liu at amd.com>
Acked-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5c8ff5773298bd88b4133ebee2ceeaf193228b52

Git commit 63d914d47904f0089225fa481afd10e10a0315be by Daniel Stone (on behalf of Juston Li) on 11/02/2020 at 23:23..
include/drm: sync up drm.h

a) delta: Adds DRM_IOCTL_MODE_GETFB2
  b) Generated using make headers_install
  c) Taken from drm-next-misc:
        commit 3ff4c24bdb1f494c217c80348f9db4896043ed81
        Author: Lyude Paul <lyude at redhat.com>
        Date:   Fri Jan 17 17:47:48 2020 -0500

        drm/dp_mst: Fix indenting in drm_dp_mst_topology_mgr_set_mst()

Signed-off-by: Juston Li <juston.li at intel.com>
Acked-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63d914d47904f0089225fa481afd10e10a0315be

Git commit d8731e9eec93494cc76e7ec5207d13338305fa98 by Daniel Stone on 11/02/2020 at 23:23..
Add drmModeGetFB2

Add a wrapper around the getfb2 ioctl, which returns extended
framebuffer information mirroring addfb2, including multiple planes and
modifiers.

Changes since v7:
 - add new symbols to core-symbol.txt (Eric Engestrom)

Changes since v5:
 - style change

Changes since v4:
 - Set fb_id at init instead of memclear() and set (Eric Engestrom)

Changes since v3:
 - remove unnecessary null check in drmModeFreeFB2 (Daniel Stone)

Changes since v2:
 - getfb2 ioctl has been merged upstream
 - sync include/drm/drm.h in a seperate patch

Changes since v1:
 - functions should be drm_public
 - modifier should be 64 bits
 - update ioctl number

Signed-off-by: Juston Li <juston.li at intel.com>
Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d8731e9eec93494cc76e7ec5207d13338305fa98

Git commit fca0849af3bf0682d75d0a11e52e76592c5f42ef by Huang Rui on 12/02/2020 at 11:52..
amdgpu: use alloca for dependencies and sem_dependencies

Use alloca instead of malloc, then we don't need free them at the end of this
function.

Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fca0849af3bf0682d75d0a11e52e76592c5f42ef

Git commit cf9eb78a89ccfe0a13f9d36d80604c731d5c18d2 by Huang Rui on 12/02/2020 at 11:55..
amdgpu: use amdgpu_cs_submit_raw2 in amdgpu_cs_submit

So far, amdgpu_cs_submit_raw2 is mainly used for upper layer (Mesa), however,
amdgpu_cs_submit is used for current all unit tests. Our intention is that the
unit tests can actually verify the API which is really used.

Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf9eb78a89ccfe0a13f9d36d80604c731d5c18d2

Git commit c4832592484e5cc09be0cc09aa84f832ba28f8ad by Huang Rui on 12/02/2020 at 11:55..
amdgpu: remove the un-used chunk_array

This array won't be used.

Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4832592484e5cc09be0cc09aa84f832ba28f8ad

Git commit a42eb3dfdebb94354f3031d827b938da382e5594 by Huang Rui on 12/02/2020 at 11:55..
amdgpu: clean up the cs structure variable

This patch is to use generic variables as the input of amdgpu_cs_submit_raw2.
Because amdgpu_cs_submit_one won't handle IOCTL directly.

Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a42eb3dfdebb94354f3031d827b938da382e5594

Git commit 2c0a01261d35ae7be9d4de180884ce3f2900a07e by Eric Engestrom on 15/02/2020 at 12:14..
tests: drop redundant and slow `random` test

Suggested by Emil [1]:
> Feel free to drop the random test altogether. It's an old public API
> no active users (pretty ancient code uses it) and the in-tree users
> drmSL and drmHash already have respective tests.

This test takes minutes to run, while all the other tests combined take
barely more than a second.

Dropping it also helps the CI by avoiding random timeouts when `random`
takes more than the 4 minutes (!) we've allowed for it.

[1] https://gitlab.freedesktop.org/mesa/drm/merge_requests/26#note_390066

Suggested-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c0a01261d35ae7be9d4de180884ce3f2900a07e

Git commit c4eae71d7e44df2c1f89fb3460b1f7f8feaff0df by Kristian H. Kristensen (on behalf of Vasyl Vavrychuk) on 24/02/2020 at 21:53..
xf86drm: generalize the device subsystem type parsing code

Move the code, which used to get the device subsystem type from a device
path in sysfs, to a separate function to be reusable.

Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk at opensynergy.com>
Signed-off-by: Mikhail Golubev <Mikhail.Golubev at opensynergy.com>
Reviewed-by: Gurchetan Singh <gurchetansingh at chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c4eae71d7e44df2c1f89fb3460b1f7f8feaff0df

Git commit 8a73372e62a73fe8d874aa39458c508cdb5bb6f4 by Kristian H. Kristensen (on behalf of Vasyl Vavrychuk) on 24/02/2020 at 21:53..
xf86drm: fix subsystem type lookup for virtio mmio-based devices

Currently the code assumes that a virtio based device is always located
on the PCI bus.

Modify the parser to make it check the device's parent directory to
determine on which bus it is located.

Output for virtio-pci is the PCI bus.
Output for virtio-mmio is the Platform bus.

Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk at opensynergy.com>
Signed-off-by: Mikhail Golubev <Mikhail.Golubev at opensynergy.com>
Reviewed-by: Gurchetan Singh <gurchetansingh at chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh at chromium.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8a73372e62a73fe8d874aa39458c508cdb5bb6f4

Git commit fe06ee2054ac8aa609f64d2cdfad294a5e3d5610 by Michel Dänzer on 27/02/2020 at 11:21..
tests: Only copy con->modes[0] if it exists

con->modes can be NULL. Fixes crash in that case.

Closes: https://gitlab.freedesktop.org/mesa/drm/issues/34
Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fe06ee2054ac8aa609f64d2cdfad294a5e3d5610

Git commit 665c0f7fd854b64173c7b7219ab45202f6492607 by Daniel Stone on 17/03/2020 at 12:19..
Add DRM_MODE_CONNECTOR_WRITEBACK to xf86drmMode.h

xf86drmMode.h currently duplicates the connector-type definitions from
drm_mode.h. Add DRM_MODE_CONNECTOR_WRITEBACK, which is only visible
through a client cap, from drm_mode.h.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/665c0f7fd854b64173c7b7219ab45202f6492607

Git commit bb4e154d3dd8ddbe4b19d7ff2439933807318b5a by Timo Aaltonen (on behalf of Swathi Dhanavanthri) on 23/03/2020 at 11:51..
intel: sync i915_pciids.h with kernel

Changes:
3882581753d1 ("drm/i915/tgl: Add new PCI IDs to TGL")

Signed-off-by: Swathi Dhanavanthri <swathi.dhanavanthri at intel.com>
Reviewed-by: Timo Aaltonen <timo.aaltonen at canonical.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb4e154d3dd8ddbe4b19d7ff2439933807318b5a

Git commit b9bf42d3e1969248b18f87a2b7973901ffb79b36 by Pierre-Eric Pelloux-Prayer on 23/03/2020 at 12:18..
amdgpu: increase cpu_map_count storage size

Mesa expects to be able to map the same buffer, without unmapping it.
This leads to problem on long-running program.

On the other hand, libdrm uses cpu_map_count as a refcount and expects
its value to decrease so it can unmap buffers.

The previoulsy proprosed fix (https://patchwork.freedesktop.org/patch/258005/)
stopped increased the counter when it went past INT_MAX.

This commit instead proposes to use a larger type to store cpu_map_count.
The outcome is the same: long running apps will not crash, only the
implementation differs.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1423
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b9bf42d3e1969248b18f87a2b7973901ffb79b36

Git commit 27fa47a738b15464528a1c44d8cb0b2ab31d3cf7 by Timo Aaltonen on 03/04/2020 at 11:39..
Bump version to 2.4.101
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/27fa47a738b15464528a1c44d8cb0b2ab31d3cf7

Git commit 3e6929131f8bcc56546b4e4176290aaffe8c949a by Timo Aaltonen on 03/04/2020 at 14:39..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e6929131f8bcc56546b4e4176290aaffe8c949a

Git commit 569ad0b6f0bf8034ac0f13b5053268e5b38b48c9 by Timo Aaltonen on 03/04/2020 at 15:11..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/569ad0b6f0bf8034ac0f13b5053268e5b38b48c9

Git commit 14a3b5b237c72328a2d3e420195320b115680a9f by Timo Aaltonen on 03/04/2020 at 18:32..
source, watch: Upstream provides only xz tarballs, bump source to 3.0 (quilt).
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/14a3b5b237c72328a2d3e420195320b115680a9f

Git commit aead29c96443f7a70fa422e63752b35a21c5ca27 by Timo Aaltonen on 03/04/2020 at 18:36..
Add my key to signing-key.asc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aead29c96443f7a70fa422e63752b35a21c5ca27

Git commit 774f6cdf08685bf62d82718cf8c539765165c349 by Timo Aaltonen on 03/04/2020 at 18:37..
control: Use debhelper-compat, bump to 12.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/774f6cdf08685bf62d82718cf8c539765165c349

Git commit b7c930d28072fccae8e838c6356cc548e7d5504b by Timo Aaltonen on 03/04/2020 at 18:38..
control: Bump policy to 4.5.0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b7c930d28072fccae8e838c6356cc548e7d5504b

Git commit 59dc56e4f10a553d52f6be230d6c634852c20244 by Timo Aaltonen on 03/04/2020 at 18:43..
local-options: Update extend-diff-ignore.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/59dc56e4f10a553d52f6be230d6c634852c20244

Git commit 98648df350918af5df5eb4e1c187a7a14b3fe767 by Timo Aaltonen on 03/04/2020 at 18:46..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98648df350918af5df5eb4e1c187a7a14b3fe767

Git commit 0650f7deaf50db94cff84f53fccec41c76caf3b6 by Timo Aaltonen on 03/04/2020 at 18:51..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0650f7deaf50db94cff84f53fccec41c76caf3b6

Git commit 64c26889a99aaaef4d4d4ed1d39de5a6d302c84f by Timo Aaltonen on 14/04/2020 at 13:32..
fix-realpath-vs-firefox.diff: Fix webgl on intel with firefox. (Closes: #956665) (LP: #1872586)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/64c26889a99aaaef4d4d4ed1d39de5a6d302c84f

Git commit f590cf4b996656e51cde983f32601ae8c942e0b9 by Timo Aaltonen on 14/04/2020 at 13:33..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f590cf4b996656e51cde983f32601ae8c942e0b9

Git commit 8cef557062531f899ef884c5f229974ace22d291 by James Zhu on 16/04/2020 at 20:01..
tests/amdgpu/vcn: add dummy feedback message

Latest VCN firmware has feedback header check.

Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cef557062531f899ef884c5f229974ace22d291

Git commit 1f8ada802391fa658eceeaffe7e151303f7ab3f7 by Eric Engestrom on 20/04/2020 at 23:48..
meson: don't detect <sys/sysctl.h> on Linux

The header is not required on Linux, and is in fact deprecated in glibc 2.30+

Reported-by: Seung-Woo Kim <sw0312.kim at samsung.com>
Cc: Niclas Zeising <zeising at daemonic.se>
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Tested-by: Niclas Zeising <zeising at daemonc.se>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1f8ada802391fa658eceeaffe7e151303f7ab3f7

Git commit 1c8d2b73a681e4d9b65fda101e05f9770d5e4e82 by Emmanuel Vadot on 21/04/2020 at 16:39..
libdrm: drmNodeIsDRM: Add FreeBSD variant

FreeBSD devfs have on the gly generated major minor so we cannot use them
to test if the device is a drm node.
Instead get the devfs node name and test if it is in a subdirectory "drm/"
or "dri/".
Historycally DRM device on FreeBSD are created in /dev/drm/ and link are
present in /dev/dri/ for compatibility reason.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1c8d2b73a681e4d9b65fda101e05f9770d5e4e82

Git commit 4fbcc9a6a7de37d710c7a2167f762eaa4aa5b0b4 by Emmanuel Vadot on 21/04/2020 at 16:39..
xf86drm: Remove ifdef for FreeBSD and DRM_MAJOR

FreeBSD devfs only provides on the fly generated major/minor.
The major number is irrelevant for FreeBSD so remove the special case.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4fbcc9a6a7de37d710c7a2167f762eaa4aa5b0b4

Git commit c55a1e564cf6c9d42ce250af11101b7fc7e88a4e by Emmanuel Vadot on 21/04/2020 at 17:25..
libdrm: drmGetMinorType: Add FreeBSD version

Resolve the minor type based on the device node path.
The minor type is either in /dev/drm/X where X is the type or
in a Linux-compatible device node in /dev/dri/
This means we need the major number on FreeBSD so add it to the function
arguments.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c55a1e564cf6c9d42ce250af11101b7fc7e88a4e

Git commit 6818a50b1215081d6a7b7b710f504a6b182320c8 by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: drmGetDeviceNameFromFd: Add FreeBSD variant

Get the major/minor via fstat and after checking that this is a drm node
construct the full device node name using devname.
Note that we should be able to use fdevname to avoid calling fstat + devname
but for some reason it doesn't work on drm node (probably due to how the device
node are created in the linux compat code for drm on FreeBSD).

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6818a50b1215081d6a7b7b710f504a6b182320c8

Git commit 57c50cfc45f8c4f95bffff88ec7bcc056d3b23be by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: drmGetMinorNameForFD: Add FreeBSD variant

Use the FreeBSD variant function to obtain the minor name and the
device node.
Return the correct path based on where the node is (drm/ versus dri/).

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57c50cfc45f8c4f95bffff88ec7bcc056d3b23be

Git commit 41f3a7b3e5048af002d7ec137be735770cb71d88 by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: Default to PCI for FreeBSD

FreeBSD have some support for DRM on !PCI device but no code is currently
upstream. Default to PCI for now.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/41f3a7b3e5048af002d7ec137be735770cb71d88

Git commit 13c9de39a671e0f0dd586f3e4520408b4008e094 by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: drmGetDeviceNameFromFd2: Add FreeBSD variant

The FreeBSD variant of drmGetDeviceNameFromFd can already handle
the different node type so just call it.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/13c9de39a671e0f0dd586f3e4520408b4008e094

Git commit 24e68525dcdfd5ece6ba8ca9033513dc5d2d1b3e by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: drmCheckModesettingSupported: Fix for FreeBSD

Remove some useless busid rewritting.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24e68525dcdfd5ece6ba8ca9033513dc5d2d1b3e

Git commit bb584b8fd24e956d68b8f040a5c6cc0190980903 by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: drmCheckModesettingSupported: fix for FreeBSD

FreeBSD only support up to 10 GPUs not 16.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb584b8fd24e956d68b8f040a5c6cc0190980903

Git commit 379113724f9860aea174674865d1d188b5c10f4c by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: Add get_sysctl_pci_bus_info for FreeBSD

The FreeBSD drm driver expose a sysctl hw.dri.%d.busid which contain
the busid.
Use this sysctl to parse the busid information based on the major/minor
that allow us to implement FreeBSD support for drmParsePciBusInfo.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/379113724f9860aea174674865d1d188b5c10f4c

Git commit 44bcf9c0ceb712b882e5053cc8dda7ca95d78e63 by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: get_pci_path is Linux only so add an ifdef

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/44bcf9c0ceb712b882e5053cc8dda7ca95d78e63

Git commit e321dd7a4db361b0c3d56ce93d93b7b59d7bb3c8 by Emmanuel Vadot on 21/04/2020 at 17:26..
libdrm: Implement drmParsePciDeviceInfo for FreeBSD

The FreeBSD kernel expose a pseudo-device /dev/pci to obtain information
about present PCI device.
Uee the PCIOCGETCONF ioctl on this device to look up the desired device
information.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e321dd7a4db361b0c3d56ce93d93b7b59d7bb3c8

Git commit 1600fe1130039608fc9be6c849c895323d21b899 by Emmanuel Vadot on 21/04/2020 at 17:26..
tests/nouveau/threaded: adapt ioctl signature for FreeBSD

FreeBSD also use (int, unsigned long int, ...) like GLIBC.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1600fe1130039608fc9be6c849c895323d21b899

Git commit cf1afec0173daed2160d74a5528e5dcd6ed61199 by Emil Velikov on 21/04/2020 at 17:50..
tests: install drmdevice

Just like the other tests (tools really) install drmdevice. It is a
simple tool which is useful for basic check/testing.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf1afec0173daed2160d74a5528e5dcd6ed61199

Git commit 9001c93b7ff01bbacc33786f54f9beed92fccf49 by Marek Olšák (on behalf of Peter Seiderer) on 23/04/2020 at 03:54..
tests/amdgpu: needs atomic_ops

Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Acked-by: Alex Deucher alexander.deucher at amd.com
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9001c93b7ff01bbacc33786f54f9beed92fccf49

Git commit 57df07572ce45a1b60bae6fb89770388d3abd6dd by Emil Velikov (on behalf of Mikhail Golubev) on 24/04/2020 at 08:24..
xf86drm: Check non-absolute path only for virtio based devices

This fixes bug in drmParseSubsystemType() that cases situation when
subsequent call to readlink() from get_subsystem_type() will result in
EACCESS.

Signed-off-by: Mikhail Golubev <mikhail.golubev at opensynergy.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57df07572ce45a1b60bae6fb89770388d3abd6dd

Git commit bf63f8acdc94164ad29d1d56270964245b39f277 by Emil Velikov (on behalf of Scott Anderson) on 24/04/2020 at 08:53..
libdrm: Handle usb_interface devices for usb parsing

Currently the code expects that the device found at
/sys/char/$maj:$min/device for USB devices is a "usb_device". However,
at least for some devices, such as for the udl driver, they are instead
a "usb_interface".

A usb_interface is a child of the usb_device we're interested in, so we
walk up one in the /sys path to get there.

For example, with a USB device I have, trimmed to show the relevant
information:
```
$ udevadm info /dev/dri/card1
P: /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-4/1-4:1.0/drm/card1
E: DEVTYPE=drm_minor
$ udevadm info /sys/devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-4/1-4:1.0
E: DEVTYPE=usb_interface
E: DRIVER=udl
$ udevadm info /sys/devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-4
E: DEVTYPE=usb_device
E: DRIVER=usb
E: BUSNUM=001
E: DEVNUM=009
```

Signed-off-by: Scott Anderson <scott at anderso.nz>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf63f8acdc94164ad29d1d56270964245b39f277

Git commit fd7f3746e3e69470207c4ff2d777c3d23be610f4 by Leo Liu on 26/04/2020 at 15:39..
tests/amdgpu/vcn: add Renoir VCN2.0 decode support

Renoir is the same family as Raven, but it's with VCN2.0,
so it has to use VCN2.0 reg set

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-By: Thong Thai <thong.thai at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fd7f3746e3e69470207c4ff2d777c3d23be610f4

Git commit dd562b1efdd4efcff62f31ad1106b3559931faf1 by Nicholas Bishop on 27/04/2020 at 15:53..
intel: properly escape sed pattern for tests

The sed was incorrectly modifying e.g. "nicholasbishop" to
"nicholasbop". The updated pattern will only match `.sh` at the end of
the string.

Signed-off-by: Nicholas Bishop <nicholasbishop at gmail.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd562b1efdd4efcff62f31ad1106b3559931faf1

Git commit 05727548a1fb9a611d58b0b4bd4a028d20f621a3 by Emil Velikov (on behalf of Nicholas Bishop) on 30/04/2020 at 11:12..
libdrm: intel: add DRM_RDWR flag in drm_intel_bo_gem_export_to_prime

This is similar to b81d44d587d1706d5c7568e539340632a748782b: the
DRM_RDWR flag is needed for mmap to work.

Signed-off-by: Nicholas Bishop <nicholasbishop at gmail.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05727548a1fb9a611d58b0b4bd4a028d20f621a3

Git commit 5ec177b398d6d305f273329c8228ea870e180d6d by Karol Herbst on 04/05/2020 at 09:58..
nouveau: fix compile error with -DDEBUG on newer gcc

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ec177b398d6d305f273329c8228ea870e180d6d

Git commit f52e2b20edda32e06f506bc455fcc44ed9266a36 by Emmanuel Vadot on 04/05/2020 at 19:19..
libdrm: drmGetMinorNameFromFd: Fix FreeBSD variant

Fix the FreeBSD variant by getting the node type represented by fd to deduce
the target minor name.
We then return the full /dev/dri/<minorname><id> version.

Fix: #41
Fixes: 6818a50b12
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f52e2b20edda32e06f506bc455fcc44ed9266a36

Git commit 5aa83dd6fa2bbfeb098877898d10261b2ec4f2d0 by Emmanuel Vadot on 04/05/2020 at 19:19..
libdrm: drmGetDeviceNameFromFd: Always return /dev/dri/ node for FreeBSD

Since we now always returns the /dev/dri/ node for
drmGet<nodetype>DeviceNameFromFd, be consistant with the names returned
in drmGetDeviceNameFromFd.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5aa83dd6fa2bbfeb098877898d10261b2ec4f2d0

Git commit 7915b0a68d813a8fe802a41108b42293c21ae03b by Emil Velikov (on behalf of Boram Park) on 05/05/2020 at 10:47..
drm mode : fix memory leak when freeing drmModePropertyPtr

Closes: https://gitlab.freedesktop.org/mesa/drm/-/issues/5
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7915b0a68d813a8fe802a41108b42293c21ae03b

Git commit bfa782c5f6eb0158c13938d8dc7c3fd87831371e by Karol Herbst on 06/05/2020 at 21:17..
nouveau: sync up with nouveau_abi16.h and nouveau_drm.h

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ben Skeggs <bskeggs at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bfa782c5f6eb0158c13938d8dc7c3fd87831371e

Git commit c997baf590de48ac5fc52a6e2df806e0a6f3acfc by José Casanova Crespo (on behalf of Jose Maria Casanova Crespo) on 07/05/2020 at 02:57..
meson: require valgrind 3.10.0 to enable it with freedreno

Freedreno uses VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE that was
introduced in Valgrind 3.10.0

Raspbian Buster includes Valgrind 3.7.0, so when valgrind is installed
as freedreno is build by default the build becomes broken. So lets
require 3.10 to enable valgrind when freedreno is built.

v2: Keep the arguments listed in the same order (Emil Velikov)

Closes: https://gitlab.freedesktop.org/mesa/drm/-/issues/37
Signed-off-by: Jose Maria Casanova Crespo <jmcasanova at igalia.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c997baf590de48ac5fc52a6e2df806e0a6f3acfc

Git commit 9ffcbf5cd9baa38de5a4aedfdbec3651fb2f8465 by Emil Velikov on 19/05/2020 at 20:02..
modetest: simplify "dump all" logic

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ffcbf5cd9baa38de5a4aedfdbec3651fb2f8465

Git commit 24c0c44c8d2bad5d65990e86b66fd01f779fa7fe by Emil Velikov on 19/05/2020 at 20:03..
modetest: remove cursor/page_flipping_supported stubs

The two functions have been stubs for ages. The alluded generic ioctls
never came to be, assumingly because all new drivers support those.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24c0c44c8d2bad5d65990e86b66fd01f779fa7fe

Git commit 69f25d6a29b3939e8f14fcc871ba9820e9465562 by Emil Velikov on 19/05/2020 at 20:03..
modetest: move basic args check before open()

Don't bother opening the device node, if the args combination is invalid

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69f25d6a29b3939e8f14fcc871ba9820e9465562

Git commit 900ed608484840ec1a75bffee1d60f8fabb834ee by Emil Velikov on 19/05/2020 at 20:03..
modetest: set atomic cap, _only_ when needed

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/900ed608484840ec1a75bffee1d60f8fabb834ee

Git commit 823669c6c0fe8e80ff54e70768aadd15a2c4153d by Emil Velikov on 19/05/2020 at 20:03..
modetest: add and use bo_fb_create() helper

Flesh out the bo_create + drmModeAddFB2 dance into a helper and use it.
Currently we're duplicating that in 4 places, many of which leaking et
al.

As a bonus point this highlights that the atomic_set_plane() seems tad
buggy. That'll be fixed with separate commit.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/823669c6c0fe8e80ff54e70768aadd15a2c4153d

Git commit 53fde76ce3dc4bdce667ab204b9510fde8cabdd5 by Emil Velikov on 19/05/2020 at 20:03..
modetest: remove drmMode{,Plane}Res

There's no point in keeping these around since we already fetch the
complete data set. Add respective count_ variables and greatly simplify
the existing code.

Extra brownie points for:
 - using the inverse order in free_resources()
 - don't memory leak the connector properties
 - free the properties themselves, instead of only the objects

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53fde76ce3dc4bdce667ab204b9510fde8cabdd5

Git commit ef58af6dfc86075077a814af64cb02de814b92cb by Emil Velikov on 19/05/2020 at 20:04..
modetest: close the device on exit

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef58af6dfc86075077a814af64cb02de814b92cb

Git commit 336c04220ce768298875ca687ec7416bcc80cbf7 by Emil Velikov on 19/05/2020 at 20:09..
modetest: introduce and use get_crtc_by_id() and get_crtc_mask()

Let's make the code shorter, this avoid crashes (when drmModeGetCrtc()
fails) by using a couple of helpers. As get_resources() considers the
drmModeGetCrtc() fail non-fatal, we might as well handle it properly.

v2: Add a comment above the unreachable abort() (Eze)

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/336c04220ce768298875ca687ec7416bcc80cbf7

Git commit 544fab624d3322a37de907b06fc4fb60f906a094 by Emil Velikov on 19/05/2020 at 20:09..
modetest: get the crtc_id from the pipe_arg

Makes the code shorter and easier to read.

Currently if the user has not set the crtc_id, we fetch the crtc yet do
not "bother" setting the id - do so.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/544fab624d3322a37de907b06fc4fb60f906a094

Git commit bdb9b82cf7ba557aa296f6ed2fbe04ea8a0c3ea1 by Emil Velikov on 19/05/2020 at 20:09..
modetest: unify {,atomic_}set_mode()

Instead of duplicating the exact same code across the two functions,
fold them into one.

For some strange reason git diff may show atomic_clear_mode() as changed
The function in untouched, despite the misleading output.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdb9b82cf7ba557aa296f6ed2fbe04ea8a0c3ea1

Git commit 3b9585d88e0b31a1953e8f553b7ccf62851fe31f by Emil Velikov on 19/05/2020 at 20:09..
modetest: move pipe_resolve_connectors() further up

Move the function above set_mode, since we'll be using it from there as
of next commit.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b9585d88e0b31a1953e8f553b7ccf62851fe31f

Git commit d928cd803acc814ac743d6a294d9534ac1ddabaf by Emil Velikov on 19/05/2020 at 20:09..
modetest: push pipe_resolve_connectors() to set_mode

The function is closely related to pipe_find_crtc_and_mode() so we might
as well keep them together.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d928cd803acc814ac743d6a294d9534ac1ddabaf

Git commit 3d88c993a40a4cac974de981ccf5bf154b1e1dc8 by Emil Velikov on 19/05/2020 at 20:09..
modetest: factor out atomic pageflip test

Move the hunk of code into a function, making the overall flow easier to
follow and providing some symmetry to the non-atomic path.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d88c993a40a4cac974de981ccf5bf154b1e1dc8

Git commit e341176d9f6c33f47e6887411644abca7f68be81 by Emil Velikov on 19/05/2020 at 20:09..
modetest: don't error out of final AtomicCommit

The very final drmModeAtommicCommit tears down the existing mode/plane
setup. Following it we clean up other misc state laying around.

Chances are that it will not fail, but in the extremely unlikely case it
does, there's nothing one can do.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e341176d9f6c33f47e6887411644abca7f68be81

Git commit a04c8abb86362e39a5a74caddf923356dec8d61f by Emil Velikov on 19/05/2020 at 20:09..
modetest: reorder atomic path alike the non-atomic

Makes the code a tiny bit more symmetrical.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a04c8abb86362e39a5a74caddf923356dec8d61f

Git commit bf602a2d6794878a5ef3676254d33ba018c6f2a7 by Emil Velikov on 19/05/2020 at 20:09..
modetest: Add a new "-r" option to set a default mode

This option finds all connected connector and then sets its preferred
mode on it. If no preferred mode is available, first mode is used.

This option must be set w/o any mode or plane.

This allows for a quick test on all connected outputs.

Loosely based on the work by Ezequiel Garcia <ezequiel at collabora.com>

Changes since Ezequiel's work:
 - implement atomic codepath
 - set all connectors
 - pick correct crtc
 - don't set -r by default
 - nearly identical output in atomic and non-atomic codepaths

v2:
 - Use the crtc->crtc_id, instead of the plane's current crtc_id

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel at collabora.com>
Tested-by: Ezequiel Garcia <ezequiel at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf602a2d6794878a5ef3676254d33ba018c6f2a7

Git commit bb70ab82fd599b0a0db3d22354f05ae87fbc4515 by Dave Airlie on 26/05/2020 at 20:33..
Bump version to 2.4.102

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb70ab82fd599b0a0db3d22354f05ae87fbc4515

Git commit 9fbae6f6ad7994240e25e7823573604d4a9be4c4 by Alex Deucher on 27/05/2020 at 21:16..
amdgpu: add marketing names from 20.10

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9fbae6f6ad7994240e25e7823573604d4a9be4c4

Git commit 5ab6031699a2f51ab5ec5c0ce95230d2de9e74db by Eric Engestrom on 28/05/2020 at 15:17..
core: use `O_RDONLY` instead of ambiguous `0` flag

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5ab6031699a2f51ab5ec5c0ce95230d2de9e74db

Git commit c7d89412884de2dbfa543720d185027377e62f21 by Heiko Thiery on 06/06/2020 at 05:16..
xf86drm.c: fix build failure

./xf86drm.c: In function 'drmNodeIsDRM':
../xf86drm.c:2825:7: error: "__FreeBSD__" is not defined [-Werror=undef]
 #elif __FreeBSD__
       ^
../xf86drm.c: In function 'drmGetMinorNameForFD':
../xf86drm.c:2938:7: error: "__FreeBSD__" is not defined [-Werror=undef]
 #elif __FreeBSD__
       ^
../xf86drm.c: In function 'drmParsePciBusInfo':
../xf86drm.c:3258:7: error: "__FreeBSD__" is not defined [-Werror=undef]
 #elif __FreeBSD__
       ^
../xf86drm.c: In function 'drmParsePciDeviceInfo':
../xf86drm.c:3427:7: error: "__FreeBSD__" is not defined [-Werror=undef]
 #elif __FreeBSD__
       ^
../xf86drm.c: In function 'drmGetDeviceNameFromFd2':
../xf86drm.c:4305:7: error: "__FreeBSD__" is not defined [-Werror=undef]
 #elif __FreeBSD__
       ^

Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7d89412884de2dbfa543720d185027377e62f21

Git commit 7b9d4bbdd5c9a903d6938a7fe48ce64653ac08e0 by Leo Liu on 18/06/2020 at 14:08..
tests/amdgpu: add VCN3.0 regs support

VCN3.0 has its own set of internal regs

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Thong Thai <thong.thai at amd.com>
Reviewed-by: James Zhu <James.Zhu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b9d4bbdd5c9a903d6938a7fe48ce64653ac08e0

Git commit f806d438d63e6ac41b742c3fd1b43cdccc5177dc by Leo Liu on 18/06/2020 at 14:08..
tests/amdgpu: clear msg decode flag

It is not used for VCN from VCN1, but VCN3 use it
for other feature, so clear it, because we don't
use the feature for now

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Thong Thai <thong.thai at amd.com>
Reviewed-by: James Zhu <James.Zhu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f806d438d63e6ac41b742c3fd1b43cdccc5177dc

Git commit f449081628922bf4d7e3743aa86a6e6670e36592 by Leo Liu on 18/06/2020 at 14:08..
tests/amdgpu: clear the extension flag

This is workaround of firmware issue, and the change has no impact
on the legacy HW.

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Thong Thai <thong.thai at amd.com>
Reviewed-by: James Zhu <James.Zhu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f449081628922bf4d7e3743aa86a6e6670e36592

Git commit 4d0c07a89bc38e6e9d3546c1b4c7bb8bbb2cbb6f by Timo Aaltonen on 22/06/2020 at 12:13..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4d0c07a89bc38e6e9d3546c1b4c7bb8bbb2cbb6f

Git commit 2c0c7a345a69ba6adb38f3d214c1a5c9dd239970 by Timo Aaltonen on 22/06/2020 at 12:15..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c0c7a345a69ba6adb38f3d214c1a5c9dd239970

Git commit 6def243a601bf00706774d7bb7aa35073f2cb43c by Timo Aaltonen on 22/06/2020 at 12:24..
fix-realpath-vs-firefox.diff: Dropped, upstream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6def243a601bf00706774d7bb7aa35073f2cb43c

Git commit 2fb5edb5df519f2958b4251ec332f2cb788c2290 by Timo Aaltonen on 22/06/2020 at 12:29..
libdrm-tests.install: Added /usr/bin/drmdevice.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fb5edb5df519f2958b4251ec332f2cb788c2290

Git commit aad1ebe63f9f2126d9bfc5a141e581d695a10f14 by Timo Aaltonen on 22/06/2020 at 12:34..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/aad1ebe63f9f2126d9bfc5a141e581d695a10f14

Git commit 669e1087ab60637744ae0f3f15b8c1608d2a8653 by José Roberto de Souza on 08/07/2020 at 17:44..
intel: sync i915_pciids.h with kernel

Two new patches landed in kernel adding new PCI ids:
123f62de419f ("drm/i915/rkl: Add RKL platform info and PCI ids")
52797a8e8529 ("drm/i915/ehl: Add new PCI ids")

Cc: Matt Roper <matthew.d.roper at intel.com>
Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/669e1087ab60637744ae0f3f15b8c1608d2a8653

Git commit 0a1aefe560bc977159f7b10a731f9430d843cc18 by Alex Deucher (on behalf of Pavan Kumar Ramayanam) on 20/08/2020 at 02:30..
amdgpu: Add Device IDs for Embedded Raven2 platforms

Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Pavan Kumar Ramayanam <pavan.ramayanam at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0a1aefe560bc977159f7b10a731f9430d843cc18

Git commit a84caff71be99989858c42b275faf4720b41ab84 by sunil kumar dora sermsity on 21/08/2020 at 20:02..
intel: Add PCI ID support to RKL platform

    Missing RKL PCI ID preventing below test cases to succeed on RKL Platform.
    igt at kms_frontbuffer_tracking
    igt at kms_draw-crc
    igt at kms_big_fb

    Signed-off-by: sunil kumar dora sermsity <sunilx.kumar.dora.sermsity at intel.com>
    Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a84caff71be99989858c42b275faf4720b41ab84

Git commit 5bd6a7659e4351d7940c1211d3f28cb66243dc17 by Timo Aaltonen (on behalf of Jeremy Cline) on 27/08/2020 at 08:10..
man: Update the bug URL to gitlab.freedesktop.org

Point users to the GitLab issue tracker instead of Bugzilla, which is no
longer used.

Signed-off-by: Jeremy Cline <jcline at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5bd6a7659e4351d7940c1211d3f28cb66243dc17

Git commit a9591d66fee91fc151167fbd1f46522dedb512bb by Adam Miszczak on 27/08/2020 at 09:06..
intel: sync i915_pciids.h with kernel

Add DG1 and clean-up VLV PCI IDs.

Align with kernel commits:
f2bde2546b81 ("drm/i915: Remove dubious Valleyview PCI IDs")
fd38cdb81105 ("drm/i915/dg1: Add DG1 PCI IDs")

Signed-off-by: Adam Miszczak <adam.miszczak at intel.com>
Reviewed-by: José Roberto de Souza <jose.souza at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9591d66fee91fc151167fbd1f46522dedb512bb

Git commit 77687f8d6ea321998b87f87433db1fea7518b8bf by nyanmisaka (on behalf of sitanliu) on 03/09/2020 at 15:51..
amdgpu: add device IDs for Raven, Picasso and Renoir
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77687f8d6ea321998b87f87433db1fea7518b8bf

Git commit bb7433c1c69b851903e28aecb26cc2615a87d1bd by Tapani Pälli on 30/09/2020 at 10:37..
intel: add INTEL_DG1_IDS to the pciids list

This enables drm_intel_bufmgr on DG1 and allows us to pass dmabuf
import/export related tests with Piglit.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb7433c1c69b851903e28aecb26cc2615a87d1bd

Git commit 5de99aebba44212ff048145a91e66490a98b2233 by Alex Deucher on 05/10/2020 at 15:33..
amdgpu: add marketing names from 20.40

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5de99aebba44212ff048145a91e66490a98b2233

Git commit ba0d45eca669aa9f385be1a006d4045afc67a602 by Alex Deucher (on behalf of Le Ma) on 15/10/2020 at 17:44..
tests/amdgpu: add function to check Asic is Arcturus

Since Arcturus has no gfx engine, add function to blacklist gfx related test.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Le Ma <le.ma at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ba0d45eca669aa9f385be1a006d4045afc67a602

Git commit 301b4b64d0baac1f32b8757ffe67fbee38bb8a2a by Alex Deucher (on behalf of Le Ma) on 15/10/2020 at 17:44..
tests/amdgpu: create Active function for basic test suite

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Le Ma <le.ma at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/301b4b64d0baac1f32b8757ffe67fbee38bb8a2a

Git commit 236a139f099685ff656face9f433b00cc68e25fc by Alex Deucher (on behalf of Le Ma) on 15/10/2020 at 17:45..
tests/amdgpu: disable gfx engine basic test cases for Arcturus

Since Arcturus has no gfx pipeline(CPG), cases below is not suitable:
  - Command submission Test (GFX)
  - Command submission Test (Multi-Fence)
  - Sync dependency Test

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Le Ma <le.ma at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/236a139f099685ff656face9f433b00cc68e25fc

Git commit 70c97212b81a0c9b597d5c9ff9d9e69e809e63eb by Alex Deucher (on behalf of James Zhu) on 15/10/2020 at 17:45..
tests/amdgpu/vcn: add Arcturus decode test support

Add Arcturus decode test support only

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70c97212b81a0c9b597d5c9ff9d9e69e809e63eb

Git commit bbaec1283f90809006cc982d1908ca73d0ef9623 by Alex Deucher (on behalf of Le Ma) on 15/10/2020 at 17:45..
tests/amdgpu: move arcturus asic check function to common place

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Le Ma <le.ma at amd.com>
Reviewed-by: Evan Quan <evan.quan at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bbaec1283f90809006cc982d1908ca73d0ef9623

Git commit 6e10ac07c8918e342dbf9dcd34f9c1b6a44db079 by Alex Deucher (on behalf of Le Ma) on 15/10/2020 at 17:45..
tests/amdgpu: disable unsupported test cases for Arcturus

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Le Ma <le.ma at amd.com>
Reviewed-by: Evan Quan <evan.quan at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6e10ac07c8918e342dbf9dcd34f9c1b6a44db079

Git commit 2420768d023e0c257d2752a5c212d5dd3528a249 by Alex Deucher on 15/10/2020 at 17:45..
amdgpu: sync up amdgpu_drm.h with latest from kernel

From drm-next:

commit c41219fda6e04255c44d37fd2c0d898c1c46abf1
Merge: e20bb857dea2 d96536f0fe69
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu May 21 10:44:32 2020 +1000

    Merge tag 'drm-intel-next-fixes-2020-05-20' of git://anongit.freedesktop.org/drm/drm-intel into drm-next

    Fix for TypeC power domain toggling on resets (Cc: stable).
    Two compile time warning fixes.

    Signed-off-by: Dave Airlie <airlied at redhat.com>
    From: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200520123227.GA21104@jlahtine-desk.ger.corp.intel.com

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2420768d023e0c257d2752a5c212d5dd3528a249

Git commit 2c0e4991d730d27e9a74d6241edad66e17e62146 by Alex Deucher (on behalf of Huang Rui) on 15/10/2020 at 17:45..
tests/amdgpu: add security test suite (v2)

This patch is to add a new test suite to store security tests.
In Raven+ asics, it will support TMZ (trust memory zone), and it is
page-based protection feature.

v2: remove tests/amdgpu/Makefile.am and update to
tests/amdgpu/meson.build

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2c0e4991d730d27e9a74d6241edad66e17e62146

Git commit e63b775e5ab4941debc537cd7ebbb410c4058a22 by Alex Deucher (on behalf of Huang Rui) on 15/10/2020 at 17:45..
tests/amdgpu: add secure buffer allocation test for system memory

This patch is to add secure buffer allocation test for system memory.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e63b775e5ab4941debc537cd7ebbb410c4058a22

Git commit cfe55a0451b554138d96e741a703135f9004de1b by Alex Deucher (on behalf of Huang Rui) on 15/10/2020 at 17:46..
tests/amdgpu: add secure buffer allocation test for invisible VRAM

This patch is to add secure buffer allocation test for invisible VRAM.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfe55a0451b554138d96e741a703135f9004de1b

Git commit 76ceb8b80649572cd8dffd06da14da8588246e84 by Alex Deucher (on behalf of Huang Rui) on 15/10/2020 at 17:46..
tests/amdgpu: expand write linear helper for security (v3)

This patch expand write linear helper for security to submit the command
with secure context.

v2: refine the function implementation.
v3: remove amdgpu_cs_ctx_create3.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/76ceb8b80649572cd8dffd06da14da8588246e84

Git commit 0cefd4cecdd8163d500765712de604b7f36cfe7e by Alex Deucher (on behalf of Huang Rui) on 15/10/2020 at 17:46..
tests/amdgpu: add device handle as input param for exec_cs_helper and write_linear_helper (v4)

This patch is to add add device handle as input param for exec_cs_helper
and write_linear_helper.

Because they are needed in security tests.

v2: fix typo that basic tests should be un-secure.
v3: refine the function implementation.
v4: remove amdgpu_cs_ctx_create3 calling.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0cefd4cecdd8163d500765712de604b7f36cfe7e

Git commit b352ef44b879cfac275d5aeb06d0ab8511dd0d14 by Alex Deucher (on behalf of Aaron Liu) on 15/10/2020 at 17:46..
tests/amdgpu: expand secure param for exec_cs_helper (v2)

This patch expands secure param for amdgpu_test_exec_cs_helper_raw.
The flag is transfered to kernel with cs.

v2: squash in change from context to IB flag

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Acked-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b352ef44b879cfac275d5aeb06d0ab8511dd0d14

Git commit 5de99b1fa610b8395e1501446ee8340fd044b1fe by Alex Deucher (on behalf of Aaron Liu) on 15/10/2020 at 17:46..
tests/amdgpu: add atomic_mem cp_packet to verify the secure buffer

Secure buffer is only able to be read with trusted ip block.
So we need use GFX ip to read it back instead of CPU.
Steps:
1. use write_data packet to write 0xdeadbeaf to secure buffer,
2. use atmoic_mem packet and ATOMIC_CMPSWAP_RTN_32 opcode to compare
the cmp_data(0xdeadbeaf) to the written data which has been encrypted.
If the result is equal, then overwrite the src_data(0x12345678) to the
secure buffer and return directly. Otherwise loop again until gfx timeout
and the secure buffer data unchanged.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5de99b1fa610b8395e1501446ee8340fd044b1fe

Git commit 00087856fc3dc11667ccb4872cd6df6d41ddff51 by Alex Deucher (on behalf of Aaron Liu) on 15/10/2020 at 17:46..
tests/amdgpu: add test to submit a gfx command with secure context

This patch is to test the command submission with secure context.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00087856fc3dc11667ccb4872cd6df6d41ddff51

Git commit 38c44cccdc03effbbf4b6f1b69e8ea3e40374a73 by Alex Deucher (on behalf of Aaron Liu) on 15/10/2020 at 17:46..
tests/amdgpu: add atomic dma command to verify the secure buffer (v2)

DMA's atomic behavir is unlike GFX,If the comparing data is not
equal to destination data,
For GFX, loop again till gfx timeout(system hang).
For DMA, loop again till timer expired and then send interrupt.
So testcase can't use interrupt mechanism.
We take another way to verify. When the comparing data is not
equal to destination data, overwrite the source data to the destination
buffer. Otherwise, original destination data unchanged.
So if the bo_cpu data is overwritten, the result is passed.

Steps:
1. use linear write packet to write 0xdeadbeaf to secure buffer,
2. use atmoic packet and ATOMIC_CMPSWAP_RTN_32 opcode to compare
the cmp_data(0xdeadbeaf) to the written data which has been encrypted.

v2: add the case of (dest_data != cmp_data).

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38c44cccdc03effbbf4b6f1b69e8ea3e40374a73

Git commit 238acd6f3da3144ae0929f12ed73b1784cf4102e by Alex Deucher (on behalf of Aaron Liu) on 15/10/2020 at 17:46..
tests/amdgpu: add test to submit a sdma command with secure context

This patch add test to submit a sdma command with secure context.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/238acd6f3da3144ae0929f12ed73b1784cf4102e

Git commit eb1a17039fdd0f4c6fc4726d845c730bb373b617 by Alex Deucher (on behalf of Aaron Liu) on 15/10/2020 at 17:46..
test/amdgpu: add drm version checking for security suite

Adding drm version checking for security suite.
drm version need to be at least 3.37.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb1a17039fdd0f4c6fc4726d845c730bb373b617

Git commit 24b9c9ca47e6000fa60e6ad282b2bf1703a69cb6 by Alex Deucher (on behalf of Aaron Liu) on 15/10/2020 at 17:46..
test/amdgpu: enable security suite tests

This patch enables security suite tests.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24b9c9ca47e6000fa60e6ad282b2bf1703a69cb6

Git commit 18a0291273ad8eca67830a941748fd511fe484be by Alex Deucher (on behalf of Luben Tuikov) on 15/10/2020 at 17:46..
tests/amdgpu: Remove forward declarations

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18a0291273ad8eca67830a941748fd511fe484be

Git commit 253e0383a38b689bd5170862dfec1e8ab83639f4 by Alex Deucher (on behalf of Luben Tuikov) on 15/10/2020 at 17:47..
tests/amdgpu: Secure bounce test (v4)

Implement secure bounce test. Steps implemented
as outlined by Christian K.

v2: Remove gpu_info; add comment describing
    the purpose and steps of the test.
v3: Parameterize "secure" in amdgpu_bo_lcopy() and
    amdgpu_bo_move(). Set them both to 0.
    Allocate buffer Bob to be non-TMZ.
v4: Fix an off-by-one bug which was causing
    the test to segfault.

Acked-by: Huang Rui <ray.huang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/253e0383a38b689bd5170862dfec1e8ab83639f4

Git commit ce1387b591f7f464450498407d5383bbfa56ccc3 by Alex Deucher on 15/10/2020 at 17:47..
amdgpu: only enable security tests on raven family

It's the only asic with support at the moment.

Acked-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ce1387b591f7f464450498407d5383bbfa56ccc3

Git commit 3ec26b03eec156df5adac6ca71cea1561386b486 by Carsten Haitzler (Rasterman) (on behalf of Carsten Haitzler) on 16/10/2020 at 14:14..
tests: add komeda to list of modules to look for for testing

komeda is one of the supported GPUs in the kernel tree so this adds it
to libdrm modules to look for in tests.

Signed-off-by: Carsten Haitzler <carsten.haitzler at arm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ec26b03eec156df5adac6ca71cea1561386b486

Git commit 3e9f2113038ed92a66a9fbda6ba5c6eec998b312 by U-AMD\tiancyin (on behalf of Tianci.Yin) on 23/10/2020 at 08:22..
tests/amdgpu: disable VCN test if no VCN ring available(v2)

If KMD has no VCN support, remove the VCN test.

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Tianci.Yin <tianci.yin at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e9f2113038ed92a66a9fbda6ba5c6eec998b312

Git commit ad7cf9d75cfa6aee3e634e5fd177b52d015fa603 by Dave Airlie (on behalf of Paul Gofman) on 27/10/2020 at 23:18..
xf86drm.c: Use integer logarithm.

log() is affected by FP control word and can provide inaccurate result.

Fixes Killer Instinct under Wine not being able to find AMD vulkan
device.

Reviewed-by: Dave Airlie <airlied at redhat.com>
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ad7cf9d75cfa6aee3e634e5fd177b52d015fa603

Git commit c2e940a8be0237cbec746e88d12b471668a16a1e by Lucas Stach on 28/10/2020 at 09:56..
tests/util: Add imx-dcss driver

This makes the test utilities work with the i.MX DCSS driver without the
necessity of using the -M argument.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c2e940a8be0237cbec746e88d12b471668a16a1e

Git commit 5dea8f56ee620e9a3ace34a99ebf0175efb57b11 by Dave Airlie on 04/11/2020 at 03:19..
Bump version to 2.4.103

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5dea8f56ee620e9a3ace34a99ebf0175efb57b11

Git commit fc479e133eee7e0f169080d735fe9a360453820b by Alex Deucher (on behalf of Thong Thai) on 06/11/2020 at 14:41..
tests/amdgpu/vcn: update to not use asic_id for Renoir

Signed-off-by: Thong Thai <thong.thai at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc479e133eee7e0f169080d735fe9a360453820b

Git commit 2a1140f8a4d8d66a4300085a34bf96ee3a567432 by Timo Aaltonen on 10/11/2020 at 16:50..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2a1140f8a4d8d66a4300085a34bf96ee3a567432

Git commit 4f4201a9fec10563093303b63c16e83eb19d0600 by Timo Aaltonen on 10/11/2020 at 17:35..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f4201a9fec10563093303b63c16e83eb19d0600

Git commit 6fc9153f6a801786744b7fa2996d8f0311aa7272 by Timo Aaltonen on 10/11/2020 at 17:47..
control, rules, hurd-port.diff: Add support for Hurd. (Closes: #909436)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6fc9153f6a801786744b7fa2996d8f0311aa7272

Git commit c479d99022f3002ce49a6b60852a6e8adb8b3fdb by Timo Aaltonen on 10/11/2020 at 17:52..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c479d99022f3002ce49a6b60852a6e8adb8b3fdb

Git commit 4c8c3f74fd938e33b6ed64746bb919873151403d by Timo Aaltonen on 27/11/2020 at 07:32..
hurd-port.diff: Dropped. (Closes: #975658)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c8c3f74fd938e33b6ed64746bb919873151403d

Git commit d3c0aa100040da56b34d91272eaa065989c87144 by Timo Aaltonen on 27/11/2020 at 07:32..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d3c0aa100040da56b34d91272eaa065989c87144

Git commit f35acf6d3f42ae6e4879ceb6b0871539e737dfa4 by Christian Gmeiner (on behalf of Lubomir Rintel) on 09/12/2020 at 15:00..
tests/etnaviv_2d_test: explain the errors

Just so that it's obvious what failed and why.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f35acf6d3f42ae6e4879ceb6b0871539e737dfa4

Git commit 96382070054cf5ba00d8038a3d7dbdb7bb498d30 by Christian Gmeiner (on behalf of Lubomir Rintel) on 09/12/2020 at 15:00..
tests/etnaviv_2d_test: pick the 2D core

Run the test on a core capable of 2D rendering instead of hardcoding to
core zero.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/96382070054cf5ba00d8038a3d7dbdb7bb498d30

Git commit 9a7afcf1982628ba85e0e0d8f96b43a56e20fef3 by Christian Gmeiner (on behalf of Lubomir Rintel) on 09/12/2020 at 15:00..
tests/etnaviv_2d_test: check whether the rendering is correct

Instead of always dumping the rendered picture, check whether it matches
the expectations. This makes more sense for automated testing.

Retain the ability to dump the picture instead of checking it when a
file name is given as an argument. This also removes use of a hardcoded
file name in a world writable directory, which is an unsafe thing to
do anyway.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9a7afcf1982628ba85e0e0d8f96b43a56e20fef3

Git commit 05b0a955d33a7a1d6a3171f4051fa4ed2f3327a6 by Simon Ser on 10/12/2020 at 09:17..
man: convert to reStructuredText

DocBook makes it hard to write and maintain docs. Hopefully
reStructuredText can make this less painful.

The man pages were converted from DocBook to reStructuredText via
Pandoc:

    pandoc -s -f docbook -t rst -o man/drm.7.rst man/drm.xml

And then manual editing to fixup e.g. references to other man pages. To
compare the result with the DocBook version, this command was used:

    rst2man man/drm-kms.7.rst | man -l -

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/05b0a955d33a7a1d6a3171f4051fa4ed2f3327a6

Git commit df373424c5d289484a7a328c7861c801e9d99143 by Daniel Vetter (on behalf of Simon Ser) on 10/12/2020 at 09:24..
Document drmModeConnection

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df373424c5d289484a7a328c7861c801e9d99143

Git commit 31dc14840f70043755ff2973892c815889387dfa by Michel Dänzer (on behalf of Simon Ser) on 10/12/2020 at 09:45..
xf86drmMode.h: use ANSI C99 arrays

This avoids the use of a GNU-specific extension in public headers. Also
see [1].

[1]: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/80#note_707458

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/31dc14840f70043755ff2973892c815889387dfa

Git commit 1a2b1a6cac9048b3f93ceb54426f1d8eff8e0899 by Nicolas Caramelli on 11/12/2020 at 16:35..
tests/modetest: remove bracket in dump_connectors()

Signed-off-by: Nicolas Caramelli <caramelli.devel at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a2b1a6cac9048b3f93ceb54426f1d8eff8e0899

Git commit d4fdeaf19b5f5cdec8b2dff3a202b2b379d35486 by Luben Tuikov on 11/12/2020 at 21:51..
tests/amdgpu: Fix a typo

Fix a typo: "TZM" --> "TMZ"

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4fdeaf19b5f5cdec8b2dff3a202b2b379d35486

Git commit d034db142d2e99ae30edf2dd766b9e8faaa9aec6 by Simon Ser (on behalf of Emmanuel Vadot) on 12/12/2020 at 11:34..
tests/amdgpu: Fix on FreeBSD

FreeBSD have endian.h under the sys directory.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d034db142d2e99ae30edf2dd766b9e8faaa9aec6

Git commit b82ed182ca82925e6ae03ac62d7313bf6b69e9ae by Simon Ser on 11/01/2021 at 16:05..
Remove definitions duplicated from drm_mode.h

I don't exactly know why these were duplicated before. Maybe libdrm
didn't always vendored drm_mode.h from the kernel? In any case, we now
do, so instead of having copy-pasted definitions, just include our
vendored version which cannot be outdated.

Contrary to what the comment says, drm.h doesn't include drm_mode.h, so
we need to add the include.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b82ed182ca82925e6ae03ac62d7313bf6b69e9ae

Git commit 4f0fe66369b267025e0c43ef79177587331f59a6 by Simon Ser on 11/01/2021 at 16:08..
Remove outdated comments about stdint.h

We include stdint.h unconditionally in the header. We don't require
users to include it manually before xf86drmMode.h.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4f0fe66369b267025e0c43ef79177587331f59a6

Git commit cdd14e92e9bd11e7307512b81b9ce26dd5ee2bce by Simon Ser (on behalf of Antonin Décimo) on 11/01/2021 at 16:12..
headers: drm: Sync with drm-next

Generated using make headers_install from the drm-next
tree - git://anongit.freedesktop.org/drm/drm
branch - drm-next
commit - b10733527bfd864605c33ab2e9a886eec317ec39

The changes were as follows (shortlog from
14d2bd53a47a7e1cb3e03d00a6b952734cf90f3f):

core: (drm_mode.h)

Alexander A. Klimov (1):
      drm: Replace HTTP links with HTTPS ones

Noralf Trønnes (1):
      drm: Add SPI connector type

Oleg Vasilev (1):
      drm: report dp downstream port type as a subconnector property

Simon Ser (1):
      drm: document that blobs are ref'counted

Uma Shankar (3):
      drm: Add HDR source metadata property
      drm: Fixed doc warnings in drm uapi header
      drm: Fix docbook warnings in hdr metadata helper structures

core: (drm_fourcc.h)

Adam Jackson (1):
      drm/fourcc: Fix undefined left shift in DRM_FORMAT_BIG_ENDIAN macros

Bas Nieuwenhuizen (2):
      drm/fourcc: Add AMD DRM modifiers.
      drm/fourcc: Fix modifier field mask for AMD modifiers.

Ben Davis (2):
      drm: drm_fourcc: add NV15, Q410, Q401 YUV formats
      drm: drm_fourcc: Add uncompressed AFBC modifier

Brian Starkey (1):
      drm: drm_fourcc: Add generic alias for 16_16_TILE modifier

Dave Airlie (1):
      Merge tag 'amd-drm-next-5.11-2020-11-05' of git://people.freedesktop.org/~agd5f/linux into drm-next

Dhinakaran Pandiyan (2):
      drm/framebuffer: Format modifier for Intel Gen-12 render compression
      drm/framebuffer: Format modifier for Intel Gen-12 media compression

James Jones (1):
      drm: Generalized NV Block Linear DRM format mod

Maarten Lankhorst (1):
      Backmerge remote-tracking branch 'drm/drm-next' into drm-misc-next

Matteo Franchin (1):
      drm/fourcc: Add AXBXGXRX106106106106 format

Mika Kahola (1):
      uapi/drm/drm_fourcc.h: Note on platform specificity for format modifiers

Neil Armstrong (2):
      drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression
      drm/fourcc: fix Amlogic Video Framebuffer Compression macro

Raymond Smith (1):
      drm/fourcc: Add Arm 16x16 block modifier

Simon Ser (4):
      drm/fourcc: document modifier uniqueness requirements
      drm: deprecate DRM_FORMAT_MOD_NONE
      drm/fourcc: add table describing AMD modifiers bit layout
      drm/fourcc: fix AMD modifiers PACKERS field doc

Signed-off-by: Antonin Décimo <antonin.decimo at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cdd14e92e9bd11e7307512b81b9ce26dd5ee2bce

Git commit a55042e2c677e907da87e523a31682f15a86a30b by Simon Ser on 11/01/2021 at 16:18..
Bump version to 2.4.104

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a55042e2c677e907da87e523a31682f15a86a30b

Git commit 10dd3eb6d5ab6c1867e1ca9dd67756c152e6269e by Valentin Churavy on 11/01/2021 at 18:40..
Use dep_rt in amdgpu/meson.build

The amdgpu implementation uses `clock_gettime` so it needs to check whether it needs to link
against `-librt`.

Signed-off-by: Valentin Churavy <v.churavy at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10dd3eb6d5ab6c1867e1ca9dd67756c152e6269e

Git commit 62b9a3eee9bdaafa766e92d5bebeb4e59845c45a by Heiko Becker on 21/01/2021 at 10:27..
meson: Also search for rst2man.py

That's what upstream docutils installs by default.

Signed-off-by: Heiko Becker <heirecka at exherbo.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62b9a3eee9bdaafa766e92d5bebeb4e59845c45a

Git commit 5f85a6d98baba1d0eb69ab577b9fee774dd450b5 by Lucas Stach (on behalf of Fabio Estevam) on 22/01/2021 at 10:17..
tests/util: Add mxsfb-drm driver

Add an entry for the "mxsfb-drm" driver, so that the test utilities
work with the mxsfb driver without passing the -M argument.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f85a6d98baba1d0eb69ab577b9fee774dd450b5

Git commit 10377d661a31c7a895c72a61dc49872f3290ea43 by Leo Liu (on behalf of Tao Zhou) on 23/01/2021 at 20:31..
tests/amdgpu: add vcn test support for navy_flounder

add navy_flounder chip id in vcn test

Signed-off-by: Tao Zhou <tao.zhou1 at amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/10377d661a31c7a895c72a61dc49872f3290ea43

Git commit 2315bcddd643b4b9ab078963f2fb896a87044760 by Leo Liu (on behalf of James Zhu) on 23/01/2021 at 20:31..
tests/amdgpu: add vcn test support for dimgrey_cavefish

add dimgrey_cavefish chip id in vcn test

Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2315bcddd643b4b9ab078963f2fb896a87044760

Git commit 19f0a9cb878da5beeddb9274f6f4cf0cea394672 by Leo Liu (on behalf of Sonny Jiang) on 23/01/2021 at 20:31..
tests/amdgpu/vcn: clean abundant codes

Remove useless codes.

Signed-off-by: Sonny Jiang <sonny.jiang at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/19f0a9cb878da5beeddb9274f6f4cf0cea394672

Git commit 583c026aa9c39e4e0070194eb7b1f20f92c88b60 by Timo Aaltonen on 28/01/2021 at 08:39..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/583c026aa9c39e4e0070194eb7b1f20f92c88b60

Git commit 52df8bc50c0a8401d7e6c5e67d6942c8a441cf11 by Timo Aaltonen on 28/01/2021 at 09:57..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52df8bc50c0a8401d7e6c5e67d6942c8a441cf11

Git commit eb3620e068ae618c1d1de773134933be37417860 by Timo Aaltonen on 28/01/2021 at 09:57..
Add signing-key from Simon Ser.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eb3620e068ae618c1d1de773134933be37417860

Git commit 70cc6858674f221567751bd891845086292315db by Timo Aaltonen on 28/01/2021 at 10:18..
control: Manpages now need python3-docutils instead of docbook-xsl to build, make it so.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/70cc6858674f221567751bd891845086292315db

Git commit 0903e09b3cb44d344082c1f59ec156adecd666c2 by Timo Aaltonen on 28/01/2021 at 10:18..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0903e09b3cb44d344082c1f59ec156adecd666c2

Git commit 8cb12a2528d795c45bba5f03b3486b4040fb0f45 by Emil Velikov on 10/02/2021 at 19:29..
xf86drm: cap number of reported devices by drmGetDevice(2)

Do as the documentation says - cap the number of reported devices to the
requested amount - aka max_devices. Otherwise we risk out-of-bound access
for users of the API.

Issue: https://gitlab.freedesktop.org/mesa/drm/-/issues/56
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cb12a2528d795c45bba5f03b3486b4040fb0f45

Git commit a43cac24db2876b6dcdc4cf23a12d93855e66564 by Simon Ser (on behalf of Victor Hugo Vianna Silva) on 10/02/2021 at 21:14..
Avoid some compiler errors for tests/util/pattern.c

- Remove one unused variable.
- Convert two int-s into 'unsigned int'.
Motivated by a failed build of Chromium.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Victor Hugo Vianna Silva <victor.vianna10 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a43cac24db2876b6dcdc4cf23a12d93855e66564

Git commit 869ef0e4b22b8bac776d0f170e4d93cdc70ff2ad by Alex Deucher on 15/02/2021 at 15:07..
amdgpu: update marketing names

From 20.45 release.

Acked-by: Simon Ser <contact at emersion.fr>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/869ef0e4b22b8bac776d0f170e4d93cdc70ff2ad

Git commit 9086ff9dafa87f9cde10fa142f88588003399d7e by Tejas Upadhyay on 18/02/2021 at 10:12..
intel: sync i915_pciids.h with kernel

Align with kernel commits:

0883d63b19bb ("drm/i915/adl_s: Add ADL-S platform info and PCI ids")
04057a1afc75 ("drm/i915: Sort EHL/JSL PCI IDs")
0e8e272f1368 ("drm/i915/ehl: Remove invalid PCI ID")
605f9c290c1a ("drm/i915: Sort ICL PCI IDs")
514dc424ce4f ("drm/i915: Sort CNL PCI IDs")
32d4ec9a1681 ("drm/i915: Sort CFL PCI IDs")
df3478af1d73 ("drm/i915: Sort CML PCI IDs")
cd988984cbea ("drm/i915: Sort KBL PCI IDs")
b04d36f73771 ("drm/i915: Sort SKL PCI IDs")
9c0b2d30441b ("drm/i915: Sort HSW PCI IDs")
79033a0a7898 ("drm/i915: Ocd the HSW PCI ID hex numbers")
cfb3db8fdae2 ("drm/i915: Try to fix the SKL GT3/4 vs. GT3e/4e comments")
03e399020cd2 ("drm/i915: Add SKL GT1.5 PCI IDs")
812f044df08c ("drm/i915: Reclassify SKL 0x1923 and 0x1927 as ULT")
194909a32aed ("drm/i915: Reclassify SKL 0x192a as GT3")
82e84284ab7d ("drm/i915: Update Haswell PCI IDs")
24ea098b7c0d ("drm/i915/jsl: Split EHL/JSL platform info and PCI ids")
b50b7991b739 ("drm/i915/dg1: add more PCI ids")
d452bd091e16 ("drm/i915: break TGL pci-ids in GT 1 & 2")
f2bde2546b81 ("drm/i915: Remove dubious Valleyview PCI IDs")
0883d63b19bb ("drm/i915/adl_s: Add ADL-S platform info and PCI ids")
04057a1afc75 ("drm/i915: Sort EHL/JSL PCI IDs")
0e8e272f1368 ("drm/i915/ehl: Remove invalid PCI ID")
605f9c290c1a ("drm/i915: Sort ICL PCI IDs")
514dc424ce4f ("drm/i915: Sort CNL PCI IDs")
32d4ec9a1681 ("drm/i915: Sort CFL PCI IDs")
df3478af1d73 ("drm/i915: Sort CML PCI IDs")
cd988984cbea ("drm/i915: Sort KBL PCI IDs")
b04d36f73771 ("drm/i915: Sort SKL PCI IDs")
9c0b2d30441b ("drm/i915: Sort HSW PCI IDs")
79033a0a7898 ("drm/i915: Ocd the HSW PCI ID hex numbers")
cfb3db8fdae2 ("drm/i915: Try to fix the SKL GT3/4 vs. GT3e/4e comments")
03e399020cd2 ("drm/i915: Add SKL GT1.5 PCI IDs")
812f044df08c ("drm/i915: Reclassify SKL 0x1923 and 0x1927 as ULT")
194909a32aed ("drm/i915: Reclassify SKL 0x192a as GT3")
82e84284ab7d ("drm/i915: Update Haswell PCI IDs")
24ea098b7c0d ("drm/i915/jsl: Split EHL/JSL platform info and PCI ids")
b50b7991b739 ("drm/i915/dg1: add more PCI ids")
d452bd091e16 ("drm/i915: break TGL pci-ids in GT 1 & 2")

Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
Reviewed-by: Landwerlin, Lionel G <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9086ff9dafa87f9cde10fa142f88588003399d7e

Git commit 3b6cfb20fb3b7dd081a2adbf042dc9913a252c03 by Lionel Landwerlin (on behalf of Tejas Upadhyay) on 18/02/2021 at 10:44..
intel: add INTEL_ADLS_IDS to the pciids list

This enables drm_intel_bufmgr on ADLS

Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3b6cfb20fb3b7dd081a2adbf042dc9913a252c03

Git commit 1225171bd55f65d2b29aadb860b6bcd11a07079a by Leo Liu on 21/02/2021 at 21:48..
amdgpu_drm: sync up with the latest amdgpu_drm.h based on drm-next (https://cgit.freedesktop.org/drm/drm)

What are these headers?
Adding currently missing stuff from https://cgit.freedesktop.org/drm/drm/tree/include/uapi/drm/amdgpu_drm.h based on
the latest commit there:

commit f730f39eb981af249d57336b47cfe3925632a7fd (HEAD -> drm-next, tag: drm-next-2021-02-19, origin/drm-next, origin/HEAD)
Merge: 4f8ad4045b38 81ce8f04aa96
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Feb 19 13:54:29 2021 +1000

    Merge tag 'drm-intel-next-fixes-2021-02-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next

Which headers go where?
From https://cgit.freedesktop.org/drm/drm/tree/include/uapi/drm/amdgpu_drm.h to
https://cgit.freedesktop.org/mesa/drm/tree/include/drm/amdgpu_drm.h

When and which headers to update?
If the kernel uapi drm header changes, the header here should be sync-ed.

When and how to update these files
The steps for generating this patch:

 - Switch to freedesktop drm-next kernel branch (https://cgit.freedesktop.org/drm/drm);
 - Install the headers via `make headers_install';
 - Copy from kernel "include/uapi/drm/amdgpu_drm.h" to libdrm "include/drm/amdgpu_drm.h";
 - generate the patch;

The commits from drm-next (https://cgit.freedesktop.org/drm/drm) are:

Mauro Carvalho Chehab (1)
c45dd3bda1c809eb120452597097e14a96b58c1f drm/amdgpu: fix some kernel-doc markups

Huang Rui(3)
6fbcb00c7984fa7d49af2c361453c0397cdea400 drm/amdgpu: add TOC firmware definition
1e483203965bdab466af0739c1edf7da07da241d drm/amdgpu: add uapi to define van gogh memory type
f7b2cdb23abf62bc3d33c2e0b0009a09412ff475 drm/amdgpu: add uapi to define van gogh series

Pierre-Eric Pelloux-Prayer(1)
16c642ec3fe9a144fbe1e97dc56f13a6308f1381 drm/amdgpu: new ids flag for tmz (v2)

Yong Zhao(1)
130c88931f6cbdb4513d307b4a13fcfff08a8041 drm/amdgpu: Improve the MTYPE comments

Signed-off-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1225171bd55f65d2b29aadb860b6bcd11a07079a

Git commit 523b3658aa8efa746417e916c987de23740ce313 by Simon Ser on 26/02/2021 at 11:56..
xf86drmMode: add drmIsKMS

If a device has a primary node, it doesn't necessarily mean it's
suitable for KMS usage. For instance, render-only drivers also
expose primary nodes.

The check is extracted from Weston [1].

The motivation for this new function is two-fold:

- Avoid an unnecessary GETRESOURCES call. To check whether a
  primary node is suitable for KMS, we don't actually need to
  retrieve the object IDs we just need to check the counts.
- Avoid confusion in user-space and make sure user-space implements
  the check properly. For instance, wlroots doesn't [2]: it uses
  drmGetVersion which succeeds with render-only drivers.

[1]: https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/backend-drm/drm.c#L2689
[2]: https://github.com/swaywm/wlroots/blob/a290d7a78dc36275e24e54f84570f37a66dc67a4/backend/session/session.c#L268

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/523b3658aa8efa746417e916c987de23740ce313

Git commit 632f59fcbfc790a7546ceeac30c480b66901404c by Emil Velikov (on behalf of Simon Ser) on 26/02/2021 at 13:01..
xf86drm: warn about GEM handle reference counting

Users need to be careful when using drmPrimeHandleToFD or
drmPrimeFDToHandle directly. Mention GBM as a solution.

See [1] for an example mistake.

[1]: https://gitlab.freedesktop.org/drm/nouveau/-/issues/43#note_772661

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/632f59fcbfc790a7546ceeac30c480b66901404c

Git commit 06844b6eaefb03c65d9b84a5b8503449ed275bc8 by Emil Velikov on 26/02/2021 at 13:02..
Revert "xf86drm: cap number of reported devices by drmGetDevice(2)"

This reverts commit 8cb12a2528d795c45bba5f03b3486b4040fb0f45.

The commit fixed the OOB, yet it broke drmDevices2(0, NULL, 0) - aka we
did not return the total devices list.

Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/06844b6eaefb03c65d9b84a5b8503449ed275bc8

Git commit a9bb32cfe1ee87ff831707dfdcbcae56f2b2a036 by Emil Velikov on 26/02/2021 at 13:03..
xf86drm: cap number of reported devices by drmGetDevice(2)

Do as the documentation says - when devices non NULL, cap the reported
devices to max_devices. Otherwise we risk out-of-bound access
for users of the API.

v2:
 - Fix this w/o breaking the API

v3:
 - Drop local variables, flip inverted conditional (Simon)

Issue: https://gitlab.freedesktop.org/mesa/drm/-/issues/56
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a9bb32cfe1ee87ff831707dfdcbcae56f2b2a036

Git commit 2e67fef5f6c5870a7cdaa010496c84dc91d34e53 by Tejas Upadhyay on 02/03/2021 at 09:22..
intel: Add support for JSL

Add the PCI ID import for JSL.

V1 - Indentation
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e67fef5f6c5870a7cdaa010496c84dc91d34e53

Git commit 7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476 by Alistair Delva on 02/03/2021 at 16:29..
xf86drm: fix null pointer deref in drmGetBufInfo

If info.count is large, drmMalloc() / alloca() may fail, and the
resulting null pointer is not null checked before dereference.

Issue: https://gitlab.freedesktop.org/mesa/drm/-/issues/62

Reviewed-by: Simon Ser <contact at emersion.fr>
Signed-off-by: Alistair Delva <adelva at google.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476

Git commit 52f05d3d896480ee5431dcd444f53bb2a8e41cce by Fang Tan on 09/03/2021 at 08:57..
meson: use library() instead of shared_library().

This allows users to select the library type (static or shared)
using the Meson -Ddefault_library built-in option.

Issue: https://gitlab.freedesktop.org/mesa/drm/-/issues/45

Reviewed-by: Simon Ser <contact at emersion.fr>
Signed-off-by: Fang Tan <tanfang at uniontech.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52f05d3d896480ee5431dcd444f53bb2a8e41cce

Git commit cd3681976c3bbefa08236be86551c11bd4599c88 by Ashutosh Dixit on 22/03/2021 at 22:22..
intel: Keep libdrm working without pread/pwrite ioctls

The general direction at this time is to phase out pread/write ioctls and
not support them in future products. The ioctls have already been disabled
in i915 for future products. This means libdrm must handle the absence of
these ioctls. This patch does this by modifying drm_intel_gem_bo_subdata()
and drm_intel_gem_bo_get_subdata() to do the read/write using the
pread/pwrite ioctls first but when these ioctls are unavailable fall back
to doing the read/write using a combination of mmap and memcpy.

A similar solution was added to igt-gpu-tools in commit
ad5eb02eb3 ("lib/ioctl_wrappers: Keep IGT working without pread/pwrite
ioctls").

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cd3681976c3bbefa08236be86551c11bd4599c88

Git commit f5abbc30336198002ff2777284c8ad8816d08757 by Marek Olšák (on behalf of Jinzhou Su) on 24/03/2021 at 15:34..
test/amdgpu: remove static varible in Syncobj test

In syncobj test, wait thread and signal thread create
simultaneously. The ptr for GFX IB and SDMA IP should be
operated separately. With static, there will be risk that
GFX NOP is in SDMA IB or SDMA NOP is in GFX IB, then GFX or
SDMA hang caused.

Signed-off-by: Jinzhou Su <Jinzhou.Su at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f5abbc30336198002ff2777284c8ad8816d08757

Git commit 6d821612d9a4bc4f61d64040a1852a4f139bd28a by Simon Ser on 31/03/2021 at 07:42..
xf86drmMode: introduce drmModeGetPropertyType

We already have drm_property_type_is, but it's needlessly complicated
and doesn't cover all use-cases (requires the caller to provide a
type).

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d821612d9a4bc4f61d64040a1852a4f139bd28a

Git commit af871ec1a6f017b782943a11fb1c06b18c41bfe3 by Marek Olšák (on behalf of Lang Yu) on 01/04/2021 at 15:41..
drm/tests/amdgpu: fix Metadata test failed issue

The unit of size_metadata is one byte not four bytes.
Enable Metadata test.

Signed-off-by: Lang Yu <Lang.Yu at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af871ec1a6f017b782943a11fb1c06b18c41bfe3

Git commit a5a400c9581c3b91598623603067556b18084c5d by Marek Olšák (on behalf of Lang Yu) on 01/04/2021 at 15:41..
tests/amdgpu: fix bo eviction test issue

On Raven2/Picasso, the default VRAM size is 2048M,
and the default GTT size is 3072M. If max_allocation
of VRAM exceeds half of GTT size, GTT memory can't
hold evicted bo from VRAM and bo in itself at the
same time. Then amdgpu_cs_list_validate will failed
with "Not enough memory for command submission" error.

NOTE:
The installed DRAM should be larger than 8GB,
if the VRAM size is 2048M.

Signed-off-by: Lang Yu <Lang.Yu at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a5a400c9581c3b91598623603067556b18084c5d

Git commit b362850689d1b0048b7f4641cc236128b5a43773 by Simon Ser on 06/04/2021 at 08:37..
xf86drmMode: set FB_MODIFIERS flag when modifiers are supplied

The kernel will always return EINVAL if modifiers are supplied but
the flag DRM_MODE_FB_MODIFIERS isn't set. That's a pretty nice
footgun.

Be a little more helpful and set the flag if the user has supplied
a modifier array.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b362850689d1b0048b7f4641cc236128b5a43773

Git commit 50c98335c7b40133475193f4522dead20a787844 by Leo Liu on 06/04/2021 at 12:58..
amdgpu: sync up amdgpu_drm.h with latest from kernel

From drm-next:

commit 2cbcb78c9ee5520c8d836c7ff57d1b60ebe8e9b7
Merge: 06debd6e1b28 8c44390d8872
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Fri Mar 26 15:52:01 2021 +0100

    Merge tag 'amd-drm-next-5.13-2021-03-23' of https://gitlab.freedesktop.org/agd5f/linux into drm-next

    amd-drm-next-5.13-2021-03-23:

    amdgpu:
    ...

    UAPI:
    - amdgpu: Add a new INFO ioctl interface to query video capabilities
      rather than hardcoding them in userspace.  This allows us to provide
      fine grained asic capabilities (e.g., if a particular part is
      bandwidth limited, we can limit the capabilities).  Proposed userspace:
      https://gitlab.freedesktop.org/leoliu/drm/-/commits/info_video_caps
      https://gitlab.freedesktop.org/leoliu/mesa/-/commits/info_video_caps
    ...

    Danvet: A bunch of conflicts all over, but it seems to compile ... I
    did put the call to dc_allow_idle_optimizations() on a single line
    since it looked a bit too jarring to be left alone.

    Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
    From: Alex Deucher <alexander.deucher at amd.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210324040147.1990338-1-alexander.deucher@amd.com

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50c98335c7b40133475193f4522dead20a787844

Git commit 1d13cc1032bf66fca7fc28b7a5d96ceec96285a9 by Leo Liu on 06/04/2021 at 12:58..
amdgpu: add function of INFO ioctl for querying video caps

via the newly added uapi/amdgpu_drm interface

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d13cc1032bf66fca7fc28b7a5d96ceec96285a9

Git commit 6b4e956d299c6ff09a4abf89642ccc1beb455c88 by Leo Liu on 07/04/2021 at 13:54..
Bump version to 2.4.105

Signed-off-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b4e956d299c6ff09a4abf89642ccc1beb455c88

Git commit 991e95fd138e6b651e4c549772a08bc21a054ff6 by Feifei Xu on 09/04/2021 at 07:11..
tests/amdgpu: update gfx9 BufferCopy/BufferClear

buffer_load/store_format_xyzw require 64bit vgpr_a[2].
The original parameter is one u32. Modify the shader binary to
fit the 64bit parameter.

Signed-off-by: Feifei Xu <Feifei.Xu at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Tested-by: Gang Long <Gang.Long at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/991e95fd138e6b651e4c549772a08bc21a054ff6

Git commit 7b844dabf9aeffd495b6a7222a48932ff0039b52 by Feifei Xu on 12/04/2021 at 09:46..
tests/amdgpu:retire asic_id check on unsupported cases

Retire the asic_id check for AI family.

Signed-off-by: Feifei Xu <Feifei.Xu at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b844dabf9aeffd495b6a7222a48932ff0039b52

Git commit 3c02304c0422dd32dddbf28c0afa81435fe62124 by Alex Deucher (on behalf of James Zhu) on 14/04/2021 at 02:41..
tests/amdgpu/vcn: update to support aldebaran

VCN is supported after AI family Arcturus.

Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c02304c0422dd32dddbf28c0afa81435fe62124

Git commit 67a64bb9467e7ea32538e221caab1409662e486c by Pierre-Eric Pelloux-Prayer (on behalf of Huang Rui) on 14/04/2021 at 07:52..
test/amdgpu: use tmz ids to check whether enable security tests

Using tmz ids that reported from kernel to decide whether enable
security tests.

Signed-off-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67a64bb9467e7ea32538e221caab1409662e486c

Git commit 2fd85b8fbfaa8f016cb453b11f725a4d83288d13 by Timo Aaltonen on 14/04/2021 at 17:36..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fd85b8fbfaa8f016cb453b11f725a4d83288d13

Git commit 1ade88549e4bd2d53db9ed7606059864fa92f537 by Timo Aaltonen on 14/04/2021 at 19:32..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1ade88549e4bd2d53db9ed7606059864fa92f537

Git commit ae554b861c33e10a866fd1271a49c9875f5a75b9 by Timo Aaltonen on 15/04/2021 at 05:45..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae554b861c33e10a866fd1271a49c9875f5a75b9

Git commit 5126e481594c65294977305b7c40f812e32672c9 by Timo Aaltonen on 15/04/2021 at 05:45..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5126e481594c65294977305b7c40f812e32672c9

Git commit c7dc0465cf55f613f1caa085aa762db06cb14974 by Jinzhou Su on 19/04/2021 at 06:04..
test/amdgpu: Add emit mem sync flag for test IB

In syncobj test, 3 threads will be created. Sometimes
the first gfx IB and the third sdma IB will use same
physical page. There will be risk that sdma engine will
read gfx IB in the same physical page. So better to flush
the cache before commit the sdma IB.

Signed-off-by: Jinzhou Su <Jinzhou.Su at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c7dc0465cf55f613f1caa085aa762db06cb14974

Git commit 40f73d0b0b3936ccadc693edc25aad70c1225766 by Bas Nieuwenhuizen on 22/04/2021 at 18:24..
Revert "xf86drmMode: set FB_MODIFIERS flag when modifiers are supplied"

This reverts commit b362850689d1b0048b7f4641cc236128b5a43773.

This breaks when the kernel driver does not support modifiers and the
application properly zeroes the modifiers.

Acked-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40f73d0b0b3936ccadc693edc25aad70c1225766

Git commit 83538c08260c3472905f6b096a8cf6c30b384b05 by Timo Aaltonen on 26/04/2021 at 16:33..
control: Add libpciaccess-dev to libdrm-dev depends.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83538c08260c3472905f6b096a8cf6c30b384b05

Git commit b4847d97df43e3daaf1e5fa0576cf4eb8d635bf6 by Eric Engestrom on 30/04/2021 at 08:13..
ci: use archlinux/archlinux docker image instead of deprecated and now removed archlinux/base

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b4847d97df43e3daaf1e5fa0576cf4eb8d635bf6

Git commit bf08984682a2bc7c4a1e01dd2af8d4c1d75cea46 by Eric Engestrom on 30/04/2021 at 08:13..
ci: use `base-devel` tag of archlinux image instead of `base` and then installing `base-devel` after

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf08984682a2bc7c4a1e01dd2af8d4c1d75cea46

Git commit 00ac0e9e7d189d33fdaf29ae020a21629a75c68f by Timo Aaltonen on 05/05/2021 at 15:03..
revert-set-fb-modifiers-flag.diff: Revert a commit which broke chrome on certain setups.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/00ac0e9e7d189d33fdaf29ae020a21629a75c68f

Git commit 900b43e74874f32f8ac84b3b32cfdc6909179e86 by Timo Aaltonen on 05/05/2021 at 15:04..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/900b43e74874f32f8ac84b3b32cfdc6909179e86

Git commit 52fd2a25426fac43422589ada027ab208de20e32 by Karol Herbst on 06/05/2021 at 17:40..
nouveau: fix crash in pushbuf_dump with an unmapped bo

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52fd2a25426fac43422589ada027ab208de20e32

Git commit 2f04bd2d891dde617a4c7829188333cbdcdf0038 by Karol Herbst on 06/05/2021 at 17:41..
nouveau: mask push buffer length pushbuf_dump

nvc0 sets the NVC0_IB_ENTRY_1_NO_PREFETCH bit on some pushbuffers

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f04bd2d891dde617a4c7829188333cbdcdf0038

Git commit c0ae9cfa001788bc33d69bd3e65a2d4c417e2a5f by Karol Herbst on 06/05/2021 at 17:41..
nouveau: make debug features accessible in normal builds

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c0ae9cfa001788bc33d69bd3e65a2d4c417e2a5f

Git commit 17a51b0b31c6e7f0d862fe30d3a3222d152c2966 by Karol Herbst on 06/05/2021 at 17:41..
nouveau: rework debugging so we can also dump into a file

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17a51b0b31c6e7f0d862fe30d3a3222d152c2966

Git commit 91c3eb17009a07b4df33e4544dc4a75e5f672b44 by Karol Herbst on 06/05/2021 at 17:41..
novueau: document debug flags

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/91c3eb17009a07b4df33e4544dc4a75e5f672b44

Git commit cfbea78fdf85c0ea1bfd3e0038738f998f48b770 by Karol Herbst on 06/05/2021 at 17:41..
nouveau: add debug option to sync pushbuffer submissions

Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cfbea78fdf85c0ea1bfd3e0038738f998f48b770

Git commit d53ca92d185f56e85fbfaf420284fb4512ec4a2b by Timo Aaltonen on 08/05/2021 at 19:52..
Revert a commit causing additional dependencies to be added to *.pc.in. Also drop libpciaccess-dev from libdrm-dev Depends.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d53ca92d185f56e85fbfaf420284fb4512ec4a2b

Git commit d544f8d8416846d3d3b28abaa7620de2b3679b6e by Timo Aaltonen on 08/05/2021 at 19:52..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d544f8d8416846d3d3b28abaa7620de2b3679b6e

Git commit 77b642b6dea5daac884fac470d0215fac2caf8fc by Dave Airlie on 18/05/2021 at 03:38..
Bump version to 2.4.106

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/77b642b6dea5daac884fac470d0215fac2caf8fc

Git commit 4c8365183ec52e9309ecae45c725aa315562854d by Lionel Landwerlin (on behalf of Tejas Upadhyay) on 20/05/2021 at 12:01..
intel: Add support for ADLP

Add ADLP platform support and PCIIDs

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Uma Shankar <uma.shankar at intel.com>
Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya at intel.com>
Signed-off-by: Caz Yokoyama <caz.yokoyama at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c8365183ec52e9309ecae45c725aa315562854d

Git commit 4e178807b9e593024a7b34f03f578f178eb7967e by Alex Deucher (on behalf of Lang Yu) on 01/06/2021 at 12:56..
Revert "tests/amdgpu: fix bo eviction test issue"

This reverts commit a5a400c9581c3b91598623603067556b18084c5d.

Bo evict test was disabled by default per below commit.
So still keep it as disabled.

1f6a85cc test/amdgpu: disable bo eviction test by default

Signed-off-by: Lang Yu <Lang.Yu at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Reviewed-by: Lang Yu <Lang.Yu at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4e178807b9e593024a7b34f03f578f178eb7967e

Git commit 140ce56dcbf21b8619b9b0a9d3433b7f31566dc5 by Alex Deucher (on behalf of Rahul Kumar) on 07/06/2021 at 14:59..
amdgpu: Added product name for E9390,E9560 and E9565 dgpu

Update marketing names.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/140ce56dcbf21b8619b9b0a9d3433b7f31566dc5

Git commit ae2e2bd68a1583c25112507b0885a92a82ebce13 by Alex Deucher (on behalf of Andrey Grodzovsky) on 09/06/2021 at 20:27..
tests/amdgpu: Fix valgrind warning

Struct access after free

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae2e2bd68a1583c25112507b0885a92a82ebce13

Git commit d330f68c11833230908b21f48c13da1ab1612fd3 by Alex Deucher (on behalf of Andrey Grodzovsky) on 09/06/2021 at 20:27..
test/amdgpu: Add helper functions for hot unplug

Expose close device and add open device wich preserves
test index.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d330f68c11833230908b21f48c13da1ab1612fd3

Git commit d4b780a73554a6c431110cbdf8644a33cd2443ac by Alex Deucher (on behalf of Andrey Grodzovsky) on 09/06/2021 at 20:27..
test/amdgpu/hotunplug: Add test suite for GPU unplug

Add plug/unplug device and open/close device file
infrastructure.
Add basic test - unplug device while device file still
open. Close device file afterwards and replug the device.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4b780a73554a6c431110cbdf8644a33cd2443ac

Git commit b5f611cc370bb939b132df68f164c832690339c6 by Alex Deucher (on behalf of Andrey Grodzovsky) on 09/06/2021 at 20:27..
tests/amdgpu/hotunplug: Add unplug with cs test.

Same as simple test but while doing cs

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5f611cc370bb939b132df68f164c832690339c6

Git commit 93a4708ac08c1a5eb28bd6b714b6bd19a11acf0c by Alex Deucher (on behalf of Andrey Grodzovsky) on 09/06/2021 at 20:27..
tests/amdgpu/hotunplug: Add hotunplug with exported bo test

Disconnect device while BO is exported.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/93a4708ac08c1a5eb28bd6b714b6bd19a11acf0c

Git commit d615430c6843c19b0e7bc3ad6fb3f4b1074e2d4c by Alex Deucher (on behalf of Andrey Grodzovsky) on 09/06/2021 at 20:27..
tests/amdgpu/hotunplug: Add hotunplug with exported fence

Disconnect device while fence is exported.
Also disable this test for sytem with single GPU.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d615430c6843c19b0e7bc3ad6fb3f4b1074e2d4c

Git commit 085ee3e488b48453a3ed82ae3b95dbcb6920a8c6 by Bas Nieuwenhuizen on 15/06/2021 at 13:08..
amdgpu: Add vamgr for capture/replay.

In Vulkan we have extensions to assist with capture in replay in a
world where addresses are returned to the application. This involves
creating buffers at the same VA during replay as they were during
capture.

By itself libdrm_amdgpu already has support for this, but there is
the obvious failure mode that if another buffer is already allocated
at that VA things fail spectacularly. This is an actual issue as
internal buffers, like winsys images or shader binaries also
participate in the same VA allocation.

To avoid this problem applications have to create buffers which
are going to be captured with a flag, and the implementation is to
separate VA allocation for those buffers to reduce the collision risk:

"Implementations are expected to separate such buffers in the GPU address
space so normal allocations will avoid using these addresses. Apps/tools
should avoid mixing app-provided and implementation-provided addresses for
buffers created with VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT,
to avoid address space allocation conflicts."

This patch implements that by adding a flag for these buffers and allocating
address space from the top of the address range instead of the bottom.

Signed-off-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Christian König <christian.koenig at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/085ee3e488b48453a3ed82ae3b95dbcb6920a8c6

Git commit 90c9175c8197855afeb1eed17d98fa36b51c43a3 by Eleni Maria Stea on 20/06/2021 at 06:20..
include <sys/types.h> in xf86drmMode when the OS is FreeBSD

<sys/types.h> need to be included in xf86drmMode.c for type u_int in
<sys/sysctl.h> (that is included when OS is FreeBSD) to be recognized.

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/90c9175c8197855afeb1eed17d98fa36b51c43a3

Git commit 8bc56fe0fb16e2d421b6651b731045e14cf926ef by Eleni Maria Stea on 20/06/2021 at 06:20..
_WANT_KERNEL_ERRNO must be defined in FreeBSD for ERESTART to be used

In FreeBSD's errno.h ERESTART is not defined by default, only when the
user requests the pseudo-errors returned inside the kernel to be
enabled. As a result the block where drmCommandWriteRead is
called returns compile error. Defined _WANT_KERNEL_ERRNO to fix it (see
FreeBSD's /usr/include/errno.h)

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8bc56fe0fb16e2d421b6651b731045e14cf926ef

Git commit f287d1990b859602b0cbe50f0b903343c3b67d1a by Eleni Maria Stea on 20/06/2021 at 11:32..
Conditionally include <linux/limits.h> and <sys/params.h> on Linux, BSD

<linux/limits.h> should be included conditionally for Linux only, also
SPECNAMELEN used conditionally when the OS is FreeBSD requires to
include <sys/params.h>.

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f287d1990b859602b0cbe50f0b903343c3b67d1a

Git commit 67e911977fbe1f444045f59028c149a04ba29566 by Daniel Stone (on behalf of Marius Vlad) on 22/06/2021 at 11:16..
xf86drm: Add a human readable representation for format modifiers

Introduces two new methods to retrieve a human readable representation of a
format modifier:

drmGetFormatModifierName() - returns a format modifier as a string,
from a token modifier
drmGetFormatModifierVendor() - returns the vendor as a string, from a
token modifier

and the fourcc_mod_get_vendor macro that returns the vendor.

New format modifiers added in drm_fourcc.h uapi kernel header should be
sync'ed up with libdrm and should include a human readable
representation for that format modifier, in order to display it
correctly as a string.

That happens with the help of a python script that reads up drm_fourcc
header file and outputs a static table comprised of token modifiers
alongside a vendor table (Suggested-by Simon Ser <contact at emersion.fr>).

The reason for doing it in libdrm is to have a unified place instead of each
user of libdrm having a way to keep track of the format modifiers.

With this patch, modetest has also been modified to make use of it.

Signed-off-by: Marius Vlad <marius.vlad at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/67e911977fbe1f444045f59028c149a04ba29566

Git commit a04b674887586bf05594abaf7c55fd8d630898db by Daniel Stone (on behalf of Marius Vlad) on 22/06/2021 at 11:16..
xf86drm: Add a vendor function to decode the format modifier

As format modifiers can be encoded in quite complex forms, the static
table previously added is not sufficient to retrieve, extract and decode
the token formats to a human-readable string.  This patch introduces a
vendor specific callback which could be used to perform an additional
search to match up with vendor encoding scheme, which, will be used
first, before resorting to searching the static table.

With it, add support for decoding the ARM format modifiers.

Signed-off-by: Marius Vlad <marius.vlad at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a04b674887586bf05594abaf7c55fd8d630898db

Git commit 99a0522aef04e08c6e0be7a7a020f12c51d24c47 by Daniel Stone (on behalf of Marius Vlad) on 22/06/2021 at 11:16..
xf86drm: Add support for decoding Nvidia format modifiers

Signed-off-by: Marius Vlad <marius.vlad at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/99a0522aef04e08c6e0be7a7a020f12c51d24c47

Git commit 9ae8f17d563a81212ca2f61a3427ed559c105644 by Daniel Stone (on behalf of Marius Vlad) on 22/06/2021 at 11:16..
xf86drm: Add support for decoding AMD format modifiers

Signed-off-by: Marius Vlad <marius.vlad at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9ae8f17d563a81212ca2f61a3427ed559c105644

Git commit 65d89398081b33b7498bccaee6915e977f589ec2 by Daniel Stone (on behalf of Marius Vlad) on 22/06/2021 at 11:16..
xf86drm: Add support for decoding AMLOGIC format modifiers

Signed-off-by: Marius Vlad <marius.vlad at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/65d89398081b33b7498bccaee6915e977f589ec2

Git commit 5d97031e8aa717c83993fcdaa45b0812ddceb3b0 by Daniel Stone (on behalf of Marius Vlad) on 22/06/2021 at 11:16..
README.rst: Include some notes about syncing uapi headers

Signed-off-by: Marius Vlad <marius.vlad at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5d97031e8aa717c83993fcdaa45b0812ddceb3b0

Git commit ab72fde87e6d42aebd1b959e1b81d4fd4cdde1a5 by Alex Deucher on 30/06/2021 at 01:06..
amdgpu: update marketing names

From 21.20 release.

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ab72fde87e6d42aebd1b959e1b81d4fd4cdde1a5

Git commit 9cef5dee3cd817728c83aeb3c2010c1954e4c402 by Bas Nieuwenhuizen on 02/07/2021 at 01:12..
Bump version to 2.4.107

Signed-off-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9cef5dee3cd817728c83aeb3c2010c1954e4c402

Git commit f2370136f04a4a1b9fee27c5b6b886d39270f665 by Timo Aaltonen on 02/07/2021 at 13:02..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2370136f04a4a1b9fee27c5b6b886d39270f665

Git commit dfe7d312cda4bac21f0716c4f87ba4ab3537ba64 by Timo Aaltonen on 02/07/2021 at 13:03..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dfe7d312cda4bac21f0716c4f87ba4ab3537ba64

Git commit 2f2dbac0ea61658861839c42f396194b9abdc8d6 by Timo Aaltonen on 02/07/2021 at 13:07..
revert-set-fb-modifiers-flag.diff: Dropped, upstream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2f2dbac0ea61658861839c42f396194b9abdc8d6

Git commit 87a68fe9e49605d200ab2604e45b8a9d868d1922 by Luben Tuikov on 16/07/2021 at 16:10..
tests/amdgpu: Fix TMZ secure bounce test

Fix the TMZ secure bounce test, in that Bob's
buffer has to be created encrypted (with the
encrypted flag set), so that when we copy from
Alice's buffer, which is also encrypted, to Bob's
buffer, the copy can be successful and the data
actually copied.

This fixes the test and it no longer fails. Tested
on Sienna Cichlid.

Cc: Alex Deucher <Alexander.Deucher at amd.com>
Cc: Christian König <christian.koenig at amd.com>
Cc: Aaron Liu <aaron.liu at amd.com>
Cc: Huang Rui <ray.huang at amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/87a68fe9e49605d200ab2604e45b8a9d868d1922

Git commit 4ac7d6bf5dd1d7aae893fafee98a309d357e5bd6 by Aaron Liu on 23/07/2021 at 02:24..
test/amdgpu: Bob to Alice copy should be TMZ in secure bounce test

SDMA copy from Alice to Bob is in TMZ mode. Therefore
SDMA copy back from Bob to Alice should be in TMZ mode too.

Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4ac7d6bf5dd1d7aae893fafee98a309d357e5bd6

Git commit a819b9ad3b336248c01db8b4e1f184125e0c83da by Emma Anholt (on behalf of Eric Anholt) on 30/07/2021 at 17:58..
meson: Build libdrm.so as an unversioned lib on Android.

Android vendor libraries don't have sonames, and libdrm.so shouldn't
either.  This lets a Mesa built against a libdrm.so built for Android
be copied directly to a Chrome OS ARC installation.

Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a819b9ad3b336248c01db8b4e1f184125e0c83da

Git commit e6fb9ccf2a36b6c64501ff19984ac820473f058f by Emma Anholt (on behalf of Eric Anholt) on 30/07/2021 at 17:58..
meson: Don't build libkms for Android.

Nobody wants that that I know of.

Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e6fb9ccf2a36b6c64501ff19984ac820473f058f

Git commit 149b99fe54edd8a7a2459e8d36c2d47c1cfd4db8 by Dave Airlie (on behalf of Mario Kleiner) on 02/08/2021 at 02:39..
headers: drm: Sync with drm-next

Generated using make headers_install from the drm-next
tree - git://anongit.freedesktop.org/drm/drm
branch - drm-next
commit - 8a02ea42bc1d4c448caf1bab0e05899dad503f74

Some changes were omitted, e.g., to nouveau_drm.h, i915_drm.h, and
msm_drm.h, as the nouveau and i915 changes looked to me as if they
could break compatibility or require other compatibility fixes to
libdrm which i can not judge. msm_drm.h broke the build, as there
are definitely changes needed to libdrm's msm support code.

The shortlog below is edited to only list what corresponds to files
that are included here, because it looked safe to me.

The changes were as follows (shortlog from
b10733527bfd864605c33ab2e9a886eec317ec39..HEAD):

Aaron Liu (1):
      drm/amdgpu: add uapi to define yellow carp series

Alex Deucher (1):
      drm/amdgpu: add INFO ioctl support for querying video caps (v4)

Christian Gmeiner (1):
      drm/etnaviv: provide more ID values via GET_PARAM ioctl.

Felix Kuehling (1):
      drm/amdgpu: Add new placement for preemptible SG BOs

Jiawei Gu (1):
      drm/amdgpu: Add vbios info ioctl interface

Lionel Landwerlin (1):
      drm: fix drm_mode_create_blob comment

Mario Kleiner (1):
      drm/fourcc: Add 16 bpc fixed point framebuffer formats.

Nirmoy Das (1):
      drm/amdgpu: remove AMDGPU_GEM_CREATE_SHADOW flag

Noralf Trønnes (1):
      drm/uapi: Add USB connector type

Radhakrishna Sripada (1):
      drm/framebuffer: Format modifier for Intel Gen 12 render compression with Clear Color

Simon Ser (13):
      drm: improve kernel-docs in drm_mode.h
      drm: document drm_mode_get_connector
      drm: document drm_mode_modeinfo
      drm: document that user-space should force-probe connectors
      drm/doc: atomic implicitly enables other caps
      drm/doc: re-format drm.h file comment
      drm/doc: demote old doc-comments in drm.h
      drm/fourcc: fix Amlogic format modifier masks
      drm/uapi: document kernel capabilities
      drm/connector: demote connector force-probes for non-master clients
      drm: reference mode flags in DRM_CLIENT_CAP_* docs
      drm: clarify and linkify DRM_CLIENT_CAP_WRITEBACK_CONNECTORS docs
      drm: document minimum kernel version for DRM_CLIENT_CAP_*

Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/149b99fe54edd8a7a2459e8d36c2d47c1cfd4db8

Git commit 8d0fb9b3f225183fb3276a0e4ae1f8354a3519e8 by Jordan Justen on 02/08/2021 at 22:31..
libdrm: NOTE! Default branch is now main

To update your local repository to use the new default branch, these
commands may help:

$ git fetch origin
$ git checkout master
$ git branch -m main
$ git branch --set-upstream-to=origin/main
$ git remote set-head origin --auto

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8d0fb9b3f225183fb3276a0e4ae1f8354a3519e8

Git commit 2021b4f7ad564b094fc52e271bb357e00a116484 by Timo Aaltonen on 04/08/2021 at 10:04..
control: Add python3-setuptools to build-depends.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2021b4f7ad564b094fc52e271bb357e00a116484

Git commit 7776a3396b3f3e63b1a4912f56fa3e2b791fc43d by Timo Aaltonen on 04/08/2021 at 10:08..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7776a3396b3f3e63b1a4912f56fa3e2b791fc43d

Git commit a85cf2f2c30fe8e481280e45bf09b953d8e52eb1 by Timo Aaltonen on 04/08/2021 at 10:28..
release to experimental
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a85cf2f2c30fe8e481280e45bf09b953d8e52eb1

Git commit 1d29e1df8b140b7ad3466d5122e703435ef5e436 by Karol Herbst on 04/08/2021 at 16:27..
nouveau: print bo address in the GPU/CPU vm and its size

v2: print bo->offset as 64 bit

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Karol Herbst <kherbst at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d29e1df8b140b7ad3466d5122e703435ef5e436

Git commit 1a4c0ec9aea13211997f982715fe5ffcf19dd067 by Eric Engestrom on 14/08/2021 at 08:05..
xf86drm: fix mem leak in drm_usb_dev_path()

`sysfs_uevent_get()` returns a `strndup()`ed string, which must be `free()`d.

Fixes: bf63f8acdc94164ad29d ("libdrm: Handle usb_interface devices for usb parsing")
Reviewed-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1a4c0ec9aea13211997f982715fe5ffcf19dd067

Git commit af49f5075e920a7a08b5b0d5e01b63d914ce7585 by Timo Aaltonen on 20/08/2021 at 09:22..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/af49f5075e920a7a08b5b0d5e01b63d914ce7585

Git commit a7892962e1cb1e5d20db42132ba4fe4e77caf568 by Tejas Upadhyay on 24/08/2021 at 07:19..
intel: sync ADL-S PCI IDs with kernel

Align with kernel commits:

c79b846f892d ("drm/i915/adl_s: Update ADL-S PCI IDs")
3f50033dd88a ("drm/i915/adl_s: ADL-S platform Update PCI ids for Mobile BGA")

Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a7892962e1cb1e5d20db42132ba4fe4e77caf568

Git commit d201a41d1ae4fc5cccacfa9b1122bcce8d303035 by Simon Ser (on behalf of ZhiJie.Zhang) on 02/09/2021 at 09:26..
tests/modetest: get cursor width and height by drmGetCap

Should get cursor width and height by drmGetCap.

Signed-off-by: ZhiJie.Zhang <zhangzhijie at loongson.cn>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d201a41d1ae4fc5cccacfa9b1122bcce8d303035

Git commit 4529056e4fc427987eaad388f9dd6b9ca5b7148f by Alex Deucher on 20/09/2021 at 19:10..
amdgpu: add marketing names from 21.30

Add new marketing names

Acked-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4529056e4fc427987eaad388f9dd6b9ca5b7148f

Git commit a97f265c7dc1924a38a899082caf97519f8c532e by Alex Deucher on 20/09/2021 at 19:10..
amdgpu: add new marketing name

Acked-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a97f265c7dc1924a38a899082caf97519f8c532e

Git commit 07e7085a9784802983d7f0e723958ef107373d0c by Timo Aaltonen on 21/09/2021 at 13:51..
Include static libs in -dev again. (LP: #1944107)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07e7085a9784802983d7f0e723958ef107373d0c

Git commit adb785b8e043987312257d318d58ea6605889c01 by Timo Aaltonen on 21/09/2021 at 13:53..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/adb785b8e043987312257d318d58ea6605889c01

Git commit 92297548f7986eb206eb03d1b70d41c6b79f0f17 by Timo Aaltonen on 22/09/2021 at 08:51..
control: Add libpciaccess-dev to -dev Depends, required by libdrm_intel.pc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/92297548f7986eb206eb03d1b70d41c6b79f0f17

Git commit d09d64145d4a17ab08192305f8328cb4bb1e8926 by Timo Aaltonen on 22/09/2021 at 08:52..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d09d64145d4a17ab08192305f8328cb4bb1e8926

Git commit 1b127e91a0bd55fd7c3cc037e7738c42a1540656 by Timo Aaltonen on 22/09/2021 at 10:56..
control: Add valgrind to libdrm-dev Depends. (Closes: #994873)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1b127e91a0bd55fd7c3cc037e7738c42a1540656

Git commit 79e1ee5f6ec0d5cb6c545fc6c4469225c58e8130 by Timo Aaltonen on 23/09/2021 at 02:27..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79e1ee5f6ec0d5cb6c545fc6c4469225c58e8130

Git commit e609cfec60b1a76e12e5e5d27b9cd006e433bea3 by Timo Aaltonen on 23/09/2021 at 11:08..
control: Fix valgrind dependency archs for libdrm-dev.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e609cfec60b1a76e12e5e5d27b9cd006e433bea3

Git commit 280ebe099b9b596b3b5922d3b6998d2ae423e869 by Timo Aaltonen on 23/09/2021 at 11:09..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/280ebe099b9b596b3b5922d3b6998d2ae423e869

Git commit 02dd464bf6693e0abe741f3cf76eb664dd887ac6 by Lucas De Marchi (on behalf of José Roberto de Souza) on 23/09/2021 at 21:40..
intel: Sync pci ids

Sync libdrm with kernel, a new DG1 pci was added.
Commit 5f0d4214938d ("drm/i915/dg1: Add new PCI id")

Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02dd464bf6693e0abe741f3cf76eb664dd887ac6

Git commit 122ff0e8788c728ccfe3136f1c2d1ae7b44205c4 by Tvrtko Ursulin on 24/09/2021 at 12:55..
intel: Do not assert on unknown chips in drm_intel_decode_context_alloc

There is this long standing nit of igt/tools/intel_error_decode asserting
when you feed it an error state from a GPU the local libdrm does not know
of.

To fix this I need a tweak in drm_intel_decode_context_alloc to make it
not assert but just return NULL (which seems an already possible return
value).

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/122ff0e8788c728ccfe3136f1c2d1ae7b44205c4

Git commit 264e66b5e9357f7a058953a0a22986caa0275e34 by Simon Ser on 27/09/2021 at 10:57..
xf86drm: add GEM_CLOSE ioctl wrapper

We have wrappers for PRIME_HANDLE_TO_FD and PRIME_FD_TO_HANDLE,
but not for GEM_CLOSE. Add it so that callers don't need to
manually call drmIoctl.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/264e66b5e9357f7a058953a0a22986caa0275e34

Git commit f9c27a9e8c9eb481e3ed93e08d869b03053352b2 by Emil Velikov (on behalf of Jason Ekstrand) on 27/09/2021 at 11:26..
intel: Drop legacy execbuffer support

Execbuffer2 support was introduced to libdrm in b50964027be, 10 years
ago, and no driver has used the old execbuf path since.  There's no need
to support 10-year-old kernels.

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9c27a9e8c9eb481e3ed93e08d869b03053352b2

Git commit 375e22d90312b3c17596c82573bc5bc36ffed825 by Timo Aaltonen on 27/09/2021 at 11:36..
Drop valgrind support, it's not ready for multi-arch. (Closes: #994955)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/375e22d90312b3c17596c82573bc5bc36ffed825

Git commit bdb88c84a5dd6ab11976f775c95e11b1a06f4797 by Timo Aaltonen on 27/09/2021 at 11:37..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bdb88c84a5dd6ab11976f775c95e11b1a06f4797

Git commit e939bd1e8c6737b6ae84c5e2f2045542e6e2beb5 by Simon Ser on 27/09/2021 at 13:01..
xf86drmMode: make drm_property_type_is arg const

This function only needs read-only access to the property. This is
not a breaking ABI change.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e939bd1e8c6737b6ae84c5e2f2045542e6e2beb5

Git commit bb709e60233d457f0c63d7b77baaab80f264ba16 by Simon Ser on 27/09/2021 at 13:01..
xf86drmMode: switch to standard inline qualifier

__inline is non-standard, inline is.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bb709e60233d457f0c63d7b77baaab80f264ba16

Git commit 02ac4a0a36c2aabbd39dab0c7cd13ed2516a2bed by Simon Ser on 27/09/2021 at 13:02..
xf86drmMode: simplify drm_property_type_is

No need to have two branches depending on DRM_MODE_PROP_EXTENDED_TYPE.
We can just use drmModeGetPropertyType instead.

This does introduce a slight change: previously, drm_property_type_is()
could be called with non-type flags such as IMMUTABLE. However no user
seems to do this (checked KWin/Mutter/Sway/Weston/Xorg).

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/02ac4a0a36c2aabbd39dab0c7cd13ed2516a2bed

Git commit 2d718a4ad74b62bc446427f6ce56f95193b574ff by Timo Aaltonen on 27/09/2021 at 17:10..
rules: Forcibly disable valgrind.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2d718a4ad74b62bc446427f6ce56f95193b574ff

Git commit 9b2880947656440dec4b098e402b20d035f6fa1b by Timo Aaltonen on 27/09/2021 at 17:10..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9b2880947656440dec4b098e402b20d035f6fa1b

Git commit d2875fe008663d08269107ca3e6364a14d6ccc5d by Dennis Tsiang on 04/10/2021 at 10:18..
drm_fourcc: sync drm_fourcc with latest drm-next kernel

Update drm_fourcc.h to include latest changes from drm-next branch.
This brings in AFRC (Arm Fixed-Rate Compression) modifiers.

Generated using make headers_install.
Generated from drm-next branch commit 6880fa6

Signed-off-by: Dennis Tsiang <dennis.tsiang at arm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d2875fe008663d08269107ca3e6364a14d6ccc5d

Git commit bd26b61cff33517840b3f1900bbe1849b8672f65 by Dennis Tsiang on 04/10/2021 at 10:18..
xf86drm: Update drmGetFormatModifierNameFromArm to handle AFRC

Update drmGetFormatModifierNameFromArm function to handle AFRC
modifiers.

Signed-off-by: Dennis Tsiang <dennis.tsiang at arm.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd26b61cff33517840b3f1900bbe1849b8672f65

Git commit ef77e5e1eb6f17a653911342c5c1f7392a13d873 by Simon Ser on 06/10/2021 at 07:03..
amdgpu: use drmCloseBufferHandle

Instead of using a hand-rolled amdgpu_close_kms_handle function,
use the function from libdrm core, which does exactly the same
thing.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ef77e5e1eb6f17a653911342c5c1f7392a13d873

Git commit 7e13fe1dbf49507ae7bd55a279bed91e5dfb7a65 by Simon Ser on 06/10/2021 at 07:03..
intel: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7e13fe1dbf49507ae7bd55a279bed91e5dfb7a65

Git commit 80f8fbd4889dff42f2a23877d216b22cae5225c0 by Simon Ser on 06/10/2021 at 07:03..
radeon: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/80f8fbd4889dff42f2a23877d216b22cae5225c0

Git commit bd1f320bc0ef74a56deed2762526fd25dc71c0ef by Simon Ser on 06/10/2021 at 07:03..
etnaviv: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bd1f320bc0ef74a56deed2762526fd25dc71c0ef

Git commit 2fda5f9b0c2d623f69ecec1f4a8a45e785b6cadf by Simon Ser on 06/10/2021 at 07:03..
exynos: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2fda5f9b0c2d623f69ecec1f4a8a45e785b6cadf

Git commit 7b67fec649b07cd5ded66814ba799b09b4d407c8 by Simon Ser on 06/10/2021 at 07:03..
freedreno: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7b67fec649b07cd5ded66814ba799b09b4d407c8

Git commit 53ef4b37a1a070d88b9073995a7110daeab3bc48 by Simon Ser on 06/10/2021 at 07:03..
nouveau: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/53ef4b37a1a070d88b9073995a7110daeab3bc48

Git commit bf23fe37bef8a5c78724f6e4fd96901632bf9373 by Simon Ser on 06/10/2021 at 07:03..
omap: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bf23fe37bef8a5c78724f6e4fd96901632bf9373

Git commit 751752d264fc78ddc7d749d03eeb47c67f93ff7b by Simon Ser on 06/10/2021 at 07:03..
tegra: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/751752d264fc78ddc7d749d03eeb47c67f93ff7b

Git commit dd3655ce73c6e905265cd677fdc53dc28376a290 by Simon Ser on 06/10/2021 at 07:03..
man: refer to drmCloseBufferHandle instead of DRM_IOCTL_GEM_CLOSE

This function in libdrm core wraps DRM_IOCTL_GEM_CLOSE.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd3655ce73c6e905265cd677fdc53dc28376a290

Git commit d77ccdf3ba6f5a396049241bff18a7a9c8329659 by Christian König on 20/10/2021 at 13:15..
amdgpu: add amdgpu_stress utility v2

Simple yet useful command line utility to simulate memory pressure.

Already found quite a number of problems in TTM with that.

v2: replace spaces with tabs

Signed-off-by: Christian König <christian.koenig at amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d77ccdf3ba6f5a396049241bff18a7a9c8329659

Git commit fda3d0010fa3a292d857271f24e400bb2dfbad3d by Simon Ser (on behalf of Alex Richardson) on 02/11/2021 at 10:44..
Fix -Werror=format build errors on FreeBSD

On 64-bit FreeBSD targets uint64_t is generally defined as `unsigned long`
and not `unsigned long long`. Use the PRI macros to fix -Wformat.

Signed-off-by: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fda3d0010fa3a292d857271f24e400bb2dfbad3d

Git commit f256bb9afdcf5b677d0ac3853e45bc97fc2956d4 by Joshua Ashton on 04/11/2021 at 06:03..
amdgpu: Make marketing names consistent

Fixes sporadic (TM), capitalization, missing AMD suffixes and spacing.

Signed-off-by: Joshua Ashton <joshua at froggi.es>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f256bb9afdcf5b677d0ac3853e45bc97fc2956d4

Git commit e641e2a632d779f638ac2ba983b9fceb20b3fac4 by Simon Ser (on behalf of Luigi Santivetti) on 08/11/2021 at 16:20..
xf86drm: add iterator API for DRM/KMS IN_FORMATS blobs

Add support for parsing IN_FORMATS property blobs. Providing libdrm
with this functionality helps to standardise how user-space reads
kernel blobs and decreases duplication on the client side.

drmModeFormatModifierBlobIterNext() allows the caller to view
formats and associated modifiers given a valid property blob.
An example is available inside the libdrm unit test, modetest.c.

Signed-off-by: Luigi Santivetti <luigi.santivetti at imgtec.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e641e2a632d779f638ac2ba983b9fceb20b3fac4

Git commit d76c387125c7ad336f39121b9c3148361731bdad by Simon Ser on 08/11/2021 at 16:35..
build: bump version to 2.4.108

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d76c387125c7ad336f39121b9c3148361731bdad

Git commit dd3d6dd3216f817724238b3f7510b7ace41c9d8e by Sui Jingfeng (on behalf of suijingfeng) on 12/11/2021 at 03:55..
radeon: remove duplicate declaration of struct radeon_bo_manager in radeon_bo.h

Reviewed-by: Simon Ser <contact at emersion.fr>
Signed-off-by: suijingfeng <suijingfeng at loongson.cn>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dd3d6dd3216f817724238b3f7510b7ace41c9d8e

Git commit 07f2f7aaeccd11f4bf2bb48ca4fd7e11f106d579 by Timo Aaltonen on 17/11/2021 at 09:27..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/07f2f7aaeccd11f4bf2bb48ca4fd7e11f106d579

Git commit 5f7166501b5e2120507b3443523feb3b7592aea9 by Timo Aaltonen on 17/11/2021 at 09:28..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f7166501b5e2120507b3443523feb3b7592aea9

Git commit 79276dec664d9337952c6d54169def363ee3667b by Timo Aaltonen on 17/11/2021 at 09:30..
libdrm-tests: Add amdgpu_stress.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79276dec664d9337952c6d54169def363ee3667b

Git commit 859d64663e270acacc02909532d1eadb87bdc399 by Timo Aaltonen on 17/11/2021 at 09:32..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/859d64663e270acacc02909532d1eadb87bdc399

Git commit addd33ec2bbcd2cee0b9880bf569b73aa3bd1daa by Timo Aaltonen on 17/11/2021 at 09:35..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/addd33ec2bbcd2cee0b9880bf569b73aa3bd1daa

Git commit 57e0b0552e11b3f04e6d5704c1c7efea5f83ffe4 by Simon Ser on 19/11/2021 at 14:30..
xf86drm: add drmGetDeviceFromDevId

This adds a function to get a drmDevicePtr from a dev_t identifier
of a device. This is useful for Wayland that uses these to identify
devices over the protocol.

This is done by taking the implementation of drmGetDevice2, and removing
the call to fstat to find the dev_t.

Signed-off-by: Scott Anderson <scott.anderson at collabora.com>
Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/57e0b0552e11b3f04e6d5704c1c7efea5f83ffe4

Git commit e722ba9f675e29f3cc7998c2aeab7dd2451cc458 by Simon Ser (on behalf of Emmanuel Vadot) on 23/11/2021 at 08:43..
ci: Switch freedesktop/ci-templates

This switch to the latest ci-templates.
Most of the file is taken from the one in wayland.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e722ba9f675e29f3cc7998c2aeab7dd2451cc458

Git commit b40d0a7d6c247347f777c417e92f84ec67ea0b39 by Simon Ser (on behalf of Emmanuel Vadot) on 23/11/2021 at 08:43..
ci: Add FreeBSD support

Use qemu to do CI on FreeBSD.
Not everything is compiled as all arm aren't supported on FreeBSD.
Same thing for Nouveau.
The tests aren't enable for now as they are all failing.

Signed-off-by: Emmanuel Vadot <manu at FreeBSD.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b40d0a7d6c247347f777c417e92f84ec67ea0b39

Git commit f70e8ae83590d2a1fb1972dc7e875dd6a9355b77 by Bas Nieuwenhuizen on 23/11/2021 at 16:02..
amdgpu: Add new function to get fd.

Dual purpose:
 - The drm fd dedupe functionality confuses the radeonsi
   amdgpu winsys if radeonsi isn't the first thing opening
   the device. By exposing the fd we can detect this case.
 - For a common mesa Vulkan sync objects implementation
   with syncobj. (notable: no buffer allocation)

Both shouldn't interferece with libdrm_amdgpu functionality
though it does somewhat piece the abstraction of the library.

Signed-off-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3424
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5630
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f70e8ae83590d2a1fb1972dc7e875dd6a9355b77

Git commit 997edcd37ff0a8c26cc9514f6a376b10f721892e by Simon Ser (on behalf of Eleni Maria Stea) on 25/11/2021 at 20:28..
xf86drm: fix compiler warnings

Used casting to fix warnings about assigning different enum types to
variables. Used error checks in places where snprintf is called and
output might be truncated to fix gcc format-truncation warnings.

v2: Removed a change in drm.h (Simon Ser)
v3, v4: Removed unecessary braces in snprintf (Simon Ser)

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/997edcd37ff0a8c26cc9514f6a376b10f721892e

Git commit febfe0addd51a48c7c9dd7fd9ddf9b5a3b5cd7c6 by Simon Ser on 25/11/2021 at 20:33..
build: bump version to 2.4.109
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/febfe0addd51a48c7c9dd7fd9ddf9b5a3b5cd7c6

Git commit 294b9c8322ab0f3b3e0c497e388064e4e3920f60 by Leo Liu (on behalf of Sathishkumar S) on 10/12/2021 at 00:31..
tests/amdgpu: add jpeg tests support

v2:
- remove dec create/destroy msg as its not relevant to jpeg (Leo)
- enable the test for jpeg2/jpeg3 (Leo)
- validate checksum of result (Leo)
- add appropriate comments (Leo)

v3:
- linux style function definition indent (James)
- use multiline comment delimiter (Leo)

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/294b9c8322ab0f3b3e0c497e388064e4e3920f60

Git commit 9324e4f054fa4d7c213400545e8fa6b42392c5a5 by Dylan Baker on 14/12/2021 at 00:20..
meson: use dictionary kwargs

So we don't have to duplicate the libdrm library call just to not set
the version keyword for android

Reviewed-by: Simon Ser <contact at emersion.fr>
Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9324e4f054fa4d7c213400545e8fa6b42392c5a5

Git commit d9188a7750c99ce9f3d9e0e2aea93f86491e0cb6 by Dylan Baker on 14/12/2021 at 00:20..
meson: add override_dependency when possible

This allows consumers of libdrm as a subproject to use the simpler
`dependency('libdrm', fallback : 'libdrm')` syntax, as the libdrm build
files already tell meson that they override a dependency called
"libdrm".

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d9188a7750c99ce9f3d9e0e2aea93f86491e0cb6

Git commit 3d8e59ce0199076e120d754b2fe9e7c71691a1d1 by Raviteja Goud Talla on 16/12/2021 at 12:50..
intel: sync i915_pciids.h with kernel

Align with kernel commit:

52407c220c44c ("drm/i915/rpl-s: Add PCI IDS for Raptor Lake S")

Cc: Anusha Srivatsa <anusha.srivatsa at intel.com>
Signed-off-by: Raviteja Goud Talla <ravitejax.goud.talla at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3d8e59ce0199076e120d754b2fe9e7c71691a1d1

Git commit c3206299b4f2f9d7e0afee694026e17dbf1fb8ab by Timo Aaltonen on 18/12/2021 at 16:50..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c3206299b4f2f9d7e0afee694026e17dbf1fb8ab

Git commit 0e9af4f5b3556dbeff7da7219d12b103777dc1a1 by Timo Aaltonen on 18/12/2021 at 16:51..
bump the version
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0e9af4f5b3556dbeff7da7219d12b103777dc1a1

Git commit 2890de794d75eb0b49e42c5c3e26420565bb27dc by Timo Aaltonen on 18/12/2021 at 17:00..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2890de794d75eb0b49e42c5c3e26420565bb27dc

Git commit fc186b458ceededf527b3efe52bfb9c6f9775ac5 by Timo Aaltonen on 18/12/2021 at 17:02..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fc186b458ceededf527b3efe52bfb9c6f9775ac5

Git commit 3fd04550bd8f790d78d42a03665277d6389f5a6d by Timo Aaltonen on 20/12/2021 at 05:35..
amdgpu1.symbols: Updated. (Closes: #1001965)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3fd04550bd8f790d78d42a03665277d6389f5a6d

Git commit 72c51f8a755e26336e12f2b562b3e5a6b3eaeb37 by Timo Aaltonen on 20/12/2021 at 05:40..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/72c51f8a755e26336e12f2b562b3e5a6b3eaeb37

Git commit 0c620c5766c6bad588ef855832b62b9ad2390964 by Tejas Upadhyay (on behalf of ravitejax) on 21/12/2021 at 09:29..
intel: Add support for RPLS platform

Fixes: 3d8e59ce019907 ("intel: sync i915_pciids.h with kernel")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0c620c5766c6bad588ef855832b62b9ad2390964

Git commit 287cdb0390983b862a1dd4d8cda0a791d7701569 by Simon Ser on 21/12/2021 at 13:07..
releasing: s/master/main/

This default branch name has been changed. Update RELEASING
accordingly.

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/287cdb0390983b862a1dd4d8cda0a791d7701569

Git commit 440e2d7a34de5c839c4d6d758b21b1bc359255d5 by Lionel Landwerlin (on behalf of Tejas Upadhyay) on 21/12/2021 at 13:54..
intel: Add support for ADL-N

Add ADL-N platform support and PCIIDs

Align with kernel commit:
7e28d0b26759 ("drm/i915/adl-n: Enable ADL-N platform")

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/440e2d7a34de5c839c4d6d758b21b1bc359255d5

Git commit fa80f49df8c3355c754a908722a422c610b6110a by Leo Liu (on behalf of Guchun Chen) on 14/01/2022 at 14:25..
tests/amdgpu: Add VCN test support for Biege Goby

Added Beige Goby chip id in vcn test.

Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Reviewed-By: Veerabadhran Gopalakrishnan <Veerabadhran.gopalakrishnan at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa80f49df8c3355c754a908722a422c610b6110a

Git commit 63d06ad3c30483577f194d1d1faafc4fe23aeef3 by Dylan Baker (on behalf of Eric Engestrom) on 20/01/2022 at 00:08..
use standard `__typeof__()` instead of GNU extension `typeof()`

And switch to c_std=c99. This simplifies using libdrm as a meson
subproject for mesa.

v2: (dylan)
  - switch to c99 as the standard
  - Fix amdgpu security tests as well

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Emma Anholt <emma at anholt.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/63d06ad3c30483577f194d1d1faafc4fe23aeef3

Git commit 94bc8144167eed215621ef61a3dd3435d4faf26e by Samuel Pitoiset on 20/01/2022 at 17:32..
amdgpu: update_drm.h for new CTX OP to set/get stable pstates

Based on agd5f/drm-next.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/94bc8144167eed215621ef61a3dd3435d4faf26e

Git commit de84cdc563ecc0d054a20454a5fa4f00648548ba by Samuel Pitoiset on 20/01/2022 at 17:32..
amdgpu: implement new CTX OP to set/get stable pstates

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/de84cdc563ecc0d054a20454a5fa4f00648548ba

Git commit 847be2651fd02e452b59a7462e9829d87430a3d3 by Samuel Pitoiset on 20/01/2022 at 17:32..
tests/amdgpu: add a test for new CTX OP to get/set stable pstates

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/847be2651fd02e452b59a7462e9829d87430a3d3

Git commit 6b0b493555af7ef9374d6b2e7feafd848090d6e7 by Dylan Baker on 20/01/2022 at 18:07..
meson: switch the meson builtin for symbol visiblity

This allows meson to check if the compiler supports gnu style symbol
visibility, and apply the appropriate flags as necessary, rather than us
adding them by hand

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6b0b493555af7ef9374d6b2e7feafd848090d6e7

Git commit eaf234c1489f53035fba1698c1a27781f5755be6 by Dylan Baker on 20/01/2022 at 18:07..
meson: switch to cc.get_supported_arguments

This is generally faster, as meson is able to parallelize the checks for
us.

This also removes the workaround for checking gcc/clang -Wno-*
arguments, which meson now handles internally so we don't need to handle
it ourselves.

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/eaf234c1489f53035fba1698c1a27781f5755be6

Git commit 52b96a6fbfeb107b447a722c7eb9da0756ae2d21 by Dylan Baker on 20/01/2022 at 18:08..
meson: use more standard formatting for better readability

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/52b96a6fbfeb107b447a722c7eb9da0756ae2d21

Git commit f9539d4128b30e0321b6d36a5abfb900f5593f3c by Dylan Baker on 20/01/2022 at 18:08..
meson: use cc.check_header instead of open coding

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f9539d4128b30e0321b6d36a5abfb900f5593f3c

Git commit 38c568775e19dd99d72d5564752ad27781a9a102 by Dylan Baker on 20/01/2022 at 18:08..
meson: use cc.has_function_attribute instead of open coding

It's less code, and also allows meson to short circuit for compilers is
knows don't support this.

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/38c568775e19dd99d72d5564752ad27781a9a102

Git commit cc161205432875c23f237d97488c9076ce64cf29 by Dylan Baker on 20/01/2022 at 18:20..
meson: use the modern interface for pkg.generate

This produces no differences in the generated output. I've had to
manually add `requires : 'libdrm'` to libdrm_intel, otherwise libdrm
ends up in `Requires.private` instead of `Requires`.

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc161205432875c23f237d97488c9076ce64cf29

Git commit 7aede93ef9a755f4080cf047b7b263466f4381be by Dylan Baker on 20/01/2022 at 18:20..
meson: use summary() instead of message

It's cleaner, it's nicer looking, and it's a nice builtin.

Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7aede93ef9a755f4080cf047b7b263466f4381be

Git commit 79fa377c8bdc84fde99c6a6ac17e554971c617be by Daniel Stone on 04/02/2022 at 06:16..
drm/atomic: Stable sort for atomic request de-duplication

Atomic request property lists are defined to be de-duplicated: an atomic
request can contain multiple sets for the same property on the same
object, and only the last one will take effect.

drmModeAtomicCommit already sorts the property set by object and
property ID. We were relying on qsort to also sort by cursor - i.e.
pointer value - when object and property ID are equal, however whilst
glibc does this, the sort order is explicitly undefined when the
comparator is equal. Using the pointer is also not stable on all
implementations.

Add an explicit 'cursor' member to each property set which is used as
the tie-breaker comparator.

Signed-off-by: Daniel Stone <daniels at collabora.com>
Fixes: #46
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/79fa377c8bdc84fde99c6a6ac17e554971c617be

Git commit 56f81e6776c1c100c3f627b2c1feb9dcae2aad3c by Samuel Pitoiset on 16/02/2022 at 10:00..
build: bump version to 2.4.110

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/56f81e6776c1c100c3f627b2c1feb9dcae2aad3c

Git commit da37e4817201614f73fb60c0e103b4e3324f74e0 by Timo Aaltonen on 18/02/2022 at 12:54..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/da37e4817201614f73fb60c0e103b4e3324f74e0

Git commit 2de7d517d518139a4f94bd347f71fe1486da9680 by Timo Aaltonen on 18/02/2022 at 12:55..
version bump
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2de7d517d518139a4f94bd347f71fe1486da9680

Git commit a248c08b1ed6fce0692f45aea31b703f40fbd1b6 by Timo Aaltonen on 18/02/2022 at 13:14..
Update signing-key.asc.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a248c08b1ed6fce0692f45aea31b703f40fbd1b6

Git commit 8cd5adda1c1f26b0ca9fcb814352225f9060754a by Timo Aaltonen on 18/02/2022 at 13:21..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8cd5adda1c1f26b0ca9fcb814352225f9060754a

Git commit dc873ee59095813ffcb5c757d128b0a864bc698c by Timo Aaltonen on 18/02/2022 at 13:22..
control: Bump debhelper-compat to 13, policy to 4.6.0.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dc873ee59095813ffcb5c757d128b0a864bc698c

Git commit 8f39948a47f5d86bd3b12c39511040c3c754e841 by Timo Aaltonen on 18/02/2022 at 13:22..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f39948a47f5d86bd3b12c39511040c3c754e841

Git commit 1d92f327411308dbc98502b8e64a5f3f3bc42f2a by Leo Liu (on behalf of Sathishkumar S) on 19/02/2022 at 23:09..
tests/amdgpu: enable jpeg test based on ip query

enable jpeg test if ip query is successful and avoid family_id
based checks, instead use ip major/minor version

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju at amd.com>
Reviewed-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1d92f327411308dbc98502b8e64a5f3f3bc42f2a

Git commit d13ab997f5664db24f1d4e324374c1d5b19895eb by Leo Liu (on behalf of Sathishkumar S) on 19/02/2022 at 23:10..
tests/amdgpu: enable vcn test based on ip query

family_id checks can be removed and instead use ip major/minor version

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju at amd.com>
Reviewed-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d13ab997f5664db24f1d4e324374c1d5b19895eb

Git commit bca42ae004a5a79eb4206c808922a2234c91c0db by Thierry Reding on 23/02/2022 at 13:41..
tegra: Indent according to .editorconfig

Reindent the sources according to the settings found in the newly added
.editorconfig.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bca42ae004a5a79eb4206c808922a2234c91c0db

Git commit bec2a28e98f430f4a82b085b4d1c69a98988359f by Thierry Reding on 23/02/2022 at 14:38..
tegra: Remove unused IOCTL implementations

The DRM_TEGRA_GEM_{GET,SET}_FLAGS and DRM_TEGRA_GEM_{GET,SET}_TILING
IOCTLs were badly designed and have since been obsoleted by framebuffer
modifiers. Remove these implementations to make it clear their usage is
discouraged.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/bec2a28e98f430f4a82b085b4d1c69a98988359f

Git commit e44e7816037c54bae766df5b07af07685e81e336 by Thierry Reding on 23/02/2022 at 14:38..
tegra: Extract common buffer object allocation code

All of the buffer object allocation functions use the same boilerplate
code. Move that code into a separate function that can be reused.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e44e7816037c54bae766df5b07af07685e81e336

Git commit 18427071831046aa7ff1071d053fc5956641a906 by Thierry Reding on 23/02/2022 at 14:39..
tegra: Fix mmap() of GEM buffer objects

Store 64-bit offset values and use libdrm's built-in drm_mmap() function
instead of mmap() to ensure the full 64-bit offset is used.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/18427071831046aa7ff1071d053fc5956641a906

Git commit f7a77f699341edc8d56381367383e51ac63941d7 by Thierry Reding on 23/02/2022 at 14:39..
tegra: Add flink helpers

Add helpers to export and import buffer objects via flink names.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7a77f699341edc8d56381367383e51ac63941d7

Git commit abe27b1757a59521336d26fe3b4df67f3f5d972f by Thierry Reding on 23/02/2022 at 14:39..
tegra: Add PRIME support helpers

These helpers facilitate exporting and importing buffer objects to and
from PRIME file descriptors.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abe27b1757a59521336d26fe3b4df67f3f5d972f

Git commit 69fa0dd9400f22b285a13bd4e099936ed9dfe4b3 by Thierry Reding on 23/02/2022 at 14:39..
tegra: Make API more consistent

Most functions in libdrm_tegra take as first parameter the object that
they operate on. Make the device and buffer object creation functions
follow the same scheme.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/69fa0dd9400f22b285a13bd4e099936ed9dfe4b3

Git commit 37e9695d51dafddb5535b79576d40cacd0c61de2 by Thierry Reding on 23/02/2022 at 14:39..
tegra: Install tegra-openclose test

Allow this simple test to be installed so that it can easily be run on a
target device.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37e9695d51dafddb5535b79576d40cacd0c61de2

Git commit 5f920e61c81d6a692efd5f2087b7b77f3ca5e953 by Thierry Reding on 23/02/2022 at 14:39..
tegra: Update for new UABI

This new UABI is a more modern version that works better with both old
and recent chips.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5f920e61c81d6a692efd5f2087b7b77f3ca5e953

Git commit dece59037d9392185e9add34ccdd5148c6e50c8b by Thierry Reding on 23/02/2022 at 14:39..
tegra: Include private.h in list of source files

This makes sure that the proper dependencies are created and that the
file is distributed.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dece59037d9392185e9add34ccdd5148c6e50c8b

Git commit b77af8ece6be4d35a88953965da2d5229b7d5a21 by Thierry Reding on 23/02/2022 at 14:40..
tegra: Add channel APIs

These new functions can be used to open a channel to a given engine, map
and unmap buffer objects to that channel, and close the channel.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b77af8ece6be4d35a88953965da2d5229b7d5a21

Git commit 4c18828e16f0f1ce4eabb289980c69090dc29453 by Thierry Reding on 23/02/2022 at 14:40..
tegra: Add job and push buffer APIs

These new functions can be used to create a job on a given channel, add
commands to the job using its push buffer and submit the job.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4c18828e16f0f1ce4eabb289980c69090dc29453

Git commit 55bc688f1104c2bf716e58bd11d076fa90d248e4 by Thierry Reding on 23/02/2022 at 14:40..
tegra: Add syncpoint APIs

These new functions can be used to allocate and free syncpoints, as well
as wait for a syncpoint threshold to be reached. Jobs can also be waited
on if a syncpoint was attached to them.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/55bc688f1104c2bf716e58bd11d076fa90d248e4

Git commit 37fbc4c892e3d89ba81c9b989a7a808e924ec72f by Thierry Reding on 23/02/2022 at 14:40..
tests: tegra: Add helper library for tests

This library provides helpers for common functionality needed by test
programs.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37fbc4c892e3d89ba81c9b989a7a808e924ec72f

Git commit 8f8e54d68811cc48274679a90a7f06dd2d2b0e60 by Thierry Reding on 23/02/2022 at 14:40..
tests: tegra: Add gr2d-fill test

This test uses the IOCTLs for job submission and fences to fill a sub-
region of the screen to a specific color using gr2d.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8f8e54d68811cc48274679a90a7f06dd2d2b0e60

Git commit 637d6a46d3eceba095d957924aab44c803acfa6f by Thierry Reding on 23/02/2022 at 14:40..
tests: tegra: Add syncpt-wait test

This is a very simple sanity test to check whether or not a syncpt can
be incremented by a host1x client. This uses gr2d on Tegra20 through
Tegra114 and VIC on Tegra124 and later.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/637d6a46d3eceba095d957924aab44c803acfa6f

Git commit b707a7165464b8b110005a990a013e64947bd0a1 by Thierry Reding on 23/02/2022 at 14:40..
tests: tegra: Add syncpoint timeout test

This test can be used to purposefully trigger a job timeout.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b707a7165464b8b110005a990a013e64947bd0a1

Git commit 2ddf703bc33bd82848ac24a54be2fca48f37cbae by Thierry Reding on 23/02/2022 at 14:40..
tests: tegra: Add VIC support

Implement a small abstraction interface to allow different versions of
VIC to be used transparently. An implementation will be chosen based on
the VIC version number reported by the DRM_TEGRA_IOCTL_OPEN_CHANNEL
IOCTL.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2ddf703bc33bd82848ac24a54be2fca48f37cbae

Git commit 8215b298328777093153f42013c00bbfcd1439d6 by Thierry Reding on 23/02/2022 at 14:40..
tests: tegra: Add VIC 3.0 support

The Video Image Composer (VIC) 3.0 can be found on NVIDIA Tegra124 SoCs.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8215b298328777093153f42013c00bbfcd1439d6

Git commit fa5dc0c925e96e99e7ea332cb99a4148d10b5691 by Thierry Reding on 23/02/2022 at 15:06..
tests: tegra: Add VIC 4.0 support

The Video Image Composer (VIC) 4.0 can be found on NVIDIA Tegra210 SoCs.
It uses a different class (B0B6) that is slightly incompatible with the
class found on earlier generations.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fa5dc0c925e96e99e7ea332cb99a4148d10b5691

Git commit 5217c5c747110d921d02f4b920c05c2c9e279085 by Thierry Reding on 23/02/2022 at 15:06..
tests: tegra: Add VIC 4.1 support

The Video Image Composer (VIC) 4.1 can be found on NVIDIA Tegra186 SoCs.
It uses a different class (B1B6) that is slightly incompatible with the
class found on earlier generations.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/5217c5c747110d921d02f4b920c05c2c9e279085

Git commit 26b872ebad78036424e8f27179179d77a13aa80a by Thierry Reding on 23/02/2022 at 15:06..
tests: tegra: Add VIC 4.2 support

The Video Image Composer (VIC) 4.2 can be found on NVIDIA Tegra194 SoCs.
It uses a different class (C5B6) that is slightly incompatible with the
class found on earlier generations, although it is backwards compatible
with the class implemented on Tegra186 (B1B6).

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26b872ebad78036424e8f27179179d77a13aa80a

Git commit e9ddc93d8ed0aec61477a42bb3cc3b10c4835cfa by Thierry Reding on 23/02/2022 at 15:06..
tests: tegra: Add VIC clear test

This test will attempt to use VIC to clear a surface.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e9ddc93d8ed0aec61477a42bb3cc3b10c4835cfa

Git commit 8c4887b4e1e8129b17478122c25a8c48066ac20c by Thierry Reding on 23/02/2022 at 15:06..
tests: tegra: Add VIC blit test

This test will attempt to use the VIC to blit from one surface to
another.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8c4887b4e1e8129b17478122c25a8c48066ac20c

Git commit 8376362245e5cc61e4fa4932ecbcc5cc1566e98f by Thierry Reding on 23/02/2022 at 15:06..
tests: tegra: Add VIC flip test

This test will attempt to use the VIC to blit one surface to another
and perform a vertical flip.

Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8376362245e5cc61e4fa4932ecbcc5cc1566e98f

Git commit b47c057d6932798ff174ddce68486c262ca8e3a6 by Andrey Grodzovsky on 01/03/2022 at 17:57..
tests/amdgpu/hotunplu: Enable hotunplug tests.

I tested with latest amd-staging-drm-next and after minor
fix for me all the testys pass. I bumped libdrm minor version
for this.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b47c057d6932798ff174ddce68486c262ca8e3a6

Git commit dce623f5256bc0e05c24a30e5b58e452cc883db6 by Alex Deucher on 02/03/2022 at 16:10..
test/amdgpu: only disable deadlock tests on asics without GPU reset

Switch the logic to only disable the tests for asics which don't
have GPU reset support.  This way we don't need to update it
every time we add a new asic which does support it.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/dce623f5256bc0e05c24a30e5b58e452cc883db6

Git commit 2e91f124a3414b43d8c24bdddfc23acbbc1403ee by Alex Deucher on 02/03/2022 at 16:51..
amdgpu: add marketing names from 21.50

Add new marketing names

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2e91f124a3414b43d8c24bdddfc23acbbc1403ee

Git commit 7c28f528309d15163678ac1a49e161e3b1692b50 by Alex Deucher (on behalf of Lu Jiacheng) on 09/03/2022 at 15:05..
tests/amdgpu: Add test suite CP DMA
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/7c28f528309d15163678ac1a49e161e3b1692b50

Git commit f2314a487158cde5f4eccf72dd77de30bb437c63 by Flora Cui on 30/03/2022 at 08:39..
tests/amdgpu: add draw test for gfx10

Signed-off-by: Flora Cui <flora.cui at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f2314a487158cde5f4eccf72dd77de30bb437c63

Git commit 85393adb12ad6277b21b885f11a3b94ef2d531db by Flora Cui on 30/03/2022 at 08:39..
tests/amdgpu: add dispatch test for gfx10

Signed-off-by: Flora Cui <flora.cui at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/85393adb12ad6277b21b885f11a3b94ef2d531db

Git commit 2b997bb4bb688be00620887c8646ff24ccb9396b by Daniel Stone on 15/04/2022 at 22:40..
libkms: Remove libkms completely

libkms was a very early attempt at a KMS management library, that only
got as far as handling requests to create buffers. It has since been
superseded by GBM in doing this, which everyone uses, unlike libkms
which no-one uses.

Remove it from the tree to avoid any confusion.

Signed-off-by: Daniel Stone <daniels at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2b997bb4bb688be00620887c8646ff24ccb9396b

Git commit 37d50e1cbfdb48a70e360c2c412568d3ed33a8aa by Matt Turner on 19/04/2022 at 20:10..
man: Fix some typos

Signed-off-by: Matt Turner <mattst88 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/37d50e1cbfdb48a70e360c2c412568d3ed33a8aa

Git commit 62e25c8baac80d6af1287c964d5d83eb255ef339 by Matt Turner on 19/04/2022 at 20:13..
man: Add formatting to drmModeGetConnector reference

Signed-off-by: Matt Turner <mattst88 at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/62e25c8baac80d6af1287c964d5d83eb255ef339

Git commit d95b12e7e3ed6a22f284afbc5d2356365b820ea8 by Raviteja Goud Talla (on behalf of Tejas Upadhyay) on 21/04/2022 at 17:34..
intel: Add support for RPLP

Add RPLP platform support and PCIIDs

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
Signed-off-by: Raviteja Goud Talla <ravitejax.goud.talla at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d95b12e7e3ed6a22f284afbc5d2356365b820ea8

Git commit 678a32b98fc39fe385b3bb824d58d2927821c5f6 by Karol Herbst on 03/05/2022 at 11:23..
nouveau: add ioctl wrapper to check for dead channels

v2: explicitly set nr_push to 0 as well

Signed-off-by: Karol Herbst <kherbst at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/678a32b98fc39fe385b3bb824d58d2927821c5f6

Git commit c907d4ade13a0ef883972f4bafdc94bc8c1f3573 by Eleni Maria Stea on 09/05/2022 at 11:56..
xf86drm.c: fix C99 warning

Moved declaration to the top to resolve C99 compliance warning.

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/c907d4ade13a0ef883972f4bafdc94bc8c1f3573

Git commit 4caec56fb8ebfe475a83315a12941d80808f4dee by Eleni Maria Stea on 09/05/2022 at 12:53..
modeprint, modetest, proptest: cast __u64 to uint64_t

It seems that __u64 values are defined differently across systems. In
glibc it's defined as unsigned long, in Linux kernel headers
(int-ll64.h) as unsigned long long, and on FreeBSD as uint64_t so it
matches glibc. A temporal solution is to cast all __u64 values to
uint64_t to avoid warnings on Linux, but ideally we'd like a better fix
in the future.

See also: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/212
for discussion.

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4caec56fb8ebfe475a83315a12941d80808f4dee

Git commit ae6d81da2093b139ece952913f8f00dcc26ce7b9 by Eleni Maria Stea on 09/05/2022 at 12:54..
tests/modeprint: fix argument type

Replaced the type PRId64 with PRIu64 in a printf as the argument was
unsigned to fix the related compiler warning.

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/ae6d81da2093b139ece952913f8f00dcc26ce7b9

Git commit 3f266e57d04472500a0ce79c249b3421b29f40f9 by Alex Deucher on 13/05/2022 at 17:20..
amdgpu: add marketing names from 22.10

Add new marketing names

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3f266e57d04472500a0ce79c249b3421b29f40f9

Git commit 362a93d1fbc3011a2c1b9ff875465d4e70beb211 by Guchun Chen on 26/05/2022 at 13:02..
tests/amdgpu: use appropriate ring for different asics

Use compute ring in case of no gfx ring.

Signed-off-by: Guchun Chen <guchun.chen at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/362a93d1fbc3011a2c1b9ff875465d4e70beb211

Git commit f801b07a60740425604d6563e5dc399375108bc4 by Dave Airlie on 03/06/2022 at 04:04..
build: bump version to 2.4.111

Signed-off-by: Dave Airlie <airlied at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f801b07a60740425604d6563e5dc399375108bc4

Git commit 3bede5dbbcd307d9fb675562f780bf9525efb3d4 by Simon Ser on 08/06/2022 at 12:02..
gen_table_fourcc: strip _MODIFIER suffix for INVALID

This is the only modifier printed with a "_MODIFIER" suffix. It
looks inconsistent when callers already print this word (e.g.
"modifier: INVALID_MODIFIER").

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Marius Vlad <marius.vlad at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3bede5dbbcd307d9fb675562f780bf9525efb3d4

Git commit f83ad09dc04c9f918ee8836bac9d88dac5de6745 by Simon Ser on 09/06/2022 at 09:44..
xf86drmMode: constify drmModeAtomicReq functions

This acts as an additional ABI guarantee, and improves
documentation for users.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f83ad09dc04c9f918ee8836bac9d88dac5de6745

Git commit 0b21fcb214c46d2d3ff03d7c2abe5f50470ad83c by Leo Liu (on behalf of Sathishkumar S) on 11/06/2022 at 16:13..
tests/amdgpu: fix decode test failure on VCN2.5

For VCN2.5 wrong index was chosen, fix it.

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0b21fcb214c46d2d3ff03d7c2abe5f50470ad83c

Git commit f7828dc180ba3427b5e405fab25e9846c07322bc by Leo Liu (on behalf of Saleemkhan Jamadar) on 11/06/2022 at 16:13..
tests/amdgpu/vcn:vcn encoder unit test

 Add support for vcn encoder unit test

Reviewed-by: Ruijing Dong <ruijing.dong at amd.com>
Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar at amd.com>
Signed-off-by: Satyajit Sahu <satyajit.sahu at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f7828dc180ba3427b5e405fab25e9846c07322bc

Git commit 50f8d517733d24fce6693ffae552f9833e2e6aa9 by Simon Ser on 02/07/2022 at 20:13..
xf86drmMode: introduce drmModeGetConnectorTypeName

User-space often needs to print the name of a connector type.
When a new connector type is added, all user-space programs need
to be updated to support the new connector type.

Expose a function to get a connector type name in libdrm.

The names are taken from the kernel [1].

[1]: https://cgit.freedesktop.org/drm/drm/tree/drivers/gpu/drm/drm_connector.c?h=4fc8cb47fcfdc93e274a1291757e478df4f9c39b#n83

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/50f8d517733d24fce6693ffae552f9833e2e6aa9

Git commit 0427c1f669ea9b71a9c417f558fcff1666a045e3 by Simon Ser on 02/07/2022 at 20:13..
tests: use drmModeGetConnectorTypeName

Drop util_lookup_connector_type_name and use
drmModeGetConnectorTypeName instead.

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0427c1f669ea9b71a9c417f558fcff1666a045e3

Git commit 3ee004ef529f43366fdd1f4d32b26872cc82c6ca by Simon Ser on 02/07/2022 at 20:22..
xf86drmMode: introduce drmModeConnectorGetPossibleCrtcs

Nowadays, users don't really care about encoders except for retrieving
the list of CRTCs compatible with a connector. Introduce a new function
so that users no longer need to deal with encoders.

This is a re-do of [1], but with a slightly different API.

Signed-off-by: Simon Ser <contact at emersion.fr>

[1]: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/102
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ee004ef529f43366fdd1f4d32b26872cc82c6ca

Git commit f340254c63b89b3f537f1555f547db354256108d by Timo Aaltonen on 05/07/2022 at 06:57..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f340254c63b89b3f537f1555f547db354256108d

Git commit 84a232213301f44a0570079f5ce68f5006507d13 by Timo Aaltonen on 05/07/2022 at 07:11..
version bump
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/84a232213301f44a0570079f5ce68f5006507d13

Git commit 8034bf6629a3f592a993b4cdc855e2ede945b87d by Timo Aaltonen on 05/07/2022 at 07:17..
install, rules: libkms got removed.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8034bf6629a3f592a993b4cdc855e2ede945b87d

Git commit 17667435bf3aae95d045e08ec037142360472ef0 by Timo Aaltonen on 06/07/2022 at 05:25..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/17667435bf3aae95d045e08ec037142360472ef0

Git commit 0234e82a3f6435286b96a52edf0283a125d1a09a by Timo Aaltonen on 06/07/2022 at 05:26..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/0234e82a3f6435286b96a52edf0283a125d1a09a

Git commit 60cf6bcef1390473419df14e3214da149dbd8f99 by Simon Ser on 06/07/2022 at 08:43..
build: bump version to 2.4.112

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/60cf6bcef1390473419df14e3214da149dbd8f99

Git commit e214a6a6e88610aed09a046aac23e61430b76975 by Alex Deucher on 18/07/2022 at 21:08..
amdgpu: update marketing names for 22.20

Add new marketing names.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e214a6a6e88610aed09a046aac23e61430b76975

Git commit e83aaae15eb201782cade233912c481e0807f82e by Leo Liu (on behalf of James Zhu) on 20/07/2022 at 22:23..
tests/amdgpu: enable vcn swRing test for version 4 and later

Enable vcn decode software ring test for version 4 and later.

Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e83aaae15eb201782cade233912c481e0807f82e

Git commit 8be30428641ea759bfbf660cc97eb138ced873f9 by Leo Liu (on behalf of Ruijing Dong) on 20/07/2022 at 22:23..
tests/amdgpu/vcn: align comments for AMDGPU_HW_IP_VCN_ENC

From VCN4, AMDGPU_HW_IP_VCN_ENC is re-used to support both encoding
and decoding jobs.

Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/8be30428641ea759bfbf660cc97eb138ced873f9

Git commit 6070e6a798a12eb13e4ea4a6f6dea6878b86c4f4 by Leo Liu (on behalf of Ruijing Dong) on 20/07/2022 at 22:23..
tests/amdgpu/vcn: add unified queue support in vcn4

add unified queue headers on the existing tests.

Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6070e6a798a12eb13e4ea4a6f6dea6878b86c4f4

Git commit 512c8a88ca7a9263e4fabe5a8002219dc09f85f1 by Eric Curtin on 22/07/2022 at 12:25..
tests/util: Add simpledrm driver

Add an entry for the "simpledrm" driver, so that the test utilities
work with the simpledrm driver without passing the -M argument.

Reviewed-by: Lucas Stach <l.stach at pengutronix.de>
Signed-off-by: Eric Curtin <ecurtin at redhat.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/512c8a88ca7a9263e4fabe5a8002219dc09f85f1

Git commit 40fcca248b1f1e2d373e2b0c8cedfa94f19fe6c6 by Stephan Lachnit on 25/07/2022 at 15:37..
build: set c_std to c11

Signed-off-by: Stephan Lachnit <stephanlachnit at debian.org>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/40fcca248b1f1e2d373e2b0c8cedfa94f19fe6c6

Git commit 722e0486f4fcfce38d23d16fe86ac193d9f2f7bd by Timo Aaltonen on 29/07/2022 at 07:52..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/722e0486f4fcfce38d23d16fe86ac193d9f2f7bd

Git commit b5df4b0ce4df28c49bf4dfe36576f71b237e9925 by Timo Aaltonen on 29/07/2022 at 08:13..
version bump
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/b5df4b0ce4df28c49bf4dfe36576f71b237e9925

Git commit 03bca77443668b43ae78a36db505984236ad7449 by Timo Aaltonen on 29/07/2022 at 08:17..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03bca77443668b43ae78a36db505984236ad7449

Git commit 82ed5ed36660b224d1311eb2609057b759eab99c by Timo Aaltonen on 29/07/2022 at 08:23..
rules: Add more test binaries for arm. (Closes: #1016096)
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/82ed5ed36660b224d1311eb2609057b759eab99c

Git commit 119b491328f7f57ca9a74985b9085bbfac020d2b by Timo Aaltonen on 29/07/2022 at 08:24..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/119b491328f7f57ca9a74985b9085bbfac020d2b

Git commit 2dedd555b28752ee5ff0284f65460bcba76e705f by Timo Aaltonen on 29/07/2022 at 11:39..
rules: Fix arm build.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/2dedd555b28752ee5ff0284f65460bcba76e705f

Git commit db5923aca05405652c724998af93be39c3f52bff by Timo Aaltonen on 29/07/2022 at 11:39..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/db5923aca05405652c724998af93be39c3f52bff

Git commit 254a261f8ccf53ea1a4155227ae81fd2a4909366 by Timo Aaltonen on 29/07/2022 at 12:25..
libdrm-tegra0.symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/254a261f8ccf53ea1a4155227ae81fd2a4909366

Git commit abfc6afbf236a8e0ad425d00cef6d1eeb073866b by Timo Aaltonen on 29/07/2022 at 12:25..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/abfc6afbf236a8e0ad425d00cef6d1eeb073866b

Git commit 98794e2a0d537f3376970918bf955361191720c7 by Matt Roper on 03/08/2022 at 22:48..
lib: sync i915_pciids.h with kernel

This synchronizes with kernel commit 7835303982d1 ("drm/i915/mtl: Add
MeteorLake PCI IDs") to bring in the missing PCI IDs for several recent
platforms.

These days adding PCI IDs to libdrm doesn't really matter for real-world
system usage.  However there are still a few driver testing situations
where they're needed (such as the IGT dma-buf tests that still rely on
libdrm's bufmgr code).  At some point we should probably break that
final IGT dependency on libdrm so that these PCI ID resyncs won't be
necessary anymore, but that hasn't happened yet.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/5416
Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/98794e2a0d537f3376970918bf955361191720c7

Git commit 176e6ce6f3504b9cf5ce6a2a8b2e55cb201b986d by Likun Gao (on behalf of Hawking Zhang) on 15/08/2022 at 06:10..
tests/amdgpu: skip gfx CE subtest in gfx11

CE is not available in gfx11

Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
Reviewed-by: Likun Gao <Likun.Gao at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/176e6ce6f3504b9cf5ce6a2a8b2e55cb201b986d

Git commit cc3c80c6aec8a3fa5b3b4445724c5035d3c5e336 by Likun Gao (on behalf of Flora Cui) on 15/08/2022 at 06:10..
tests/amdgpu: refactor dispatch/draw test

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cc3c80c6aec8a3fa5b3b4445724c5035d3c5e336

Git commit f1b897ec8371f999abc9cc4fa087e34ab9e11899 by Likun Gao (on behalf of Flora Cui) on 15/08/2022 at 06:10..
tests/amdgpu: add dispatch/draw test for gfx11

Signed-off-by: Flora Cui <flora.cui at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f1b897ec8371f999abc9cc4fa087e34ab9e11899

Git commit 3c04686ae5427df4b34580f3709859d4d73028fb by Likun Gao on 15/08/2022 at 06:10..
tests/amdgpu: add sdma corrupted header hang test

Issue corrupted header for sdma to trigger SDMA hang test.

Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3c04686ae5427df4b34580f3709859d4d73028fb

Git commit 003eb2a554edd55c410678568328847a23b97e1a by Likun Gao on 15/08/2022 at 06:10..
tests/amdgpu: add sdma slow copy linear hang test

Issue slow copy linear for sdma to trigger SDMA hang test.

Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/003eb2a554edd55c410678568328847a23b97e1a

Git commit 46d1e99a5d291b22d86ac52710b079491beedff8 by Simon Ser (on behalf of Simon Zeni) on 18/08/2022 at 09:58..
build: make tests optional

Building the project as a meson subproject, meson inherits the warning level
from the parent project. Making the tests optional bypasses that issue and
reduces build time.

Signed-off-by: Simon Zeni <simon at bl4ckb0ne.ca>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/46d1e99a5d291b22d86ac52710b079491beedff8

Git commit 24163f40d3b4c7790c843e99f85143e551201608 by Eric Engestrom on 22/08/2022 at 16:40..
ci: remove system meson before installing the pip one
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/24163f40d3b4c7790c843e99f85143e551201608

Git commit 1637d8b02088fff62aed5a9796eddcb9f0f60656 by Eric Engestrom on 22/08/2022 at 16:41..
ci: fix the tested meson version
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/1637d8b02088fff62aed5a9796eddcb9f0f60656

Git commit f32db9d35469efab8e717bb9baf8e681fdefa86b by Eric Engestrom on 22/08/2022 at 17:50..
ci/freedesktop: bump python version of docutils package as 3.8 no longer exists
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/f32db9d35469efab8e717bb9baf8e681fdefa86b

Git commit 3e3874d50d29d1179ad996afcd8d359d3aea2639 by Eric Engestrom on 22/08/2022 at 17:53..
ci: bump images tags to take !255 into effect

Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3e3874d50d29d1179ad996afcd8d359d3aea2639

Git commit 502f64cb309870be64488c3464f66d24ada9b7a5 by Eric Engestrom on 22/08/2022 at 20:06..
meson: fix value of `auto` for a bunch of drivers

You can't have an error if your driver is requested by you're missing
a dep, but then happily build that driver without the dep in `auto`.

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/502f64cb309870be64488c3464f66d24ada9b7a5

Git commit 4a7706b2a4cddf6cd9bb95c9d0ac77070cbaacd8 by Eric Engestrom on 23/08/2022 at 16:54..
ci: drop dead script since e722ba9f67

Noticed-by: Michel Daenzer <michel at daenzer.net>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/4a7706b2a4cddf6cd9bb95c9d0ac77070cbaacd8

Git commit 26eb15165b767de50bef3c02abd29cec256cf4a1 by Eric Engestrom on 23/08/2022 at 17:52..
meson: convert auto combos into proper features

Allows users to easily enable everything (eg. packagers), or select just
the drivers they want with something like:
    -D auto-features=disabled -D amdgpu=enabled

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/26eb15165b767de50bef3c02abd29cec256cf4a1

Git commit a64a176cfd62956cc4967aa2929db2526d4faee2 by Eric Engestrom on 23/08/2022 at 17:52..
meson: simplify some more build options by using features

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a64a176cfd62956cc4967aa2929db2526d4faee2

Git commit cf54ebf6cf4badeb9f980b21c6f9d19e988b456e by Matt Turner (on behalf of Matthieu Herrb) on 23/08/2022 at 22:43..
Remove unused 3rd parameter to open(2)

The 3rd parameter is only used with the O_CREAT flag

Signed-off-by: Matthieu Herrb <matthieu at herrb.eu>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/cf54ebf6cf4badeb9f980b21c6f9d19e988b456e

Git commit 3ff3d59ed96f71523e0aa52461b01a1b1168c5e0 by Matt Turner (on behalf of Eric Engestrom) on 23/08/2022 at 22:49..
atomic: fix atomic_add_unless() fallback's return value

According to the kernel documentation:
  Returns non-zero if @v was not @u, and zero otherwise.

Fixes: 63fc571863aa64683400 ("atomic: add atomic_add_unless()")
Closes: https://gitlab.freedesktop.org/mesa/drm/issues/17
Signed-off-by: David Shao <davshao at gmail.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>

[Eric: fix its callers to maintain current behaviour]
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/3ff3d59ed96f71523e0aa52461b01a1b1168c5e0

Git commit d4bb19e2c49de32a01cef56ad739cc10e9afd237 by Matt Turner on 23/08/2022 at 22:54..
intel: Avoid aliasing violation

../intel/test_decode.c: In function ‘compare_batch’:
../intel/test_decode.c:109:39: error: dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing]
  109 |         out = open_memstream((char **)&ptr, &size);
      |                                       ^~~~
cc1: some warnings being treated as errors

The fix is simple: just declare `ptr` as a `char *` to begin with.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/d4bb19e2c49de32a01cef56ad739cc10e9afd237

Git commit 33f0009de5534b3e0ad886dfe0414f982644aade by Eric Engestrom (on behalf of Sui Jingfeng) on 30/08/2022 at 15:03..
meson: auto-enable etnaviv on arm, arc, mips and loongarch architectures

There is a Vivante GC1000 gpu in LS2K1000 and LS7A1000.

LS7A1000 is a bridge chip made by Loongson corporation
which act as north and/or south bridge of loongson's
desktop and server level processor. It is equivalent
to RS780E or something like that. In fact, the company
use RS780E as bridge of LS3A3000 at its early stage,
but as RS780E is out of stock long long time ago, the
company have to made one by themself. More details can
be read from its user manual[1].

This bridge chip typically use with LS3A3000, LS3A4000
and LS3A5000.

LS3A3000 is 4 core 1.45gHz mips64r2 compatible cpu.
LS3A4000 is 4 core 1.8gHz mips64r5 compatible cpu.
LS3A5000 is 4 core 2.5gHz loongarch cpu, the company
acclaim that loongarch a new archtecture with its
instruction set is released[2].

LS2K1000 is a double core 1.0Ghz mips64r2 compatible SoC[3].

we need to enable it to test and developing driver on above
listed archtecture.

[1] https://loongson.github.io/LoongArch-Documentation/Loongson-7A1000-usermanual-EN.html
[2] https://loongson.github.io/LoongArch-Documentation/Loongson-3A5000-usermanual-EN.html
[3] https://wiki.debian.org/InstallingDebianOn/Lemote/Loongson2K1000

Signed-off-by: Sui Jingfeng <15330273260 at 189.cn>

[Eric: rebase over meson changes, add ARM & ARC architectures, and drop
"experimental" from the description]
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/33f0009de5534b3e0ad886dfe0414f982644aade

Git commit 03e0ab4d888b23164f1e076f1d2fad9d2039b820 by Matt Roper on 30/08/2022 at 19:32..
intel: Hook up new platforms IDs

In commit 98794e2a0d ("lib: sync i915_pciids.h with kernel") we
resynchronized the PCI header with the kernel to bring in the
definitions for several new platforms.  But before those IDs will be
recognized, we still need to hook them up in the libdrm chipset code as
well.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/5416
Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/03e0ab4d888b23164f1e076f1d2fad9d2039b820

Git commit baa4b8cafca0d52189bfd6e7cda9c558a261ae71 by Simon Ser on 31/08/2022 at 06:40..
xf86drm: add drmGetFormatName()

Same as drmGetFormatModifierName() but for formats.

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Marius Vlad <marius.vlad at collabora.com>
Reviewed-by: Eric Engestrom <eric at igalia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/baa4b8cafca0d52189bfd6e7cda9c558a261ae71

Git commit e761875fc5d29080316029b7c174797751d82a97 by Simon Ser on 31/08/2022 at 06:40..
tests/modetest: use drmGetFormatName()

Signed-off-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Marius Vlad <marius.vlad at collabora.com>
Reviewed-by: Eric Engestrom <eric at igalia.com>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/e761875fc5d29080316029b7c174797751d82a97

Git commit fb5c0c301aa9b6d984ffee522775ca19ea7c7be6 by Simon Ser on 31/08/2022 at 14:38..
build: bump to version 2.4.113

Signed-off-by: Simon Ser <contact at emersion.fr>
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/fb5c0c301aa9b6d984ffee522775ca19ea7c7be6

Git commit 385bedd2fbeda798deea6079ad41c9d8c08284c6 by Timo Aaltonen on 19/09/2022 at 07:26..
Merge branch 'upstream-unstable' into debian-unstable
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/385bedd2fbeda798deea6079ad41c9d8c08284c6

Git commit 83ae4503177c89237180507029838d97f6c65de6 by Timo Aaltonen on 19/09/2022 at 07:28..
version bump
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/83ae4503177c89237180507029838d97f6c65de6

Git commit 6d3fc43cc8daa7930b74d5ae0b335292902e0b98 by Timo Aaltonen on 19/09/2022 at 07:51..
rules: Rework confflags to match current upstream.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6d3fc43cc8daa7930b74d5ae0b335292902e0b98

Git commit a231ca64f859c732691b2c7935e7bfb128039241 by Timo Aaltonen on 19/09/2022 at 07:53..
symbols: Updated.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/a231ca64f859c732691b2c7935e7bfb128039241

Git commit df7511c5078234f5cbe18248e9861cc4ede4ba00 by Timo Aaltonen on 19/09/2022 at 07:53..
release to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/df7511c5078234f5cbe18248e9861cc4ede4ba00

Git commit 9dd35f713f93531a581942c05482f0cd52365323 by Timo Aaltonen on 19/09/2022 at 15:52..
rules: Fix arm FTBFS.
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/9dd35f713f93531a581942c05482f0cd52365323

Git commit 6dce1b4d51570f7e505b82e6da6560fce8b91552 by Timo Aaltonen on 19/09/2022 at 15:52..
upload to sid
https://invent.kde.org/neon/backports-jammy/libdrm-jammy/commit/6dce1b4d51570f7e505b82e6da6560fce8b91552


More information about the Neon-commits mailing list