[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #26 from Öyvind Saether  ---
Testing using a HDMI cable now on 4.18.0-rc3-2NE1+ which includes the patches
as c42c12a905454734bbddaa9ca62413b4d493234e in kernel/git/torvalds/linux.git

It seems to work just fine, 4k60Hz on all displays. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #25 from Mike Lothian  ---
Feel free to add my tested by on those two patches

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #24 from mikita.lip...@amd.com  ---
Created attachment 140464
  --> https://bugs.freedesktop.org/attachment.cgi?id=140464=edit
Adding YCbCr4:2:0 pixel encoding support  for HDMI connectors

The previous patch depends on display_ingo structure introduced with this
patch. I haven't realized that it has not been yet promoted with the rest of
the DC patches. Not it should build fine.
Thanks for testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

Mike Lothian  changed:

   What|Removed |Added

 CC||m...@fireburn.co.uk

--- Comment #23 from Mike Lothian  ---
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function
‘fill_stream_properties_from_drm_display_mode’:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2273:51: error:
‘info’ undeclared (first use in this function); did you mean ‘insl’?
   check_if_display_depth_is_supported(timing_out, info);
   ^~~~
   insl
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2273:51: note: each
undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:317:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o] Error 1
make[4]: *** Waiting for unfinished jobs
make[3]: *** [scripts/Makefile.build:558: drivers/gpu/drm/amd/amdgpu] Error 2
make[2]: *** [scripts/Makefile.build:558: drivers/gpu/drm] Error 2
make[1]: *** [scripts/Makefile.build:558: drivers/gpu] Error 2
make: *** [Makefile:1034: drivers] Error 2

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

Öyvind Saether  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #22 from Öyvind Saether  ---
Thank you so much.

I replaced the RX470 with a RX570 with 3xDP but I really appreciate the quick
fix anyway. Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #21 from Michel Dänzer  ---
(In reply to mikita.lip...@amd.com from comment #19)
> This patch should fix the issue for you. It hasn't been pushed to the kernel
> tree since it is in our internal staging branch, but it should be released
> soon.

Regression fixes need to go upstream ASAP. Please send the patch to the amd-gfx
list for review, and push it to amd-staging-drm-next as soon as it's reviewed
(and ideally confirmed to fix the regression).

P.S. Please add

Bugzilla: https://bugs.freedesktop.org/106959

to the commit log to reference this report.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

Alex Deucher  changed:

   What|Removed |Added

 Attachment #140449|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

Alex Deucher  changed:

   What|Removed |Added

 Attachment #140450|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

Alex Deucher  changed:

   What|Removed |Added

 Attachment #140450|1   |0
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #19 from mikita.lip...@amd.com  ---
Created attachment 140449
  --> https://bugs.freedesktop.org/attachment.cgi?id=140449=edit
This patch should fix the issue for you. It hasn't been pushed to the kernel
tree since it is in our internal staging branch, but it should be released
soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #18 from Öyvind Saether  ---
Any progress on this? The bug is still present in 4.18.0-rc2 (git as of an hour
ago). Total scandal. 

Works on my system right now, though, since I stuffed bpc = 8; before switch
(bpc) in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c and compiled.

Perhaps a temporary fix could be a kernel parameter such as amdgpu.8bit=1

Or the code could check if the connector is HDMI and resolution is 4k and set
bpc=8 if that is true.

I suspect it would be a bit bad if 4.18 is released with this problem, btw. It
breaks 4k60Hz over HDMI on both my 4K's so it probably applies to most of the
4K monitors out there.

Thank you for reading all of this. Please fix my bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #17 from Öyvind Saether  ---
Created attachment 140267
  --> https://bugs.freedesktop.org/attachment.cgi?id=140267=edit
VP28U on HDMI dmesg with working kernel that gives 4k 60Hz

dmesg with drm.debug=0x04 log_buf_len=5M on kernel that works with 4k 60Hz on
VP28U connected with HDMI.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #16 from Öyvind Saether  ---
Created attachment 140266
  --> https://bugs.freedesktop.org/attachment.cgi?id=140266=edit
VP28U on HDMI gives same result as PB27U, 24hz on that display

ASUS PB27U or VP28U on HDMI produces the same problem (4k 24Hz default, max
30Hz available, no 4k 60Hz). This is dmesg with drm.debug=0x04 log_buf_len=5M

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #15 from Öyvind Saether  ---
Created attachment 140256
  --> https://bugs.freedesktop.org/attachment.cgi?id=140256=edit
dmesg after booting with drm.debug=0x04 log_buf_len=5M and switching to 24hz
then back to 60hz with kernel that can do 60hz 60hz 60hz

this is with kernel that does 60hz on HDMI, it's boot then switched to 24hz
with xfce4-display-manager and then switch back to 60Hz. didn't unplug the
monitor, didn't think it would differ (could do that if it's helpful)

