projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/ttm: cleanup BO size handling v3
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
qxl
/
qxl_object.h
diff --git
a/drivers/gpu/drm/qxl/qxl_object.h
b/drivers/gpu/drm/qxl/qxl_object.h
index
ebf24c9
..
e60a8f8
100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_object.h
+++ b/
drivers/gpu/drm/qxl/qxl_object.h
@@
-50,7
+50,7
@@
static inline void qxl_bo_unreserve(struct qxl_bo *bo)
static inline unsigned long qxl_bo_size(struct qxl_bo *bo)
{
- return bo->tbo.
num_pages << PAGE_SHIFT
;
+ return bo->tbo.
base.size
;
}
static inline u64 qxl_bo_mmap_offset(struct qxl_bo *bo)