Re: ATI Radeon Mobility 3470 fails with Kernel 5.0

2022-03-23 Thread Paul Menzel
Dear Craig, Am 24.03.22 um 02:09 schrieb Craig M: I should add some further information: I have tried using Manjaro KDE, Kubuntu 20 and Kubuntu 18.03 live disks and all exhibit this 'tearing' issue. The problem begins rather early on in the boot sequence while the TUI is logging the startup i

Re: [PATCH] drm/amdgpu/vcn3: send smu interface type

2022-03-23 Thread Paul Menzel
Dear Yifan, dear Boyuan, Am 24.03.22 um 03:59 schrieb Yifan Zhang: From: Boyuan Zhang For VCN FW to detect ASIC type What affect does this have? How does VCN FW behave different now? Signed-off-by: Boyuan Zhang Signed-off-by: Yifan Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 7

Re: [PATCH] drm/amdgpu/vcn3: send smu interface type

2022-03-23 Thread Huang Rui
+ Leo, On Thu, Mar 24, 2022 at 10:59:14AM +0800, Zhang, Yifan wrote: > From: Boyuan Zhang > > For VCN FW to detect ASIC type > > Signed-off-by: Boyuan Zhang > Signed-off-by: Yifan Zhang > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 7 +++ > drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 7

[PATCH] drm/amdgpu/vcn3: send smu interface type

2022-03-23 Thread Yifan Zhang
From: Boyuan Zhang For VCN FW to detect ASIC type Signed-off-by: Boyuan Zhang Signed-off-by: Yifan Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 7 +++ drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 7 +++ 2 files changed, 14 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amd

RE: [PATCH] drm/amdgpu: set noretry for gfx 10.3.7

2022-03-23 Thread Liang, Prike
[Public] Thanks for the review. Actually, the commit here mean disable xnack on the ISA gfx1036 for KFD test, but is seems more clear to unify using IP version gfx 10.3.7 and will update the commit info. Thanks, Prike > -Original Message- > From: Alex Deucher > Sent: Wednesday, March 2

Re: ATI Radeon Mobility 3470 fails with Kernel 5

2022-03-23 Thread Craig M
I should add some further information: I have tried using Manjaro KDE, Kubuntu 20 and Kubuntu 18.03 live disks and all exhibit this 'tearing' issue. The problem begins rather early on in the boot sequence while the TUI is logging the startup information and continues to be a problem as the screen

ATI Radeon Mobility 3470 fails with Kernel 5

2022-03-23 Thread Craig M
Hi, I'm trying to track down a problem with an ancient graphics device ATI Radeon Mobility 3470. Ubuntu/Kubuntu 18 is shipped kernel 4.18 and the radeon drivers work well. With 18.02 and later it ships with kernel 5.0 and the radeon drivers don't. What I'm seeing is hard to describe. It looks a

[PATCH] drm/amdgpu/display: change pipe policy for DCN 2.1

2022-03-23 Thread Benjamin Marty
Fixes crash on MST Hub disconnect. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1849 Fixes: ee2698cf79cc ("drm/amd/display: Changed pipe split policy to allow for multi-display pipe split") Signed-off-by: Benjamin Marty --- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 +- 1

Re: [PATCH] drm/amd/display: use NULL instead of using plain integer as pointer

2022-03-23 Thread Alex Deucher
Thanks for the patches. I've already applied fixes from others for these issues. Alex On Tue, Mar 22, 2022 at 9:05 AM Haowen Bai wrote: > > This fixes the following sparse warnings: > drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dsc/rc_calc_fpu.c:71:40: > warning: Using > plain integer as NULL

[PATCH] drm/amdgpu/display: change pipe policy for DCN 2.1

2022-03-23 Thread Benjamin Marty
Fixes crash on MST Hub disconnect. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1849 Fixes: ee2698cf79cc ("drm/amd/display: Changed pipe split policy to allow for multi-display pipe split") Signed-off-by: Benjamin Marty --- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 +- 1

[PATCH] drm/amd/display: Program color range and encoding correctly for DCN2+

