linux/drivers/gpu/drm/amd/display/amdgpu_dm
Mario Kleiner 580204038f drm/amd/display: Enable support for 16 bpc fixed-point framebuffers.
This is intended to enable direct high-precision scanout and pageflip
of Vulkan swapchain images in format VK_FORMAT_R16G16B16A16_UNORM.

Expose DRM_FORMAT_XRGB16161616, DRM_FORMAT_ARGB16161616,
DRM_FORMAT_XBGR16161616 and DRM_FORMAT_ABGR16161616 as 16 bpc
unsigned normalized formats. These allow to take full advantage
of the maximum precision of the display hardware, ie. currently
up to 12 bpc.

Searching through old AMD M56, M76 and RV630 hw programming docs
suggests that these 16 bpc formats are supported by all DCE and
DCN display engines, so we can expose the formats unconditionally.

Successfully tested on AMD Polaris11 DCE-11.2 an RavenRidge DCN-1.0
with a HDR-10 monitor over 10 bpc DP output with spatial dithering
enabled by the driver. Picture looks good, and my photometer
measurement procedure confirms an effective 12 bpc color
reproduction.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-27 15:00:48 -04:00
..
amdgpu_dm.c drm/amd/display: Enable support for 16 bpc fixed-point framebuffers. 2021-05-27 15:00:48 -04:00
amdgpu_dm.h drm/amdgpu/display: add helper functions to get/set backlight (v2) 2021-05-19 22:44:31 -04:00
amdgpu_dm_color.c
amdgpu_dm_crc.c drm/amd/display: Avoid get/put vblank when stream disabled 2021-05-19 22:39:28 -04:00
amdgpu_dm_crc.h drm/amd/display: Refactor suspend/resume of Secure display 2021-05-19 22:39:16 -04:00
amdgpu_dm_debugfs.c drm/amd/display: multi-eDP backlight support 2021-05-10 18:06:44 -04:00
amdgpu_dm_debugfs.h drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
amdgpu_dm_hdcp.c drm/amd/display: Initialize attribute for hdcp_srm sysfs file 2021-05-13 10:46:06 -04:00
amdgpu_dm_hdcp.h drm/amdgpu/display: remove hdcp_srm sysfs on device removal 2021-02-18 16:43:08 -05:00
amdgpu_dm_helpers.c drm/amd/display: Add dc log for DP SST DSC enable/disable 2021-05-10 18:10:18 -04:00
amdgpu_dm_irq.c drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
amdgpu_dm_irq.h drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
amdgpu_dm_irq_params.h drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
amdgpu_dm_mst_types.c drm/amd/display: Retrieve DSC Branch Decoder Caps 2021-05-27 12:24:45 -04:00
amdgpu_dm_mst_types.h
amdgpu_dm_pp_smu.c drm/amd/pm: make DAL communicate with SMU through unified interfaces 2021-04-09 16:42:37 -04:00
amdgpu_dm_services.c
amdgpu_dm_trace.h drm/amd/display: Add refresh rate trace 2021-04-09 16:47:57 -04:00
Makefile