drm/i915: Use local variable for SSEU info in GETPARAM ioctl
authorStuart Summers <stuart.summers@intel.com>
Fri, 24 May 2019 15:40:18 +0000 (08:40 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Tue, 28 May 2019 18:16:52 +0000 (11:16 -0700)
commitbd41ca49a2735eb2f016a3fa4fe9716b56b55d71
tree99196ff8c8294485565e9250fd2d4114ef127747
parentbe8a4b2d319994af690e0f636a3a7be9dd43184d
drm/i915: Use local variable for SSEU info in GETPARAM ioctl

In the GETPARAM ioctl handler, use a local variable to consolidate
usage of SSEU runtime info.

v2: add const to sseu_dev_info variable

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190524154022.13575-2-stuart.summers@intel.com
drivers/gpu/drm/i915/i915_drv.c