[PATCH 0/2] [D/OEM-OSP1-B] drm/amdgpu: stolen vram for raven fixing screen corruption v2

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 0/2] [D/OEM-OSP1-B] drm/amdgpu: stolen vram for raven fixing screen corruption v2

Timo Aaltonen-6
From: Timo Aaltonen <[hidden email]>

BugLink: http://bugs.launchpad.net/bugs/1831846

v2: Properly formatted this time.

Flora Cui (2):
  drm/amdgpu: keep stolen memory on picasso
  drm/amdgpu: reserve stollen vram for raven series

 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/2] drm/amdgpu: keep stolen memory on picasso

Timo Aaltonen-6
From: Flora Cui <[hidden email]>

BugLink: http://bugs.launchpad.net/bugs/1831846

otherwise screen corrupts during modprobe.

Signed-off-by: Flora Cui <[hidden email]>
Reviewed-by: Feifei Xu <[hidden email]>
Signed-off-by: Alex Deucher <[hidden email]>
(cherry picked from commit 379109351f4f6f2405cf54e7a296055f589c3ad1)
Signed-off-by: Timo Aaltonen <[hidden email]>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 278dd55ff476..e6b7c9511344 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -711,6 +711,7 @@ static bool gmc_v9_0_keep_stolen_memory(struct amdgpu_device *adev)
  case CHIP_VEGA10:
  return true;
  case CHIP_RAVEN:
+ return (adev->pdev->device == 0x15d8);
  case CHIP_VEGA12:
  case CHIP_VEGA20:
  default:
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 2/2] drm/amdgpu: reserve stollen vram for raven series

Timo Aaltonen-6
In reply to this post by Timo Aaltonen-6
From: Flora Cui <[hidden email]>

BugLink: http://bugs.launchpad.net/bugs/1831846

to avoid screen corruption during modprobe.

Signed-off-by: Flora Cui <[hidden email]>
Reviewed-by: Huang Rui <[hidden email]>
Signed-off-by: Alex Deucher <[hidden email]>
(cherry picked from commit 02122753f1d0ac39d8c89f20f541a519a3002e92)
Signed-off-by: Timo Aaltonen <[hidden email]>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index e6b7c9511344..bdbacb46a3bb 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -709,9 +709,8 @@ static bool gmc_v9_0_keep_stolen_memory(struct amdgpu_device *adev)
  */
  switch (adev->asic_type) {
  case CHIP_VEGA10:
- return true;
  case CHIP_RAVEN:
- return (adev->pdev->device == 0x15d8);
+ return true;
  case CHIP_VEGA12:
  case CHIP_VEGA20:
  default:
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK/Cmnt: [PATCH 0/2] [D/OEM-OSP1-B] drm/amdgpu: stolen vram for raven fixing screen corruption v2

Stefan Bader-2
In reply to this post by Timo Aaltonen-6
On 01.07.19 13:52, Timo Aaltonen wrote:

> From: Timo Aaltonen <[hidden email]>
>
> BugLink: http://bugs.launchpad.net/bugs/1831846
>
> v2: Properly formatted this time.
>
> Flora Cui (2):
>   drm/amdgpu: keep stolen memory on picasso
>   drm/amdgpu: reserve stollen vram for raven series
>
>  drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
Appears at least reasonably small for a last second submission. Just for future
reference, better not rely alone on having told me when trying to get a fix into
a cycle when being past the deadline. ;)

Acked-by: Stefan Bader <[hidden email]>


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

ACK: [PATCH 0/2] [D/OEM-OSP1-B] drm/amdgpu: stolen vram for raven fixing screen corruption v2

Kleber Souza
In reply to this post by Timo Aaltonen-6
On 7/1/19 1:52 PM, Timo Aaltonen wrote:

> From: Timo Aaltonen <[hidden email]>
>
> BugLink: http://bugs.launchpad.net/bugs/1831846
>
> v2: Properly formatted this time.
>
> Flora Cui (2):
>   drm/amdgpu: keep stolen memory on picasso
>   drm/amdgpu: reserve stollen vram for raven series
>
>  drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

The commits look simple and are clean cherry-picks.


Acked-by: Kleber Sacilotto de Souza <[hidden email]>

Thank you,
Kleber

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

APPLIED[D]: [PATCH 0/2] [D/OEM-OSP1-B] drm/amdgpu: stolen vram for raven fixing screen corruption v2

Kleber Souza
In reply to this post by Timo Aaltonen-6
On 7/1/19 1:52 PM, Timo Aaltonen wrote:

> From: Timo Aaltonen <[hidden email]>
>
> BugLink: http://bugs.launchpad.net/bugs/1831846
>
> v2: Properly formatted this time.
>
> Flora Cui (2):
>   drm/amdgpu: keep stolen memory on picasso
>   drm/amdgpu: reserve stollen vram for raven series
>
>  drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied to disco/master-next branch.

Thanks,
Kleber


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team