2022-03-23 Thread Harry Wentland
[Why] DCN2 CNVC programming did not respect the input_color_space and was therefore programming the wrong CSC matrix for YUV to RGB conversion, leading to a wrong image. In particular blacks for limited range videos would show as dark grey. [How] Do what DCN1 does and use the input_color_space inf

Re: radeon ring 0 test failed on arm64

2022-03-23 Thread Alex Deucher
On Wed, Mar 16, 2022 at 8:14 PM Peter Geis wrote: > > Good Evening, > > I apologize for raising this email chain from the dead, but there have > been some developments that have introduced even more questions. > I've looped the Rockchip mailing list into this too, as this affects > rk356x, and lik

Re: [PATCH 00/22] drm: Review of mode copies

2022-03-23 Thread Abhinav Kumar
On 3/23/2022 3:39 AM, Dmitry Baryshkov wrote: On 22/03/2022 01:37, Ville Syrjälä wrote: On Tue, Mar 15, 2022 at 02:52:38PM -0400, Alex Deucher wrote: On Mon, Mar 14, 2022 at 6:12 PM Ville Syrjälä wrote: On Fri, Feb 18, 2022 at 12:03:41PM +0200, Ville Syrjala wrote:    drm: Add drm_mode_i

Re: [PATCH 1/1] drm/amdkfd: Protect the Client whilst it is being operated on

2022-03-23 Thread Felix Kuehling
Am 2022-03-23 um 08:46 schrieb Lee Jones: On Thu, 17 Mar 2022, Lee Jones wrote: On Thu, 17 Mar 2022, philip yang wrote: On 2022-03-17 11:13 a.m., Lee Jones wrote: On Thu, 17 Mar 2022, Felix Kuehling wrote: Am 2022-03-17 um 11:00 schrieb Lee Jones: Good afternoon Felix, Thanks for y

Re: [PATCH v2] drm/amdkfd: Check use_xgmi_p2p before reporting hive_id

2022-03-23 Thread Felix Kuehling
Am 2022-03-23 um 10:20 schrieb Divya Shikre: Recently introduced commit "845ebd6b7c32 drm/amdgpu: Add use_xgmi_p2p module parameter" did not update XGMI iolinks when use_xgmi_p2p is disabled. Add fix to not create XGMI iolinks in KFD topology when this parameter is disabled. Signed-off-by: Divya

Re: [PATCH] drm/amdkfd: Fix Incorrect VMIDs passed to HWS

2022-03-23 Thread Felix Kuehling
Am 2022-03-23 um 14:11 schrieb Tushar Patel: Compute-only GPUs have more than 8 VMIDs allocated to KFD. Fix this by passing correct number of VMIDs to HWS Checkpatch may complain here about an unwrapped description. Other than that, the patch is Reviewed-by: Felix Kuehling Signed-off

Re: [PATCH] drm/amdgpu/vcn: improve vcn dpg stop procedure

2022-03-23 Thread Zhu, James
[AMD Official Use Only] This patch is Reviewed-by: James Zhu From: Tianci Yin Sent: Wednesday, March 23, 2022 12:01 PM To: amd-gfx@lists.freedesktop.org Cc: Chen, Guchun ; Zhu, James ; Wang, Yu (Charlie) ; Yin, Tianci (Rico) Subject: [PATCH] drm/amdgpu/vcn:

Re: [RFC] Add KFD available memory ioctl thunk support (rev 1)

2022-03-23 Thread Daniel Phillips
On 2022-03-22 11:20, Yat Sin, David wrote: > I think this should check for minor version 9 to match #define > KFD_IOCTL_MINOR_VERSION 9 in kfd_ioctl.h Fixed. include/hsakmt.h | 11 +++ include/linux/kfd_ioctl.h | 18 -- src/memory.c | 23

Re: [RFC] Add KFD available memory ioctl thunk support

2022-03-23 Thread Daniel Phillips
On 2022-03-22 11:20, Yat Sin, you wrote: >> +CHECK_KFD_MINOR_VERSION(7); > > I think this should check for minor version 9 to match #define > KFD_IOCTL_MINOR_VERSION 9 in kfd_ioctl.h Right you are. Regards, Daniel

[PATCH] drm/amdkfd: Fix Incorrect VMIDs passed to HWS

2022-03-23 Thread Tushar Patel
Compute-only GPUs have more than 8 VMIDs allocated to KFD. Fix this by passing correct number of VMIDs to HWS Signed-off-by: Tushar Patel --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 11 +++ 2 files changed, 4 insertions(+), 9 deletions(

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-23 Thread Rob Clark
On Wed, Mar 23, 2022 at 8:14 AM Daniel Vetter wrote: > > On Wed, 23 Mar 2022 at 15:07, Daniel Stone wrote: > > > > Hi, > > > > On Mon, 21 Mar 2022 at 16:02, Rob Clark wrote: > > > On Mon, Mar 21, 2022 at 2:30 AM Christian König > > > wrote: > > > > Well you can, it just means that their context

Re: [Intel-gfx] [RFC 09/19] drm/edid: convert drm_edid_to_sad() to use cea db iter

2022-03-23 Thread Ville Syrjälä
On Tue, Mar 22, 2022 at 11:40:38PM +0200, Jani Nikula wrote: > Use the cea db iterator for short audio descriptors. We'll still stop at > the first audio data block, but not at the first CEA extension if that > doesn't have the info. This stuff should probably be converted over to the drm_edid_to_

[PATCH] drm/amdgpu/vcn: improve vcn dpg stop procedure

2022-03-23 Thread Tianci Yin
Prior to disabling dpg, VCN need unpausing dpg mode, or VCN will hang in S3 resuming. Signed-off-by: Tianci Yin --- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c index b1

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Christian König
Am 23.03.22 um 16:24 schrieb Daniel Stone: On Wed, 23 Mar 2022 at 15:14, Alex Deucher wrote: On Wed, Mar 23, 2022 at 11:04 AM Daniel Stone wrote: That's not what anyone's saying here ... No-one's demanding AMD publish RTL, or internal design docs, or hardware specs, or URLs to JIRA tickets n

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-23 Thread Christian König
[Adding Marek and Andrey as well] Am 23.03.22 um 16:14 schrieb Daniel Vetter: On Wed, 23 Mar 2022 at 15:07, Daniel Stone wrote: Hi, On Mon, 21 Mar 2022 at 16:02, Rob Clark wrote: On Mon, Mar 21, 2022 at 2:30 AM Christian König wrote: Well you can, it just means that their contexts are los

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Daniel Stone
On Wed, 23 Mar 2022 at 15:14, Alex Deucher wrote: > On Wed, Mar 23, 2022 at 11:04 AM Daniel Stone wrote: > > That's not what anyone's saying here ... > > > > No-one's demanding AMD publish RTL, or internal design docs, or > > hardware specs, or URLs to JIRA tickets no-one can access. > > > > This

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Christian König
Am 23.03.22 um 15:00 schrieb Daniel Stone: On Wed, 23 Mar 2022 at 08:19, Christian König wrote: Am 23.03.22 um 09:10 schrieb Paul Menzel: Sorry, I disagree. The motivation needs to be part of the commit message. For example see recent discussion on the LWN article *Donenfeld: Random number gen

[PATCH v2 1/1] rock-dbg_defconfig: Update for 5.16

2022-03-23 Thread Philip Yang
Also enable ACPI HMAT support, to fix boot crash or amdgpu init failure on ALDEBARAN. v2: - Use make savedefconfig to minimize the changes, skipping redundant configs that are implied by others or have same value as default. Signed-off-by: Philip Yang --- arch/x86/configs/rock-dbg_defconfig |

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Alex Deucher
On Wed, Mar 23, 2022 at 11:04 AM Daniel Stone wrote: > > Hi Alex, > > On Wed, 23 Mar 2022 at 14:42, Alex Deucher wrote: > > On Wed, Mar 23, 2022 at 10:00 AM Daniel Stone wrote: > > > On Wed, 23 Mar 2022 at 08:19, Christian König > > > wrote: > > > > Well the key point is it's not about you to

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-23 Thread Daniel Vetter
On Wed, 23 Mar 2022 at 15:07, Daniel Stone wrote: > > Hi, > > On Mon, 21 Mar 2022 at 16:02, Rob Clark wrote: > > On Mon, Mar 21, 2022 at 2:30 AM Christian König > > wrote: > > > Well you can, it just means that their contexts are lost as well. > > > > Which is rather inconvenient when deqp-egl r

Re: [PATCH 00/22] drm: Review of mode copies

2022-03-23 Thread Ville Syrjälä
On Wed, Mar 23, 2022 at 01:39:44PM +0300, Dmitry Baryshkov wrote: > On 22/03/2022 01:37, Ville Syrjälä wrote: > > On Tue, Mar 15, 2022 at 02:52:38PM -0400, Alex Deucher wrote: > >> On Mon, Mar 14, 2022 at 6:12 PM Ville Syrjälä > >> wrote: > >>> > >>> On Fri, Feb 18, 2022 at 12:03:41PM +0200, Ville

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Daniel Stone
Hi Alex, On Wed, 23 Mar 2022 at 14:42, Alex Deucher wrote: > On Wed, Mar 23, 2022 at 10:00 AM Daniel Stone wrote: > > On Wed, 23 Mar 2022 at 08:19, Christian König > > wrote: > > > Well the key point is it's not about you to judge that. > > > > > > If you want to complain about the commit mess

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Alex Deucher
On Wed, Mar 23, 2022 at 10:00 AM Daniel Stone wrote: > > On Wed, 23 Mar 2022 at 08:19, Christian König > wrote: > > Am 23.03.22 um 09:10 schrieb Paul Menzel: > > > Sorry, I disagree. The motivation needs to be part of the commit > > > message. For example see recent discussion on the LWN article

[PATCH 1/1] rock-dbg_defconfig: Update for 5.16

2022-03-23 Thread Philip Yang
Also enable ACPI HMAT support, to fix boot crash or amdgpu init failure on ALDEBARAN. Signed-off-by: Philip Yang --- arch/x86/configs/rock-dbg_defconfig | 300 ++-- 1 file changed, 199 insertions(+), 101 deletions(-) diff --git a/arch/x86/configs/rock-dbg_defconfig b/ar

[PATCH v2] drm/amdkfd: Check use_xgmi_p2p before reporting hive_id

2022-03-23 Thread Divya Shikre
Recently introduced commit "845ebd6b7c32 drm/amdgpu: Add use_xgmi_p2p module parameter" did not update XGMI iolinks when use_xgmi_p2p is disabled. Add fix to not create XGMI iolinks in KFD topology when this parameter is disabled. Signed-off-by: Divya Shikre --- drivers/gpu/drm/amd/amdkfd/kfd_de

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-23 Thread Daniel Stone
Hi, On Mon, 21 Mar 2022 at 16:02, Rob Clark wrote: > On Mon, Mar 21, 2022 at 2:30 AM Christian König > wrote: > > Well you can, it just means that their contexts are lost as well. > > Which is rather inconvenient when deqp-egl reset tests, for example, > take down your compositor ;-) Yeah. Or a

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Daniel Stone
On Wed, 23 Mar 2022 at 08:19, Christian König wrote: > Am 23.03.22 um 09:10 schrieb Paul Menzel: > > Sorry, I disagree. The motivation needs to be part of the commit > > message. For example see recent discussion on the LWN article > > *Donenfeld: Random number generator enhancements for Linux 5.1

