]> asedeno.scripts.mit.edu Git - linux.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)
commit828f31502045fbf4354723169b1b64e7719b8de7
tree849bca1fb665db769b3c7a7107b6c075e1ff1a26
parent66f996052f955fe338c7cd6ca2099cfdf396b2bf
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