intel: query for LLC support
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Tue, 17 Jan 2012 17:20:19 +0000 (15:20 -0200)
committerEugeni Dodonov <eugeni@dodonov.net>
Wed, 1 Feb 2012 17:54:02 +0000 (15:54 -0200)
commit151cdcfe685ee280a4344dfc40e6087d74a5590f
treefe6adf0d3d87a31f2c61a2e5cb91f9b6f44bfc0a
parent82c6938d232327233caac743a07639ac91bceb7e
intel: query for LLC support

This adds support for querying the kernel about the LLC support in the
hardware.

In case the ioctl fails, we assume that it is present on GEN6 and GEN7.

v2: fix the return code checking

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
include/drm/i915_drm.h
intel/intel_bufmgr_gem.c