Re: [PATCH] drm/amdgpu: set noretry for gfx 10.3.7

2022-03-23 Thread Alex Deucher
On Wed, Mar 23, 2022 at 4:15 AM Prike Liang wrote: > > Disable xnack on the isa gfx10.3.6. typo: gfx10.3.6 -> gfx10.3.7 With that fixed: Acked-by: Alex Deucher > > Signed-off-by: Prike Liang > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --gi

[PATCH v2] drm/amdgpu: Sync up header and implementation to use the same parameter names

2022-03-23 Thread Ma Jun
Sync up header and implementation to use the same parameter names in function amdgpu_ring_init. ring_size -> max_dw, prio -> hw_prio v2: - Modify the subject and commit message Reviewed-by: Guchun Chen Reviewed-by: Christian König Signed-off-by: Ma Jun Change-Id: Idea4931c57c57b86c17d8086d368f

Re: [PATCH 1/1] drm/amdkfd: Protect the Client whilst it is being operated on

2022-03-23 Thread Lee Jones
On Thu, 17 Mar 2022, Lee Jones wrote: > On Thu, 17 Mar 2022, philip yang wrote: > > >On 2022-03-17 11:13 a.m., Lee Jones wrote: > > > > On Thu, 17 Mar 2022, Felix Kuehling wrote: > > > > > > Am 2022-03-17 um 11:00 schrieb Lee Jones: > > > > Good afternoon Felix, > > > > Thanks for your r

