xref: /haiku/src/add-ons/accelerants/intel_extreme/PanelFitter.h (revision 13581b3d2a71545960b98fefebc5225b5bf29072)
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 
14 class PanelFitter {
15 public:
16 									PanelFitter(pipe_index pipeIndex);
17 virtual								~PanelFitter();
18 
19 		bool						IsEnabled();
20 		void						Enable(const display_timing& timing);
21 		void						Disable();
22 
23 private:
24 		void						_Enable(bool enable);
25 
26 		uint32						fRegisterBase;
27 };
28 
29 #endif // INTEL_FITTER_H
30