[PATCH v6 2/6] drm/ttm: Implement intersect/compatible functions

2022-08-20 Thread Arunpravin Paneer Selvam
Implemented a new intersect and compatible callback functions to ttm range manager fetching start offset from drm mm range allocator. Signed-off-by: Christian König Signed-off-by: Arunpravin Paneer Selvam Reviewed-by: Christian König --- drivers/gpu/drm/ttm/ttm_range_manager.c | 33 +++

[PATCH v6 4/6] drm/i915: Implement intersect/compatible functions

2022-08-20 Thread Arunpravin Paneer Selvam
Implemented a new intersect and compatible callback function fetching start offset from drm buddy allocator. v3: move the bits that are specific to buddy_man (Matthew) v4: consider the block size /range (Matthew) Signed-off-by: Christian König Signed-off-by: Arunpravin Paneer Selvam Reviewed-by

[PATCH v6 3/6] drm/amdgpu: Implement intersect/compatible functions

2022-08-20 Thread Arunpravin Paneer Selvam
Implemented a new intersect and compatible callback function fetching start offset from backend drm buddy allocator. Signed-off-by: Christian König Signed-off-by: Arunpravin Paneer Selvam Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 38 +++ drivers/gp

[PATCH v6 5/6] drm/nouveau: Implement intersect/compatible functions

2022-08-20 Thread Arunpravin Paneer Selvam
Implemented a new intersect and compatible callback function fetching the start offset from struct ttm_resource. Signed-off-by: Christian König Signed-off-by: Arunpravin Paneer Selvam Reviewed-by: Christian König --- drivers/gpu/drm/nouveau/nouveau_mem.c | 29 +++ drive

[PATCH v6 1/6] drm/ttm: Add new callbacks to ttm res mgr

2022-08-20 Thread Arunpravin Paneer Selvam
We are adding two new callbacks to ttm resource manager function to handle intersection and compatibility of placement and resources. v2: move the amdgpu and ttm_range_manager changes to separate patches (Christian) v3: rename "intersect" to "intersects" (Matthew) v4: move !place check to the

[PATCH v6 6/6] drm/ttm: Switch to using the new res callback

2022-08-20 Thread Arunpravin Paneer Selvam
Apply new intersect and compatible callback instead of having a generic placement range verfications. v2: Added a separate callback for compatiblilty checks (Christian) v3: Cleanups and removal of workarounds Signed-off-by: Christian König Signed-off-by: Arunpravin Paneer Selvam Reviewed-by

Re: [Bug 216373] New: Uncorrected errors reported for AMD GPU

2022-08-20 Thread Lazar, Lijo
On 8/20/2022 12:37 AM, Bjorn Helgaas wrote: On Fri, Aug 19, 2022 at 12:13:03PM -0500, Bjorn Helgaas wrote: On Thu, Aug 18, 2022 at 03:38:12PM -0500, Bjorn Helgaas wrote: [Adding amdgpu folks] On Wed, Aug 17, 2022 at 11:45:15PM +, bugzilla-dae...@kernel.org wrote: https://nam11.safelink

[PATCH] drm/amd/display: remove unneeded defines from bios parser

2022-08-20 Thread Tales Aparecida
Removes DEFINEs that should have been removed after they were introduced to ObjectID.h by the commit abea57d70e90 ("drm/amdgpu: Add BRACKET_LAYOUT_ENUMs to ObjectID.h") Signed-off-by: Tales Aparecida --- .../drm/amd/display/dc/bios/bios_parser2.c| 19 --- 1 file changed, 19 d