Subversion Repositories Kolibri OS

Rev

Rev 1430 | Rev 1964 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1430 Rev 1630
Line 24... Line 24...
24
 */
24
 */
25
#ifndef __DRM_CRTC_H__
25
#ifndef __DRM_CRTC_H__
26
#define __DRM_CRTC_H__
26
#define __DRM_CRTC_H__
Line 27... Line 27...
27
 
27
 
28
#include 
28
#include 
29
//#include 
29
#include 
30
#include 
30
#include 
Line 31... Line 31...
31
#include 
31
#include 
Line 572... Line 572...
572
/**
572
/**
573
 * drm_mode_config - Mode configuration control structure
573
 * drm_mode_config - Mode configuration control structure
574
 *
574
 *
575
 */
575
 */
576
struct drm_mode_config {
576
struct drm_mode_config {
577
//   struct mutex mutex; /* protects configuration (mode lists etc.) */
577
	struct mutex mutex; /* protects configuration (mode lists etc.) */
578
//   struct mutex idr_mutex; /* for IDR management */
578
	struct mutex idr_mutex; /* for IDR management */
579
    struct idr crtc_idr; /* use this idr for all IDs, fb, crtc, connector, modes - just makes life easier */
579
    struct idr crtc_idr; /* use this idr for all IDs, fb, crtc, connector, modes - just makes life easier */
580
	/* this is limited to one for now */
580
	/* this is limited to one for now */
581
	int num_fb;
581
	int num_fb;
582
	struct list_head fb_list;
582
	struct list_head fb_list;
583
	int num_connector;
583
	int num_connector;