drm/i915: Store dbuf slice mask in device info
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Apr 2021 17:10:06 +0000 (20:10 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 20 Apr 2021 22:26:17 +0000 (01:26 +0300)
commit578e6edec45cf883681ae4e0b0d53ec62460af93
tree09efe9bfaf5c81072b6cfee9b002d143efc9bad0
parent77531b0ef621b62e5164d33411106a3415eb7b67
drm/i915: Store dbuf slice mask in device info

Let's just store the dbuf slice information as a bitmask
in the device info. Makes life a little easier later.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210416171011.19012-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.h
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_pm.h