more cores in the jpeg ip.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c| 71 +
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h| 1 +
3 files changed, 74 insertions(+)
diff --git a/drivers/gpu
jpeg ip version v2.1 and higher supports 16kx16k resolution decode
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/nv.c| 6 +++---
drivers/gpu/drm/amd/amdgpu/soc15.c | 4 ++--
drivers/gpu/drm/amd/amdgpu/soc21.c | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff
From: Sathishkumar S
enable vcn mgcg flag for picasso.
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
update suspend register settings in Non-DPG mode.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index
use attr_update if its available as part of the attribute.
default_attr_update was used even if attr->attr_update is true.
Signed-off-by: Sathishkumar S
Reviewed-by: Shashank Sharma
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --gi
-off-by: Sathishkumar S
Reviewed-by: Alex Deucher
Reviewed-by: Lijo Lazar
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 6 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 55
drivers/gpu/drm/amd/include/amd_acpi.h | 18
3 files changed, 79 insertions(+)
diff
(Shashank)
return 0 if device does not support smart shift. (Lizo)
V5: rebased on ATPX/ATCS structures global (Alex)
Signed-off-by: Sathishkumar S
Reviewed-by: Lijo Lazar
Reviewed-by: Shashank Sharma
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 18
drivers/gpu/drm/amd/amdgpu
in amdgpu_device_attrs and use attr_update (Lijo)
V6: all checks for ss support to be in if else if statements. (Lijo)
Signed-off-by: Sathishkumar S
Reviewed-by: Lijo Lazar
---
Documentation/gpu/amdgpu.rst | 15 +++
.../gpu/drm/amd/include/kgd_pp_interface.h| 2
add sysfs attr to read/write smartshift bias level.
document smartshift_bias sysfs attr.
V2: add attr to amdgpu_device_attrs and use attr_update (Lijo)
Signed-off-by: Sathishkumar S
Reviewed-by: Lijo Lazar
---
Documentation/gpu/amdgpu.rst| 6 ++
drivers/gpu/drm/amd/amdgpu
add support to read smart shift apu and dgpu power share
on yellow_carp
Signed-off-by: Sathishkumar S
Reviewed-by: Lijo Lazar
---
.../drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 34 +++
1 file changed, 34 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13
add support to read smart shift apu and dgpu power share
on renoir.
Signed-off-by: Sathishkumar S
---
.../gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 34 +++
1 file changed, 34 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
b/drivers/gpu/drm/amd/pm
update the query to return the number of functional
instances where there is more than an instance of the requested
type and for others continue to return one.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 90 +
1 file changed, 61 insertions
update the query to return the number of functional
instances where there is more than an instance of the requested
type and for others continue to return one.
v2: count must reflect the actual number of engines (Alex)
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd
update the query to return the number of functional
instances where there is more than an instance of the requested
type and for others continue to return one.
v2: count must reflect the actual number of engines (Alex)
v3: fix wrong number of engines for vcn (Alex)
Signed-off-by: Sathishkumar S
fix wrong ip count INFO on spatial partitions. update the query
to return the instance count corresponding to the partition id.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 32 +
1 file changed, 32 insertions(+)
diff --git a/drivers/gpu
fix wrong ip count INFO on spatial partitions. update the query
to return the instance count corresponding to the partition id.
v2:
initialize variables only when required to be (Christian)
move variable declarations to the beginning of function (Christian)
Signed-off-by: Sathishkumar S
-by: Sathishkumar S
Acked-by: Alex Deucher
---
.../pmfw_if/smu11_driver_if_sienna_cichlid.h | 63 +++
.../amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 161 ++
2 files changed, 187 insertions(+), 37 deletions(-)
diff --git
a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if
redundant code (Lijo)
Signed-off-by: Sathishkumar S
Acked-by: Alex Deucher
Reviewed-by: Lijo Lazar
---
.../pmfw_if/smu11_driver_if_sienna_cichlid.h | 63 +++
.../amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 161 ++
2 files changed, 187 insertions(+), 37 deletions(-)
diff
always create smartshift attributes from dgpu device even on SS1.0.
consider units of power in metrics table and convert if necessary.
powershift value is in percentage and values to range between 0-100.
Suggested-by: Alex Deucher
Signed-off-by: Sathishkumar S
Acked-by: Alex Deucher
smartshift apu and dgpu power boost are reported as percentage with
respect to their power limits. This value[0-100] reflects the boost
for the respective device.
Signed-off-by: Sathishkumar S
---
.../gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 60 ++-
1 file changed, 44
smartshift apu and dgpu power boost are reported as percentage
with respect to their power limits. adjust the units of power before
calculating the percentage of boost.
Signed-off-by: Sathishkumar S
---
.../drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 60 ++-
1 file changed, 44
create smartshift sysfs attributes from dGPU device even
on smartshift 1.0 platform to be consistent. Do not populate
the attributes on platforms that have APU only but not dGPU
or vice versa.
Suggested-by: Alex Deucher
Signed-off-by: Sathishkumar S
Acked-by: Alex Deucher
---
drivers/gpu/drm
-by: Sathishkumar S
Acked-by: Alex Deucher
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 136 -
1 file changed, 74 insertions(+), 62 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index d3228216b2da..292e8c241597 100644
into a function and reuse (Lijo)
Suggested-by: Alex Deucher
Signed-off-by: Sathishkumar S
Acked-by: Alex Deucher
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 130 ++---
1 file changed, 62 insertions(+), 68 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
b/drivers
Remote access to external AIDs isn't possible with VCN RRMT disabled
and it is disabled on SoCs with GC 9.4.4, so use only local offsets.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff
Remote access to external AIDs isn't possible with VCN RRMT disabled
and it is disabled on SoCs with GC 9.4.4, so use only local offsets.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff
Add debugfs entry to enable or disable job submission to
specific vcn instances. The entry is created only when
there is more than an instance and is unified queue type.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
Add an inline function to calculate core specific register offsets for
JPEG v4.0.3 and reuse it, makes code more readable and easier to align.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 54 +++-
1 file changed, 24 insertions(+), 30 deletions
Add helper functions to handle per-instance and per-core
initialization and deinitialization in JPEG4_0_3.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 190 ---
1 file changed, 98 insertions(+), 92 deletions(-)
diff --git a/drivers/gpu/drm
Add ring reset function callback for JPEG4_0_3 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 60 ++--
1 file changed, 57 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd
Add ring reset function callback for JPEG4_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 22 +++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add helper functions to handle per-instance initialization
and deinitialization in JPEG2_5_0.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 102 +
1 file changed, 55 insertions(+), 47 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add ring reset function callback for JPEG3_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
b
Add ring reset function callback for JPEG2_5_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
b
This patch-series adds jpeg ring reset callback function
to recover from job timeouts without a full gpu reset.
How is it tested:-
A bad job on jpeg causes timeout and recovers alongside
an unaffected mpv vaapi-decode(vcn) in playback loop.
Sathishkumar S (7):
drm/amdgpu: Per-instance init
Add ring reset function callback for JPEG2_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
b
Add helper functions to handle per-instance and per-core
initialization and deinitialization in JPEG4_0_3.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 190 ---
1 file changed, 98 insertions(+), 92 deletions(-)
diff --git a/drivers/gpu/drm
This patch series enables jpeg ring reset callback to recover
from job timeouts without having to do a full gpu reset.
V2:
- sched->ready flag shouldn't be modified by backends (Christian)
- use drm_sched_wqueue_stop()/drm_sched_wqueue_start() instead (Alex)
Sathishkumar S (7):
dr
Add ring reset function callback for JPEG3_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add ring reset function callback for JPEG4_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 23 +--
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add ring reset function callback for JPEG4_0_3 to
recover from job timeouts without a full gpu reset.
V2:
- sched->ready flag shouldn't be modified by back-ends (Christian)
- use drm_sched_wqueue_stop()/drm_sched_wqueue_start() instead (Alex)
Signed-off-by: Sathishkumar S
---
drivers
Add ring reset function callback for JPEG2_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add helper functions to handle per-instance initialization
and deinitialization in JPEG2_5_0.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 102 +
1 file changed, 55 insertions(+), 47 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add ring reset function callback for JPEG2_5_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add register list and enable devcoredump for JPEG5_0_1
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 65 +++-
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.h | 61 ++
2 files changed, 124 insertions(+), 2 deletions(-)
diff --git a
This patch-series enables jpeg devcoredump support
Sathishkumar S (9):
drm/amdgpu: Add a func for core specific reg offset
drm/amdgpu: Add helper funcs for jpeg devcoredump
drm/amdgpu: Enable devcoredump for JPEG4_0_3
drm/amdgpu: Enable devcoredump for JPEG5_0_1
drm/amdgpu: Enable
Add an inline function to calculate core specific register offsets for
JPEG v4.0.3 and reuse it, makes code more readable and easier to align.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 54 +++-
1 file changed, 24 insertions(+), 30 deletions
Add register list and enable devcoredump for JPEG4_0_3
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 58
1 file changed, 58 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
b/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
Add devcoredump helper functions that can be reused for all jpeg versions.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 59
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 7 +++
2 files changed, 66 insertions(+)
diff --git a/drivers/gpu/drm
Add register list and enable devcoredump for JPEG4_0_0
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 40 +-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c
b/drivers/gpu/drm/amd/amdgpu
Add register list and enable devcoredump for JPEG2_0_0
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
index
Add register list and enable devcoredump for JPEG4_0_5
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 41 +++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
b/drivers/gpu/drm/amd/amdgpu
Add register list and enable devcoredump for JPEG3_0_0
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 39 ++
1 file changed, 39 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
b/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
index
Add register list and enable devcoredump for JPEG2_5_0
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
index
-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 80
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 10 +++
2 files changed, 90 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
index
Add an inline function to calculate core specific register offsets for
JPEG v4.0.3 and reuse it, makes code more readable and easier to align.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 54 +++-
1 file changed, 24 insertions(+), 30 deletions
Add register list and enable devcoredump for JPEG5_0_1
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 51 +++-
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.h | 61
Add register list and enable devcoredump for JPEG4_0_3
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 44
1 file changed, 44 insertions(+)
diff --git a
This patch-series enables jpeg devcoredump support
V2: (Lijo)
- add amdgpu_jpeg_reg_dump_init() for memory allocation and reg_list ref
- use reg_list and reg_count from init() to dump and print registers
- add amdgpu_jpeg_reg_dump_fini() to free memory and clear reg_list ref
Sathishkumar S (9
Add register list and enable devcoredump for JPEG4_0_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion
Add register list and enable devcoredump for JPEG3_0_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 24
1 file changed, 24 insertions(+)
diff --git a
Add register list and enable devcoredump for JPEG4_0_5
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 27 +++-
1 file changed, 26 insertions(+), 1 deletion
Add register list and enable devcoredump for JPEG2_5_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a
Add register list and enable devcoredump for JPEG2_0_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 24
1 file changed, 24 insertions(+)
diff --git a
Add register list and enable devcoredump for JPEG2_0_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm
Add register list and enable devcoredump for JPEG5_0_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu
Add register list and enable devcoredump for JPEG2_5_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm
Add an inline function to calculate core specific register offsets for
JPEG v4.0.3 and reuse it, makes code more readable and easier to align.
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 54 +++-
1 file changed, 24
: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini()
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 84
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 9 +++
2 files changed, 93 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add register list and enable devcoredump for JPEG4_0_3
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu
)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini()
Sathishkumar S (10):
drm/amdgpu: Add a func for core specific reg offset
drm/amdgpu: Add helper funcs for jpeg devcoredump
drm/amdgpu: Enable devcoredump for JPEG4_0_3
drm/amdgpu: Enable devcoredump for JPEG5_0_1
drm/amdgpu: Enable devcoredump
Add register list and enable devcoredump for JPEG5_0_1
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm
Add register list and enable devcoredump for JPEG3_0_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm
Add register list and enable devcoredump for JPEG4_0_5
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm
Add register list and enable devcoredump for JPEG4_0_0
V2: (Lijo)
- remove version specific callbacks and use simplified helper functions
V3: (Lijo)
- move amdgpu_jpeg_reg_dump_fini() to sw_fini() and avoid the call here
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm
increase max rings to 132 to support all JPEG5_0_1 cores, else
ring_init fails due to ring count exceeding maximum limit.
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
increase max rings to 132 to support all JPEG5_0_1 cores, else
ring_init fails due to ring count exceeding maximum limit.
Signed-off-by: Sathishkumar S
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
Add helper functions to handle per-instance initialization
and deinitialization in JPEG2_5_0.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 102 +
1 file changed, 55 insertions(+), 47 deletions
Add ring reset function callback for JPEG2_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion
Add helper functions to handle per-instance and per-core
initialization and deinitialization in JPEG4_0_3.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 190 ---
1 file changed, 98 insertions
Add ring reset function callback for JPEG4_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions
Add ring reset function callback for JPEG2_5_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion
Add helper functions to handle per-instance and per-core
initialization and deinitialization in JPEG4_0_3.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 190 ---
1 file changed, 98 insertions
This patch series enables jpeg ring reset callback to recover
from job timeouts without having to do a full gpu reset.
V2:
- sched->ready flag shouldn't be modified by HW backend (Christian)
V3:
- Dont modifying sched/job-submission state from HW backend (Christian)
Sathishkumar S (6
Add ring reset function callback for JPEG3_0_0 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion
Add helper functions to handle per-instance initialization
and deinitialization in JPEG2_5_0.
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 102 +
1 file changed, 55 insertions(+), 47 deletions
Update power gate setting to not poweroff UVDJ in JPEG4_0_3.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
b/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
index
Add core reset control register definitions and align
all prior register definitions to end at 100 column
length for uniformity.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.h | 128 ---
1 file changed, 68 insertions(+), 60 deletions(-)
diff
Add ring reset function callback for JPEG5_0_1 to
recover from job timeouts without a full gpu reset.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 50
1 file changed, 50 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
Add helper functions to handle per-instance and per-core
initialization and deinitialization in JPEG5_0_1.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 150 +++
1 file changed, 69 insertions(+), 81 deletions(-)
diff --git a/drivers/gpu/drm
For cores 1 through 9 repair the core reset sequence by
adjusting offsets to access the expected registers.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
For cores 1 through 7 repair the core reset sequence by
adjusting offsets to access the expected registers.
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Add core reset control registers for JPEG4_0_3
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
.../include/asic_reg/vcn/vcn_4_0_3_offset.h | 34 +++
1 file changed, 34 insertions(+)
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vcn
Add core reset control registers for JPEG4_0_3
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
.../include/asic_reg/vcn/vcn_4_0_3_offset.h | 34 +++
1 file changed, 34 insertions(+)
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vcn
ence
V4:
- Dont create reset_mask sysfs and return -EOPNOTSUPP on VFs (Lijo)
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 56 +---
1 file changed, 49 insertions(+), 7 deletions(-)
diff --git a/dri
Signed-off-by: Sathishkumar S
Acked-by: Christian König
Reviewed-by: Leo Liu
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 49 +---
1 file changed, 43 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
b/drivers/gpu/drm/amd/amdgpu/jpeg_
update the eviction fence driver name to amdgpu_eviction_fence
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
b/drivers/gpu/drm/amd
fault (src_id:0 ring:40 vmid:10 pasid:32771)
amdgpu: in process pid 0 thread pid 0)
amdgpu: in page starting at address 0x800105404000 from client 10
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 13 +
1 file changed, 13 insertions(+)
diff
fault (src_id:0 ring:40 vmid:10 pasid:32771)
amdgpu: in process pid 0 thread pid 0)
amdgpu: in page starting at address 0x800105404000 from client 10
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 13 +
1 file changed, 13 insertions(+)
diff
update the eviction fence driver name to amdgpu_eviction_fence
Signed-off-by: Sathishkumar S
---
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
b/drivers/gpu/drm/amd
100 matches
Mail list logo