Re: [git pull] drm fixes for 6.10-rc1

2024-05-24 Thread pr-tracker-bot
The pull request you sent on Sat, 25 May 2024 06:23:25 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-next-2024-05-25

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/56fb6f92854f29dcb6c3dc3ba92eeda1b615e88c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.9 final

2024-05-10 Thread pr-tracker-bot
The pull request you sent on Sat, 11 May 2024 07:18:11 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-05-11

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cf87f46fd34d6c19283d9625a7822f20d90b64a4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.9-rc7

2024-05-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 May 2024 13:52:43 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-05-03

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b5a66609a643443e2b14773dcc784496ee1e5457

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc6

2024-04-26 Thread pr-tracker-bot
The pull request you sent on Fri, 26 Apr 2024 13:12:03 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-04-26

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/61ef6208e0df073072a764eb5c5f5a6db3ffadb6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.9-rc5

2024-04-19 Thread pr-tracker-bot
The pull request you sent on Fri, 19 Apr 2024 10:53:05 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-04-19

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ce944f3f97cf1bc813003ea2f3bf2abefa87dbd7

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.9-rc4

2024-04-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Apr 2024 11:34:33 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-04-12

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d1c13e80049d927c88021e3180d5103f2e6f55c4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.9-rc3

2024-04-05 Thread pr-tracker-bot
The pull request you sent on Fri, 5 Apr 2024 13:41:06 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-04-05

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/89103a164210f1c88caedf880ac9ab9576a1190d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.9-rc2

2024-03-29 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Mar 2024 06:29:04 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-03-30

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/486291a0e6246364936df1ecd64c90affef4b9c5

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.9-rc1

2024-03-21 Thread pr-tracker-bot
The pull request you sent on Fri, 22 Mar 2024 11:34:13 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-next-2024-03-22

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7ee04901215b3cab8fa35aa5bf4692d7aa312e36

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8 final

2024-03-08 Thread pr-tracker-bot
The pull request you sent on Fri, 8 Mar 2024 13:52:40 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-03-08

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e6fac3c1f3287735faf1b68e0068f64e6966618d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc7

2024-03-01 Thread pr-tracker-bot
The pull request you sent on Fri, 1 Mar 2024 15:41:03 +1000:

> https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-03-01

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7187ea0978bb4226873b55a065b5dcdda7530b9f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc6

2024-02-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Feb 2024 11:32:09 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-02-23

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/06b7ef70b1f29de685ea80f0c1b8f0a0b0e16d18

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc5

2024-02-16 Thread pr-tracker-bot
The pull request you sent on Fri, 16 Feb 2024 17:20:39 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-02-16

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ca6a62f9fe23713ea2b58a256a1ab27b9cc5a05a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc4

2024-02-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Feb 2024 14:28:39 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-02-09

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c76b766ec50d3d43e2dacea53a733b285f4b730d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc3

2024-02-02 Thread pr-tracker-bot
The pull request you sent on Sat, 3 Feb 2024 05:46:00 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-02-03

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9c2f0338bbd132a4b12b988004d796798609d297

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc2

2024-01-26 Thread pr-tracker-bot
The pull request you sent on Sat, 27 Jan 2024 04:56:27 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-01-27

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/168174d78157bba1315d5f8e1c66548b92c84ae9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc1 (part two)

2024-01-19 Thread pr-tracker-bot
The pull request you sent on Fri, 19 Jan 2024 16:58:59 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2024-01-19

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e08b5758153981ca812c5991209a6133c732e799

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8-rc1

2024-01-17 Thread pr-tracker-bot
The pull request you sent on Mon, 15 Jan 2024 16:18:01 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2024-01-15-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8893a6bfff312ea6fee89bfaa8761f0b9456199b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes (part2) for 6.7 final

2024-01-05 Thread pr-tracker-bot
The pull request you sent on Fri, 5 Jan 2024 13:31:53 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-01-05

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2b5bd1498da5537e3d130b3862bccdd9aedd6c84

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8

2024-01-04 Thread Dave Airlie
On Fri, 5 Jan 2024 at 04:50, Linus Torvalds
 wrote:
>
> On Wed, 3 Jan 2024 at 18:30, Dave Airlie  wrote:
> >
> > These were from over the holiday period, mainly i915, a couple of
> > qaic, bridge and an mgag200.
> >
> > I have a set of nouveau fixes that I'll send after this, that might be
> > too rich for you at this point.
> >
> > I expect there might also be some more regular fixes before 6.8, but
> > they should be minor.
>
> I'm assuming you're just confused about the numbering, and meant 6.7
> here and in the subject line.
>
> This seems to be too small of a pull to be an early pull request for
> the 6.8 merge window.

Indeed this is for 6.7 holiday brain hasn't lifted yet, sorry for noise.

Dave.


Re: [git pull] drm fixes for 6.8

2024-01-04 Thread pr-tracker-bot
The pull request you sent on Thu, 4 Jan 2024 12:29:55 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2024-01-04

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5939a693dc6e6d6f293681017c70ff60c3723d43

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.8

2024-01-04 Thread Linus Torvalds
On Wed, 3 Jan 2024 at 18:30, Dave Airlie  wrote:
>
> These were from over the holiday period, mainly i915, a couple of
> qaic, bridge and an mgag200.
>
> I have a set of nouveau fixes that I'll send after this, that might be
> too rich for you at this point.
>
> I expect there might also be some more regular fixes before 6.8, but
> they should be minor.

I'm assuming you're just confused about the numbering, and meant 6.7
here and in the subject line.

This seems to be too small of a pull to be an early pull request for
the 6.8 merge window.

   Linus


Re: [git pull] drm fixes for 6.7-rc7

2023-12-22 Thread pr-tracker-bot
The pull request you sent on Fri, 22 Dec 2023 14:59:38 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-12-22

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8afe6f0e0e257bf7f79f5996c037e8977dcc8cc1

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.7-rc6

2023-12-15 Thread pr-tracker-bot
The pull request you sent on Fri, 15 Dec 2023 16:42:01 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-12-15

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/595609b2ad023088dfd0ae74abb4602ea267e739

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.7-rc5

2023-12-08 Thread pr-tracker-bot
The pull request you sent on Fri, 8 Dec 2023 14:54:20 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-12-08

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/38bafa65b1260cb774cfc0c9a3ddf82d3c563e10

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.7-rc4

2023-12-01 Thread pr-tracker-bot
The pull request you sent on Fri, 1 Dec 2023 16:41:39 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-12-01

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b1e51588aa50287c3d33e14969d47ccdd403ad80

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.7-rc3

2023-11-24 Thread pr-tracker-bot
The pull request you sent on Fri, 24 Nov 2023 11:38:52 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-11-24

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/afa0f6ee000abd220a8160f0375b5b8d3e4284f2

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6 final

2023-10-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Oct 2023 16:15:45 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-10-27

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/750b95887e567848ac2c851dae47922cac6db946

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc7

2023-10-20 Thread pr-tracker-bot
The pull request you sent on Fri, 20 Oct 2023 15:01:24 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-10-20

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c8045b4a33a511ff1feaeb806e819572b90b6625

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc6

2023-10-12 Thread pr-tracker-bot
The pull request you sent on Fri, 13 Oct 2023 14:24:48 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-10-13

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/10a6e5feccb877c3c75ad11d27942ad52c24815f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc5

2023-10-06 Thread pr-tracker-bot
The pull request you sent on Fri, 6 Oct 2023 14:58:38 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-10-06

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4940c1543b4381a4895072489b4de7b6145694f5

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc4

2023-09-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 Sep 2023 11:46:12 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-09-29

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6edc84bc3f8aceae74eb63684d53c17553382ec0

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc3

2023-09-22 Thread pr-tracker-bot
The pull request you sent on Fri, 22 Sep 2023 16:14:46 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-09-22

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b41b28366d3b176c8297961de4f095f2e392402d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc2

2023-09-15 Thread pr-tracker-bot
The pull request you sent on Fri, 15 Sep 2023 12:57:50 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-09-15

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9608c7b729e29c177525006711966ae0fd399b11

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc1

2023-09-07 Thread pr-tracker-bot
The pull request you sent on Fri, 8 Sep 2023 12:45:13 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2023-09-08

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a48fa7efaf1161c1c898931fe4c7f0070964233a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.6-rc1

2023-09-07 Thread Linus Torvalds
On Thu, 7 Sept 2023 at 19:45, Dave Airlie  wrote:
>
> Just a poke about the outstanding drm CI support pull request since I
> haven't see any movement on that in the week, hopefully it's not as
> difficult a problem as bcachefs :-)

I was assuming that it wouldn't interfere with anything else... and
that I could just ignore it until I have all my "real" pulls done. I
didn't want to even look at it until I was "done".

Yes, it's past the mid-way point of the second week of the merge
window, and I mostly _should_ be "done".

But I still keep finding new pull requests in my inbox that aren't
just fixes and updates for previous main pull requests.

Linus


Re: [git pull] drm fixes for 6.5 final

2023-08-25 Thread pr-tracker-bot
The pull request you sent on Fri, 25 Aug 2023 13:07:17 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-08-25

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/beaa71d6e64103403a328bcc8cefa6e9b19544c1

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.5-rc7

2023-08-17 Thread pr-tracker-bot
The pull request you sent on Fri, 18 Aug 2023 07:36:16 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-08-18-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1ada9c07407d66679967fe5c2cbb7eda2e0addbf

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4-rc6

