1/*
2 * Copyright 2011, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Michael Lotz, mmlr@mlotz.ch
7 */
8#ifndef INTEL_FITTER_H
9#define INTEL_FITTER_H
10
11
12#include "intel_extreme.h"
13
14class PanelFitter {
15public:
16									PanelFitter(pipe_index pipeIndex);
17virtual								~PanelFitter();
18
19		bool						IsEnabled();
20		void						Enable(const display_timing& timing);
21		void						Disable();
22
23private:
24		void						_Enable(bool enable);
25
26		uint32						fRegisterBase;
27};
28
29#endif // INTEL_FITTER_H
30