]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor sseu helper functions
authorStuart Summers <stuart.summers@intel.com>
Fri, 24 May 2019 15:40:21 +0000 (08:40 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Tue, 28 May 2019 18:20:13 +0000 (11:20 -0700)
commitc87bc9ca0e92c7f8e53d7559b243abee3ee8898c
treeb6f36c2353e5efc0f64f113758d748a34d2213c4
parent1f992dbe92cf847c90ccea31745623b637f32dc0
drm/i915: Refactor sseu helper functions

Move functions to intel_sseu.h and remove inline qualifier.
Additionally, ensure these are all prefixed with intel_sseu_*
to match the convention of other functions in i915.

v2: fix spacing from checkpatch warning
v3: squash helper function changes into a single patch
    break 80 character line to fix checkpatch warning
    move get/set_eus helpers to intel_device_info.c
v4: Remove intel_ prefix from static functions in
    intel_device_info.c and correctly copy changes
    to stride calculation in those functions.

Acked-by: Jani Nikula <jani.nikula@intel.com>
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-5-stuart.summers@intel.com
drivers/gpu/drm/i915/gt/intel_sseu.c
drivers/gpu/drm/i915/gt/intel_sseu.h
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_device_info.h