diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-08-17 13:46:58 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-08-20 10:49:53 -0700 |
commit | 6e0b3e7a2d241af36f8c6b1cc335aa1db3532d29 (patch) | |
tree | b301f119d664320b03f173a825749bfb5a4fa7a7 /tools/intel_bios_dumper.c | |
parent | 38a44003774e35c587c67c8766b35e75dbb993b8 (diff) |
pm_rpm: Require DMC loaded before testing runtime_pm for gen9+
Since we block runtime PM if DMC is not loaded, let's skip
the test.
v2: Use i915_dmc_info presence to detect dmc requirement
instead of gen check as Chris suggested.
v3: Add missing \0 before using buf. (Chris)
v4: read only 14 bytes [0:13] so buf[len] is the 15th position.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/intel_bios_dumper.c')
0 files changed, 0 insertions, 0 deletions