Imre Deak
f08a0c9234
drm/i915: sseu: Convert slice count field to mask
...
In an upcoming patch we'll need the actual mask of slices in addition to
their count, so replace the count field with a mask.
v2:
- Use hweight8() on u8 typed vars instead of hweight32(). (Ben)
Reviewed-by: Robert Bragg <robert@sixbynine.org > (v1)
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com > (v1)
Tested-by: Ben Widawsky <benjamin.widawsky@intel.com > (v1)
Signed-off-by: Imre Deak <imre.deak@intel.com >
Link: http://patchwork.freedesktop.org/patch/msgid/1472659987-10417-5-git-send-email-imre.deak@intel.com
2016-09-02 18:17:14 +03:00
Imre Deak
43b6799814
drm/i915: sseu: Use sseu_dev_info in device info
...
Move all slice/subslice/eu related properties to the sseu_dev_info
struct.
No functional change.
v2:
- s/info/sseu/ based on the new struct name. (Ben)
Reviewed-by: Robert Bragg <robert@sixbynine.org > (v1)
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com > (v1)
Tested-by: Ben Widawsky <benjamin.widawsky@intel.com > (v1)
Signed-off-by: Imre Deak <imre.deak@intel.com >
2016-09-02 18:16:31 +03:00
Chris Wilson
94b4f3ba48
drm/i915: Split out runtime configuration of device info to its own file
...
Let's reclaim a few hundred lines from i915_drv.c by splitting out the
runtime configuration of the "constant" dev_priv->info.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
Link: http://patchwork.freedesktop.org/patch/msgid/1467711623-2905-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com >
2016-07-05 11:53:27 +01:00