Re: [Intel-gfx] [PATCH] drm/i915: Fix build warning in debugfs

2014-12-02 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) -Summary- Platform Delta drm-intel-nightly Series Applied PNV -1 364/364 3

Re: [Intel-gfx] [PATCH] drm/i915: Fix build warning in debugfs

2014-12-02 Thread Daniel, Thomas
> -Original Message- > From: Roper, Matthew D > Sent: Tuesday, December 02, 2014 1:19 AM > To: intel-gfx@lists.freedesktop.org > Cc: Roper, Matthew D; Mateo Lozano, Oscar; Daniel, Thomas > Subject: [PATCH] drm/i915: Fix build warning in debugfs > > i915_gem_obj_ggtt_pin() is marked as __mu

[Intel-gfx] [PATCH] drm/i915: Fix build warning in debugfs

2014-12-01 Thread Matt Roper
i915_gem_obj_ggtt_pin() is marked as __must_check, but one callsite in debugfs (i915_dump_lrc) was not checking the return value. Add the necessary check and make the debugfs node print something semi-reasonable if we were to fail to pin. I believe there's already in-progress discussion on the ma