Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mdfld_intel_display.c File Reference
#include <linux/i2c.h>
#include <linux/pm_runtime.h>
#include <drm/drmP.h>
#include "psb_intel_reg.h"
#include "psb_intel_display.h"
#include "framebuffer.h"
#include "mdfld_output.h"
#include "mdfld_dsi_output.h"

Go to the source code of this file.

Data Structures

struct  psb_intel_range_t
 
struct  mrst_limit_t
 
struct  mrst_clock_t
 

Macros

#define COUNT_MAX   0x10000000
 
#define MDFLD_LIMT_DPLL_19   0
 
#define MDFLD_LIMT_DPLL_25   1
 
#define MDFLD_LIMT_DPLL_83   2
 
#define MDFLD_LIMT_DPLL_100   3
 
#define MDFLD_LIMT_DSIPLL_19   4
 
#define MDFLD_LIMT_DSIPLL_25   5
 
#define MDFLD_LIMT_DSIPLL_83   6
 
#define MDFLD_LIMT_DSIPLL_100   7
 
#define MDFLD_DOT_MIN   19750
 
#define MDFLD_DOT_MAX   120000
 
#define MDFLD_DPLL_M_MIN_19   113
 
#define MDFLD_DPLL_M_MAX_19   155
 
#define MDFLD_DPLL_P1_MIN_19   2
 
#define MDFLD_DPLL_P1_MAX_19   10
 
#define MDFLD_DPLL_M_MIN_25   101
 
#define MDFLD_DPLL_M_MAX_25   130
 
#define MDFLD_DPLL_P1_MIN_25   2
 
#define MDFLD_DPLL_P1_MAX_25   10
 
#define MDFLD_DPLL_M_MIN_83   64
 
#define MDFLD_DPLL_M_MAX_83   64
 
#define MDFLD_DPLL_P1_MIN_83   2
 
#define MDFLD_DPLL_P1_MAX_83   2
 
#define MDFLD_DPLL_M_MIN_100   64
 
#define MDFLD_DPLL_M_MAX_100   64
 
#define MDFLD_DPLL_P1_MIN_100   2
 
#define MDFLD_DPLL_P1_MAX_100   2
 
#define MDFLD_DSIPLL_M_MIN_19   131
 
#define MDFLD_DSIPLL_M_MAX_19   175
 
#define MDFLD_DSIPLL_P1_MIN_19   3
 
#define MDFLD_DSIPLL_P1_MAX_19   8
 
#define MDFLD_DSIPLL_M_MIN_25   97
 
#define MDFLD_DSIPLL_M_MAX_25   140
 
#define MDFLD_DSIPLL_P1_MIN_25   3
 
#define MDFLD_DSIPLL_P1_MAX_25   9
 
#define MDFLD_DSIPLL_M_MIN_83   33
 
#define MDFLD_DSIPLL_M_MAX_83   92
 
#define MDFLD_DSIPLL_P1_MIN_83   2
 
#define MDFLD_DSIPLL_P1_MAX_83   3
 
#define MDFLD_DSIPLL_M_MIN_100   97
 
#define MDFLD_DSIPLL_M_MAX_100   140
 
#define MDFLD_DSIPLL_P1_MIN_100   3
 
#define MDFLD_DSIPLL_P1_MAX_100   9
 
#define MDFLD_M_MIN   21
 
#define MDFLD_M_MAX   180
 

Functions

void mdfldWaitForPipeDisable (struct drm_device *dev, int pipe)
 
void mdfldWaitForPipeEnable (struct drm_device *dev, int pipe)
 
void mdfld__intel_plane_set_alpha (int enable)
 
void mdfld_disable_crtc (struct drm_device *dev, int pipe)
 

Variables

struct drm_crtc_helper_funcs mdfld_helper_funcs
 

Macro Definition Documentation

#define COUNT_MAX   0x10000000

Definition at line 49 of file mdfld_intel_display.c.

#define MDFLD_DOT_MAX   120000

Definition at line 509 of file mdfld_intel_display.c.

#define MDFLD_DOT_MIN   19750

Definition at line 508 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MAX_100   64

Definition at line 523 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MAX_19   155

Definition at line 511 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MAX_25   130

Definition at line 515 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MAX_83   64

Definition at line 519 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MIN_100   64

Definition at line 522 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MIN_19   113

Definition at line 510 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MIN_25   101

Definition at line 514 of file mdfld_intel_display.c.

#define MDFLD_DPLL_M_MIN_83   64

Definition at line 518 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MAX_100   2

Definition at line 525 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MAX_19   10

Definition at line 513 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MAX_25   10

Definition at line 517 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MAX_83   2

Definition at line 521 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MIN_100   2

Definition at line 524 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MIN_19   2

Definition at line 512 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MIN_25   2

Definition at line 516 of file mdfld_intel_display.c.

#define MDFLD_DPLL_P1_MIN_83   2

Definition at line 520 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MAX_100   140

Definition at line 539 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MAX_19   175

Definition at line 527 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MAX_25   140

Definition at line 531 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MAX_83   92

Definition at line 535 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MIN_100   97

Definition at line 538 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MIN_19   131

Definition at line 526 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MIN_25   97

Definition at line 530 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_M_MIN_83   33

Definition at line 534 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MAX_100   9

Definition at line 541 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MAX_19   8

Definition at line 529 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MAX_25   9

Definition at line 533 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MAX_83   3

Definition at line 537 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MIN_100   3

Definition at line 540 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MIN_19   3

Definition at line 528 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MIN_25   3

Definition at line 532 of file mdfld_intel_display.c.

#define MDFLD_DSIPLL_P1_MIN_83   2

Definition at line 536 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DPLL_100   3

Definition at line 502 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DPLL_19   0

Definition at line 499 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DPLL_25   1

Definition at line 500 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DPLL_83   2

Definition at line 501 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DSIPLL_100   7

Definition at line 506 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DSIPLL_19   4

Definition at line 503 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DSIPLL_25   5

Definition at line 504 of file mdfld_intel_display.c.

#define MDFLD_LIMT_DSIPLL_83   6

Definition at line 505 of file mdfld_intel_display.c.

#define MDFLD_M_MAX   180

Definition at line 587 of file mdfld_intel_display.c.

#define MDFLD_M_MIN   21

Definition at line 586 of file mdfld_intel_display.c.

Function Documentation

void mdfld__intel_plane_set_alpha ( int  enable)

Definition at line 146 of file mdfld_intel_display.c.

void mdfld_disable_crtc ( struct drm_device dev,
int  pipe 
)

Definition at line 257 of file mdfld_intel_display.c.

void mdfldWaitForPipeDisable ( struct drm_device dev,
int  pipe 
)

Definition at line 51 of file mdfld_intel_display.c.

void mdfldWaitForPipeEnable ( struct drm_device dev,
int  pipe 
)

Definition at line 79 of file mdfld_intel_display.c.

Variable Documentation

struct drm_crtc_helper_funcs mdfld_helper_funcs
Initial value:
= {
.dpms = mdfld_crtc_dpms,
.mode_fixup = psb_intel_crtc_mode_fixup,
.mode_set = mdfld_crtc_mode_set,
.mode_set_base = mdfld__intel_pipe_set_base,
.prepare = psb_intel_crtc_prepare,
.commit = psb_intel_crtc_commit,
}

Definition at line 1046 of file mdfld_intel_display.c.