Re: [PATCH 0/6] Complete and add dynamic completion to umr

2022-03-23 Thread StDenis, Tom
[AMD Official Use Only] Thanks Luben, I've added my Rb and pushed out the series to main. Cheers, Tom From: Tuikov, Luben Sent: Wednesday, March 23, 2022 07:48 To: amd-gfx@lists.freedesktop.org Cc: Tuikov, Luben; Deucher, Alexander; Pelloux-Prayer, Pierr

[PATCH 6/6] umr: Add FILES section to the man page

2022-03-23 Thread Luben Tuikov
Add FILES section to the man page with entries the completion file and the umr database tree root. Reword the entry of the UMR_DATABASE_PATH to make it clearer that the user should set this up. Update the man page's copyright year and month. Cc: Alex Deucher Cc: Pierre-Eric Pelloux-Prayer Cc:

[PATCH 5/6] umr: Replace and reuse ipblock completion

2022-03-23 Thread Luben Tuikov
Replace and reuse ip block completion. Cc: Alex Deucher Cc: Pierre-Eric Pelloux-Prayer Cc: Tom StDenis Cc: Christian König Signed-off-by: Luben Tuikov --- scripts/umr-completion.bash | 73 + 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/s

[PATCH 4/6] umr: Replace and reuse asic.ipblock.reg completion

2022-03-23 Thread Luben Tuikov
Replace and reuse asic.ipblock.reg completion. Cc: Alex Deucher Cc: Pierre-Eric Pelloux-Prayer Cc: Tom StDenis Cc: Christian König Signed-off-by: Luben Tuikov --- scripts/umr-completion.bash | 26 +- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/script

[PATCH 2/6] umr: Rename completion function

2022-03-23 Thread Luben Tuikov
Rename the completion function "_umr" to "_umr_completion" to fall in line with similar completion functions from other packages. Cc: Alex Deucher Cc: Pierre-Eric Pelloux-Prayer Cc: Tom StDenis Cc: Christian König Signed-off-by: Luben Tuikov --- scripts/umr-completion.bash | 4 ++-- 1 file c

[PATCH 3/6] umr: Complete umr completion

2022-03-23 Thread Luben Tuikov
Complete all commands. Complete all commands' arguments which can be completed. Data is gathered from files in the UMR_DATABASE_PATH, from the PCI system and from the /sys filesystem in order to complete the arguments of commands which require non-open-value argument, i.e. an argument from a closed

[PATCH 1/6] umr: Rename "scripts/umr" --> "scripts/umr-completion.bash"

2022-03-23 Thread Luben Tuikov
Rename to fall in line with completion scripts from other packages, e.g. Git, however the completion file is still installed as "umr" into the destination directory. Cc: Alex Deucher Cc: Pierre-Eric Pelloux-Prayer Cc: Tom StDenis Cc: Christian König Signed-off-by: Luben Tuikov --- scripts/{u

[PATCH 0/6] Complete and add dynamic completion to umr

2022-03-23 Thread Luben Tuikov
Complete and add dynamic completion to umr. Some of the difficulties seen in this work were, *) slightly different output of sysfs files depending on the system configuration and the number of controllers in the system. *) Merging of the IP Discovery sysfs discovery mechanism. *) The varied

Re: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu

