Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
cbb4b608
Commit
cbb4b608
authored
Oct 18, 2010
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nv50: remove some unnecessary PDISPLAY init
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
9acc8100
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv50_display.c
+2
-13
No files found.
drivers/gpu/drm/nouveau/nv50_display.c
View file @
cbb4b608
...
...
@@ -218,9 +218,9 @@ nv50_display_init(struct drm_device *dev)
struct
nouveau_gpio_engine
*
pgpio
=
&
dev_priv
->
engine
.
gpio
;
struct
nouveau_channel
*
evo
=
dev_priv
->
evo
;
struct
drm_connector
*
connector
;
uint32_t
val
,
ram_amount
;
uint64_t
start
;
int
ret
,
i
;
u64
start
;
u32
val
;
NV_DEBUG_KMS
(
dev
,
"
\n
"
);
...
...
@@ -262,17 +262,6 @@ nv50_display_init(struct drm_device *dev)
nv_wr32
(
dev
,
NV50_PDISPLAY_DAC_CLK_CTRL1
(
i
),
0x00000001
);
}
/* This used to be in crtc unblank, but seems out of place there. */
nv_wr32
(
dev
,
NV50_PDISPLAY_UNK_380
,
0
);
/* RAM is clamped to 256 MiB. */
ram_amount
=
dev_priv
->
vram_size
;
NV_DEBUG_KMS
(
dev
,
"ram_amount %d
\n
"
,
ram_amount
);
if
(
ram_amount
>
256
*
1024
*
1024
)
ram_amount
=
256
*
1024
*
1024
;
nv_wr32
(
dev
,
NV50_PDISPLAY_RAM_AMOUNT
,
ram_amount
-
1
);
nv_wr32
(
dev
,
NV50_PDISPLAY_UNK_388
,
0x150000
);
nv_wr32
(
dev
,
NV50_PDISPLAY_UNK_38C
,
0
);
/* The precise purpose is unknown, i suspect it has something to do
* with text mode.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment