Bug 181121

Summary: switching to colour frame buffer device - wrong detected resolution
Product: Drivers Reporter: blesk2
Component: Console/FramebuffersAssignee: James Simmons (jsimmons)
Status: NEW ---    
Severity: normal CC: blesk2
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.8.4 Subsystem:
Regression: No Bisected commit-id:

Description blesk2 2016-10-24 20:04:19 UTC
When booting to console using KMS and Dell UP2715K (5k resolution 2x DP) monitor the detected resolution is wrong (only 30 rows).
dmesg | grep Console
[    0.000000] Console: colour VGA+ 80x25
[    3.323564] Console: switching to colour frame buffer device 586x30

fbset -i
mode "4688x480"
    geometry 4688 480 4688 2160 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

Frame buffer device information:
    Name        : radeondrmfb
    Address     : 0xe05d8000
    Size        : 40919040
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 18944
    Accelerator : No

lspci | grep VGA
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland GL [FirePro W2100]


It is possible to change resolution with fbset utility.
fbset -xres 3840 -yres 2160

fbset -i
mode "3840x2160"
    geometry 3840 2160 4688 2160 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

Frame buffer device information:
    Name        : radeondrmfb
    Address     : 0xe05d8000
    Size        : 40919040
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 18944
    Accelerator : No