2022-03-23 Thread kernel test robot
Hi Arunpravin, Thank you for the patch! Yet something to improve: [auto build test ERROR on a678f97326454b60ffbbde6abf52d23997d71a27] url: https://github.com/0day-ci/linux/commits/Arunpravin-Paneer-Selvam/drm-amdgpu-add-drm-buddy-support-to-amdgpu/20220323-142749 base

Re: [PATCH 00/22] drm: Review of mode copies

2022-03-23 Thread Dmitry Baryshkov
On 22/03/2022 01:37, Ville Syrjälä wrote: On Tue, Mar 15, 2022 at 02:52:38PM -0400, Alex Deucher wrote: On Mon, Mar 14, 2022 at 6:12 PM Ville Syrjälä wrote: On Fri, Feb 18, 2022 at 12:03:41PM +0200, Ville Syrjala wrote: drm: Add drm_mode_init() drm/bridge: Use drm_mode_copy() drm/im

Re: [PATCH] drm/amdgpu: Correct the parameter name of amdgpu_ring_init

2022-03-23 Thread Ma, Jun
On 3/23/2022 2:22 PM, Paul Menzel wrote: > Dear Jun, > > > Thank you for your patch. > > Am 23.03.22 um 04:02 schrieb Ma, Jun: > >> On 3/22/2022 9:33 PM, Christian König wrote: >>> Am 22.03.22 um 13:53 schrieb Ma Jun: Correct the parameter name of amdgpu_ring_init() in header file. >>>

Re: Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Christian König
Hi Paul, Am 23.03.22 um 09:10 schrieb Paul Menzel: Dear Christian, Am 23.03.22 um 08:42 schrieb Christian König: Am 23.03.22 um 07:42 schrieb Paul Menzel: Am 23.03.22 um 07:25 schrieb Arunpravin Paneer Selvam: - Remove drm_mm references and replace with drm buddy functionalities The co

[PATCH] drm/amdgpu: set noretry for gfx 10.3.7

2022-03-23 Thread Prike Liang
Disable xnack on the isa gfx10.3.6. Signed-off-by: Prike Liang --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c index e1635a3f2553..a66a0881a934 100644 --- a/drivers/

Commit messages (was: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu)

2022-03-23 Thread Paul Menzel
Dear Christian, Am 23.03.22 um 08:42 schrieb Christian König: Am 23.03.22 um 07:42 schrieb Paul Menzel: Am 23.03.22 um 07:25 schrieb Arunpravin Paneer Selvam: - Remove drm_mm references and replace with drm buddy functionalities The commit message summary to me suggested, you can somehow

Re: [PATCH v2] drm: add a check to verify the size alignment

2022-03-23 Thread Christian König
Am 23.03.22 um 08:34 schrieb Arunpravin Paneer Selvam: Add a simple check to reject any size not aligned to the min_page_size. handle instances when size is not aligned with the min_page_size. Unigine Heaven has allocation requests for example required pages are 257 and alignment request is 256.

Re: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu

2022-03-23 Thread Christian König
Hi Paul, Am 23.03.22 um 07:42 schrieb Paul Menzel: Dear Arunprivin, Thank you for your patch. Am 23.03.22 um 07:25 schrieb Arunpravin Paneer Selvam: - Remove drm_mm references and replace with drm buddy functionalities The commit message summary to me suggested, you can somehow use both a

Re: [PATCH v11] drm/amdgpu: add drm buddy support to amdgpu

2022-03-23 Thread Christian König
Am 23.03.22 um 07:25 schrieb Arunpravin Paneer Selvam: [SNIP] @@ -415,48 +409,86 @@ static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man, goto error_fini; } - mode = DRM_MM_INSERT_BEST; + INIT_LIST_HEAD(&node->blocks); + if (place->flags & TTM

[PATCH v2] drm: add a check to verify the size alignment

2022-03-23 Thread Arunpravin Paneer Selvam
Add a simple check to reject any size not aligned to the min_page_size. handle instances when size is not aligned with the min_page_size. Unigine Heaven has allocation requests for example required pages are 257 and alignment request is 256. To allocate the left over 1 page, continues the iteratio