1. 14 Dec, 2023 1 commit
    • Melissa Wen's avatar
      drm/amd/display: add plane 3D LUT support · 486c95af
      Melissa Wen authored
      Wire up DC 3D LUT to DM plane color management (pre-blending). On AMD
      display HW, 3D LUT comes after a shaper curve and we always have to
      program a shaper curve to delinearize or normalize the color space
      before applying a 3D LUT (since we have a reduced number of LUT
      entries).
      
      In this version, the default values of 3D LUT for size and bit_depth are
      17x17x17 and 12-bit, but we already provide here a more generic
      mechanisms to program other supported values (9x9x9 size and 10-bit).
      
      v2:
      - started with plane 3D LUT instead of CRTC 3D LUT support
      
      v4:
      - lut3d_size is the max dimension size instead of # of entries
      Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
      Signed-off-by: default avatarMelissa Wen <mwen@igalia.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      486c95af
  2. 13 Dec, 2023 39 commits