Hi,
On 9/19/23 02:33, Swarup Laxman Kotiaklapudi wrote:
> Fix kernel-doc warnings discovered in AMD gpu display driver.
> Fixes these warnings:
> ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:110: warning:
> Function parameter or member 'overlap_only'
> not described in 'mpcc_blnd_cfg'.
>
> ./dri
Print channel index for UMC v12.
Signed-off-by: Tao Zhou
---
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
b/drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
index c6742dd863d4..7714c2ef2cdc 100
Prepare for bad page retirement.
Signed-off-by: Tao Zhou
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 +++-
drivers/gpu/drm/amd/amdgpu/umc_v12_0.h | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.
The amdgpu_ras_eeprom_control.bad_channel_bitmap is u32 type, but the
channel index could be larger than 32. For the ASICs whose channel
number is more than 32, the amdgpu_dpm_send_hbm_bad_channel_flag
interface is not supported, so we simply bypass channel bitmap update under
this condition.
v2:
[AMD Official Use Only - General]
Series is
Reviewed-by: Hawking Zhang
Regards,
Hawking
-Original Message-
From: Zhou1, Tao
Sent: Wednesday, September 20, 2023 16:37
To: amd-gfx@lists.freedesktop.org; Zhang, Hawking ;
Yang, Stanley ; Li, Candice ; Wang,
Yang(Kevin) ; Chai, Thomas
Cc
[AMD Official Use Only - General]
Hi Alex,
Does driver also need to disable AGP aperture in hardware side ? (Set register
GCMC_VM_AGP_BOT/TOP to make AGP address range invalid).
The current changes only make the GPU not use AGP range addresses, but the
hardware unit of AGP's aperture is still w
CTF limit represents the max operating temperature and thermal limit
gives the limit at which throttling starts. Add support for both limits.
SOC and HBM may have different limit values.*_emergency_max gives max
operating temperature and *_crit_max value represents throttle limit.
Signed-off-by:
Publish max operating temperature of SOC and memory as temp*_emergency
nodes in hwmon. temp*_crit will show the throttle temperature limits.
Signed-off-by: Lijo Lazar
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/d
On Wed, Sep 20, 2023 at 9:11 AM Qingqing Zhuo wrote:
>
> This reverts commit 50003b5aa5f55677c7d4634eea755958ba6baa58.
>
> [Why & How]
> Revert to unblock arm and ppc compilation issues.
>
> Signed-off-by: Qingqing Zhuo
Acked-by: Alex Deucher
Applied. Thanks!
On Tue, Sep 19, 2023 at 5:54 PM Randy Dunlap wrote:
>
> Hi,
>
> On 9/19/23 02:33, Swarup Laxman Kotiaklapudi wrote:
> > Fix kernel-doc warnings discovered in AMD gpu display driver.
> > Fixes these warnings:
> > ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:110: warning:
> > Fun
Fixes a few style issues:
- Only calculate the dto_params and dp_hpo_inst when dccg is present.
- Fix indentation
- Drop empty else block
Fixes: 7f7925e25828 ("drm/amd/display: Fix MST recognizes connected displays as
one")
Cc: Muhammad Ahmed
Cc: Michel Dänzer
Cc: Stylon Wang
Signed-off-by: Al
On Tue, Sep 12, 2023 at 6:22 AM Michel Dänzer wrote:
>
> From: Michel Dänzer
>
> It was only checking planes which had any state changes in the same
> commit. However, it also needs to check other enabled planes.
>
> Not doing this meant that a commit might spuriously "succeed", resulting
> in th
On Tue, Sep 19, 2023 at 11:00 PM Ma, Jun wrote:
>
> Hi Alex,
>
> On 9/18/2023 10:05 PM, Alex Deucher wrote:
> > On Mon, Sep 11, 2023 at 2:00 AM Ma Jun wrote:
> >>
> >> Add reset option for fan_curve.
> >> User can use command "echo r > fan_cure" to reset the fan_curve
> >> to boot value
> >>
> >>
On 2023-09-19 17:15, Felix Kuehling
wrote:
On 2023-09-19 10:21, Philip Yang wrote:
If new range is splited to multiple
pranges with max_svm_range_pages
alignment and added to update_list, svm validate and map shoul
On 2023-09-20 10:20, Philip Yang wrote:
On 2023-09-19 17:15, Felix Kuehling wrote:
On 2023-09-19 10:21, Philip Yang wrote:
If new range is splited to multiple pranges with max_svm_range_pages
alignment and added to update_list, svm validate and map should keep
going after error to make sur
[AMD Official Use Only - General]
-Original Message-
From: amd-gfx On Behalf Of Shashank
Sharma
Sent: Saturday, September 9, 2023 12:05 AM
To: amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander ; Koenig, Christian
; Yadav, Arvind ; Sharma,
Shashank
Subject: [PATCH v6 3/9] drm/amdgpu
[AMD Official Use Only - General]
-Original Message-
From: Zhang, Yifan
Sent: Wednesday, September 20, 2023 4:48 PM
To: Sharma, Shashank ; amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander ; Koenig, Christian
; Yadav, Arvind ; Sharma,
Shashank
Subject: RE: [PATCH v6 3/9] drm/amdgpu:
On 2023-09-20 2:17, Xiaogang.Chen wrote:
From: Xiaogang Chen
This patch fixes:
1: ref number of prange's svm_bo got decreased by an async call from hmm. When
wait svm_bo of prange got released we shoul also wait prang->svm_bo become NULL,
otherwise prange->svm_bo may be set to null after allo
On 9/20/23 09:41, Alex Deucher wrote:
Fixes a few style issues:
- Only calculate the dto_params and dp_hpo_inst when dccg is present.
- Fix indentation
- Drop empty else block
Fixes: 7f7925e25828 ("drm/amd/display: Fix MST recognizes connected displays as
one")
Cc: Muhammad Ahmed
Cc: Michel Dä
On Fri, Sep 8, 2023 at 12:45 PM Shashank Sharma wrote:
>
> The FW expects us to allocate at least one page as context
> space to process gang, process, GDS and FW related work.
> This patch creates a joint object for the same, and calculates
> GPU space offsets of these spaces.
>
> V1: Addressed
On Fri, Sep 8, 2023 at 12:20 PM Shashank Sharma wrote:
>
> This patch adds new functions to map/unmap a usermode queue into
> the FW, using the MES ring. As soon as this mapping is done, the
> queue would be considered ready to accept the workload.
>
> V1: Addressed review comments from Alex on t
On Fri, Sep 8, 2023 at 11:55 PM Shashank Sharma wrote:
>
> The userspace sends us the doorbell object and the relative doobell
> index in the object to be used for the usermode queue, but the FW
> expects the absolute doorbell index on the PCI BAR in the MQD. This
> patch adds a function to conver
On Fri, Sep 8, 2023 at 12:25 PM Shashank Sharma wrote:
>
> This patch adds code to cleanup any leftover userqueues which
> a user might have missed to destroy due to a crash or any other
> programming error.
>
> Cc: Alex Deucher
> Cc: Christian Koenig
> Suggested-by: Bas Nieuwenhuizen
> Signed-
On Fri, Sep 8, 2023 at 12:20 PM Shashank Sharma wrote:
>
> This patch adds new functions to map/unmap a usermode queue into
> the FW, using the MES ring. As soon as this mapping is done, the
> queue would be considered ready to accept the workload.
>
> V1: Addressed review comments from Alex on t
On 2023-09-20 10:35, Felix Kuehling
wrote:
On 2023-09-20 10:20, Philip Yang wrote:
On 2023-09-19 17:15, Felix Kuehling wrote:
On 2023-09-19 10:21, Philip Yang wrote:
If new range is splited to multiple pranges with max_svm_range_pages
alignment and added to update_list, svm validate and map should keep
going after error to make sure prange->mapped_to_gpu flag is up to date
for the whole range.
svm validate and map update set prange->mapped_to_gpu after mapping
On 9/20/2023 9:55 AM, Felix Kuehling wrote:
On 2023-09-20 2:17, Xiaogang.Chen wrote:
From: Xiaogang Chen
This patch fixes:
1: ref number of prange's svm_bo got decreased by an async call from
hmm. When
wait svm_bo of prange got released we shoul also wait prang->svm_bo
become NULL,
otherw
From: Xiaogang Chen
This patch fixes:
1: ref number of prange's svm_bo got decreased by an async call from hmm. When
wait svm_bo of prange got released we shoul also wait prang->svm_bo become NULL,
otherwise prange->svm_bo may be set to null after allocate new vram buffer.
2: During waiting svm_
From: Xiaogang Chen
This patch implements partial migration in gpu page fault according to migration
granularity(default 2MB) and not split svm range in cpu page fault handling.
A svm range may include pages from both system ram and vram of one gpu now.
These chagnes are expected to improve migra
The BOT register needs to be larger than the TOP register
for this to be properly disabled. The lower 22 bits
of the BOT address are always 0 and the lower 22 bits of
the TOP register are always 1 so you need to make
the upper bits of BOT larger than the upper bits of BOT.
Signed-off-by: Alex Deu
AGP aperture is deprecated and no longer functional.
v2: fix typo (Alex)
v3: just skip the agp setup call
v4: revert back to the original model
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gp
Allows the driver to disable the AGP aperture when
it's not needed. Program AGP explictly for all asics,
but set the flag to align with previous behavior. No
functional change.
v2: rework patch
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +-
drivers/g
The BOT register needs to be larger than the TOP register
for this to be properly disabled. The lower 22 bits
of the BOT address are always 0 and the lower 22 bits of
the TOP register are always 1 so you need to make
the upper bits of BOT larger than the upper bits of BOT.
Signed-off-by: Alex Deu
Allows the driver to disable the AGP aperture when
it's not needed. Program AGP explictly for all asics,
but set the flag to align with previous behavior. No
functional change.
v2: rework patch
v3: fix broken rebase
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
AGP aperture is deprecated and no longer functional.
v2: fix typo (Alex)
v3: just skip the agp setup call
v4: revert back to the original model
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gp
[AMD Official Use Only - General]
Series is:
Acked-by: Alex Deucher
On a somewhat related note, we should fix the hysteresis values. They are
currently set to the min and max temperatures which IIRC was not the intent of
these values in hwmon.
Alex
From: La
For multi-GPU systems it is difficult to tell which GPU a particular
message is being printed for and that is undesirable because it
complicates debugging efforts. Also, the new macros allow us to enable
logging for particular parts of the codebase more selectively (since we
no longer need to throw
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/drm
Hi Dave, Daniel,
Fixes for 6.6.
The following changes since commit ce9ecca0238b140b88f43859b211c9fdfd8e5b70:
Linux 6.6-rc2 (2023-09-17 14:40:24 -0700)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git
tags/amd-drm-fixes-6.6-2023-09-20
for you to fetch
[AMD Official Use Only - General]
Series is.
Reviewed-by: Yang Wang
Best Regards,
Kevin
-Original Message-
From: amd-gfx On Behalf Of Alex Deucher
Sent: Thursday, September 21, 2023 1:58 AM
To: amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander
Subject: [PATCH 3/3] drm/amdgpu/gmc11
Like amdgpu_device_reset_sriov does, kfd suspend should be called at the
beginning to make sure kfd BO is idle. Otherwise the extra
amdgpu_device_evict_resources fails or amdgpu_virt_request_full_gpu
timeout.
Signed-off-by: xinhui pan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++---
1
This identifies the physical ordering of devices in the hive
Signed-off-by: Mangesh Gadre
Reviewed-by: Lijo Lazar
---
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
b/drivers/gpu/drm/am
Cayn skilfish uses SMUIO v11.0.8 offset.
Signed-off-by: Lang Yu
Cc: # v5.15+
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 1d671c330475.
Cayn skilfish uses SMUIO v11.0.8 offset.
Signed-off-by: Lang Yu
Cc: # v5.15+
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 1d671c330475.
O 09/21/ , Lang Yu wrote:
Sorry for sending this patch twice. Please ignore this one.
Regards,
Lang
> Cayn skilfish uses SMUIO v11.0.8 offset.
>
> Signed-off-by: Lang Yu
> Cc: # v5.15+
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 21 +
> 1 file changed, 21 insertions(
[AMD Official Use Only - General]
Reviewed-by: Aaron Liu
> -Original Message-
> From: Yu, Lang
> Sent: Thursday, September 21, 2023 2:06 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Deucher, Alexander ; Liu, Aaron
> ; Zhang, Yifan ;
> sta...@vger.kernel.org
> Subject: Re: [PATCH] drm/am
46 matches
Mail list logo