]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use enum plane_id in SKL plane code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 Nov 2016 16:01:59 +0000 (18:01 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 Nov 2016 20:03:55 +0000 (22:03 +0200)
commita57709b78d40540a5382728c44c3fda9ac4f6eba
tree8d9daae2edd621c03bf07cb31a0da8510a586cb6
parent27173674e2e83284efddf9ce4034fa4e0a79f788
drm/i915: Use enum plane_id in SKL plane code

Replace the intel_plane->plane and hardcoded 0 usage in the SKL plane
code with intel_plane->id.

This should make the SKL "primary" and "sprite" code virtually
identical, so the next logical step would likely be dropping one
of the copies.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479830524-7882-5-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c