projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93ebb4
)
drm/nv04: Fix up SGRAM density detection.
author
Francisco Jerez
<currojerez@riseup.net>
Thu, 5 Aug 2010 20:58:42 +0000
(22:58 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 9 Aug 2010 05:16:30 +0000
(15:16 +1000)
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_bios.c
b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 8464d205e41c68bd30bab62ed0dc5567279d680d..6df8b3fbe746e310dd1d0f99ccc9138f37ca0794 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_bios.c
@@
-2250,7
+2250,7
@@
nv04_init_compute_mem(struct nvbios *bios)
NV04_PFB_BOOT_0_RAM_AMOUNT,
NV04_PFB_BOOT_0_RAM_AMOUNT_4MB);
- } else if (peek_fb(dev, fb, 0)
=
= patt) {
+ } else if (peek_fb(dev, fb, 0)
!
= patt) {
if (read_back_fb(dev, fb, 0x800000, patt))
bios_md32(bios, NV04_PFB_BOOT_0,
NV04_PFB_BOOT_0_RAM_AMOUNT,