Serve Corruption when changing resolution
Bug summary
In Gnome Display settings, when I changed the display resolution the screen becomes corrupted:
This occurs only on devices that are using eDP. Gnome seems to be using custom timings and not using the ones listed in the EDID:
For eDP it requires the h_total and v_total to be similar to the preferred mode:
[ 1.810020] [drm:dc_stream_log [amdgpu]] core_stream 0x000000001203d52f: src: 0, 0, 2560, 1600; dst: 0, 0, 2560, 1600, colorSpace:1 [ 1.810115] [drm:dc_stream_log [amdgpu]] pix_clk_khz: 552950, h_total: 2720, v_total: 1694, pixelencoder:1, displaycolorDepth:2
but when the resolution is changed, the h_total and v_total don't match the preferred mode:
[ 6.234151] [drm:dc_stream_log [amdgpu]] core_stream 0x000000009acf9a8b: src: 0, 0, 1920, 1440; dst: 0, 0, 1920, 1440, colorSpace:1 [ 6.234264] [drm:dc_stream_log [amdgpu]] pix_clk_khz: 233500, h_total: 2608, v_total: 1493, pixelencoder:1, displaycolorDepth:2