On 07/17/2018 05:53 AM, Ville Syrjala wrote:
From: Ville Syrjälä
Most plattforms don't have a fixed 1MiB WOPCM so stop saying that they
do.
Also toss in a FIXME about actually using the WOPCM size we probed from
the hardware instead of assuming the fixed 1MiB size.
Cc: Jackie Li
Signe
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_params.h
b/drivers/gpu/drm/i915/i915_params.h
index c963603..53037b5 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu
further
take care of the locked values in the following enhancement patch.
v4:
- Fixed typo in commit message (Michal Wajdeczko)
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
Cc: Joonas Lahtinen
Reviewed-by: John Spotswood
making
any assumptions to the GuC and HuC firmware sizes.
v3:
- Rebase
v4:
- Renamed the new parameter add to intel_uc_fw_fetch (Michal)
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
Cc: Joonas Lahtinen
Reviewed-by: John
ister only if it's not locked
v4:
- Fixed typo in code comments (Michal)
- Refined function names and parameters (Michal)
- Avoided duplicated function calls (Michal)
- Refined register updating ordering (Michal)
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
further
take care of the locked values in the following enhancement patch.
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
Cc: Joonas Lahtinen
---
drivers/gpu/drm/i915/intel_wopcm.c | 8 +++-
1 file changed, 3 insertions(+), 5
ister only if it's not locked
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
Cc: Joonas Lahtinen
---
drivers/gpu/drm/i915/intel_wopcm.c | 217 +++--
1 file changed, 185 insertions(+), 32
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_params.h
b/drivers/gpu/drm/i915/i915_params.h
index c963603..53037b5 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu
making
any assumptions to the GuC and HuC firmware sizes.
v3:
- Rebase
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
Cc: Joonas Lahtinen
---
drivers/gpu/drm/i915/intel_uc.c| 14 --
drivers/gpu/drm/i915
making
any assumptions to the GuC and HuC firmware sizes.
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
---
drivers/gpu/drm/i915/intel_uc.c| 10 +++---
drivers/gpu/drm/i915/intel_uc_fw.c | 31
ister only if it's not locked
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
---
drivers/gpu/drm/i915/intel_wopcm.c | 225 +++--
1 file changed, 189 insertions(+), 36 deletions(-)
diff --git a/d
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_params.h
b/drivers/gpu/drm/i915/i915_params.h
index c963603..53037b5 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu
further
take care of the locked values in the following enhancement patch.
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Michal Winiarski
Cc: John Spotswood
---
drivers/gpu/drm/i915/intel_wopcm.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git
agram description.
v2:
- Fixed errors in diagram description
v3:
- Updated GuC Address Space kernel-doc based on Michal's suggestion
v4:
- Added WOPCM layout and GuC address space docs into i915.rst (Joonas)
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Joona
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_params.h
b/drivers/gpu/drm/i915/i915_params.h
index c963603..53037b5 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu
register
values can be used for GuC/HuC firmware loading, it will recalculate the
verify the new values if these registers were partially locked, so that we
won't fail the GuC/HuC firmware loading even if the locked register values
are different from the calculated ones.
Signed-off-by: Jackie L
agram description.
v2:
- Fixed errors in diagram description
v3:
- Updated GuC Address Space kernel-doc based on Michal's suggestion
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Joonas Lahtinen
---
drivers/gpu/drm/i915/intel_gu
agram description.
v2:
- Fixed errors in diagram description
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Joonas Lahtinen
---
drivers/gpu/drm/i915/intel_guc.c | 52 --
drivers/gpu/drm/i915/intel_wopcm.c
GuC Address Space and WOPCM Layout diagrams won't be generated correctly by
sphinx build if not using proper reST syntax.
This patch uses reST literal blocks to make sure GuC Address Space and
WOPCM Layout diagrams to be generated correctly.
Signed-off-by: Jackie Li
Cc: Michal Wajdeczk
ssary comments (Joonas)
v11:
- Fixed logic error in size check (Michal)
v12:
- Add space between "HuC FW" and "(%uKiB)" in error message (Michal)
v13:
- Updated the ordering of s-o-b/cc/r-b tags (Sagar)
BSpec: 10875
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sa
rdering of s-o-b/cc/r-b tags (Sagar)
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Reviewed-by: Joonas Lahtinen (v9)
Reviewed-by: Michal Wajdeczko (v11)
Reviewed-by: Joonas Lahtinen (v12)
---
d
10833
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Michal Wajdeczko (v11)
Reviewed-by: Joonas Lahtinen (v12)
---
drivers/gpu/drm/i915/i915_gem.c | 6
drivers/gpu/drm/i915/intel_guc_reg.h | 3 ++
drivers/gpu/drm/i915/intel_uc.c
l-doc (Michal)
v12:
- Updated naming, function kernel-doc to align with new changes (Michal)
v13:
- Updated the ordering of s-o-b/cc/r-b tags (Sagar)
- Corrected one tense error in comment (Sagar)
- Corrected typos and removed spurious comments (Joonas)
Bspec: 12690
Signed-off-by: Jackie Li
Cc: M
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
drivers/gpu/drm/i915/intel_uc.c| 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915/i915_params.c
: Jackie Li
Cc: Sagar Arun Kamble
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Joonas Lahtinen (v9)
Reviewed-by: Michal Wajdeczko (v11)
Reviewed-by: Joonas Lahtinen (v12)
---
drivers/gpu/drm/i915/intel_wopcm.c | 4
1 file changed, 4 insertions(+)
diff --git a
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915/i915_params.c
index 08108ce..b49ae20 100644
--- a/drivers
Lahtinen
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jackie Li
Reviewed-by: Michal Wajdeczko (v11)
---
drivers/gpu/drm/i915/intel_wopcm.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_wopcm.c
b/drivers/gpu/drm/i915/intel_wopcm.c
index 8b2f177..237ca03 100644
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jackie Li
Reviewed-by: Michal Wajdeczko (v11)
---
drivers/gpu/drm/i915/intel_guc.c| 11 ++-
drivers/gpu/drm/i915/i
tinen
Reviewed-by: Michal Wajdeczko (v11)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem.c | 6
drivers/gpu/drm/i915/intel_guc_reg.h | 3 ++
drivers/gpu/drm/i915/intel_uc.c | 5 ---
drivers/gpu/drm/i915/intel_wopcm.c | 64
dr
Arun Kamble (v8)
Reviewed-by: Joonas Lahtinen (v9)
Reviewed-by: Michal Wajdeczko (v11)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 3 +-
drivers/gpu/drm/i915/i915_drv.c | 1 +
drivers/gpu/drm/i915/i915_drv.h | 8 ++
drivers/gpu/drm/i915/i915_
tinen
Reviewed-by: Sagar Arun Kamble (v8)
Reviewed-by: Michal Wajdeczko (v11)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_wopcm.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_wopcm.c
b/drivers/gpu/drm
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 11 ++-
drivers/gpu/drm/i915/intel_guc.h| 14 --
drive
from intel_gem_init_hw() to do GuC
WOPCM register setup instead of calling from intel_uc_init_hw() (Michal)
BSpec: 10875, 10833
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem.c | 6
drivers/gpu/drm
ssary comments (Joonas)
v11:
- Fixed logic error in size check (Michal)
BSpec: 10875
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: John Spotswood
Cc: Jeff McGee
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Signed-off-by: Jackie Li
---
drivers/gpu/drm
l-doc (Michal)
Bspec: 12690
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jack
Lahtinen
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_wopcm.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_wopcm.c
b/drivers/gpu/drm/i915/intel_wopcm.c
index 83516c9..bb78043 100644
--- a/drivers/gpu/drm/i915
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915/i915_params.c
index 08108ce..b49ae20 100644
--- a/drivers
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 11 ++-
drivers/gpu/drm/i915/intel_guc.h| 14 --
drive
error paths (Michal)
- Removed hw_updated flag and only relies on real hardware status
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_reg.h | 2 +
drivers/gpu/drm/i915/intel_guc_wopcm.c
ssary comments (Joonas)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: John Spotswood
Cc: Jeff McGee
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 26 ++
1 file change
Cc: Joonas Lahtinen
Cc: Michel Thierry
Reviewed-by: Sagar Arun Kamble (v8)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_guc.c | 11 ---
drivers/gpu/drm/i915/intel_guc.h | 2 +-
drivers/gpu/drm/i915/intel_guc_reg.h
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915/i915_params.c
index 08108ce..b49ae20 100644
--- a/drivers
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_context.c | 5 +-
drivers/gpu/drm/i915/intel_guc.c| 5 +-
drivers/gpu/drm/i915/intel_guc.h| 12 +--
drivers/gpu/drm/i915
changes originally made in v8 4/6 patch of
this series (Sagar/Michal)
v10:
- Used if-else ladder to the returning of context sizes (Joonas)
Cc: Sagar Arun Kamble
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Joonas Lahtinen (v9)
Signed-off-by: Jackie Li
ichal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_reg.h | 2 +
drivers/gpu/drm/i915/intel_guc_wopcm.c | 117 -
drivers/gpu/drm/i915/intel_guc_wopcm.h | 12 +++-
drivers/gpu/drm/i915/intel
tinen
Reviewed-by: Sagar Arun Kamble (v8)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_guc_wopcm.c
b/drivers/gpu/drm/i915/intel_guc_wopcm.c
index d0
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
drivers/gpu/drm/i915/intel_guc_wopcm.c | 6 ++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915
(Michal)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_context.c | 5
changes originally made in v8 4/6 patch of
this series (Sagar/Michal)
Cc: Sagar Arun Kamble
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 3 +++
drivers/gpu/drm/i915/intel_guc_wopcm.h | 2 ++
2 files changed, 5
)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_guc.c | 11
drivers/gpu/drm/i915/intel_guc.h | 2 +-
drivers/gpu/drm/i915/intel_guc_reg.h | 4 ---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 48
reason and motivation to add
intel_guc as the first parameter of intel_guc_ggtt_offset (Chris)
v9:
- Fixed code alignment issue due to line break (Chris)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v8)
Signed-off-by:
Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_context.c | 5 +-
drivers/gpu/drm/i915/intel_guc.c| 5 +-
drivers/gpu/drm/i915/intel_guc.h| 12 ++--
drivers/gpu/drm/i915/intel_guc_wopcm.c | 116 +---
drivers/gpu/drm/i915
ormat issues
v8:
- Renamed variables and functions to avoid ambiguity (Joonas)
- Updated commit message and comments to be more comprehensive (Sagar)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: John Spotswood
Cc: Jeff McGee
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jack
cking status checking
v7:
- Fixed patch format issues
v8:
- Fixed coding style issue on register lock bit macro definition (Sagar)
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.h | 2 +-
drivers/gpu/drm
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
drivers/gpu/drm/i915/intel_guc_wopcm.c | 6 ++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_params.c
b/drivers/gpu/drm/i915
reason and motivation to add
intel_guc as the first parameter of intel_guc_ggtt_offset (Chris)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 12 +++-
drivers/gpu/drm/i915/i
explain why we need create new file for GuC
WOPCM related code (Chris)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Reviewed-by: Sagar Arun Kamble (v7)
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915
to IA frequency.
Cc: Chris Wilson
Cc: Sagar Arun Kamble
Cc: Dmitry Rogozhkin
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_drv.h | 4 ++
drivers/gpu/drm/i915/intel_pm.c | 106 ++--
2 files changed, 107 insertions(+), 3 deletions(-)
diff --git a/drivers/gp
ed code to pass intel_guc pointer to
this function call. so that we have a unified coding style for
GuC code.
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 12 +++-
drivers/gp
WOPCM related functions to a new source file
intel_guc_wopcm.c
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_guc.c | 11
drivers/gpu/drm/i915
issues
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: John Spotswood
Cc: Jeff McGee
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 23 ++-
drivers/gpu/drm/i915/intel_guc_wopcm.h | 4
2 files changed, 26
cking status checking
v7:
- Fixed patch format issues
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.h | 2 +-
drivers/gpu/drm/i915/intel_guc_reg.h | 4 +-
drivers/gpu/drm/i915/intel_guc_wopcm.c
to be multiple of 4K (4K aligned)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_context.c | 9 +--
drivers/gp
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_gtt.c| 4 ++--
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
drivers/gpu/drm/i915/intel_guc_wopcm.c | 6 ++
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers
to be multiple of 4K (4K aligned)
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_context.c | 9 +--
drivers/gp
ed code to pass intel_guc pointer to
this function call. so that we have a unified coding style for
GuC code.
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 12 +++-
drivers/gp
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_gtt.c| 4 ++--
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
drivers/gpu/drm/i915/intel_guc_wopcm.c | 6 ++
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers
cking status checking
Cc: Michal Wajdeczko
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.h | 2 +-
drivers/gpu/drm/i915/intel_guc_reg.h | 4 +-
drivers/gpu/drm/i915/intel_guc_wopcm.c | 91 --
driver
WOPCM related functions to a new source file
intel_guc_wopcm.c
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_guc.c | 11
drivers/gpu/drm/i915
: Sagar Arun Kamble
Cc: John Spotswood
Cc: Jeff McGee
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 24 +++-
drivers/gpu/drm/i915/intel_guc_wopcm.h | 4
2 files changed, 27 insertions(+), 1 deletion(-)
diff
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_gtt.c| 4 ++--
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
drivers/gpu/drm/i915/intel_guc_wopcm.c | 6 ++
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers
: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.h | 2 +-
drivers/gpu/drm/i915/intel_guc_reg.h | 1 +
drivers/gpu/drm/i915/intel_guc_wopcm.c | 66 --
drivers/gpu/drm/i915/intel_guc_wopcm.h | 14 +++-
drivers/gpu/drm/i915/intel_uc.c| 5 +--
5 files
WOPCM related functions to a new source file
intel_guc_wopcm.c
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_guc.c | 11
drivers/gpu/drm/i915
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 21 +
drivers/gpu/drm/i915/intel_guc_wopcm.h | 3 +++
2 files changed, 24 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_guc_wopcm.c
b/drivers/gpu/drm/i915/intel_guc_wopcm.c
index fd2ac12..2523fef
ed code to pass intel_guc pointer to
this function call. so that we have a unified coding style for
GuC code.
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 12 +++-
drivers/gp
amble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_context.c | 9 +--
drivers/gpu/drm/i915/intel_guc.c| 5 +-
drivers/gpu/drm/i915/intel_
dawsky
Cc: Chris Wilson
Cc: Oscar Mateo
Cc: Sagar Arun Kamble
Cc: Dmitry Rogozhkin
Cc: Zhipeng Gong
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.c | 4 +++
drivers/gpu/drm/i915/i915_params.h | 1 +
drivers/gpu/drm/i915/intel_pm.c| 57 -
ed code to pass intel_guc pointer to
this function call. so that we have a unified coding style for
GuC code.
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 12 +++-
drivers/gp
M top during early GuC init (Chris)
- Fail intel_uc_init_hw() as soon as GuC WOPCM partitioning failed
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jack
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_params.h
b/drivers/gpu/drm/i915/i915_params.h
index 792ce26..9725c5a 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu
WOPCM related functions to a new source file
intel_guc_wopcm.c
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Chris Wilson
Cc: Joonas Lahtinen
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_guc.c | 11
drivers/gpu/drm/i915
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc_wopcm.c | 21 +
drivers/gpu/drm/i915/intel_guc_wopcm.h | 3 +++
2 files changed, 24 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_guc_wopcm.c
b/drivers/gpu/drm/i915/intel_guc_wopcm.c
index 60a6afe..e23d7a4
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_params.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_params.h
b/drivers/gpu/drm/i915/i915_params.h
index 792ce26..0ab0733 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu
CNL has different WOPCM size and hardware restriction on GuC
WOPCM size.
This patch returns the correct WOPCM reserved size on CNL and
adds the GuC WOPCM size check for CNL.
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: John Spotswood
Cc: Jeff McGee
Signed-off-by: Jackie Li
---
drivers
WOPCM related functions to a new source file
intel_guc_wopcm.c
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_guc.c | 11
drivers/gpu/drm/i915/intel_guc.h | 2 +-
drivers/gpu
ed code to pass intel_guc pointer to
this function call. so that we have a unified coding style for
GuC code.
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/intel_guc.c| 12 +++-
drivers/gpu/drm/i915/intel_guc.h
Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_context.c | 12 ++--
drivers/gpu/drm/i915/intel_guc.c| 4 +-
drivers/gpu/drm/i915/intel_guc.h| 12 ++--
driver
intel_wopcm_partition into intel_guc (Sagar)
- Removed unnecessary function calls (Joonas)
- Init GuC WOPCM partition as soon as firmware fetching is completed
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_gtt.c | 8 ++--
drivers/gpu/drm/i915/i915_params.h | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 3c3a699..b56e785 100644
WOPCM size was set to
total WOPCM size - GuC WOPCM offset - RC6CTX size.
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Cc: Daniele Ceraolo Spurio
Cc: John Spotswood
Cc: Oscar Mateo
---
drivers/gpu/drm/i915/i915_drv.c | 15
drivers
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_gtt.c | 8 ++--
drivers/gpu/drm/i915/i915_params.h | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 0684d5d..a351ddf 100644
Signed-off-by: Jackie Li
---
drivers/gpu/drm/i915/i915_gem_gtt.c | 8 ++--
drivers/gpu/drm/i915/i915_params.h | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 0684d5d..a351ddf 100644
WOPCM size was set to
total WOPCM size - GuC WOPCM offset - RC6CTX size.
Signed-off-by: Jackie Li
Cc: Michal Wajdeczko
Cc: Sagar Arun Kamble
Cc: Sujaritha Sundaresan
Reviewed-by: Daniele Ceraolo Spurio
Reviewed-by: John Spotswood
Reviewed-by: Oscar Mateo
---
drivers/gpu/drm/i915/i915_drv.c
93 matches
Mail list logo