diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-02-09 02:57:45 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-24 21:45:08 +0100 |
commit | 45c4e0aae96c6354bf5131a282a74fe38d032de3 (patch) | |
tree | 2e2aa98a865bbb364f22a16516c0b750d453d97c /drivers/gpu/drm/nouveau/nouveau_fb.h | |
parent | drm/nv50-nvc0: tidy evo object creation some more (diff) | |
download | linux-45c4e0aae96c6354bf5131a282a74fe38d032de3.tar.xz linux-45c4e0aae96c6354bf5131a282a74fe38d032de3.zip |
drm/nv50-nvc0: precalculate some fb state when creating them
Just a cleanup, to avoid duplicating parts of nv50_crtc.c's code in
the page flipping routines.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fb.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_fb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fb.h b/drivers/gpu/drm/nouveau/nouveau_fb.h index d432134b71e0..a3a88ad00f86 100644 --- a/drivers/gpu/drm/nouveau/nouveau_fb.h +++ b/drivers/gpu/drm/nouveau/nouveau_fb.h @@ -30,6 +30,9 @@ struct nouveau_framebuffer { struct drm_framebuffer base; struct nouveau_bo *nvbo; + u32 r_dma; + u32 r_format; + u32 r_pitch; }; static inline struct nouveau_framebuffer * |