Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1c0a001 authored by jim.bride@linux.intel.com's avatar jim.bride@linux.intel.com Committed by Ander Conselvan de Oliveira
Browse files

drm/i915/skl: Update DDI translation tables for SKL



While comparing the B-Spec with the code I noticed that several
values in these tables have been updated in the spec, so I
changed the code to match..

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarJim Bride <jim.bride@linux.intel.com>
Reviewed-by: default avatarAnder Conselvan de Oliveira <conselvan2@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446852654-883-1-git-send-email-jim.bride@linux.intel.com
parent e4d4c05b
Loading
Loading
Loading
Loading
+11 −11
Original line number Original line Diff line number Diff line
@@ -133,12 +133,12 @@ static const struct ddi_buf_trans skl_ddi_translations_dp[] = {
	{ 0x00002016, 0x000000A0, 0x0 },
	{ 0x00002016, 0x000000A0, 0x0 },
	{ 0x00005012, 0x0000009B, 0x0 },
	{ 0x00005012, 0x0000009B, 0x0 },
	{ 0x00007011, 0x00000088, 0x0 },
	{ 0x00007011, 0x00000088, 0x0 },
	{ 0x00009010, 0x000000C7, 0x0 },
	{ 0x80009010, 0x000000C0, 0x1 },	/* Uses I_boost level 0x1 */
	{ 0x00002016, 0x0000009B, 0x0 },
	{ 0x00002016, 0x0000009B, 0x0 },
	{ 0x00005012, 0x00000088, 0x0 },
	{ 0x00005012, 0x00000088, 0x0 },
	{ 0x00007011, 0x000000C7, 0x0 },
	{ 0x80007011, 0x000000C0, 0x1 },	/* Uses I_boost level 0x1 */
	{ 0x00002016, 0x000000DF, 0x0 },
	{ 0x00002016, 0x000000DF, 0x0 },
	{ 0x00005012, 0x000000C7, 0x0 },
	{ 0x80005012, 0x000000C0, 0x1 },	/* Uses I_boost level 0x1 */
};
};


/* Skylake U */
/* Skylake U */
@@ -146,12 +146,12 @@ static const struct ddi_buf_trans skl_u_ddi_translations_dp[] = {
	{ 0x0000201B, 0x000000A2, 0x0 },
	{ 0x0000201B, 0x000000A2, 0x0 },
	{ 0x00005012, 0x00000088, 0x0 },
	{ 0x00005012, 0x00000088, 0x0 },
	{ 0x00007011, 0x00000087, 0x0 },
	{ 0x00007011, 0x00000087, 0x0 },
	{ 0x80009010, 0x000000C7, 0x1 },	/* Uses I_boost level 0x1 */
	{ 0x80009010, 0x000000C0, 0x1 },	/* Uses I_boost level 0x1 */
	{ 0x0000201B, 0x0000009D, 0x0 },
	{ 0x0000201B, 0x0000009D, 0x0 },
	{ 0x00005012, 0x000000C7, 0x0 },
	{ 0x80005012, 0x000000C0, 0x1 },	/* Uses I_boost level 0x1 */
	{ 0x00007011, 0x000000C7, 0x0 },
	{ 0x80007011, 0x000000C0, 0x1 },	/* Uses I_boost level 0x1 */
	{ 0x00002016, 0x00000088, 0x0 },
	{ 0x00002016, 0x00000088, 0x0 },
	{ 0x00005012, 0x000000C7, 0x0 },
	{ 0x80005012, 0x000000C0, 0x1 },	/* Uses I_boost level 0x1 */
};
};


/* Skylake Y */
/* Skylake Y */
@@ -159,12 +159,12 @@ static const struct ddi_buf_trans skl_y_ddi_translations_dp[] = {
	{ 0x00000018, 0x000000A2, 0x0 },
	{ 0x00000018, 0x000000A2, 0x0 },
	{ 0x00005012, 0x00000088, 0x0 },
	{ 0x00005012, 0x00000088, 0x0 },
	{ 0x00007011, 0x00000087, 0x0 },
	{ 0x00007011, 0x00000087, 0x0 },
	{ 0x80009010, 0x000000C7, 0x3 },	/* Uses I_boost level 0x3 */
	{ 0x80009010, 0x000000C0, 0x3 },	/* Uses I_boost level 0x3 */
	{ 0x00000018, 0x0000009D, 0x0 },
	{ 0x00000018, 0x0000009D, 0x0 },
	{ 0x00005012, 0x000000C7, 0x0 },
	{ 0x80005012, 0x000000C0, 0x3 },	/* Uses I_boost level 0x3 */
	{ 0x00007011, 0x000000C7, 0x0 },
	{ 0x80007011, 0x000000C0, 0x3 },	/* Uses I_boost level 0x3 */
	{ 0x00000018, 0x00000088, 0x0 },
	{ 0x00000018, 0x00000088, 0x0 },
	{ 0x00005012, 0x000000C7, 0x0 },
	{ 0x80005012, 0x000000C0, 0x3 },	/* Uses I_boost level 0x3 */
};
};


/*
/*