drm/i915: Organize GEN features inheritance.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 3 Oct 2017 06:36:51 +0000 (23:36 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 3 Oct 2017 17:53:52 +0000 (10:53 -0700)
commit42a3ae88500e394a79b27f6ae9705580033f805d
tree43bbd564dc3cf0c7a6e085bdabfdd794e129fba6
parent4d6ef0da415124ebce578b1326f4e511e35d95f2
drm/i915: Organize GEN features inheritance.

As Chris noticed the current organization is confusing
and inheritance is not clear.

So, let's split it in GEN<n>_FEATURES <cdn>_PLATFORM
where new GEN inherit features from previous gens and
Platforms only use gen features plus what ever is specific
for that platform and shouldn't be passed on.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171003063652.17248-2-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_pci.c