diff options
author | Amy Zhang <Amy.Zhang@amd.com> | 2017-01-05 17:12:20 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:09:48 -0400 |
commit | fcd2f4bf8bbe73ac860d1be275a22a54a8d8d385 (patch) | |
tree | 30a5335d72e4447205c7cef07e0c6a0a411edf43 /drivers/gpu/drm/amd/display/include | |
parent | 457b74cb3773a1950e49c2d4826d1b295c59bdf1 (diff) | |
download | linux-fcd2f4bf8bbe73ac860d1be275a22a54a8d8d385.tar.bz2 |
drm/amd/display: Output Transfer Function Regamma Refactor
- Create translation function to translate logical format to hw format
- Refactor to use transfer function in dc instead of input gamma
Signed-off-by: Amy Zhang <Amy.Zhang@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
-rw-r--r-- | drivers/gpu/drm/amd/display/include/fixed31_32.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/fixed31_32.h b/drivers/gpu/drm/amd/display/include/fixed31_32.h index c28de167250f..5a4364dfd2f7 100644 --- a/drivers/gpu/drm/amd/display/include/fixed31_32.h +++ b/drivers/gpu/drm/amd/display/include/fixed31_32.h @@ -192,6 +192,14 @@ struct fixed31_32 dal_fixed31_32_add( /* * @brief + * result = arg1 + arg2 + */ +struct fixed31_32 dal_fixed31_32_add_int( + struct fixed31_32 arg1, + int32_t arg2); + +/* + * @brief * result = arg1 - arg2 */ struct fixed31_32 dal_fixed31_32_sub_int( |