diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-02-09 11:57:45 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-25 06:45:08 +1000 |
commit | 45c4e0aae96c6354bf5131a282a74fe38d032de3 (patch) | |
tree | 2e2aa98a865bbb364f22a16516c0b750d453d97c /drivers/gpu/drm/nouveau/nouveau_fb.h | |
parent | 292deb7a3b6b03df664b8f5024a351d3389543ae (diff) | |
download | linux-45c4e0aae96c6354bf5131a282a74fe38d032de3.tar.bz2 |
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 * |