diff options
Diffstat (limited to 'kernels/linux-libre-xen/fix-i915.patch')
-rw-r--r-- | kernels/linux-libre-xen/fix-i915.patch | 109 |
1 files changed, 94 insertions, 15 deletions
diff --git a/kernels/linux-libre-xen/fix-i915.patch b/kernels/linux-libre-xen/fix-i915.patch index 3b631361a..25d4bca87 100644 --- a/kernels/linux-libre-xen/fix-i915.patch +++ b/kernels/linux-libre-xen/fix-i915.patch @@ -1,26 +1,105 @@ -Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> -Tested-by: Santi <santi@agolina.net> ---- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> +<head> +<title>abslibre.git - Libre PKGBUILDs repository</title> +<meta name='generator' content='cgit v0.9.0.2'/> +<meta name='robots' content='index, nofollow'/> +<link rel='stylesheet' type='text/css' href='/cgit.css'/> +<link rel='shortcut icon' href='/favicon.ico'/> +<link rel='alternate' title='Atom feed' href='http://projects.parabolagnulinux.org/abslibre.git/atom/kernels/linux-libre-xen/fix-i915.patch?h=master' type='application/atom+xml'/> +</head> +<body> + <div id="archnavbar" class=""> + <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Parabola</a></h1></div> + <div id="archnavbarmenu"> + <ul id="archnavbarlist"> + <li id="anb-home"><a href="//parabolagnulinux.org" title="Parabola news, packages, projects and more">Home</a></li> + <li id="anb-packages"><a href="//parabolagnulinux.org/packages/" title="Parabola Package Database">Packages</a></li> + <li id="anb-wiki"><a href="//wiki.parabolagnulinux.org" title="Community documentation">Wiki</a></li> + <li id="anb-bugs"><a href="//bugs.parabolagnulinux.org" title="Issue Tracker">Bugs</a></li> + <li id="anb-projects"><a href="//projects.parabolagnulinux.org" title="Our Code">Projects</a></li> + <li id="anb-download"><a href="//parabolagnulinux.org/download" title="Get Parabola">Download</a></li> + </ul> + </div> + </div><!-- #archnavbar --> +<div id='cgit'><table id='header'> +<tr> +<td class='main'><a href='/'>index</a> : <a title='abslibre.git' href='/abslibre.git/'>abslibre.git</a></td><td class='form'><form method='get' action=''> +<select name='h' onchange='this.form.submit();'> +<option value='master' selected='selected'>master</option> +</select> <input type='submit' name='' value='switch'/></form></td></tr> +<tr><td class='sub'>Libre PKGBUILDs repository</td><td class='sub right'>packages@list.parabolagnulinux.org</td></tr></table> +<table class='tabs'><tr><td> +<a href='/abslibre.git/'>summary</a><a href='/abslibre.git/refs/'>refs</a><a href='/abslibre.git/log/kernels/linux-libre-xen/fix-i915.patch'>log</a><a class='active' href='/abslibre.git/tree/kernels/linux-libre-xen/fix-i915.patch'>tree</a><a href='/abslibre.git/commit/kernels/linux-libre-xen/fix-i915.patch'>commit</a><a href='/abslibre.git/diff/kernels/linux-libre-xen/fix-i915.patch'>diff</a><a href='/abslibre.git/stats/kernels/linux-libre-xen/fix-i915.patch'>stats</a></td><td class='form'><form class='right' method='get' action='/abslibre.git/log/kernels/linux-libre-xen/fix-i915.patch'> +<select name='qt'> +<option value='grep'>log msg</option> +<option value='author'>author</option> +<option value='committer'>committer</option> +<option value='range'>range</option> +</select> +<input class='txt' type='text' size='10' name='q' value=''/> +<input type='submit' value='search'/> +</form> +</td></tr></table> +<div class='path'>path: <a href='/abslibre.git/tree/'>root</a>/<a href='/abslibre.git/tree/kernels'>kernels</a>/<a href='/abslibre.git/tree/kernels/linux-libre-xen'>linux-libre-xen</a>/<a href='/abslibre.git/tree/kernels/linux-libre-xen/fix-i915.patch'>fix-i915.patch</a></div><div class='content'>blob: 3b631361a15ee4ba6491f0b8960f0e18044e2cf0 (<a href='/abslibre.git/plain/kernels/linux-libre-xen/fix-i915.patch'>plain</a>) +<table summary='blob content' class='blob'> +<tr><td class='linenumbers'><pre><a class='no' id='n1' name='n1' href='#n1'>1</a> +<a class='no' id='n2' name='n2' href='#n2'>2</a> +<a class='no' id='n3' name='n3' href='#n3'>3</a> +<a class='no' id='n4' name='n4' href='#n4'>4</a> +<a class='no' id='n5' name='n5' href='#n5'>5</a> +<a class='no' id='n6' name='n6' href='#n6'>6</a> +<a class='no' id='n7' name='n7' href='#n7'>7</a> +<a class='no' id='n8' name='n8' href='#n8'>8</a> +<a class='no' id='n9' name='n9' href='#n9'>9</a> +<a class='no' id='n10' name='n10' href='#n10'>10</a> +<a class='no' id='n11' name='n11' href='#n11'>11</a> +<a class='no' id='n12' name='n12' href='#n12'>12</a> +<a class='no' id='n13' name='n13' href='#n13'>13</a> +<a class='no' id='n14' name='n14' href='#n14'>14</a> +<a class='no' id='n15' name='n15' href='#n15'>15</a> +<a class='no' id='n16' name='n16' href='#n16'>16</a> +<a class='no' id='n17' name='n17' href='#n17'>17</a> +<a class='no' id='n18' name='n18' href='#n18'>18</a> +<a class='no' id='n19' name='n19' href='#n19'>19</a> +<a class='no' id='n20' name='n20' href='#n20'>20</a> +<a class='no' id='n21' name='n21' href='#n21'>21</a> +<a class='no' id='n22' name='n22' href='#n22'>22</a> +<a class='no' id='n23' name='n23' href='#n23'>23</a> +<a class='no' id='n24' name='n24' href='#n24'>24</a> +<a class='no' id='n25' name='n25' href='#n25'>25</a> +<a class='no' id='n26' name='n26' href='#n26'>26</a> +</pre></td> +<td class='lines'><pre><code>Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> +Tested-by: Santi <santi@agolina.net> +<span class="hl kwb">---</span> drivers/gpu/drm/i915/intel_tv.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index dc83b7a..c8f67bf 100644 ---- a/drivers/gpu/drm/i915/intel_tv.c -+++ b/drivers/gpu/drm/i915/intel_tv.c -@@ -1267,6 +1267,15 @@ +<span class="hl kwb">--- a/drivers/gpu/drm/i915/intel_tv.c</span> +<span class="hl kwa">+++ b/drivers/gpu/drm/i915/intel_tv.c</span> +<span class="hl kwd">@@ -1267,6 +1267,15 @@</span> DAC_B_0_7_V | DAC_C_0_7_V); -+ /* -+ * The TV sense state should be cleared to zero on cantiga platform. Otherwise -+ * the TV is misdetected. This is hardware requirement. -+ */ -+ if (IS_GM45(dev)) -+ tv_dac &= ~(TVDAC_STATE_CHG_EN | TVDAC_A_SENSE_CTL | -+ TVDAC_B_SENSE_CTL | TVDAC_C_SENSE_CTL); -+ -+ +<span class="hl kwa">+ /*</span> +<span class="hl kwa">+ * The TV sense state should be cleared to zero on cantiga platform. Otherwise</span> +<span class="hl kwa">+ * the TV is misdetected. This is hardware requirement.</span> +<span class="hl kwa">+ */</span> +<span class="hl kwa">+ if (IS_GM45(dev))</span> +<span class="hl kwa">+ tv_dac &= ~(TVDAC_STATE_CHG_EN | TVDAC_A_SENSE_CTL |</span> +<span class="hl kwa">+ TVDAC_B_SENSE_CTL | TVDAC_C_SENSE_CTL);</span> +<span class="hl kwa">+</span> +<span class="hl kwa">+ </span> I915_WRITE(TV_CTL, tv_ctl); I915_WRITE(TV_DAC, tv_dac); POSTING_READ(TV_DAC); +</code></pre></td></tr></table> +</div> <!-- class=content --> +<div class='footer'>generated by cgit v0.9.0.2 at 2012-02-21 13:29:45 (GMT)</div> +</div> <!-- id=cgit --> +</body> +</html> |