summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_pcode.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2022-01-12 14:17:40 +0300
committerJani Nikula <jani.nikula@intel.com>2022-01-13 16:20:57 +0300
commit6650ebcbea1314bf91bf161802ecaddbb72651b5 (patch)
treee384b63e2216bea48de463e002fce2d9f996ba6a /drivers/gpu/drm/i915/intel_pcode.h
parent2616be2eac4b1c361ece55dfd8f942dcecb25de2 (diff)
downloadlinux-6650ebcbea1314bf91bf161802ecaddbb72651b5.tar.xz
drm/i915/pcode: rename sandybridge_pcode_* to snb_pcode_*
Prefer acronym-based naming to be in line with the rest of the driver. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220112111740.1208374-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pcode.h')
-rw-r--r--drivers/gpu/drm/i915/intel_pcode.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/intel_pcode.h b/drivers/gpu/drm/i915/intel_pcode.h
index 50806649d4b6..0962a17fac48 100644
--- a/drivers/gpu/drm/i915/intel_pcode.h
+++ b/drivers/gpu/drm/i915/intel_pcode.h
@@ -10,13 +10,11 @@
struct drm_i915_private;
-int sandybridge_pcode_read(struct drm_i915_private *i915, u32 mbox,
- u32 *val, u32 *val1);
-int sandybridge_pcode_write_timeout(struct drm_i915_private *i915, u32 mbox,
- u32 val, int fast_timeout_us,
- int slow_timeout_ms);
-#define sandybridge_pcode_write(i915, mbox, val) \
- sandybridge_pcode_write_timeout(i915, mbox, val, 500, 0)
+int snb_pcode_read(struct drm_i915_private *i915, u32 mbox, u32 *val, u32 *val1);
+int snb_pcode_write_timeout(struct drm_i915_private *i915, u32 mbox, u32 val,
+ int fast_timeout_us, int slow_timeout_ms);
+#define snb_pcode_write(i915, mbox, val) \
+ snb_pcode_write_timeout(i915, mbox, val, 500, 0)
int skl_pcode_request(struct drm_i915_private *i915, u32 mbox, u32 request,
u32 reply_mask, u32 reply, int timeout_base_ms);