Merge branch 'linux-4.8' of git://github.com/skeggsb/linux into drm-next
[deliverable/linux.git] / drivers / gpu / drm / sti / sti_awg_utils.h
CommitLineData
f32c4c50
BG
1/*
2 * Copyright (C) STMicroelectronics SA 2014
3 * Author: Vincent Abriou <vincent.abriou@st.com> for STMicroelectronics.
4 * License terms: GNU General Public License (GPL), version 2
5 */
6
7#ifndef _STI_AWG_UTILS_H_
8#define _STI_AWG_UTILS_H_
9
10#include <drm/drmP.h>
11
12#define AWG_MAX_INST 64
13
14struct awg_code_generation_params {
15 u32 *ram_code;
16 u8 instruction_offset;
17};
18
19struct awg_timing {
20 u32 total_lines;
21 u32 active_lines;
22 u32 blanking_lines;
23 u32 trailing_lines;
24 u32 total_pixels;
25 u32 active_pixels;
26 u32 blanking_pixels;
27 u32 trailing_pixels;
28 u32 blanking_level;
29};
30
31int sti_awg_generate_code_data_enable_mode(
32 struct awg_code_generation_params *fw_gen_params,
33 struct awg_timing *timing);
34#endif
This page took 0.147506 seconds and 5 git commands to generate.