Skip to content

Commit

Permalink
drm: [DEBUG] Set patched debug max frame avg luminance != max luminan…
Browse files Browse the repository at this point in the history
…ce for debugging
  • Loading branch information
misyltoad committed Oct 25, 2023
1 parent 5916bb2 commit 04eb72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ static void create_patched_edid( const uint8_t *orig_data, size_t orig_size, drm
(1 << HDMI_EOTF_SDR) | (1 << HDMI_EOTF_TRADITIONAL_HDR) | (1 << HDMI_EOTF_ST2084), /* supported eotfs */
1, /* type 1 */
encode_max_luminance(flMaxPeakLuminance), /* desired content max peak luminance */
encode_max_luminance(flMaxPeakLuminance), /* desired content max frame avg luminance */
encode_max_luminance(flMaxPeakLuminance * 0.8f), /* desired content max frame avg luminance */
0, /* desired content min luminance -- 0 is technically "undefined" */
};

Expand Down

0 comments on commit 04eb72b

Please sign in to comment.