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
2fad3d5e
Commit
2fad3d5e
authored
Jul 06, 2011
by
Ben Skeggs
Browse files
drm/nvd0/disp: they moved the linear flag..
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
438d99e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/gpu/drm/nouveau/nouveau_display.c
View file @
2fad3d5e
...
...
@@ -105,9 +105,12 @@ nouveau_framebuffer_init(struct drm_device *dev,
if
(
dev_priv
->
chipset
==
0x50
)
nv_fb
->
r_format
|=
(
tile_flags
<<
8
);
if
(
!
tile_flags
)
nv_fb
->
r_pitch
=
0x00100000
|
fb
->
pitch
;
else
{
if
(
!
tile_flags
)
{
if
(
dev_priv
->
card_type
<
NV_D0
)
nv_fb
->
r_pitch
=
0x00100000
|
fb
->
pitch
;
else
nv_fb
->
r_pitch
=
0x01000000
|
fb
->
pitch
;
}
else
{
u32
mode
=
nvbo
->
tile_mode
;
if
(
dev_priv
->
card_type
>=
NV_C0
)
mode
>>=
4
;
...
...
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