diff options
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h b/drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h new file mode 100644 index 000000000000..e2c63fd4fe92 --- /dev/null +++ b/drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h @@ -0,0 +1,19 @@ +/* + * gamma_calcs.h + * + * Created on: Feb 9, 2016 + * Author: yonsun + */ + +#ifndef DRIVERS_GPU_DRM_AMD_DC_DEV_DC_INC_GAMMA_CALCS_H_ +#define DRIVERS_GPU_DRM_AMD_DC_DEV_DC_INC_GAMMA_CALCS_H_ + +#include "opp.h" +#include "core_types.h" +#include "dc.h" + +bool calculate_regamma_params(struct pwl_params *params, + const struct core_gamma *ramp, + const struct core_surface *surface); + +#endif /* DRIVERS_GPU_DRM_AMD_DC_DEV_DC_INC_GAMMA_CALCS_H_ */ |