]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/i915: Don't try to initialize sprite planes on pre-ilk
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 25 Oct 2016 15:58:00 +0000 (18:58 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 31 Oct 2016 14:56:32 +0000 (16:56 +0200)
commit33edc24d12c42710e23f1c2cef434937af73e245
treeeb2dc1496a42bd9b50b56d4df1fbbaa70df47129
parent7b7a119e8546e27227a7969883a3c34ed7dbb0cf
drm/i915: Don't try to initialize sprite planes on pre-ilk

We don't currently implement support for sprite planes on pre-ilk
platforms, so let's leave num_sprites at 0 so that we don't get
spurious errors during driver init.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1477411083-19255-2-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_sprite.c