OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08e56c
)
drm/amdgpu: reserve stollen vram for raven series
author
Flora Cui
<flora.cui@amd.com>
Tue, 28 May 2019 07:52:42 +0000
(15:52 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 29 May 2019 14:52:10 +0000
(09:52 -0500)
to avoid screen corruption during modprobe.
Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index
3b7370d
..
72837b8
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@
-624,9
+624,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: