https://bugs.freedesktop.org/show_bug.cgi?id=105664
Bug ID: 105664 Summary: AMD HAINAN (Radeon R5 M330) Clock frequency is 750MHz while it is supposed to be 1030MHz Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: yassine10suno@gmail.com
Kernel source: /drivers/gpu/drm/radeon/si_dpm.c line 2985:
max_sclk = 75000;
instead of
max_sclk = 103000;
Why is that? I changed it and rebuilt the kernel, and I can say that there are absolutely no issues when using the 1030MHz clock, **which is the default frequency this GPU is designed for**.
https://bugs.freedesktop.org/show_bug.cgi?id=105664
--- Comment #1 from Yassine Oudjana yassine10suno@gmail.com --- Created attachment 142420 --> https://bugs.freedesktop.org/attachment.cgi?id=142420&action=edit root/drivers/gpu/drm/radeon/si_dpm.c with 1 line modified
blob: 8fb60b3af015804d6d5ee3ef5d6f24ba74e2b1d9 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/driv...
Line 2985 modified from: max_sclk = 75000; to: max_sclk = 103000;
https://bugs.freedesktop.org/show_bug.cgi?id=105664
--- Comment #2 from Alex Deucher alexdeucher@gmail.com --- A number of boards had stability issues at the default clocks. Please attach your dmesg output.
https://bugs.freedesktop.org/show_bug.cgi?id=105664
--- Comment #3 from Yassine Oudjana yassine10suno@gmail.com --- Created attachment 142424 --> https://bugs.freedesktop.org/attachment.cgi?id=142424&action=edit dmesg output
https://bugs.freedesktop.org/show_bug.cgi?id=105664
--- Comment #4 from Yassine Oudjana yassine10suno@gmail.com --- Comment on attachment 142424 --> https://bugs.freedesktop.org/attachment.cgi?id=142424 dmesg output
Note: I have not modified the kernel dmesg was ran under. Core clock is still 750MHz.
https://bugs.freedesktop.org/show_bug.cgi?id=105664
--- Comment #5 from Yassine Oudjana y.oudjana@protonmail.com --- Why is the core clock for this GPU (HAINAN) and what seems to have codename OLAND hard-coded anyway? The other GPUs do not have their clocks hard-coded, which allows them to be modified without modifying and rebuilding the module.
https://bugs.freedesktop.org/show_bug.cgi?id=105664
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #6 from Martin Peres martin.peres@free.fr --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/846.
dri-devel@lists.freedesktop.org