[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2019-11-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

Martin Peres  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|NEW |RESOLVED

--- Comment #16 from Martin Peres  ---
-- 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/336.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #15 from Petr Cvek  ---
(In reply to hjpriester from comment #14)
> I am now running 4.19.4 and did not get the messages anymore.
> The messages where there from 4.5.11 to 4.18.16

I've got the warnings with vanilla 4.20-rc2 (-next-20181113) on RX460 card.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #14 from hjpries...@gmail.com ---
I am now running 4.19.4 and did not get the messages anymore.
The messages where there from 4.5.11 to 4.18.16

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #13 from Petr Cvek  ---
Comment on attachment 142485
  --> https://bugs.freedesktop.org/attachment.cgi?id=142485
Suggested fix with a semaphore

It seems there is a race condition between multiple threads which calls
dal_ddc_open(). With attached patch (testing only, ugly) there are no warnings
anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

Petr Cvek  changed:

   What|Removed |Added

 CC||petrcve...@gmail.com

--- Comment #12 from Petr Cvek  ---
Created attachment 142485
  --> https://bugs.freedesktop.org/attachment.cgi?id=142485=edit
Suggested fix with a semaphore

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-09-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #11 from higu...@gmx.net ---
*** Bug 106164 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #10 from Marc Thomas  ---
(In reply to Alex Deucher from comment #9)
> It's possible that there are issues with gpio-amdpt and pinctrl-amd that
> lead to general system stability issues, but it should be noted the the gpio
> stuff in amdgpu is completely unrelated to those modules.

I think you're right - I still do get these warnings in 4.18.9 even with the
modules blacklisted; just not all the time.

Interestingly I found the other warning I get from
amdgpu_dm/amdgpu_dm_mst_types.c can be provoked by running "xcmddc -lv". It
seems udevd does this during boot. See also bug 107456.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #9 from Alex Deucher  ---
(In reply to Marc Thomas from comment #8)
> After some testing/experimentation/and scouring the internet, I've found
> that blacklisting modules gpio_amdpt (gpio-amdpt.ko) & pinctrl_amd
> (pinctrl-amd.ko) greatly reduce the likelihood of the gpio_base.c:64 &
> gpio_service.c:488 dmesg warnings. I suspect some kind of race condition
> during boot as the modules may load in any order.

It's possible that there are issues with gpio-amdpt and pinctrl-amd that lead
to general system stability issues, but it should be noted the the gpio stuff
in amdgpu is completely unrelated to those modules.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #8 from Marc Thomas  ---
After some testing/experimentation/and scouring the internet, I've found that
blacklisting modules gpio_amdpt (gpio-amdpt.ko) & pinctrl_amd (pinctrl-amd.ko)
greatly reduce the likelihood of the gpio_base.c:64 & gpio_service.c:488 dmesg
warnings. I suspect some kind of race condition during boot as the modules may
load in any order.

In Slackware-current I think pinctrl_amd was compiled in, so I had to change
the Kernel config and re-compile:

-CONFIG_PINCTRL_AMD=y
+CONFIG_PINCTRL_AMD=m

The blacklist was achieved by creating this file:
root@deepthought:~# cat /etc/modprobe.d/gpio_amdpt.conf 
blacklist gpio_amdpt
blacklist pinctrl_amd


NB: I found that once I'd had these kernel warnings I needed to reset the
hardware (front panel reset button or power cycle) to clear them, even with the
blacklist in place. A reboot didn't seem to be enough.

Finally, I do still get this warning (in 4.18-rc6 & 4.17.10), but I think the
cause is something else:

root@deepthought:~# dmesg | grep WARNING
[9.260098] WARNING: CPU: 15 PID: 1138 at
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:88
dm_dp_aux_transfer+0xa5/0xb0 [amdgpu]
[9.260163] WARNING: CPU: 4 PID: 1142 at
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:88
dm_dp_aux_transfer+0xa5/0xb0 [amdgpu]

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

Marc Thomas  changed:

   What|Removed |Added

 CC||m...@dragonfly.plus.com

--- Comment #7 from Marc Thomas  ---
I also see the WARNING messages in 4.17.10 and 4.18-rc6:

# grep WARNING dmesg.4.18.0-rc6
[9.167769] WARNING: CPU: 4 PID: 1133 at
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_base.c:64
dal_gpio_open_ex+0xc/0x30 [amdgpu]
[9.184735] WARNING: CPU: 4 PID: 1133 at
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:488
dal_ddc_open+0x31/0xe0 [amdgpu]
[9.246097] WARNING: CPU: 10 PID: 1134 at
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:88
dm_dp_aux_transfer+0xa5/0xb0 [amdgpu]
[9.411094] WARNING: CPU: 4 PID: 1133 at
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:88
dm_dp_aux_transfer+0xa5/0xb0 [amdgpu]


This is on an Ryzen 2700x based system with an RX480 GPU, connected to an
IIyama ProLite XB2380HS via DVI.

I'm also running Slackware-current Linux, so I wonder whether it's something in
Slackware's kernel config.

PS: This may be the same as Bug 106164.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

higu...@gmx.net changed:

   What|Removed |Added

 CC||higu...@gmx.net

--- Comment #6 from higu...@gmx.net ---
running 4.17.1 on a asus rx480 i also get this

I do not see any hang or problem due to this warning/oops

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #5 from hjpries...@gmail.com ---
Created attachment 138448
  --> https://bugs.freedesktop.org/attachment.cgi?id=138448=edit
dmesg of  drm-next-4.17-wip (date of clone 2018-03-29)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #4 from hjpries...@gmail.com ---
Harry,

I have build a kernel using the:

git clone -b drm-next-4.17-wip git://people.freedesktop.org/~agd5f/linux

I did the clone about 2018-29-03 20:00 UTC  

The warnings are still there.
root@hjp2:~# dmesg | grep -i Warning
[0.00] ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has
valid Length but zero Address: 0x/0x1 (20180105/tbfadt-658)
[5.351226] WARNING: CPU: 1 PID: 491 at
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_base.c:64
dal_gpio_open_ex+0xc/0x30 [amdgpu]
[5.353376] WARNING: CPU: 1 PID: 491 at
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:487
dal_ddc_open+0x2c/0xd0 [amdgpu]

I never get the hang during a boot. I will report that as a separate bug.

The display I am using is a IIYama Prolite XUB2792QSU using Displayport.
It it a 27" 2560x1440 monitor.
The distrubution is Slackware-current. ("pre 15.0")

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #3 from Harry Wentland  ---
The warnings are likely not related to the hang in this case.

Installing or building the kernel might depend on your distribution. You should
be able to find a guide by googling "building a custom kernel ".

In general you might want to
 * mkdir mybuilddir
 * git clone git://people.freedesktop.org/~agd5f/linux
 * cd linux
 * cp /boot/config- .config
 * if you're on ubuntu/debian:
   * make deb-pkg
   * sudo dpkg -i 

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #2 from hjpries...@gmail.com ---
Is there a guide a build the 4.15.x kernel using the drm-4.17-wip?
I can try to compile/test it next weekend.

The problem I have is that when I display a certain png with "imagemagick
display" X11 hangs.
The screen is not longer updated and only a reboot helps.

When I run the program using strace the last system call displayed is:

 ioctl(6, DRM_IOCTL_AMDGPU_WAIT_CS. 

That is why I am thinking it might have to do with the amdgpu.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

--- Comment #1 from Harry Wentland  ---
I'm not sure, but I think they could be related to a hang.

A couple questions:
 * Do you see a hang a boot, or in a different scenario?
 * What display are you using?
 * What's your distribution?
 * Are you able to try the drm-next-4.17-wip branch from
https://cgit.freedesktop.org/~agd5f/linux/ ?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-03-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

hjpries...@gmail.com changed:

   What|Removed |Added

   Hardware|Other   |x86-64 (AMD64)
 CC||hjpries...@gmail.com
 OS|All |Linux (All)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-03-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725

Bug ID: 105725
   Summary: WARNING: CPU: 0 PID: 487 at
drivers/gpu/drm/amd/amdgpu/../display
/dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30
[amdgpu]
   Product: DRI
   Version: unspecified
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/AMDgpu
  Assignee: dri-devel@lists.freedesktop.org
  Reporter: hjpries...@gmail.com

Created attachment 138331
  --> https://bugs.freedesktop.org/attachment.cgi?id=138331=edit
Dmesg output with the two "WARNINGS of admgpu"

Using Linux kernel 4.15.11 I get two warnings during a boot.
I am using the "amdgpu.dc=1"  to get sound. 
I have a RX550 video card.

Could these message be related to a "hang" I sometimes have?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel