[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #34 from MasterCATZ (masterc...@hotmail.com) --- success drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->fan_ctrl_is_in_default_mode = false; it will now boot up in manual mode finally I have fan control

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout causes system freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #10 from saadnaj...@gmail.com --- Comment on attachment 145981 --> https://bugs.freedesktop.org/attachment.cgi?id=145981 additional-journalctl-logs-during-game-play >Nov 17 01:02:31 archlinux audit[1]: SERVICE_STOP pid=1 uid=0

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout causes system freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #9 from saadnaj...@gmail.com --- Comment on attachment 145980 --> https://bugs.freedesktop.org/attachment.cgi?id=145980 journalctl-logs-after-hardware-reboot >-- Logs begin at Sun 2019-06-30 23:10:01 EDT, end at Sat 2019-11-16

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout causes system freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #8 from saadnaj...@gmail.com --- Comment on attachment 145976 --> https://bugs.freedesktop.org/attachment.cgi?id=145976 dmesg >[ 14.586198] wlp4s0: associated >[ 14.601321] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout causes system freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #7 from saadnaj...@gmail.com --- Created attachment 145981 --> https://bugs.freedesktop.org/attachment.cgi?id=145981=edit additional-journalctl-logs-during-game-play I have enabled GPU reset with the following options

[Bug 105819] Window system hang due to GPU Fault

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105819 saadnaj...@gmail.com changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout causes system freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 saadnaj...@gmail.com changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout causes system freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #6 from saadnaj...@gmail.com --- Created attachment 145980 --> https://bugs.freedesktop.org/attachment.cgi?id=145980=edit journalctl-logs-after-hardware-reboot I believe this important clue. Here is the journalctl logs right after

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout causes system freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 saadnaj...@gmail.com changed: What|Removed |Added Summary|[drm:amdgpu_job_timedout|[drm:amdgpu_job_timedout

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout Causes System Freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #4 from saadnaj...@gmail.com --- Created attachment 145979 --> https://bugs.freedesktop.org/attachment.cgi?id=145979=edit GLX_INFO_AMD_7970M -- You are receiving this mail because: You are the assignee for the

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout Causes System Freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #3 from saadnaj...@gmail.com --- Created attachment 145978 --> https://bugs.freedesktop.org/attachment.cgi?id=145978=edit xorg.conf -- You are receiving this mail because: You are the assignee for the

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout Causes System Freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #2 from saadnaj...@gmail.com --- Created attachment 145977 --> https://bugs.freedesktop.org/attachment.cgi?id=145977=edit journalctl I caught the output of journal when the freeze occured -- You are receiving this mail because:

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout Causes System Freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 --- Comment #1 from saadnaj...@gmail.com --- Created attachment 145976 --> https://bugs.freedesktop.org/attachment.cgi?id=145976=edit dmesg Dmesg output I caught when other monitor -- You are receiving this mail because: You are the

[Bug 112304] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout Causes System Freeze

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112304 Bug ID: 112304 Summary: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout Causes System Freeze Product: DRI Version: DRI git Hardware: x86-64 (AMD64)

[Bug 112303] [LENOVO E595] Black screen on resume!

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112303 Bug ID: 112303 Summary: [LENOVO E595] Black screen on resume! Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

Re: [PATCH] drm/msm/dpu: ignore NULL clocks

2019-11-16 Thread Stephen Boyd
Quoting Rob Clark (2019-11-14 10:51:50) > From: Rob Clark > > This isn't an error. Also the clk APIs handle the NULL case, so we can > just delete the check. > > Signed-off-by: Rob Clark > Tested-by: Matthias Kaehlcke > --- Acked-by: Stephen Boyd

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #33 from MasterCATZ (masterc...@hotmail.com) --- another plan drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c hwmgr->dpm_level = AMD_DPM_FORCED_LEVEL_AUTO; hwmgr_init_default_caps(hwmgr);

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #32 from MasterCATZ (masterc...@hotmail.com) --- apparently I was looking through kernel 4.7 code on my pc and not master linux/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c looks like the new file name as they relocated ci_dpm.c

[PATCH v7 15/17] drm/amd/display: MST DSC compute fair share

2019-11-16 Thread mikita.lipski
From: David Francis If there is limited link bandwidth on a MST network, it must be divided fairly between the streams on that network Implement an algorithm to determine the correct DSC config for each stream The algorithm: This [ ] ( ) represents the range of

[PATCH v7 10/17] drm/dp_mst: Manually overwrite PBN divider for calculating timeslots

2019-11-16 Thread mikita.lipski
From: Mikita Lipski [why] For DSC case we cannot always use topology manager's PBN divider variable. The default divider does not take FEC into account. Therefore we should allow driver to calculate its own divider based on the link rate and count its handling, as it is hw specific. [how] Pass

[PATCH v7 11/17] drm/dp_mst: Add DSC enablement helpers to DRM

2019-11-16 Thread mikita.lipski
From: Mikita Lipski Adding a helper function to be called by drivers outside of DRM to enable DSC on the MST ports. Function is called to recalculate VCPI allocation if DSC is enabled and raise the DSC flag to enable. In case of disabling DSC the flag is set to false and recalculation of VCPI

[PATCH v7 16/17] drm/amd/display: Recalculate VCPI slots for new DSC connectors

2019-11-16 Thread mikita.lipski
From: Mikita Lipski [why] Since for DSC MST connector's PBN is claculated differently due to compression, we have to recalculate both PBN and VCPI slots for that connector. [how] The function iterates through all the active streams to find, which have DSC enabled, then recalculates PBN for it

[PATCH v7 12/17] drm/dp_mst: Add branch bandwidth validation to MST atomic check

2019-11-16 Thread mikita.lipski
From: Mikita Lipski Adding PBN attribute to drm_dp_vcpi_allocation structure to keep track of how much bandwidth each Port requires. Adding drm_dp_mst_atomic_check_bw_limit to verify that state's bandwidth needs doesn't exceed available bandwidth. The funtion is called in drm_dp_mst_atomic_check

[PATCH v7 00/17] DSC MST support for DRM and AMDGPU

2019-11-16 Thread mikita.lipski
From: Mikita Lipski Patches are based of amd-staging-drm-next, the follow up set of patches will be sent for drm-tip This set of patches is a continuation of DSC enablement patches for AMDGPU. This set enables DSC on MST. It also contains implementation of both encoder and connector atomic

[PATCH v7 09/17] drm/amd/display: Write DSC enable to MST DPCD

2019-11-16 Thread mikita.lipski
From: David Francis Rework the dm_helpers_write_dsc_enable callback to handle the MST case. Use the cached dsc_aux field. Reviewed-by: Wenjing Liu Signed-off-by: David Francis Signed-off-by: Mikita Lipski --- .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 19 ++- 1 file

[PATCH v7 02/17] drm/dp_mst: Parse FEC capability on MST ports

2019-11-16 Thread mikita.lipski
From: David Francis As of DP1.4, ENUM_PATH_RESOURCES returns a bit indicating if FEC can be supported up to that point in the MST network. The bit is the first byte of the ENUM_PATH_RESOURCES ack reply, bottom-most bit (refer to section 2.11.9.4 of DP standard, v1.4) That value is needed for

[PATCH v7 01/17] drm/dp_mst: Add PBN calculation for DSC modes

2019-11-16 Thread mikita.lipski
From: David Francis With DSC, bpp can be fractional in multiples of 1/16. Change drm_dp_calc_pbn_mode to reflect this, adding a new parameter bool dsc. When this parameter is true, treat the bpp parameter as having units not of bits per pixel, but 1/16 of a bit per pixel v2: Don't add separate

[PATCH v7 14/17] drm/amd/display: Add PBN per slot calculation for DSC

2019-11-16 Thread mikita.lipski
From: Mikita Lipski [why] Need to calculate VCPI slots differently for DSC to take in account current link rate, link count and FEC. [how] Add helper to get pbn_div from dc_link Signed-off-by: Mikita Lipski --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 8

[PATCH v7 17/17] drm/amd/display: Trigger modesets on MST DSC connectors

2019-11-16 Thread mikita.lipski
From: Mikita Lipski Whenever a connector on an MST network is attached, detached, or undergoes a modeset, the DSC configs for each stream on that topology will be recalculated. This can change their required bandwidth, requiring a full reprogramming, as though a modeset was performed, even if

[PATCH v7 04/17] drm/dp_mst: Fill branch->num_ports

2019-11-16 Thread mikita.lipski
From: David Francis This field on drm_dp_mst_branch was never filled It is initialized to zero when the port is kzallocced. When a port is added to the list, increment num_ports, and when a port is removed from the list, decrement num_ports. v2: remember to decrement on port removal v3: don't

[PATCH v7 08/17] drm/amd/display: Validate DSC caps on MST endpoints

2019-11-16 Thread mikita.lipski
From: David Francis During MST mode enumeration, if a new dc_sink is created, populate it with dsc caps as appropriate. Use drm_dp_mst_dsc_aux_for_port to get the raw caps, then parse them onto dc_sink with dc_dsc_parse_dsc_dpcd. Reviewed-by: Wenjing Liu Signed-off-by: David Francis

[PATCH v7 05/17] drm/dp_mst: Add helpers for MST DSC and virtual DPCD aux

2019-11-16 Thread mikita.lipski
From: David Francis Add drm_dp_mst_dsc_aux_for_port. To enable DSC, the DSC_ENABLED register might have to be written on the leaf port's DPCD, its parent's DPCD, or the MST manager's DPCD. This function finds the correct aux for the job. As part of this, add drm_dp_mst_is_virtual_dpcd. Virtual

[PATCH v7 07/17] drm/amd/display: Initialize DSC PPS variables to 0

2019-11-16 Thread mikita.lipski
From: David Francis For DSC MST, sometimes monitors would break out in full-screen static. The issue traced back to the PPS generation code, where these variables were being used uninitialized and were picking up garbage. memset to 0 to avoid this Reviewed-by: Nicholas Kazlauskas

[PATCH v7 03/17] drm/dp_mst: Add MST support to DP DPCD R/W functions

2019-11-16 Thread mikita.lipski
From: David Francis Instead of having drm_dp_dpcd_read/write and drm_dp_mst_dpcd_read/write as entry points into the aux code, have drm_dp_dpcd_read/write handle both. This means that DRM drivers can make MST DPCD read/writes. v2: Fix spacing v3: Dump dpcd access on MST read/writes v4: Fix

[PATCH v7 06/17] drm/dp_mst: Add new quirk for Synaptics MST hubs

2019-11-16 Thread mikita.lipski
From: Mikita Lipski Synaptics DP1.4 hubs (BRANCH_ID 0x90CC24) do not support virtual DPCD registers, but do support DSC. The DSC caps can be read from the physical aux, like in SST DSC. These hubs have many different DEVICE_IDs. Add a new quirk to detect this case. Reviewed-by: Wenjing Liu

[PATCH v7 13/17] drm/dp_mst: Add helper to trigger modeset on affected DSC MST CRTCs

2019-11-16 Thread mikita.lipski
From: Mikita Lipski [why] Whenever a connector on an MST network is changed or undergoes a modeset, the DSC configs for each stream on that topology will be recalculated. This can change their required bandwidth, requiring a full reprogramming, as though a modeset was performed, even if that

[Bug 205497] Attempt to read amd gpu id causes a freeze

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205497 --- Comment #18 from Luya Tshimbalanga (l...@fedoraproject.org) --- Reading another bug report on https://bugzilla.kernel.org/show_bug.cgi?id=204689 taken from amdgfx mailing list, could that issue related? Anyway, radeontop still runs with the

[Bug 205497] Attempt to read amd gpu id causes a freeze

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205497 --- Comment #17 from Luya Tshimbalanga (l...@fedoraproject.org) --- Created attachment 285951 --> https://bugzilla.kernel.org/attachment.cgi?id=285951=edit Screenshot of radeontop running with patched kernel Running radeontop with the patched

[Bug 205497] Attempt to read amd gpu id causes a freeze

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205497 --- Comment #15 from Luya Tshimbalanga (l...@fedoraproject.org) --- Created attachment 285947 --> https://bugzilla.kernel.org/attachment.cgi?id=285947=edit dmesg from amd raven ridege Ryzen 2500u dmesg showing latest kernel git snapshot --

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #235 from Marko Popovic --- (In reply to Alex Deucher from comment #233) > Does attachment 145971 [details] [review] help? No, this is for flip hangs that only happen in some games, random SDMA hangs are still present, but SDMA is

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #234 from Timur Kristóf --- (In reply to John H from comment #227) > However, I have hard freezes when playing games. A > specific one I can reproduce EVERY. SINGLE. TIME. was when playing Unreal > Tournament 3 via Steam proton.

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #233 from Alex Deucher --- Does attachment 145971 help? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #31 from MasterCATZ (masterc...@hotmail.com) --- oh I love it they know the drivers file is crap anyhow it looks like the real issue is in the GPU driver fan speeds temps everything is in their , ofcause this would not be an issue

Re: drm core/helpers and MIT license

2019-11-16 Thread Noralf Trønnes
Den 16.11.2019 12.57, skrev Emmanuel Vadot: > On Fri, 15 Nov 2019 15:33:46 +0100 > Noralf Trønnes wrote: > >> >> >> Den 15.11.2019 13.34, skrev Ville Syrjälä: >>> On Thu, Nov 14, 2019 at 08:01:32PM +, co...@sdf.org wrote: Hi Daniel, I don't think we can make any complaints

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #30 from MasterCATZ (masterc...@hotmail.com) --- found them hard coded here for the R9 290 hawaii / Sea Islands chip sets so that will be a dirty way to get it to go 100% throttle sooner I'll set mine to 85000 and see how it goes ,

[Bug 109206] Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #69 from Jay Fitzpatrick --- Upgraded to 5.3.11-300.fc31.x86_64 this morning with linux-firmware-20191022-103.fc31.noarch and no evidence of regression Jay -- You are receiving this mail because: You are the assignee for the

Re: drm core/helpers and MIT license

2019-11-16 Thread Emmanuel Vadot
Hi Daniel, On Tue, 12 Nov 2019 16:03:33 +0100 Daniel Vetter wrote: > Hi all, > > Dave and me chatted about this last week on irc. Essentially we have: > > $ git grep SPDX.*GPL -- ':(glob)drivers/gpu/drm/*c' > drivers/gpu/drm/drm_client.c:// SPDX-License-Identifier: GPL-2.0 >

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #29 from MasterCATZ (masterc...@hotmail.com) --- from what I can work out the only difference between the kernel versions was they added extra thermal readings to support the newer cards with thermal junction sensors {-273150,

Re: drm core/helpers and MIT license

2019-11-16 Thread Emmanuel Vadot
On Fri, 15 Nov 2019 15:33:46 +0100 Noralf Trønnes wrote: > > > Den 15.11.2019 13.34, skrev Ville Syrjälä: > > On Thu, Nov 14, 2019 at 08:01:32PM +, co...@sdf.org wrote: > >> Hi Daniel, > >> > >> I don't think we can make any complaints about GPL being more widely > >> used in the DRM code.

[Bug 112266] [Navi] Pathfinder: Kingmaker is causing a GPU hang: flip_done timed out error

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112266 --- Comment #9 from Jan Kowalski <5lac7w...@protonmail.com> --- I had this bug on tested kernels: 5.3.8, 5.3.9, 5.4.0-rc6, 5.4.0-rc7. I can confirm hangs occurred, when the cursor was moved after some time of inactivity (10-60 sec, depending on

[Bug 205309] kmemleak reports various leaks in amdgpu

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205309 Erhard F. (erhar...@mailbox.org) changed: What|Removed |Added Resolution|OBSOLETE|MOVED --- Comment #4

[Bug 112302] [kernel 5.4-rc7][amdgpu] kmemleak reports various leaks

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112302 --- Comment #2 from erhar...@mailbox.org --- Created attachment 145974 --> https://bugs.freedesktop.org/attachment.cgi?id=145974=edit kernel .config (kernel 5.4-rc7) -- You are receiving this mail because: You are the assignee for the

[Bug 112302] [kernel 5.4-rc7][amdgpu] kmemleak reports various leaks

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112302 Bug ID: 112302 Summary: [kernel 5.4-rc7][amdgpu] kmemleak reports various leaks Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: All

[Bug 112302] [kernel 5.4-rc7][amdgpu] kmemleak reports various leaks

2019-11-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112302 --- Comment #1 from erhar...@mailbox.org --- Created attachment 145973 --> https://bugs.freedesktop.org/attachment.cgi?id=145973=edit dmesg (kernel 5.4-rc7) -- You are receiving this mail because: You are the assignee for the

[Bug 205309] kmemleak reports various leaks in amdgpu

2019-11-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205309 Erhard F. (erhar...@mailbox.org) changed: What|Removed |Added Status|NEW |RESOLVED