Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269837
b: refs/heads/master
c: 4c609cb
h: refs/heads/master
i:
  269835: 8858f0b
v: v3
  • Loading branch information
Jesse Barnes authored and Keith Packard committed Oct 20, 2011
1 parent 05b4967 commit cccc127
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4f9c4c2b3f1831e932e04db992cf6fe92c2a95a
refs/heads/master: 4c609cb890b13ef58e0c0cdd238993484e1b9b83
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/i915/i915_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -2967,15 +2967,15 @@

#define _PCH_DPLL_A 0xc6014
#define _PCH_DPLL_B 0xc6018
#define PCH_DPLL(pipe) _PIPE(pipe, _PCH_DPLL_A, _PCH_DPLL_B)
#define PCH_DPLL(pipe) (pipe == 0 ? _PCH_DPLL_A : _PCH_DPLL_B)

#define _PCH_FPA0 0xc6040
#define FP_CB_TUNE (0x3<<22)
#define _PCH_FPA1 0xc6044
#define _PCH_FPB0 0xc6048
#define _PCH_FPB1 0xc604c
#define PCH_FP0(pipe) _PIPE(pipe, _PCH_FPA0, _PCH_FPB0)
#define PCH_FP1(pipe) _PIPE(pipe, _PCH_FPA1, _PCH_FPB1)
#define PCH_FP0(pipe) (pipe == 0 ? _PCH_FPA0 : _PCH_FPB0)
#define PCH_FP1(pipe) (pipe == 0 ? _PCH_FPA1 : _PCH_FPB1)

#define PCH_DPLL_TEST 0xc606c

Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,9 @@ static void intel_enable_pch_pll(struct drm_i915_private *dev_priv,
int reg;
u32 val;

if (pipe > 1)
return;

/* PCH only available on ILK+ */
BUG_ON(dev_priv->info->gen < 5);

Expand All @@ -1192,6 +1195,9 @@ static void intel_disable_pch_pll(struct drm_i915_private *dev_priv,
int reg;
u32 val;

if (pipe > 1)
return;

/* PCH only available on ILK+ */
BUG_ON(dev_priv->info->gen < 5);

Expand Down

0 comments on commit cccc127

Please sign in to comment.