drm/i915: Add has_psr-flag to gen9lp
authorDavid Weinehall <david.weinehall@linux.intel.com>
Tue, 8 Aug 2017 10:09:52 +0000 (13:09 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 2 Oct 2017 20:23:20 +0000 (13:23 -0700)
While testing Jim Bride's latest batch of PSR patches I noticed
that gen9lp doesn't include the has_psr flag, and that our GLK
system thus reported PSR as unsupported.

This patch simply adds has_psr.

Signed-off-by: David Weinehall <david.weinehall@linux.intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170808100952.26448-1-david.weinehall@linux.intel.com
drivers/gpu/drm/i915/i915_pci.c

index da60866b6628affa988b5cdeed13b8151614e21e..17823980b40d8c46d7a1fc36947e663277d1402f 100644 (file)
@@ -463,6 +463,7 @@ static const struct intel_device_info intel_skylake_gt4_info __initconst = {
        .has_ddi = 1, \
        .has_fpga_dbg = 1, \
        .has_fbc = 1, \
+       .has_psr = 1, \
        .has_runtime_pm = 1, \
        .has_pooled_eu = 0, \
        .has_csr = 1, \