sent some other dmesg output files too per e-mail. let me know if this wasn't
the right information required. Also, I have a RX560 connected to a 1440p via
DP, I could connect a 4K monitor to that box and see what happens if it's
somehow helpful (probably acts the same way?).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #14 from mikita.lip...@amd.com  ---
Could you please also enable KMS debug messages before plugging in HDMI display
(or choosing 60Hz refresh rate), while I'm trying to find a display to
reproduce the issue on my setup. Just run this command as a sudo: 
# echo 0x4 > /sys/module/drm/parameters/debug

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #13 from Alex Deucher  ---
(In reply to Öyvind Saether from comment #10)
> is the cause that HDMI can't 10-bit color at 60Hz on 4k? the displays
> connected by DisplayPort don't have this problem and one DP connected
> monitor is identical to the HDMI connected one. The GPU don't have more than
> 2 DP connectors so I'm stuck with w HDMI (don't like that connector,
> it's the worst) for one display.

That seems to be the case.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #12 from Öyvind Saether  ---
Created attachment 140248
  --> https://bugs.freedesktop.org/attachment.cgi?id=140248=edit
edid dump attempt

file is output of
for f in  /sys/class/drm/*/edid ; do edid-decode $f;done > /tmp/edid-decode.txt
this is running the kernel that gives 60hz 60hz 60hz, no idea if it makes a
difference (edid should be the same?). let me know if you require more
information and now to aquire it.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #11 from mikita.lip...@amd.com  ---
Hi, 
Could you please dump the edids for both DP and HDMI, so we can identify the
delta.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #10 from Öyvind Saether  ---
is the cause that HDMI can't 10-bit color at 60Hz on 4k? the displays connected
by DisplayPort don't have this problem and one DP connected monitor is
identical to the HDMI connected one. The GPU don't have more than 2 DP
connectors so I'm stuck with w HDMI (don't like that connector, it's the
worst) for one display.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #9 from Öyvind Saether  ---
Created attachment 140247
  --> https://bugs.freedesktop.org/attachment.cgi?id=140247=edit
e03fd3f300f6184c1264186a4c815e93bf658abb is the first bad commit

e03fd3f300f6184c1264186a4c815e93bf658abb is the first bad commit
commit e03fd3f300f6184c1264186a4c815e93bf658abb
Author: Mikita Lipski 
Date:   Wed May 16 16:46:18 2018 -0400

drm/amd/display: Do not limit color depth to 8bpc

Delete if statement that would force any display's color depth higher
than 8 bpc to 8

Signed-off-by: Mikita Lipski 
Reviewed-by: Harry Wentland 
Signed-off-by: Alex Deucher 

:04 04 57c7a743a10059addbfdd1a122f90c4053d377fa
13139317e62ef56db1748bf48f31f81eb986c7f8 M  drivers

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #8 from Michel Dänzer  ---
The bisect process isn't finished yet. Keep going until git bisect either
identifies the single commit which introduced the issue, or the minimum set of
candidates.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #7 from Öyvind Saether  ---
in linux/kernel/git/torvalds/linux.git
d819d298c7258849d56eb400be436aff3ba2aae2 works fine
becfc5e97cbab00b25a592aabc36838ec7217d1f is the first that does not and gives
me 30Hz 60Hz 60Hz

That pull has lots of changes and I don't know which exact one causes this
total scandal,
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=becfc5e97cbab00b25a592aabc36838ec7217d1f

don't know how to bisect just one file in a commit like that. perhaps it's not
that difficult, figuring out this bisect howto thing wasn't.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #6 from Öyvind Saether  ---
(In reply to Michel Dänzer from comment #5)
> Can you bisect?
http://www.landley.net/writing/git-bisect-howto.html
probably, it can't be that hard

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

Michel Dänzer  changed:

   What|Removed |Added

 CC||harry.wentl...@amd.com

--- Comment #5 from Michel Dänzer  ---
Can you bisect?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #4 from Öyvind Saether  ---
Created attachment 140220
  --> https://bugs.freedesktop.org/attachment.cgi?id=140220=edit
dmesg of working kernel 4.18.0-0.rc0.git8

no idea if this helps but if I must provide more incriminating evidence files
to solve the bug then please let me know what files are required and commands
to make them. thank you for you attention

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #3 from Öyvind Saether  ---
Created attachment 140219
  --> https://bugs.freedesktop.org/attachment.cgi?id=140219=edit
Xorg log with last kernel that works and allows 4k 60Hz over HDMI

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #2 from Öyvind Saether  ---
Created attachment 140218
  --> https://bugs.freedesktop.org/attachment.cgi?id=140218=edit
dmesg incriminating evidence 18.0-0.rc1.git0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 106959] kernel 4.18rc1 amdgpu can't 4k60hz over HDMI

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

--- Comment #1 from Öyvind Saether  ---
Created attachment 140217
  --> https://bugs.freedesktop.org/attachment.cgi?id=140217=edit
xorg log with HDMI connected monitor failing to do 60Hz, does 30Hz max

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati