From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 194867] New: DRM BUG while initializing cape verde (2nd card)
Date: Mon, 13 Mar 2017 09:50:12 +0000 [thread overview]
Message-ID: <bug-194867-2300@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=194867
Bug ID: 194867
Summary: DRM BUG while initializing cape verde (2nd card)
Product: Drivers
Version: 2.5
Kernel Version: 4.11-rc2
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri@kernel-bugs.osdl.org
Reporter: janpieter.sollie@dommel.be
Regression: No
Created attachment 255215
--> https://bugzilla.kernel.org/attachment.cgi?id=255215&action=edit
zip file with all listed attachments
There seems to be a logical error while specifying the memory sizes for ttm in
the amdgpu module on the SI architecture:
while the Fiji card boots fine, the Cape Verde card gives a kernel BUG.
dmesg and .config and proposed patch in attachment.
the problem lies in linux/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c: the
determination of the p_size is reduced 0 when the page_shift is too big
I managed to work around the problem when changing the sentence
"adev->gds.mem.total_size >> PAGE_SHIFT)" in amdgpu_ttm_init to
"(adev->gds.mem.total_size >> PAGE_SHIFT) + 1)", and the same for
"(adev->gds.gws.total_size" and "adev->gds.oa.total_size", though I am not sure
this is the correct solution. The problem is that my SI card is limited in
memory (I guess) and the page_size is 12
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2017-03-13 9:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 9:50 bugzilla-daemon [this message]
2017-03-15 13:57 ` [Bug 194867] DRM BUG while initializing cape verde (2nd card) bugzilla-daemon
2017-03-15 13:57 ` bugzilla-daemon
2017-03-16 8:09 ` bugzilla-daemon
2017-03-16 8:10 ` bugzilla-daemon
2017-03-16 8:34 ` bugzilla-daemon
2017-03-16 9:20 ` bugzilla-daemon
2017-03-16 9:23 ` bugzilla-daemon
2017-03-16 9:33 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-194867-2300@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox