i965: Store GPU LLC size in intel_context

Add field brw_context::llc_size and set it during context creation.  Use
the CPUID instruction to get the LLC size.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
i965/gen7: Add defines for Memory Object Control State

For Ivybridge and Haswell.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
i965: Add Memory Object Control State field to miptree

Add field intel_mipmap_tree::mocs and a setter, intel_mipmap_set_mocs().
The setter contains a new portion of the driver's cacheing policy.  This
field and function will later be used to set the surface's MOCS during
state emission.

The field is not yet used.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
i965/gen7: Set MOCS during draw upload

This sets the MOCS of the following packets during draw upload (that
is, during the normal upload path but not blorp):
    SURFACE_STATE
    3DSTATE_DEPTH_BUFFER
    3DSTATE_HIER_DEPTH_BUFFER
    3DSTATE_STENCIL_BUFFER

It's not possible to set the MOCS of the MCS buffer, because the MCS
inherits MOCS from the parent surface.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>