aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
diff options
context:
space:
mode:
authorChristophe Fergeau <[email protected]>2016-11-08 10:12:09 +0100
committerGerd Hoffmann <[email protected]>2016-11-15 09:45:33 +0100
commitff996e72a0a1503005b76d0869a46b3a712f327a (patch)
tree8e4616d9579cb046b221babefb2edeef40545827 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
parent9e3b317839298abc0ab796a691f8449a16792398 (diff)
qxl: Allow resolution which are not multiple of 8
The use of drm_cvt_mode() in qxl_add_monitors_config_modes() means that the resolutions we are going to present to user-space are going to be rounded down to a multiple of 8. In the QXL arbitrary resolution case, this is not useful. This commit forces the actual width/height that was requested by the client in the drm_display_mode structure rather than keeping the rounded version. Signed-off-by: Christophe Fergeau <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions