diff options
author | Amy Zhang <Amy.Zhang@amd.com> | 2017-01-06 01:12:20 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-27 00:09:48 +0300 |
commit | fcd2f4bf8bbe73ac860d1be275a22a54a8d8d385 (patch) | |
tree | 30a5335d72e4447205c7cef07e0c6a0a411edf43 /drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | |
parent | 457b74cb3773a1950e49c2d4826d1b295c59bdf1 (diff) | |
download | linux-fcd2f4bf8bbe73ac860d1be275a22a54a8d8d385.tar.xz |
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/dc/inc/hw/opp.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h index a1f31a4410a3..bef5e2cacbe3 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h @@ -138,9 +138,7 @@ struct custom_float_value { struct hw_x_point { uint32_t custom_float_x; - uint32_t custom_float_x_adjusted; struct fixed31_32 x; - struct fixed31_32 adjusted_x; struct fixed31_32 regamma_y_red; struct fixed31_32 regamma_y_green; struct fixed31_32 regamma_y_blue; |