summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h
blob: e2c63fd4fe9216380eb0b9d336180a7092643901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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_ */