[Intel-gfx] [PATCH 12/33] drm/i915: Reduce i915_gem_objects to only show object information

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Aug 10 07:29:59 UTC 2016


On su, 2016-08-07 at 15:45 +0100, Chris Wilson wrote:
>  		if (obj->pin_display) {
> -			mappable_size += i915_gem_obj_ggtt_size(obj);
> -			++mappable_count;
> +			pin_size += obj->base.size;
> +			++pin_count;

variables names to form pin_display_*

> +	seq_printf(m, "%u mapped objects, %llu bytes\n",
> +		   mapped_count, mapped_size);
> +	seq_printf(m, "%u pinned objects, %llu bytes\n",

"display pinned objects"

With those;

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list