]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use a macro to define MOCS entries
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 24 Jan 2019 00:06:01 +0000 (16:06 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Jan 2019 03:34:34 +0000 (19:34 -0800)
commit28493fc67997d9365c9fe5babc54d49f97c4ff8d
tree849bca1fb665db769b3c7a7107b6c075e1ff1a26
parent36022273a4ad42d478045fdc1a197c1b20af1add
drm/i915: use a macro to define MOCS entries

Let's use a macro to make tables smaller and at the same time allow us
to add fields that apply to all entries in future.

v2: rewrap lines to respect 80 chars limit and make it more readable
    (from Chris)

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Tomasz Lis <tomasz.lis@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190124000604.18861-5-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_mocs.c