summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2021-03-19 22:03:15 +0100
committerAlex Deucher <alexander.deucher@amd.com>2021-05-27 15:00:47 -0400
commita316db7209604427b1f54e9a9d88f1f1ac0119c0 (patch)
treef28a4033aaa6dc125bc971d839d310dc76361a86 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent050cd3d616d96c3a04f4877842a391c0a4fdcc7a (diff)
downloadlinux-a316db7209604427b1f54e9a9d88f1f1ac0119c0.tar.bz2
drm/amd/display: Increase linebuffer pixel depth to 36bpp.
Testing with the photometer shows that at least Raven Ridge DCN-1.0 does not achieve more than 10 bpc effective output precision with a 16 bpc unorm surface of type SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616, unless linebuffer depth is increased from LB_PIXEL_DEPTH_30BPP to LB_PIXEL_DEPTH_36BPP. Otherwise precision gets truncated somewhere to 10 bpc effective depth. Strangely this increase was not needed on Polaris11 DCE-11.2 during testing to get 12 bpc effective precision. It also is not needed for fp16 framebuffers. Tested on DCN-1.0 and DCE-11.2. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions