]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: convert device info num_pipes to pipe_mask
authorJani Nikula <jani.nikula@intel.com>
Wed, 11 Sep 2019 20:29:08 +0000 (23:29 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 12 Sep 2019 15:21:38 +0000 (18:21 +0300)
commit8d8b00318593e2852aef19b92f99851d50a203fc
treec62d1f45aa1b71aaab3a7ba3f7fbbb17770fbdfb
parent54fc577d90d01a28dbfccd277aa3de4d4abaf1ff
drm/i915: convert device info num_pipes to pipe_mask

Replace device info number of pipes with a bit mask of available
pipes. This will prove handy in the future. There's still a bunch of
future work to do to actually allow a non-consecutive mask of pipes, but
it's a start. No functional changes.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190911202908.19631-1-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_device_info.h