1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>i915_gem_object_do_bit_17_swizzle</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux GPU Driver Developer's Guide"><link rel="up" href="ch04s03.html#id-1.4.3.5.7" title="GTT Fences and Swizzling"><link rel="prev" href="API-i915-gem-detect-bit-6-swizzle.html" title="i915_gem_detect_bit_6_swizzle"><link rel="next" href="API-i915-gem-object-save-bit-17-swizzle.html" title="i915_gem_object_save_bit_17_swizzle"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">i915_gem_object_do_bit_17_swizzle</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-i915-gem-detect-bit-6-swizzle.html">Prev</a> </td><th width="60%" align="center">GTT Fences and Swizzling</th><td width="20%" align="right"> <a accesskey="n" href="API-i915-gem-object-save-bit-17-swizzle.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-i915-gem-object-do-bit-17-swizzle"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>i915_gem_object_do_bit_17_swizzle — 2 fixup bit 17 swizzling 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">i915_gem_object_do_bit_17_swizzle </b>(</code></td><td>struct drm_i915_gem_object * <var class="pdparam">obj</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="id-1.4.3.5.7.8.5"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>obj</code></em></span></dt><dd><p> 4 i915 GEM buffer object 5 </p></dd></dl></div></div><div class="refsect1"><a name="id-1.4.3.5.7.8.6"></a><h2>Description</h2><p> 6 This function fixes up the swizzling in case any page frame number for this 7 object has changed in bit 17 since that state has been saved with 8 <code class="function"><a class="link" href="API-i915-gem-object-save-bit-17-swizzle.html" title="i915_gem_object_save_bit_17_swizzle">i915_gem_object_save_bit_17_swizzle</a></code>. 9 </p><p> 10 11 This is called when pinning backing storage again, since the kernel is free 12 to move unpinned backing storage around (either by directly moving pages or 13 by swapping them out and back in again). 14</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-i915-gem-detect-bit-6-swizzle.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04s03.html#id-1.4.3.5.7">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-i915-gem-object-save-bit-17-swizzle.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">i915_gem_detect_bit_6_swizzle</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">i915_gem_object_save_bit_17_swizzle</span></td></tr></table></div></body></html> 15