AW: [PATCH 2/2] drm/amdgpu: clean-up unused variable

2021-02-13 Thread Koenig, Christian
Reviewed-by: Christian König Von: Sharma, Shashank Gesendet: Samstag, 13. Februar 2021 17:37 An: amd-gfx@lists.freedesktop.org Cc: Sharma, Shashank ; Koenig, Christian ; Deucher, Alexander Betreff: [PATCH 2/2] drm/amdgpu: clean-up unused variable Variable

AW: [PATCH 1/2] drm/amdgpu: Set GTT_USWC flag to enable freesync

2021-02-13 Thread Koenig, Christian
Well that's unfortunately a NAK. We currently can't communicate by DMA-buf if USWC is possible or not. For the short term we could add something like a special handling for A+A configurations here. E.g. check if the imported BO is also an andgpu BO and set the flag if it is also set on the

[PATCH 2/2] drm/amdgpu: clean-up unused variable

2021-02-13 Thread Shashank Sharma
Variable 'bp' seems to be unused residue from previous logic, and is not required anymore. Cc: Koenig Christian Cc: Deucher Alexander Signed-off-by: Shashank Sharma --- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 8 1 file changed, 8 deletions(-) diff --git

[PATCH 1/2] drm/amdgpu: Set GTT_USWC flag to enable freesync

2021-02-13 Thread Shashank Sharma
This patch sets 'AMDGPU_GEM_CREATE_CPU_GTT_USWC' as input parameter flag, during object creation of an imported DMA buffer. In absence of this flag: 1. Function amdgpu_display_supported_domains() doesn't add AMDGPU_GEM_DOMAIN_GTT as supported domain. 2. Due to which, Function