aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_gtt.c
diff options
context:
space:
mode:
authorMichel Thierry <michel.thierry@intel.com>2015-02-26 06:28:13 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-26 08:30:26 -0500
commit719cd21ceddb45b31394302cd9f2adc8b281e476 (patch)
tree855478afe106bb01b56a13a488bd269fecda856f /drivers/gpu/drm/i915/i915_gem_gtt.c
parentbc4d91f699d8529682be34e9f61be87679982f9b (diff)
drm/i915: Add missing description to parameter in alloc_pt_range
The patch "drm/i915: Plumb drm_device through page tables operations" added an extra parameter, but it didn't update the function description. Also remove unnecessary blank line added by the same patch. Found by kbuild test robot. Signed-off-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_gtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index e05488ea2aa3..5eea745bb1ad 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -309,6 +309,7 @@ static struct i915_page_table_entry *alloc_pt_single(struct drm_device *dev)
309 * available to point to the allocated page tables. 309 * available to point to the allocated page tables.
310 * @pde: First page directory entry for which we are allocating. 310 * @pde: First page directory entry for which we are allocating.
311 * @count: Number of pages to allocate. 311 * @count: Number of pages to allocate.
312 * @dev: DRM device.
312 * 313 *
313 * Allocates multiple page table pages and sets the appropriate entries in the 314 * Allocates multiple page table pages and sets the appropriate entries in the
314 * page table structure within the page directory. Function cleans up after 315 * page table structure within the page directory. Function cleans up after
@@ -318,7 +319,6 @@ static struct i915_page_table_entry *alloc_pt_single(struct drm_device *dev)
318 */ 319 */
319static int alloc_pt_range(struct i915_page_directory_entry *pd, uint16_t pde, size_t count, 320static int alloc_pt_range(struct i915_page_directory_entry *pd, uint16_t pde, size_t count,
320 struct drm_device *dev) 321 struct drm_device *dev)
321
322{ 322{
323 int i, ret; 323 int i, ret;
324 324