projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8727dc0
)
drm/i915: Rename get stolen functions for LP platforms chv+
author
Rodrigo Vivi
<rodrigo.vivi@intel.com>
Sun, 18 Dec 2016 21:36:27 +0000
(13:36 -0800)
committer
Rodrigo Vivi
<rodrigo.vivi@intel.com>
Mon, 19 Dec 2016 19:12:04 +0000
(11:12 -0800)
gen8 is used for both Broadwell and Cherryview but this
function here is only Cherryview and all next atom LP platforms.
So let's rename it to avoid confusion as suggested by Ville.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/1482096988-400-2-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_gem_stolen.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_stolen.c
b/drivers/gpu/drm/i915/i915_gem_stolen.c
index
efc0e74
..
3d24227
100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/
drivers/gpu/drm/i915/i915_gem_stolen.c
@@
-360,7
+360,7
@@
static void gen7_get_stolen_reserved(struct drm_i915_private *dev_priv,
}
}
-static void
gen8
_get_stolen_reserved(struct drm_i915_private *dev_priv,
+static void
chv
_get_stolen_reserved(struct drm_i915_private *dev_priv,
unsigned long *base, unsigned long *size)
{
uint32_t reg_val = I915_READ(GEN6_STOLEN_RESERVED);
@@
-459,7
+459,7
@@
int i915_gem_init_stolen(struct drm_i915_private *dev_priv)
bdw_get_stolen_reserved(dev_priv, &reserved_base,
&reserved_size);
else
-
gen8
_get_stolen_reserved(dev_priv, &reserved_base,
+
chv
_get_stolen_reserved(dev_priv, &reserved_base,
&reserved_size);
break;
}