Skip to content

HDR aux backlight range calculation

Jouni Högander amd-gfx dri-devel intel-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v24 patches 3 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: New function to get luminance range based on static hdr metadatadrivers/gpu/drm/drm_edid.c include/drm/drm_connector.h+72 -10 replies
2/3drm/amdgpu_dm: Rely on split out luminance calculation functiondrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+4 -313 replies
3/3drm/i915: Use luminance range calculated during edid parsingdrivers/gpu/drm/i915/display/intel_dp_aux_backlight.c+13 -20 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJani NikulaAlex Deucher
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] HDR aux backlight range calculation

This patch set splits out static hdr metadata backlight range parsing from gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c into gpu/drm/drm-edid.c as a new function. This new function is then used during edid parsing when HDR static metadata block parsing.

Calculated values are stored in a new struct drm_luminance_range introduced into display_info. Amdgpu_dm.c and intel_dp_aux_backlight.c are using this new data.

v3: Some clean-ups suggested by Jani Nikula
v2: Calculate the range during edid parsing and store into display_info

Cc Roman Li <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Rodrigo Siqueira <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Lyude Paul <[email protected]>
Cc Mika Kahola <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Manasi Navare <[email protected]>

Jouni Högander (3):
drm: New function to get luminance range based on static hdr metadata drm/amdgpu_dm: Rely on split out luminance calculation function drm/i915: Use luminance range calculated during edid parsing

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 35 ++-----------
 drivers/gpu/drm/drm_edid.c                    | 52 ++++++++++++++++++-
 .../drm/i915/display/intel_dp_aux_backlight.c | 15 +++++-
 include/drm/drm_connector.h                   | 21 ++++++++
 4 files changed, 89 insertions(+), 34 deletions(-)
Signature · 1 line
2.25.1