[Intel-gfx] [PATCH 0/2] Some fixes on top of WA batch patches

Arun Siluvery arun.siluvery at linux.intel.com
Tue Jun 23 07:50:42 PDT 2015


Patch1 - Fix warnings in kerneldoc reported by 0-day
Patch2 - Tvrtko noticed a WARNING that WA batch is not initialized for Gen9
during boot (Gen9 changes not yet added). Current code destroys the wa ctx
page and he observed it triggered another warning complaining about sleeping
in atomic context but there is nothing indicating that. To keep things simple
we now perform Gen check before allocating the page and bail out earlier if
there no WA to be initialized.

Arun Siluvery (2):
  drm/i915: Fix warnings reported by 0-day
  drm/i915: Bail out early if WA batch is not available for given Gen

 drivers/gpu/drm/i915/intel_lrc.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list