Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
c6f2f71d
Commit
c6f2f71d
authored
Jul 08, 2011
by
Ben Skeggs
Browse files
drm/nvd0/disp: track down fb positioning method
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
ff8ff503
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/gpu/drm/nouveau/nvd0_display.c
View file @
c6f2f71d
...
...
@@ -189,8 +189,6 @@ nvd0_crtc_set_scale(struct nouveau_crtc *nv_crtc, int type, bool update)
evo_data
(
push
,
(
outY
<<
16
)
|
outX
);
evo_mthd
(
push
,
0x0494
+
(
nv_crtc
->
index
*
0x300
),
1
);
evo_data
(
push
,
0x00000000
);
evo_mthd
(
push
,
0x04b0
+
(
nv_crtc
->
index
*
0x300
),
1
);
evo_data
(
push
,
0x00000000
);
evo_mthd
(
push
,
0x04b8
+
(
nv_crtc
->
index
*
0x300
),
1
);
evo_data
(
push
,
(
mode
->
vdisplay
<<
16
)
|
mode
->
hdisplay
);
if
(
update
)
{
...
...
@@ -219,6 +217,8 @@ nvd0_crtc_set_image(struct nouveau_crtc *nv_crtc, struct drm_framebuffer *fb,
evo_data
(
push
,
nvfb
->
r_pitch
);
evo_data
(
push
,
nvfb
->
r_format
);
evo_data
(
push
,
nvfb
->
r_dma
);
evo_mthd
(
push
,
0x04b0
+
(
nv_crtc
->
index
*
0x300
),
1
);
evo_data
(
push
,
(
y
<<
16
)
|
x
);
if
(
update
)
{
evo_mthd
(
push
,
0x0080
,
1
);
evo_data
(
push
,
0x00000000
);
...
...
Write
Preview
Supports
Markdown
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