diff options
author | Imre Deak <imre.deak@intel.com> | 2016-08-31 19:13:01 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2016-09-02 18:12:30 +0300 |
commit | 915490d5f1cc10663f9a58240e44b84c0f33728f (patch) | |
tree | ce4b7413fa92f39e7f91699f23cd5f37e1d76568 /drivers/gpu/drm/r128/r128_state.c | |
parent | 16162470023627776d503795d08aa5a797ce40a2 (diff) | |
download | linux-915490d5f1cc10663f9a58240e44b84c0f33728f.tar.bz2 |
drm/i915: sseu: Move sseu_dev_status to i915_drv.h
The data in this struct is provided both by getting the
slice/subslice/eu features available on a given platform and the actual
runtime state of these same features which depends on the HW's current
power saving state.
Atm members of this struct are duplicated in sseu_dev_status and
intel_device_info. For clarity and code reuse we can share one struct
for both of the above purposes. This patch only moves the struct to the
header file, the next patch will convert users of intel_device_info to
use this struct too.
Instead of unsigned int u8 is used now, which is big enough and is used
anyway in intel_device_info.
No functional change.
v2:
- s/stat/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>
Link: http://patchwork.freedesktop.org/patch/msgid/1472659987-10417-2-git-send-email-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/r128/r128_state.c')
0 files changed, 0 insertions, 0 deletions