Bug 216814

Summary: amdgpu: CTM support has disappeared (vega)
Product: Drivers Reporter: Bruno Jacquet (maxijac)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED ANSWERED    
Severity: normal    
Priority: P1    
Hardware: AMD   
OS: Linux   
Kernel Version: 6.0 Subsystem:
Regression: No Bisected commit-id:

Description Bruno Jacquet 2022-12-16 12:08:41 UTC
Hello,

I noticed the CTM support from X is no longer advertised with recent kernels.

Card: Vega64
xf86-video-amdgpu: 22.0.0-1

With older kernels, xrandr reports CTM correctly.
With the same X stack, simple rebooting on a more recent kernel, CTM is not advertised anymore.


>$ uname -r
>5.15.83-1-lts
>$ xrandr --prop | grep -i ctm
>        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
>        CTM: 0
>        CTM: 0
>        CTM: 0
>        CTM: 0
>        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
>$
> 

> -- Reboot to 6.1 --

> 
>$ uname -r
>6.1.0-arch1-1
>$ xrandr --prop | grep -i ctm
>$

I also have a custom config 6.0 kernel that shows no CTM so the break has happened between 5.15 and 6.0.
I tried looking at commits in between and code changes in amdgpu but did not notice anything obvious.
Comment 1 Artem S. Tashkinov 2022-12-17 08:30:12 UTC
The proper bug tracker for AMD GPU drivers is here:

https://gitlab.freedesktop.org/drm/amd/-/issues

Please repost over there.