2023-08-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Aug 2023 16:27:34 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-08-11

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9b1b1b74ddb236e7ccf6d11d4c0b642fbe0c66c6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.5-rc5

2023-08-04 Thread pr-tracker-bot
The pull request you sent on Fri, 4 Aug 2023 15:07:56 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-08-04

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4142fc6743d39271e712936d9fb284cd84cb6010

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.5-rc4

2023-07-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Jul 2023 12:20:10 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-07-28

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/17bf3df9af08c5e87c07a92b811b7f9f8034a32c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.5-rc4

2023-07-28 Thread Linus Torvalds
On Thu, 27 Jul 2023 at 19:20, Dave Airlie  wrote:
>
> Regular scheduled fixes, msm and amdgpu leading the way, with some
> i915 and a single misc fbdev, all seems fine.

Pulled.

Tangentially related: where do you keep your pgp key? The one I have
is long expired, and doing a refresh doesn't get any updates...

Linus


Re: [git pull] drm fixes for 6.5-rc3

2023-07-20 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Jul 2023 13:14:05 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-07-21

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f7e3a1bafdea735050dfde00523cf505dc7fd309

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.5-rc2

2023-07-14 Thread pr-tracker-bot
The pull request you sent on Fri, 14 Jul 2023 14:39:37 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-07-14-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3a97a2993e7e7392292323fefc46d79bf9633e44

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.5-rc1

2023-07-06 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Jul 2023 11:14:46 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2023-07-07

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5133c9e51de41bfa902153888e11add3342ede18

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4 final

2023-06-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Jun 2023 16:48:56 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-06-23

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a92b7d26c743b9dc06d520f863d624e94978a1d9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4 final

2023-06-23 Thread Alex Deucher
On Fri, Jun 23, 2023 at 2:49 AM Dave Airlie  wrote:
>
> Hey Linus,
>
> very quiet last week, just two misc fixes, one dp-mst and one qaic.
>
> Should be all ready for the merge window next week.

Was out of the office this week and didn't get to -fixes until today.
Will send the PR to everyone now.

Alex


>
> Dave.
>
> drm-fixes-2023-06-23:
> drm fixes for 6.4 final
>
> qaic:
> - dma-buf import fix
>
> dp-mst:
> - fix NULL ptr deref
> The following changes since commit 45a3e24f65e90a047bef86f927ebdc4c710edaa1:
>
>   Linux 6.4-rc7 (2023-06-18 14:06:27 -0700)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-06-23
>
> for you to fetch changes up to 9bd9be5cbaf8a8faa175ef4fba04a5623281debe:
>
>   Merge tag 'drm-misc-fixes-2023-06-21' of
> git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-06-23
> 12:16:48 +1000)
>
> 
> drm fixes for 6.4 final
>
> qaic:
> - dma-buf import fix
>
> dp-mst:
> - fix NULL ptr deref
>
> 
> Dave Airlie (1):
>   Merge tag 'drm-misc-fixes-2023-06-21' of
> git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
>
> Jeff Layton (1):
>   drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2
>
> Pranjal Ramajor Asha Kanojiya (1):
>   accel/qaic: Call DRM helper function to destroy prime GEM
>
>  drivers/accel/qaic/qaic_data.c| 4 ++--
>  drivers/gpu/drm/display/drm_dp_mst_topology.c | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)


Re: [git pull] drm fixes for 6.4-rc7

2023-06-16 Thread pr-tracker-bot
The pull request you sent on Sat, 17 Jun 2023 06:29:31 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-06-17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1639fae5132bc8a904af28d97cea0bedb3af802e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4-rc6

2023-06-08 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Jun 2023 11:39:32 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-06-09

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/33f2b5785a2b6b0ed1948aafee60d3abb12f1e3a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4-rc5

2023-06-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Jun 2023 14:12:59 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-06-02

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e99a74673a19631d4a23c7e1fe2f21c55471a5d1

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4-rc4

2023-05-26 Thread pr-tracker-bot
The pull request you sent on Fri, 26 May 2023 16:04:02 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-05-26

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b83ac44e02986e640ee954e187ba414cb94453e2

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4-rc3

2023-05-19 Thread pr-tracker-bot
The pull request you sent on Sat, 20 May 2023 11:09:38 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-05-20

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d635f6cc934bcd467c5d67148ece74632fd96abf

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.4-rc2

2023-05-11 Thread pr-tracker-bot
The pull request you sent on Fri, 12 May 2023 06:59:57 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-05-12

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cc3c44c9fda264c6d401be04e95449a57c1231c6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes part 2 for 6.4-rc1

2023-05-05 Thread pr-tracker-bot
The pull request you sent on Fri, 5 May 2023 13:10:28 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2023-05-05

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/084f51d473cd566eab310d5da56fe7b68d0b10be

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.3 final

2023-04-20 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Apr 2023 11:27:42 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-04-21

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2af3e53a4dc08657f1b46f97f04ff4a0ab3cad8d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for v6.3-rc3

2023-03-17 Thread pr-tracker-bot
The pull request you sent on Fri, 17 Mar 2023 17:59:36 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-03-17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2cf5a401c87178237c5b782c44578c26690a802b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.3-rc2

2023-03-10 Thread pr-tracker-bot
The pull request you sent on Fri, 10 Mar 2023 14:44:33 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-03-10

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b0d14d2aaf7d4b36b44f5a09955ebdf9eef4b0f8

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.2 final

2023-02-16 Thread pr-tracker-bot
The pull request you sent on Fri, 17 Feb 2023 12:16:34 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-02-17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ec35307e18ba8174e2a3f701956059f6a36f22fb

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.2-rc8

2023-02-09 Thread pr-tracker-bot
The pull request you sent on Fri, 10 Feb 2023 11:19:51 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-02-10

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/38c1e0c65865426676123cc9a127526fa02bcac6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.2-rc7

2023-02-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Feb 2023 13:59:18 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-02-03

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/bffede38f82c27cf5e203a2c659fcc9b581dd7b8

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.2-rc6

2023-01-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Jan 2023 15:22:36 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-01-27

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/76e26e3c6a49b368a6fd38e2da2b1b164470cc52

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.2-rc5

2023-01-20 Thread pr-tracker-bot
The pull request you sent on Fri, 20 Jan 2023 12:52:59 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-01-20

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ff83fec8179e392be2f472f0a9ec3da8f6d529c6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.2-rc4

2023-01-13 Thread pr-tracker-bot
The pull request you sent on Fri, 13 Jan 2023 15:15:17 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-01-13

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ff5ebafd51ecc01014f1db510299eede60faf22a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.2-rc1

2022-12-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Dec 2022 14:02:33 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2022-12-23

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/55c7d6a91d42ad98cbfb10da077ce8bb7084dc0e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1 final

2022-12-08 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Dec 2022 10:51:00 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-12-09

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0d1409e4ff08aa4a9a254d3f723410db32aa7552

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc8

2022-12-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Dec 2022 11:44:43 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-12-02

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c290db013742e98fe5b64073bc2dd8c8a2ac9e4c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc7

2022-11-25 Thread pr-tracker-bot
The pull request you sent on Fri, 25 Nov 2022 13:47:02 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-11-25

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6fe0e074e76985c7be3eaa7a8fd51401a8999cae

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for v6.1-rc6

2022-11-18 Thread pr-tracker-bot
The pull request you sent on Sat, 19 Nov 2022 06:35:47 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-11-19

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b5bf1d8a23a683d56be574a934a8296912efc758

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc5

2022-11-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Nov 2022 12:18:21 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-11-11

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fd979ca691715891a979ce12d1a485b108af74d3

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc4

2022-11-04 Thread pr-tracker-bot
The pull request you sent on Fri, 4 Nov 2022 13:21:02 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-11-04-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fde25beb382b7dd6f2eab8022ab017cbdfaa3ff6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc3

2022-10-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Oct 2022 13:53:24 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-10-28

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e3493d682516e2b7ef69587ddf91b0371a1511d0

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc2

2022-10-20 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Oct 2022 10:37:33 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-10-21

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e35184f321518acadb681928a016da21a9a20c13

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc1

2022-10-17 Thread Arthur Marsh
Thanks Arunpravin, your patch applied to the 6.1-rc1 code built a kernel that 
loaded the amdgpu module on my pc with Cape Verde GPU card with no problems.

Regards,

Arthur. 

On 18 October 2022 7:10:45 am ACDT, Arunpravin Paneer Selvam 
 wrote:
>Hi Christian,
>
>Looks like we have to exit the loop if there are no blocks to compare.
>May be that's why the function returns false.
>
>@Arthur Marsh Could you please test the attached patch.
>
>Thanks,
>Arun
>
>On 10/17/2022 1:39 PM, Christian König wrote:
>> Am 17.10.22 um 10:01 schrieb Dave Airlie:
>>> On Mon, 17 Oct 2022 at 17:07, Christian König  
>>> wrote:
 Hi Arun,
 
 the hw generation doesn't matter. This error message here:
 
 amdgpu: Move buffer fallback to memcpy unavailable
 
 indicates that the detection of linear buffers still doesn't work as
 expected or that we have a bug somewhere else.
 
 Maybe the limiting when SDMA moves are not available isn't working
 correctly?
>>> It is a CAPE_VERDE, so maybe something with the SI UVD memory limitations?
>> 
>> Yeah, good point. Could be that we try to move something into the UVD memory 
>> window and that something isn't allocated linearly.
>> 
>> Arun can you trace the allocation and make sure that all kernel allocations 
>> have the CONTIGUOUS flag set?
>> 
>> Thanks,
>> Christian.
>> 
>>> 
>>> Dave.
>> 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: [git pull] drm fixes for 6.1-rc1

2022-10-17 Thread Arunpravin Paneer Selvam

Hi Christian,

Looks like we have to exit the loop if there are no blocks to compare.
May be that's why the function returns false.

@Arthur Marsh Could you please test the attached patch.

Thanks,
Arun

On 10/17/2022 1:39 PM, Christian König wrote:

Am 17.10.22 um 10:01 schrieb Dave Airlie:
On Mon, 17 Oct 2022 at 17:07, Christian König 
 wrote:

Hi Arun,

the hw generation doesn't matter. This error message here:

amdgpu: Move buffer fallback to memcpy unavailable

indicates that the detection of linear buffers still doesn't work as
expected or that we have a bug somewhere else.

Maybe the limiting when SDMA moves are not available isn't working
correctly?
It is a CAPE_VERDE, so maybe something with the SI UVD memory 
limitations?


Yeah, good point. Could be that we try to move something into the UVD 
memory window and that something isn't allocated linearly.


Arun can you trace the allocation and make sure that all kernel 
allocations have the CONTIGUOUS flag set?


Thanks,
Christian.



Dave.


From 132ce83f893eaea743fb7f41a9dc72afea52cdaa Mon Sep 17 00:00:00 2001
From: Arunpravin Paneer Selvam 
Date: Mon, 17 Oct 2022 13:15:21 -0700
Subject: [PATCH] drm/amdgpu: Fix for BO move issue

If there are no blocks to compare then exit
the loop.

Signed-off-by: Arunpravin Paneer Selvam 
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
index dc262d2c2925..57277b1cf183 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -439,6 +439,9 @@ static bool amdgpu_mem_visible(struct amdgpu_device *adev,
while (cursor.remaining) {
amdgpu_res_next(, cursor.size);
 
+   if (!cursor.remaining)
+   break;
+
/* ttm_resource_ioremap only supports contiguous memory */
if (end != cursor.start)
return false;
-- 
2.25.1



Re: [git pull] drm fixes for 6.1-rc1

2022-10-17 Thread Christian König

Am 17.10.22 um 10:01 schrieb Dave Airlie:

On Mon, 17 Oct 2022 at 17:07, Christian König  wrote:

Hi Arun,

the hw generation doesn't matter. This error message here:

amdgpu: Move buffer fallback to memcpy unavailable

indicates that the detection of linear buffers still doesn't work as
expected or that we have a bug somewhere else.

Maybe the limiting when SDMA moves are not available isn't working
correctly?

It is a CAPE_VERDE, so maybe something with the SI UVD memory limitations?


Yeah, good point. Could be that we try to move something into the UVD 
memory window and that something isn't allocated linearly.


Arun can you trace the allocation and make sure that all kernel 
allocations have the CONTIGUOUS flag set?


Thanks,
Christian.



Dave.




Re: [git pull] drm fixes for 6.1-rc1

2022-10-17 Thread Dave Airlie
On Mon, 17 Oct 2022 at 17:07, Christian König  wrote:
>
> Hi Arun,
>
> the hw generation doesn't matter. This error message here:
>
> amdgpu: Move buffer fallback to memcpy unavailable
>
> indicates that the detection of linear buffers still doesn't work as
> expected or that we have a bug somewhere else.
>
> Maybe the limiting when SDMA moves are not available isn't working
> correctly?

It is a CAPE_VERDE, so maybe something with the SI UVD memory limitations?

Dave.


Re: [git pull] drm fixes for 6.1-rc1

2022-10-17 Thread Christian König

Hi Arun,

the hw generation doesn't matter. This error message here:

amdgpu: Move buffer fallback to memcpy unavailable

indicates that the detection of linear buffers still doesn't work as 
expected or that we have a bug somewhere else.


Maybe the limiting when SDMA moves are not available isn't working 
correctly?


Regards,
Christian.

Am 17.10.22 um 08:54 schrieb Arunpravin Paneer Selvam:

Hi Arthur,

Is this old radeon card?

Thanks,
Arun

On 10/17/2022 11:50 AM, Christian König wrote:

Arun please take a look into this ASAP.

Thanks,
Christian.

Am 17.10.22 um 03:13 schrieb Arthur Marsh:
Thanks Dave, I reverted patch 
312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9 against 6.1-rc1 and the 
resulting kernel loaded amdgpu fine on my pc with Cape Verde GPU.


Regards,

Arthur.

On 17 October 2022 8:14:18 am ACDT, Dave Airlie  
wrote:

On Sun, 16 Oct 2022 at 18:09, Arthur Marsh
 wrote:

From: Arthur Marsh 

Hi, the "drm fixes for 6.1-rc1" commit caused the amdgpu module to 
fail

with my Cape Verde radeonsi card.

I haven't been able to bisect the problem to an individual commit, 
but

attach a dmesg extract below.

I'm happy to supply any other configuration information and test 
patches.



Can you try reverting: it's the only think I can spot that might
affect a card that old since most changes in that request were for
display hw you don't have.

ommit 312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9
Author: Arunpravin Paneer Selvam 
Date:   Tue Oct 4 07:33:39 2022 -0700

    drm/amdgpu: Fix VRAM BO swap issue

    DRM buddy manager allocates the contiguous memory requests in
    a single block or multiple blocks. So for the ttm move operation
    (incase of low vram memory) we should consider all the blocks to
    compute the total memory size which compared with the struct
    ttm_resource num_pages in order to verify that the blocks are
    contiguous for the eviction process.

    v2: Added a Fixes tag
    v3: Rewrite the code to save a bit of calculations and
    variables (Christian)

    Fixes: c9cad937c0c5 ("drm/amdgpu: add drm buddy support to 
amdgpu")
    Signed-off-by: Arunpravin Paneer Selvam 


    Reviewed-by: Christian König 
    Signed-off-by: Alex Deucher 


Thanks,
Dave.


Arthur.

  Linux version 6.0.0+ (root@am64) (gcc-12 (Debian 12.2.0-5) 
12.2.0, GNU ld (GNU Binutils for Debian) 2.39) #5179 SMP 
PREEMPT_DYNAMIC Fri Oct 14 17:00:40 ACDT 2022
  Command line: BOOT_IMAGE=/vmlinuz-6.0.0+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single 
amdgpu.audio=1 amdgpu.si_support=1 radeon.si_support=0 
page_owner=on amdgpu.gpu_recovery=1

...

  [drm] amdgpu kernel modesetting enabled.
  amdgpu :01:00.0: vgaarb: deactivate vga console
  Console: switching to colour dummy device 80x25
  [drm] initializing kernel modesetting (VERDE 0x1002:0x682B 
0x1458:0x22CA 0x87).

  [drm] register mmio base: 0xFE8C
  [drm] register mmio size: 262144
  [drm] add ip block number 0 
  [drm] add ip block number 1 
  [drm] add ip block number 2 
  [drm] add ip block number 3 
  [drm] add ip block number 4 
  [drm] add ip block number 5 
  [drm] add ip block number 6 
  [drm] add ip block number 7 
  [drm] BIOS signature incorrect 5b 7
  resource sanity check: requesting [mem 0x000c-0x000d], 
which spans more than PCI Bus :00 [mem 0x000d-0x000d 
window]

  caller pci_map_rom+0x68/0x1b0 mapping multiple BARs
  amdgpu :01:00.0: No more image in the PCI ROM
  amdgpu :01:00.0: amdgpu: Fetched VBIOS from ROM BAR
  amdgpu: ATOM BIOS: xxx-xxx-xxx
  amdgpu :01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature 
not supported

  amdgpu :01:00.0: amdgpu: PCIE atomic ops is not supported
  [drm] PCIE gen 2 link speeds already enabled
  [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment 
size is 9-bit
  RTL8211B Gigabit Ethernet r8169-0-300:00: attached PHY driver 
(mii_bus:phy_addr=r8169-0-300:00, irq=MAC)

  r8169 :03:00.0 eth0: Link is Down
  amdgpu :01:00.0: amdgpu: VRAM: 2048M 0x00F4 - 
0x00F47FFF (2048M used)
  amdgpu :01:00.0: amdgpu: GART: 1024M 0x00FF - 
0x00FF3FFF

  [drm] Detected VRAM RAM=2048M, BAR=256M
  [drm] RAM width 128bits DDR3
  [drm] amdgpu: 2048M of VRAM memory ready
  [drm] amdgpu: 3979M of GTT memory ready.
  [drm] GART: num cpu pages 262144, num gpu pages 262144
  amdgpu :01:00.0: amdgpu: PCIE GART of 1024M enabled (table 
at 0x00F400A0).

  [drm] Internal thermal controller with fan control
  [drm] amdgpu: dpm initialized
  [drm] AMDGPU Display Connectors
  [drm] Connector 0:
  [drm]   HDMI-A-1
  [drm]   HPD1
  [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 
0x194f

  [drm]   Encoders:
  [drm] DFP1: INTERNAL_UNIPHY
  [drm] Connector 1:
  [drm]   DVI-D-1
  [drm]   HPD2
  [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 
0x1953

  [drm]   Encoders:
  [drm] DFP2: INTERNAL_UNIPHY
  [drm] Connector 2:
  [drm]   VGA-1
  [drm]   DDC: 0x1970 0x1970 0x1971 

Re: [git pull] drm fixes for 6.1-rc1

2022-10-17 Thread Arunpravin Paneer Selvam

Hi Arthur,

Is this old radeon card?

Thanks,
Arun

On 10/17/2022 11:50 AM, Christian König wrote:

Arun please take a look into this ASAP.

Thanks,
Christian.

Am 17.10.22 um 03:13 schrieb Arthur Marsh:
Thanks Dave, I reverted patch 
312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9 against 6.1-rc1 and the 
resulting kernel loaded amdgpu fine on my pc with Cape Verde GPU.


Regards,

Arthur.

On 17 October 2022 8:14:18 am ACDT, Dave Airlie  
wrote:

On Sun, 16 Oct 2022 at 18:09, Arthur Marsh
 wrote:

From: Arthur Marsh 

Hi, the "drm fixes for 6.1-rc1" commit caused the amdgpu module to 
fail

with my Cape Verde radeonsi card.

I haven't been able to bisect the problem to an individual commit, but
attach a dmesg extract below.

I'm happy to supply any other configuration information and test 
patches.



Can you try reverting: it's the only think I can spot that might
affect a card that old since most changes in that request were for
display hw you don't have.

ommit 312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9
Author: Arunpravin Paneer Selvam 
Date:   Tue Oct 4 07:33:39 2022 -0700

    drm/amdgpu: Fix VRAM BO swap issue

    DRM buddy manager allocates the contiguous memory requests in
    a single block or multiple blocks. So for the ttm move operation
    (incase of low vram memory) we should consider all the blocks to
    compute the total memory size which compared with the struct
    ttm_resource num_pages in order to verify that the blocks are
    contiguous for the eviction process.

    v2: Added a Fixes tag
    v3: Rewrite the code to save a bit of calculations and
    variables (Christian)

    Fixes: c9cad937c0c5 ("drm/amdgpu: add drm buddy support to amdgpu")
    Signed-off-by: Arunpravin Paneer Selvam 


    Reviewed-by: Christian König 
    Signed-off-by: Alex Deucher 


Thanks,
Dave.


Arthur.

  Linux version 6.0.0+ (root@am64) (gcc-12 (Debian 12.2.0-5) 
12.2.0, GNU ld (GNU Binutils for Debian) 2.39) #5179 SMP 
PREEMPT_DYNAMIC Fri Oct 14 17:00:40 ACDT 2022
  Command line: BOOT_IMAGE=/vmlinuz-6.0.0+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single 
amdgpu.audio=1 amdgpu.si_support=1 radeon.si_support=0 
page_owner=on amdgpu.gpu_recovery=1

...

  [drm] amdgpu kernel modesetting enabled.
  amdgpu :01:00.0: vgaarb: deactivate vga console
  Console: switching to colour dummy device 80x25
  [drm] initializing kernel modesetting (VERDE 0x1002:0x682B 
0x1458:0x22CA 0x87).

  [drm] register mmio base: 0xFE8C
  [drm] register mmio size: 262144
  [drm] add ip block number 0 
  [drm] add ip block number 1 
  [drm] add ip block number 2 
  [drm] add ip block number 3 
  [drm] add ip block number 4 
  [drm] add ip block number 5 
  [drm] add ip block number 6 
  [drm] add ip block number 7 
  [drm] BIOS signature incorrect 5b 7
  resource sanity check: requesting [mem 0x000c-0x000d], 
which spans more than PCI Bus :00 [mem 0x000d-0x000d 
window]

  caller pci_map_rom+0x68/0x1b0 mapping multiple BARs
  amdgpu :01:00.0: No more image in the PCI ROM
  amdgpu :01:00.0: amdgpu: Fetched VBIOS from ROM BAR
  amdgpu: ATOM BIOS: xxx-xxx-xxx
  amdgpu :01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature 
not supported

  amdgpu :01:00.0: amdgpu: PCIE atomic ops is not supported
  [drm] PCIE gen 2 link speeds already enabled
  [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment 
size is 9-bit
  RTL8211B Gigabit Ethernet r8169-0-300:00: attached PHY driver 
(mii_bus:phy_addr=r8169-0-300:00, irq=MAC)

  r8169 :03:00.0 eth0: Link is Down
  amdgpu :01:00.0: amdgpu: VRAM: 2048M 0x00F4 - 
0x00F47FFF (2048M used)
  amdgpu :01:00.0: amdgpu: GART: 1024M 0x00FF - 
0x00FF3FFF

  [drm] Detected VRAM RAM=2048M, BAR=256M
  [drm] RAM width 128bits DDR3
  [drm] amdgpu: 2048M of VRAM memory ready
  [drm] amdgpu: 3979M of GTT memory ready.
  [drm] GART: num cpu pages 262144, num gpu pages 262144
  amdgpu :01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 
0x00F400A0).

  [drm] Internal thermal controller with fan control
  [drm] amdgpu: dpm initialized
  [drm] AMDGPU Display Connectors
  [drm] Connector 0:
  [drm]   HDMI-A-1
  [drm]   HPD1
  [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
  [drm]   Encoders:
  [drm] DFP1: INTERNAL_UNIPHY
  [drm] Connector 1:
  [drm]   DVI-D-1
  [drm]   HPD2
  [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
  [drm]   Encoders:
  [drm] DFP2: INTERNAL_UNIPHY
  [drm] Connector 2:
  [drm]   VGA-1
  [drm]   DDC: 0x1970 0x1970 0x1971 0x1971 0x1972 0x1972 0x1973 0x1973
  [drm]   Encoders:
  [drm] CRT1: INTERNAL_KLDSCP_DAC1
  [drm] Found UVD firmware Version: 64.0 Family ID: 13
  amdgpu: Move buffer fallback to memcpy unavailable
  [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP 
block  failed -19

  amdgpu :01:00.0: amdgpu: amdgpu_device_ip_init failed
  amdgpu :01:00.0: amdgpu: Fatal error during GPU init
  

Re: [git pull] drm fixes for 6.1-rc1

2022-10-17 Thread Christian König

Arun please take a look into this ASAP.

Thanks,
Christian.

Am 17.10.22 um 03:13 schrieb Arthur Marsh:

Thanks Dave, I reverted patch 312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9 against 
6.1-rc1 and the resulting kernel loaded amdgpu fine on my pc with Cape Verde 
GPU.

Regards,

Arthur.

On 17 October 2022 8:14:18 am ACDT, Dave Airlie  wrote:

On Sun, 16 Oct 2022 at 18:09, Arthur Marsh
 wrote:

From: Arthur Marsh 

Hi, the "drm fixes for 6.1-rc1" commit caused the amdgpu module to fail
with my Cape Verde radeonsi card.

I haven't been able to bisect the problem to an individual commit, but
attach a dmesg extract below.

I'm happy to supply any other configuration information and test patches.


Can you try reverting: it's the only think I can spot that might
affect a card that old since most changes in that request were for
display hw you don't have.

ommit 312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9
Author: Arunpravin Paneer Selvam 
Date:   Tue Oct 4 07:33:39 2022 -0700

drm/amdgpu: Fix VRAM BO swap issue

DRM buddy manager allocates the contiguous memory requests in
a single block or multiple blocks. So for the ttm move operation
(incase of low vram memory) we should consider all the blocks to
compute the total memory size which compared with the struct
ttm_resource num_pages in order to verify that the blocks are
contiguous for the eviction process.

v2: Added a Fixes tag
v3: Rewrite the code to save a bit of calculations and
variables (Christian)

Fixes: c9cad937c0c5 ("drm/amdgpu: add drm buddy support to amdgpu")
Signed-off-by: Arunpravin Paneer Selvam 
Reviewed-by: Christian König 
Signed-off-by: Alex Deucher 


Thanks,
Dave.


Arthur.

  Linux version 6.0.0+ (root@am64) (gcc-12 (Debian 12.2.0-5) 12.2.0, GNU ld 
(GNU Binutils for Debian) 2.39) #5179 SMP PREEMPT_DYNAMIC Fri Oct 14 17:00:40 
ACDT 2022
  Command line: BOOT_IMAGE=/vmlinuz-6.0.0+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single amdgpu.audio=1 
amdgpu.si_support=1 radeon.si_support=0 page_owner=on amdgpu.gpu_recovery=1
...

  [drm] amdgpu kernel modesetting enabled.
  amdgpu :01:00.0: vgaarb: deactivate vga console
  Console: switching to colour dummy device 80x25
  [drm] initializing kernel modesetting (VERDE 0x1002:0x682B 0x1458:0x22CA 
0x87).
  [drm] register mmio base: 0xFE8C
  [drm] register mmio size: 262144
  [drm] add ip block number 0 
  [drm] add ip block number 1 
  [drm] add ip block number 2 
  [drm] add ip block number 3 
  [drm] add ip block number 4 
  [drm] add ip block number 5 
  [drm] add ip block number 6 
  [drm] add ip block number 7 
  [drm] BIOS signature incorrect 5b 7
  resource sanity check: requesting [mem 0x000c-0x000d], which spans 
more than PCI Bus :00 [mem 0x000d-0x000d window]
  caller pci_map_rom+0x68/0x1b0 mapping multiple BARs
  amdgpu :01:00.0: No more image in the PCI ROM
  amdgpu :01:00.0: amdgpu: Fetched VBIOS from ROM BAR
  amdgpu: ATOM BIOS: xxx-xxx-xxx
  amdgpu :01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
  amdgpu :01:00.0: amdgpu: PCIE atomic ops is not supported
  [drm] PCIE gen 2 link speeds already enabled
  [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
  RTL8211B Gigabit Ethernet r8169-0-300:00: attached PHY driver 
(mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
  r8169 :03:00.0 eth0: Link is Down
  amdgpu :01:00.0: amdgpu: VRAM: 2048M 0x00F4 - 
0x00F47FFF (2048M used)
  amdgpu :01:00.0: amdgpu: GART: 1024M 0x00FF - 
0x00FF3FFF
  [drm] Detected VRAM RAM=2048M, BAR=256M
  [drm] RAM width 128bits DDR3
  [drm] amdgpu: 2048M of VRAM memory ready
  [drm] amdgpu: 3979M of GTT memory ready.
  [drm] GART: num cpu pages 262144, num gpu pages 262144
  amdgpu :01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 
0x00F400A0).
  [drm] Internal thermal controller with fan control
  [drm] amdgpu: dpm initialized
  [drm] AMDGPU Display Connectors
  [drm] Connector 0:
  [drm]   HDMI-A-1
  [drm]   HPD1
  [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
  [drm]   Encoders:
  [drm] DFP1: INTERNAL_UNIPHY
  [drm] Connector 1:
  [drm]   DVI-D-1
  [drm]   HPD2
  [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
  [drm]   Encoders:
  [drm] DFP2: INTERNAL_UNIPHY
  [drm] Connector 2:
  [drm]   VGA-1
  [drm]   DDC: 0x1970 0x1970 0x1971 0x1971 0x1972 0x1972 0x1973 0x1973
  [drm]   Encoders:
  [drm] CRT1: INTERNAL_KLDSCP_DAC1
  [drm] Found UVD firmware Version: 64.0 Family ID: 13
  amdgpu: Move buffer fallback to memcpy unavailable
  [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block  
failed -19
  amdgpu :01:00.0: amdgpu: amdgpu_device_ip_init failed
  amdgpu :01:00.0: amdgpu: Fatal error during GPU init
  amdgpu :01:00.0: amdgpu: amdgpu: finishing device.
  BUG: kernel NULL pointer dereference, address: 

Re: [git pull] drm fixes for 6.1-rc1

2022-10-16 Thread Arthur Marsh
Thanks Dave, I reverted patch 312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9 against 
6.1-rc1 and the resulting kernel loaded amdgpu fine on my pc with Cape Verde 
GPU.

Regards,

Arthur. 

On 17 October 2022 8:14:18 am ACDT, Dave Airlie  wrote:
>On Sun, 16 Oct 2022 at 18:09, Arthur Marsh
> wrote:
>>
>> From: Arthur Marsh 
>>
>> Hi, the "drm fixes for 6.1-rc1" commit caused the amdgpu module to fail
>> with my Cape Verde radeonsi card.
>>
>> I haven't been able to bisect the problem to an individual commit, but
>> attach a dmesg extract below.
>>
>> I'm happy to supply any other configuration information and test patches.
>>
>
>Can you try reverting: it's the only think I can spot that might
>affect a card that old since most changes in that request were for
>display hw you don't have.
>
>ommit 312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9
>Author: Arunpravin Paneer Selvam 
>Date:   Tue Oct 4 07:33:39 2022 -0700
>
>drm/amdgpu: Fix VRAM BO swap issue
>
>DRM buddy manager allocates the contiguous memory requests in
>a single block or multiple blocks. So for the ttm move operation
>(incase of low vram memory) we should consider all the blocks to
>compute the total memory size which compared with the struct
>ttm_resource num_pages in order to verify that the blocks are
>contiguous for the eviction process.
>
>v2: Added a Fixes tag
>v3: Rewrite the code to save a bit of calculations and
>variables (Christian)
>
>Fixes: c9cad937c0c5 ("drm/amdgpu: add drm buddy support to amdgpu")
>Signed-off-by: Arunpravin Paneer Selvam 
>Reviewed-by: Christian König 
>Signed-off-by: Alex Deucher 
>
>
>Thanks,
>Dave.
>
>> Arthur.
>>
>>  Linux version 6.0.0+ (root@am64) (gcc-12 (Debian 12.2.0-5) 12.2.0, GNU ld 
>> (GNU Binutils for Debian) 2.39) #5179 SMP PREEMPT_DYNAMIC Fri Oct 14 
>> 17:00:40 ACDT 2022
>>  Command line: BOOT_IMAGE=/vmlinuz-6.0.0+ 
>> root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single amdgpu.audio=1 
>> amdgpu.si_support=1 radeon.si_support=0 page_owner=on amdgpu.gpu_recovery=1
>> ...
>>
>>  [drm] amdgpu kernel modesetting enabled.
>>  amdgpu :01:00.0: vgaarb: deactivate vga console
>>  Console: switching to colour dummy device 80x25
>>  [drm] initializing kernel modesetting (VERDE 0x1002:0x682B 0x1458:0x22CA 
>> 0x87).
>>  [drm] register mmio base: 0xFE8C
>>  [drm] register mmio size: 262144
>>  [drm] add ip block number 0 
>>  [drm] add ip block number 1 
>>  [drm] add ip block number 2 
>>  [drm] add ip block number 3 
>>  [drm] add ip block number 4 
>>  [drm] add ip block number 5 
>>  [drm] add ip block number 6 
>>  [drm] add ip block number 7 
>>  [drm] BIOS signature incorrect 5b 7
>>  resource sanity check: requesting [mem 0x000c-0x000d], which spans 
>> more than PCI Bus :00 [mem 0x000d-0x000d window]
>>  caller pci_map_rom+0x68/0x1b0 mapping multiple BARs
>>  amdgpu :01:00.0: No more image in the PCI ROM
>>  amdgpu :01:00.0: amdgpu: Fetched VBIOS from ROM BAR
>>  amdgpu: ATOM BIOS: xxx-xxx-xxx
>>  amdgpu :01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
>>  amdgpu :01:00.0: amdgpu: PCIE atomic ops is not supported
>>  [drm] PCIE gen 2 link speeds already enabled
>>  [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 
>> 9-bit
>>  RTL8211B Gigabit Ethernet r8169-0-300:00: attached PHY driver 
>> (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
>>  r8169 :03:00.0 eth0: Link is Down
>>  amdgpu :01:00.0: amdgpu: VRAM: 2048M 0x00F4 - 
>> 0x00F47FFF (2048M used)
>>  amdgpu :01:00.0: amdgpu: GART: 1024M 0x00FF - 
>> 0x00FF3FFF
>>  [drm] Detected VRAM RAM=2048M, BAR=256M
>>  [drm] RAM width 128bits DDR3
>>  [drm] amdgpu: 2048M of VRAM memory ready
>>  [drm] amdgpu: 3979M of GTT memory ready.
>>  [drm] GART: num cpu pages 262144, num gpu pages 262144
>>  amdgpu :01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 
>> 0x00F400A0).
>>  [drm] Internal thermal controller with fan control
>>  [drm] amdgpu: dpm initialized
>>  [drm] AMDGPU Display Connectors
>>  [drm] Connector 0:
>>  [drm]   HDMI-A-1
>>  [drm]   HPD1
>>  [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
>>  [drm]   Encoders:
>>  [drm] DFP1: INTERNAL_UNIPHY
>>  [drm] Connector 1:
>>  [drm]   DVI-D-1
>>  [drm]   HPD2
>>  [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
>>  [drm]   Encoders:
>>  [drm] DFP2: INTERNAL_UNIPHY
>>  [drm] Connector 2:
>>  [drm]   VGA-1
>>  [drm]   DDC: 0x1970 0x1970 0x1971 0x1971 0x1972 0x1972 0x1973 0x1973
>>  [drm]   Encoders:
>>  [drm] CRT1: INTERNAL_KLDSCP_DAC1
>>  [drm] Found UVD firmware Version: 64.0 Family ID: 13
>>  amdgpu: Move buffer fallback to memcpy unavailable
>>  [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block 
>>  failed -19
>>  amdgpu :01:00.0: amdgpu: amdgpu_device_ip_init failed
>>  amdgpu :01:00.0: amdgpu: Fatal error during GPU 

Re: [git pull] drm fixes for 6.1-rc1

2022-10-16 Thread Dave Airlie
On Sun, 16 Oct 2022 at 18:09, Arthur Marsh
 wrote:
>
> From: Arthur Marsh 
>
> Hi, the "drm fixes for 6.1-rc1" commit caused the amdgpu module to fail
> with my Cape Verde radeonsi card.
>
> I haven't been able to bisect the problem to an individual commit, but
> attach a dmesg extract below.
>
> I'm happy to supply any other configuration information and test patches.
>

Can you try reverting: it's the only think I can spot that might
affect a card that old since most changes in that request were for
display hw you don't have.

ommit 312b4dc11d4f74bfe03ea25ffe04c1f2fdd13cb9
Author: Arunpravin Paneer Selvam 
Date:   Tue Oct 4 07:33:39 2022 -0700

drm/amdgpu: Fix VRAM BO swap issue

DRM buddy manager allocates the contiguous memory requests in
a single block or multiple blocks. So for the ttm move operation
(incase of low vram memory) we should consider all the blocks to
compute the total memory size which compared with the struct
ttm_resource num_pages in order to verify that the blocks are
contiguous for the eviction process.

v2: Added a Fixes tag
v3: Rewrite the code to save a bit of calculations and
variables (Christian)

Fixes: c9cad937c0c5 ("drm/amdgpu: add drm buddy support to amdgpu")
Signed-off-by: Arunpravin Paneer Selvam 
Reviewed-by: Christian König 
Signed-off-by: Alex Deucher 


Thanks,
Dave.

> Arthur.
>
>  Linux version 6.0.0+ (root@am64) (gcc-12 (Debian 12.2.0-5) 12.2.0, GNU ld 
> (GNU Binutils for Debian) 2.39) #5179 SMP PREEMPT_DYNAMIC Fri Oct 14 17:00:40 
> ACDT 2022
>  Command line: BOOT_IMAGE=/vmlinuz-6.0.0+ 
> root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single amdgpu.audio=1 
> amdgpu.si_support=1 radeon.si_support=0 page_owner=on amdgpu.gpu_recovery=1
> ...
>
>  [drm] amdgpu kernel modesetting enabled.
>  amdgpu :01:00.0: vgaarb: deactivate vga console
>  Console: switching to colour dummy device 80x25
>  [drm] initializing kernel modesetting (VERDE 0x1002:0x682B 0x1458:0x22CA 
> 0x87).
>  [drm] register mmio base: 0xFE8C
>  [drm] register mmio size: 262144
>  [drm] add ip block number 0 
>  [drm] add ip block number 1 
>  [drm] add ip block number 2 
>  [drm] add ip block number 3 
>  [drm] add ip block number 4 
>  [drm] add ip block number 5 
>  [drm] add ip block number 6 
>  [drm] add ip block number 7 
>  [drm] BIOS signature incorrect 5b 7
>  resource sanity check: requesting [mem 0x000c-0x000d], which spans 
> more than PCI Bus :00 [mem 0x000d-0x000d window]
>  caller pci_map_rom+0x68/0x1b0 mapping multiple BARs
>  amdgpu :01:00.0: No more image in the PCI ROM
>  amdgpu :01:00.0: amdgpu: Fetched VBIOS from ROM BAR
>  amdgpu: ATOM BIOS: xxx-xxx-xxx
>  amdgpu :01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
>  amdgpu :01:00.0: amdgpu: PCIE atomic ops is not supported
>  [drm] PCIE gen 2 link speeds already enabled
>  [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 
> 9-bit
>  RTL8211B Gigabit Ethernet r8169-0-300:00: attached PHY driver 
> (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
>  r8169 :03:00.0 eth0: Link is Down
>  amdgpu :01:00.0: amdgpu: VRAM: 2048M 0x00F4 - 
> 0x00F47FFF (2048M used)
>  amdgpu :01:00.0: amdgpu: GART: 1024M 0x00FF - 
> 0x00FF3FFF
>  [drm] Detected VRAM RAM=2048M, BAR=256M
>  [drm] RAM width 128bits DDR3
>  [drm] amdgpu: 2048M of VRAM memory ready
>  [drm] amdgpu: 3979M of GTT memory ready.
>  [drm] GART: num cpu pages 262144, num gpu pages 262144
>  amdgpu :01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 
> 0x00F400A0).
>  [drm] Internal thermal controller with fan control
>  [drm] amdgpu: dpm initialized
>  [drm] AMDGPU Display Connectors
>  [drm] Connector 0:
>  [drm]   HDMI-A-1
>  [drm]   HPD1
>  [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
>  [drm]   Encoders:
>  [drm] DFP1: INTERNAL_UNIPHY
>  [drm] Connector 1:
>  [drm]   DVI-D-1
>  [drm]   HPD2
>  [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
>  [drm]   Encoders:
>  [drm] DFP2: INTERNAL_UNIPHY
>  [drm] Connector 2:
>  [drm]   VGA-1
>  [drm]   DDC: 0x1970 0x1970 0x1971 0x1971 0x1972 0x1972 0x1973 0x1973
>  [drm]   Encoders:
>  [drm] CRT1: INTERNAL_KLDSCP_DAC1
>  [drm] Found UVD firmware Version: 64.0 Family ID: 13
>  amdgpu: Move buffer fallback to memcpy unavailable
>  [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block 
>  failed -19
>  amdgpu :01:00.0: amdgpu: amdgpu_device_ip_init failed
>  amdgpu :01:00.0: amdgpu: Fatal error during GPU init
>  amdgpu :01:00.0: amdgpu: amdgpu: finishing device.
>  BUG: kernel NULL pointer dereference, address: 0090
>  #PF: supervisor write access in kernel mode
>  #PF: error_code(0x0002) - not-present page
>  PGD 0 P4D 0
>  Oops: 0002 [#1] PREEMPT SMP NOPTI
>  CPU: 3 PID: 447 Comm: udevd Not tainted 6.0.0+ #5179
>  Hardware name: System 

Re: [git pull] drm fixes for 6.1-rc1

2022-10-16 Thread Arthur Marsh
From: Arthur Marsh 

Hi, the "drm fixes for 6.1-rc1" commit caused the amdgpu module to fail
with my Cape Verde radeonsi card.

I haven't been able to bisect the problem to an individual commit, but
attach a dmesg extract below.

I'm happy to supply any other configuration information and test patches.

Arthur.

 Linux version 6.0.0+ (root@am64) (gcc-12 (Debian 12.2.0-5) 12.2.0, GNU ld (GNU 
Binutils for Debian) 2.39) #5179 SMP PREEMPT_DYNAMIC Fri Oct 14 17:00:40 ACDT 
2022
 Command line: BOOT_IMAGE=/vmlinuz-6.0.0+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single amdgpu.audio=1 
amdgpu.si_support=1 radeon.si_support=0 page_owner=on amdgpu.gpu_recovery=1
...

 [drm] amdgpu kernel modesetting enabled.
 amdgpu :01:00.0: vgaarb: deactivate vga console
 Console: switching to colour dummy device 80x25
 [drm] initializing kernel modesetting (VERDE 0x1002:0x682B 0x1458:0x22CA 0x87).
 [drm] register mmio base: 0xFE8C
 [drm] register mmio size: 262144
 [drm] add ip block number 0 
 [drm] add ip block number 1 
 [drm] add ip block number 2 
 [drm] add ip block number 3 
 [drm] add ip block number 4 
 [drm] add ip block number 5 
 [drm] add ip block number 6 
 [drm] add ip block number 7 
 [drm] BIOS signature incorrect 5b 7
 resource sanity check: requesting [mem 0x000c-0x000d], which spans 
more than PCI Bus :00 [mem 0x000d-0x000d window]
 caller pci_map_rom+0x68/0x1b0 mapping multiple BARs
 amdgpu :01:00.0: No more image in the PCI ROM
 amdgpu :01:00.0: amdgpu: Fetched VBIOS from ROM BAR
 amdgpu: ATOM BIOS: xxx-xxx-xxx
 amdgpu :01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
 amdgpu :01:00.0: amdgpu: PCIE atomic ops is not supported
 [drm] PCIE gen 2 link speeds already enabled
 [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
 RTL8211B Gigabit Ethernet r8169-0-300:00: attached PHY driver 
(mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
 r8169 :03:00.0 eth0: Link is Down
 amdgpu :01:00.0: amdgpu: VRAM: 2048M 0x00F4 - 
0x00F47FFF (2048M used)
 amdgpu :01:00.0: amdgpu: GART: 1024M 0x00FF - 
0x00FF3FFF
 [drm] Detected VRAM RAM=2048M, BAR=256M
 [drm] RAM width 128bits DDR3
 [drm] amdgpu: 2048M of VRAM memory ready
 [drm] amdgpu: 3979M of GTT memory ready.
 [drm] GART: num cpu pages 262144, num gpu pages 262144
 amdgpu :01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 
0x00F400A0).
 [drm] Internal thermal controller with fan control
 [drm] amdgpu: dpm initialized
 [drm] AMDGPU Display Connectors
 [drm] Connector 0:
 [drm]   HDMI-A-1
 [drm]   HPD1
 [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
 [drm]   Encoders:
 [drm] DFP1: INTERNAL_UNIPHY
 [drm] Connector 1:
 [drm]   DVI-D-1
 [drm]   HPD2
 [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
 [drm]   Encoders:
 [drm] DFP2: INTERNAL_UNIPHY
 [drm] Connector 2:
 [drm]   VGA-1
 [drm]   DDC: 0x1970 0x1970 0x1971 0x1971 0x1972 0x1972 0x1973 0x1973
 [drm]   Encoders:
 [drm] CRT1: INTERNAL_KLDSCP_DAC1
 [drm] Found UVD firmware Version: 64.0 Family ID: 13
 amdgpu: Move buffer fallback to memcpy unavailable
 [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block  
failed -19
 amdgpu :01:00.0: amdgpu: amdgpu_device_ip_init failed
 amdgpu :01:00.0: amdgpu: Fatal error during GPU init
 amdgpu :01:00.0: amdgpu: amdgpu: finishing device.
 BUG: kernel NULL pointer dereference, address: 0090
 #PF: supervisor write access in kernel mode
 #PF: error_code(0x0002) - not-present page
 PGD 0 P4D 0 
 Oops: 0002 [#1] PREEMPT SMP NOPTI
 CPU: 3 PID: 447 Comm: udevd Not tainted 6.0.0+ #5179
 Hardware name: System manufacturer System Product Name/M3A78 PRO, BIOS 1701
01/27/2011
 RIP: 0010:drm_sched_fini+0x80/0xa0 [gpu_sched]
 Code: 76 83 0e c4 c6 85 8c 01 00 00 00 5b 5d 41 5c 41 5d c3 cc cc cc cc 4c 8d 
63 f0 4c 89 e7 e8 08 99 8e c4 48 8b 03 48 39 d8 74 0f  80 90 00 00 00 01 48 
8b 00 48 39 d8 75 f1 4c 89 e7 e8 c9 99 8e
 RSP: 0018:beb3c06bfbb8 EFLAGS: 00010213
 RAX:  RBX: 99bae8269a98 RCX: 99bab703afc0
 RDX: 0001 RSI: 99bab703afe8 RDI: 
 RBP: 99bae82699f0 R08: 85cd0bc2 R09: 0010
 R10: 0035 R11: 99bb594806c0 R12: 99bae8269a88
 R13: 99bae82699f8 R14: 99bae82665e8 R15: 
 FS:  7fd81fcd9840() GS:99bb67cc() knlGS:
 CS:  0010 DS:  ES:  CR0: 80050033
 CR2: 0090 CR3: 000111822000 CR4: 06e0
 Call Trace:
  
  amdgpu_fence_driver_sw_fini+0xc2/0xd0 [amdgpu]
  amdgpu_device_fini_sw+0x17/0x3c0 [amdgpu]
  amdgpu_driver_release_kms+0x12/0x30 [amdgpu]
  devm_drm_dev_init_release+0x4a/0x70 [drm]
  release_nodes+0x40/0xb0
  devres_release_all+0x89/0xc0
  device_unbind_cleanup+0xe/0x70
  really_probe+0x245/0x3a0
  ? pm_runtime_barrier+0x61/0xb0
  

Re: [git pull] drm fixes for 6.1-rc1

2022-10-13 Thread pr-tracker-bot
The pull request you sent on Fri, 14 Oct 2022 10:29:19 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2022-10-14

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9c9155a3509a2ebdb06d77c7a621e9685c802eac

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.1-rc1

2022-10-13 Thread Linus Torvalds
On Thu, Oct 13, 2022 at 5:29 PM Dave Airlie  wrote:
>
> Round of fixes for the merge window stuff, bunch of amdgpu and i915
> changes, this should have the gcc11 warning fix, amongst other
> changes.

Some of those amd changes aren't "fixes". They are some major code changes.

We're still in the merge window, so I'm letting it slide, but calling
then "fixes" really stretches things. They are fixes exactly the same
way completely new development can "fix" things.

  Linus


Re: [git pull] drm fixes for 6.0 final

2022-09-30 Thread pr-tracker-bot
The pull request you sent on Fri, 30 Sep 2022 10:12:45 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-09-30-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5a77386984b513ebfb2700e70dac44509fc81aa9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.0 final

2022-09-30 Thread Alex Deucher
On Thu, Sep 29, 2022 at 8:13 PM Dave Airlie  wrote:
>
> Hi Linus,
>
> Last set of fixes for 6.0 hopefully, minor bridge fixes, i915 fixes,
> and a bunch of amdgpu fixes for new IP blocks, along with a couple of
> regression fixes. Hopefully all set for merge window next week.
>
> Dave.

Dave,

Actually I just sent you another -PR to deal with recent board/bios
revisions containing new IPs.  That should be it though.

Thanks,

Alex

>
> drm-fixes-2022-09-30-1:
> drm fixes for 6.0 final
>
> amdgpu:
> - GC 11.x fixes
> - SMU 13.x fixes
> - DCN 3.1.4 fixes
> - DCN 3.2.x fixes
> - GC 9.x fix
> - Fence fix
> - SR-IOV supend/resume fix
> - PSR regression fix
>
> i915:
> - Restrict forced preemption to the active context
> - Restrict perf_limit_reasons to the supported platforms - gen11+
>
> bridge:
> - analogix: Revert earlier suspend fix
> - lt8912b: Fix corrupt display output
> The following changes since commit f76349cf41451c5c42a99f18a9163377e4b364ff:
>
>   Linux 6.0-rc7 (2022-09-25 14:01:02 -0700)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-09-30-1
>
> for you to fetch changes up to 6643b3836f3908c4f77883b2fae72451e85cf3ca:
>
>   Merge tag 'drm-intel-fixes-2022-09-29' of
> git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2022-09-30
> 09:28:58 +1000)
>
> 
> drm fixes for 6.0 final
>
> amdgpu:
> - GC 11.x fixes
> - SMU 13.x fixes
> - DCN 3.1.4 fixes
> - DCN 3.2.x fixes
> - GC 9.x fix
> - Fence fix
> - SR-IOV supend/resume fix
> - PSR regression fix
>
> i915:
> - Restrict forced preemption to the active context
> - Restrict perf_limit_reasons to the supported platforms - gen11+
>
> bridge:
> - analogix: Revert earlier suspend fix
> - lt8912b: Fix corrupt display output
>
> 
> Alvin Lee (1):
>   drm/amd/display: Update DCN32 to use new SR latencies
>
> Aric Cyr (1):
>   drm/amd/display: Fix audio on display after unplugging another
>
> Ashutosh Dixit (1):
>   drm/i915/gt: Perf_limit_reasons are only available for Gen11+
>
> Bokun Zhang (1):
>   drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
>
> Brian Norris (1):
>   Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in
> suspend/resume time"
>
> Chris Wilson (1):
>   drm/i915/gt: Restrict forced preemption to the active context
>
> Dave Airlie (3):
>   Merge tag 'drm-misc-fixes-2022-09-29' of
> git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
>   Merge tag 'amd-drm-fixes-6.0-2022-09-29' of
> https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
>   Merge tag 'drm-intel-fixes-2022-09-29' of
> git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
>
> Eric Bernstein (1):
>   drm/amd/display: Remove assert for odm transition case
>
> Evan Quan (3):
>   drm/amdgpu: avoid gfx register accessing during gfxoff
>   drm/amd/pm: enable gfxoff feature for SMU 13.0.0
>   drm/amd/pm: use adverse selection for dpm features unsupported by driver
>
> Francesco Dolcini (1):
>   drm/bridge: lt8912b: fix corrupted image output
>
> Graham Sider (3):
>   drm/amdkfd: fix MQD init for GFX11 in init_mqd
>   drm/amdgpu: pass queue size and is_aql_queue to MES
>   drm/amdkfd: fix dropped interrupt in kfd_int_process_v11
>
> Jiadong.Zhu (2):
>   drm/amdgpu: Correct the position in patch_cond_exec
>   drm/amdgpu: Remove fence_process in count_emitted
>
> Leo Li (1):
>   drm/amd/display: Prevent OTG shutdown during PSR SU
>
> Nicholas Kazlauskas (3):
>   drm/amd/display: Do DIO FIFO enable after DP video stream enable
>   drm/amd/display: Wrap OTG disable workaround with FIFO control
>   drm/amd/display: Add explicit FIFO disable for DP blank
>
> Philippe Schenker (2):
>   drm/bridge: lt8912b: add vsync hsync
>   drm/bridge: lt8912b: set hdmi or dvi mode
>
> Samson Tam (1):
>   drm/amd/display: fill in clock values when DPM is not enabled
>
> Taimur Hassan (3):
>   drm/amd/display: Avoid avoid unnecessary pixel rate divider programming
>   drm/amd/display: Fix typo in get_pixel_rate_div
>   drm/amd/display: Avoid unnecessary pixel rate divider programming
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c   |  4 +
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 27 ++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c  |  1 -
>  drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h|  2 +
>  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c |  4 +
>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c  |  2 +-
>  drivers/gpu/drm/amd/amdgpu/mes_v11_0.c |  4 +
>  .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  2 +
>  drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c   |  6 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c   |  4 +
>  .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c  |  8 +-
>  

Re: [git pull] drm fixes for v6.0-rc7

2022-09-23 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Sep 2022 16:08:19 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-09-23-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/22565ae784134282e03912023456151a61db479c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for v6.0-rc6

2022-09-16 Thread pr-tracker-bot
The pull request you sent on Fri, 16 Sep 2022 18:28:58 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-09-16

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5763d7f29652f94bdfc9dab87888f79ba6bb6c34

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.0-rc5

2022-09-09 Thread pr-tracker-bot
The pull request you sent on Sat, 10 Sep 2022 01:57:22 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-09-10

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b7e00d6f55015f6995f41c60a5367f1065d37622

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.0-rc4

2022-09-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Sep 2022 11:48:36 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-09-02

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1e8e515edd6dbe15b86003d846fee005c12c0685

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.0-rc3

2022-08-26 Thread pr-tracker-bot
The pull request you sent on Fri, 26 Aug 2022 14:30:12 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-08-26-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/78effb4a9b8c3589519b84759ac1757647072448

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.0-rc2

2022-08-19 Thread pr-tracker-bot
The pull request you sent on Fri, 19 Aug 2022 14:05:45 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-08-19

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/adb67b373a68b6ca4ea9225e248d726f0f5f0f8d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.0-rc2

2022-08-19 Thread pr-tracker-bot
The pull request you sent on Fri, 19 Aug 2022 14:05:45 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-08-19

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/adb67b373a68b6ca4ea9225e248d726f0f5f0f8d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 6.0-rc1

2022-08-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Aug 2022 06:09:44 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-next-2022-08-12-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7ce2aa6d7fe121e243e1c8a8093911fecdf1c88e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 5.19 final (part 2)

2022-07-29 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Jul 2022 06:24:26 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-07-30

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e65c6a46df94c8d76ea1129eb2d4564670c6f214

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 5.19 final

2022-07-28 Thread pr-tracker-bot
The pull request you sent on Fri, 29 Jul 2022 13:31:03 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-07-29

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6e2c0490769ef8a95b61304389116ccc85c53e12

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 5.19-rc8

2022-07-22 Thread pr-tracker-bot
The pull request you sent on Fri, 22 Jul 2022 14:15:37 +1000:

> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-07-22

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8e65afba6baaa1317efc4038cbced1268c6e2f6b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] drm fixes for 5.19-rc7

2022-07-17 Thread Vivi, Rodrigo
On Sat, 2022-07-16 at 15:08 -0700, Linus Torvalds wrote:
> On Sat, Jul 16, 2022 at 2:35 PM Linus Torvalds
>  wrote:
> > 
> > That said, even those type simplifications do not fix the
> > fundamental
> > issue. That "DIV_ROUND_UP()" still ends up being a 64-bit divide,
> > although now it's at least a "64-by-32" bit divide.
> 
> Hmm. The "DIV_ROUND_UP()" issue could be solved by just making the
> rule be that the max_segment size is always a power of two.
> 
> Then you don't need the (expensive!) DIV_ROUND_UP(), and can just use
> the regular "round_up()" that works on powers-of-two.
> 
> And the simplest way to do that is to just make "max_segments" be
> 2GB.
> 
> The whole "round_down(UINT_MAX, page_alignment)" seems entirely
> pointless. Do you really want segments that are some odd number just
> under the 4GB mark, and force expensive divides?

I fully agree with you that if we have only things at 32bit we could
use the round up and avoid the division.

> 
> For consistency, I used the same value in
> i915_rsgt_from_buddy_resource(). I have no idea if that makes sense.
> 
> Anyway, the attached patch is COMPLETELY UNTESTED. But it at least
> seems to compile. Maybe.

Thanks. We should check this.

Meanwhile I'd like to say that the team had worked already to fix the
horrible 32 vs 64 bits inconsistency and the build breakage already.

The fix [1] was merged Jul 13.

[1] https://patchwork.freedesktop.org/patch/493637/?series=106260=1

I'm the one to blame for not having
propagated this along with the latest drm-intel-fixes round.

Please accept my apologies.

I will check right now why this was missed on my side and check how to
propagate quickly.

Sorry,
Rodrigo.

> 
>   Linus



Re: [git pull] drm fixes for 5.19-rc7

2022-07-16 Thread Linus Torvalds
On Sat, Jul 16, 2022 at 2:35 PM Linus Torvalds
 wrote:
>
> That said, even those type simplifications do not fix the fundamental
> issue. That "DIV_ROUND_UP()" still ends up being a 64-bit divide,
> although now it's at least a "64-by-32" bit divide.

Hmm. The "DIV_ROUND_UP()" issue could be solved by just making the
rule be that the max_segment size is always a power of two.

Then you don't need the (expensive!) DIV_ROUND_UP(), and can just use
the regular "round_up()" that works on powers-of-two.

And the simplest way to do that is to just make "max_segments" be 2GB.

The whole "round_down(UINT_MAX, page_alignment)" seems entirely
pointless. Do you really want segments that are some odd number just
under the 4GB mark, and force expensive divides?

For consistency, I used the same value in
i915_rsgt_from_buddy_resource(). I have no idea if that makes sense.

Anyway, the attached patch is COMPLETELY UNTESTED. But it at least
seems to compile. Maybe.

  Linus
 drivers/gpu/drm/i915/i915_scatterlist.c | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_scatterlist.c b/drivers/gpu/drm/i915/i915_scatterlist.c
index f63b50b71e10..830dcd833d4e 100644
--- a/drivers/gpu/drm/i915/i915_scatterlist.c
+++ b/drivers/gpu/drm/i915/i915_scatterlist.c
@@ -81,7 +81,9 @@ struct i915_refct_sgt *i915_rsgt_from_mm_node(const struct drm_mm_node *node,
 	  u64 region_start,
 	  u64 page_alignment)
 {
-	const u64 max_segment = round_down(UINT_MAX, page_alignment);
+	// Make sure max_segment (and thus segment_pages) is
+	// a power of two that fits in 32 bits.
+	const u64 max_segment = 1ul << 31;
 	u64 segment_pages = max_segment >> PAGE_SHIFT;
 	u64 block_size, offset, prev_end;
 	struct i915_refct_sgt *rsgt;
@@ -96,7 +98,7 @@ struct i915_refct_sgt *i915_rsgt_from_mm_node(const struct drm_mm_node *node,
 
 	i915_refct_sgt_init(rsgt, node->size << PAGE_SHIFT);
 	st = >table;
-	if (sg_alloc_table(st, DIV_ROUND_UP(node->size, segment_pages),
+	if (sg_alloc_table(st, round_up(node->size, segment_pages),
 			   GFP_KERNEL)) {
 		i915_refct_sgt_put(rsgt);
 		return ERR_PTR(-ENOMEM);
@@ -159,7 +161,7 @@ struct i915_refct_sgt *i915_rsgt_from_buddy_resource(struct ttm_resource *res,
 {
 	struct i915_ttm_buddy_resource *bman_res = to_ttm_buddy_resource(res);
 	const u64 size = res->num_pages << PAGE_SHIFT;
-	const u64 max_segment = round_down(UINT_MAX, page_alignment);
+	const u64 max_segment = 1u << 31;
 	struct drm_buddy *mm = bman_res->mm;
 	struct list_head *blocks = _res->blocks;
 	struct drm_buddy_block *block;


Re: [git pull] drm fixes for 5.19-rc7

2022-07-16 Thread Linus Torvalds
On Fri, Jul 15, 2022 at 2:09 PM Nathan Chancellor  wrote:
>
> On Fri, Jul 15, 2022 at 01:36:17PM +1000, Dave Airlie wrote:
> > Matthew Auld (1):
> >   drm/i915/ttm: fix sg_table construction
>
> This patch breaks i386_defconfig with both GCC and clang:
>
>   ld: drivers/gpu/drm/i915/i915_scatterlist.o: in function 
> `i915_rsgt_from_mm_node':
>   i915_scatterlist.c:(.text+0x1a7): undefined reference to `__udivdi3'

Yeah, we definitely don't want arbitrary 64x64 divides in the kernel,
and the fact that we don't include libgcc.a once again caught this
horrid issue.

The offending code is

if (sg_alloc_table(st, DIV_ROUND_UP(node->size, segment_pages),
   GFP_KERNEL)) {

and I have to say that all of those games with "u64 page_alignment"
that commit aff1e0b09b54 ("drm/i915/ttm: fix sg_table construction")
introduces are absolutely disgusting.

And they are just *pointlessly* disgusting.

Why is that "page_alignment" a "u64"?

And why is it a "size", instead of being a "number of bits"?

The code literally does things like

const u64 max_segment = round_down(UINT_MAX, page_alignment);

which means that

 (a) page_alignment must be a power-of-two for this to work
(round_down() only works in powers of two)

 (b) the result obviously must fit in an "unsigned int", since it's
rounding down a UINT_MAX!

So (a) makes it doubtful that "page_alignment" should have been a
value (as opposed to mask), and (b) then questions why was that made
an "u64" value when it cannot have a u64 range?

And if max_segments cannot have a 64-bit range, then segment_pages here:

u64 segment_pages = max_segment >> PAGE_SHIFT;

sure cannot.

Fixing those then uncovers other things:

len = min(block_size, max_segment - sg->length);

now complains about mixing types ("max_segment - sg->length" being
u32), because 'block_size' is 64, bit, and that does seem to make some
amount of sense:

block_size = node->size << PAGE_SHIFT;

with the 'node->size' being from drm_mm_node, and that size is a
'u64'. That I *could* see being more than 32 bits on a 64-bit
architecture. Ok.

But then that means that 'len' cannot be a 64-bit value either, and it
should probably have been

u32 len;
..
len = min_t(u64, block_size, max_segment - sg->length);

and that would just have been a lot nicer on 32-bit x86, avoiding a
lot of pointlessly 64-bit things.

That said, even those type simplifications do not fix the fundamental
issue. That "DIV_ROUND_UP()" still ends up being a 64-bit divide,
although now it's at least a "64-by-32" bit divide.

Which needs to be handled by "do_div()" rather than the generic
DIV_ROUND_UP() helper, because sadly, at least gcc still generates a
full __udivdi3() even for the 64-by-32 divides.

Can Intel GPU people please take a look?

 Linus


  1   2   3   4   5   >