Skip to content

Commit 4a16285

Browse files
Samson Tamalexdeucher
authored andcommitted
drm/amd/display: add support for 2nd sharpening range
[Why & How] Add support for 2nd sharpening range for cases where we want override existing DCN sharpening range. Reviewed-by: Alvin Lee <[email protected]> Signed-off-by: Samson Tam <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 5dd63a0 commit 4a16285

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/gpu/drm/amd/display/dc/sspl/dc_spl_types.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,10 @@ enum sharpness_setting {
480480
SHARPNESS_ZERO,
481481
SHARPNESS_CUSTOM
482482
};
483+
enum sharpness_range_source {
484+
SHARPNESS_RANGE_DCN = 0,
485+
SHARPNESS_RANGE_DCN_OVERRIDE
486+
};
483487
struct spl_sharpness_range {
484488
int sdr_rgb_min;
485489
int sdr_rgb_max;

0 commit comments

Comments
 (0)