Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d9cfe75a
Commit
d9cfe75a
authored
May 01, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DRI texmem branch merge cleanups. Texture ages are unsigned, and
radeon should use generic texture structure now.
parent
28c05818
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
drivers/char/drm/r128_drm.h
drivers/char/drm/r128_drm.h
+1
-1
drivers/char/drm/radeon_drm.h
drivers/char/drm/radeon_drm.h
+2
-8
drivers/char/drm/radeon_drv.h
drivers/char/drm/radeon_drv.h
+1
-0
No files found.
drivers/char/drm/r128_drm.h
View file @
d9cfe75a
...
...
@@ -162,7 +162,7 @@ typedef struct drm_r128_sarea {
unsigned
int
last_dispatch
;
drm_tex_region_t
tex_list
[
R128_NR_TEX_HEAPS
][
R128_NR_TEX_REGIONS
+
1
];
int
tex_age
[
R128_NR_TEX_HEAPS
];
unsigned
int
tex_age
[
R128_NR_TEX_HEAPS
];
int
ctx_owner
;
}
drm_r128_sarea_t
;
...
...
drivers/char/drm/radeon_drm.h
View file @
d9cfe75a
...
...
@@ -322,12 +322,6 @@ typedef struct {
}
drm_radeon_state_t
;
typedef
struct
{
unsigned
char
next
,
prev
;
unsigned
char
in_use
;
int
age
;
}
drm_radeon_tex_region_t
;
typedef
struct
{
/* The channel for communication of state information to the
* kernel on firing a vertex buffer with either of the
...
...
@@ -350,8 +344,8 @@ typedef struct {
unsigned
int
last_dispatch
;
unsigned
int
last_clear
;
drm_
radeon_
tex_region_t
tex_list
[
RADEON_NR_TEX_HEAPS
][
RADEON_NR_TEX_REGIONS
+
1
];
int
tex_age
[
RADEON_NR_TEX_HEAPS
];
drm_tex_region_t
tex_list
[
RADEON_NR_TEX_HEAPS
][
RADEON_NR_TEX_REGIONS
+
1
];
unsigned
int
tex_age
[
RADEON_NR_TEX_HEAPS
];
int
ctx_owner
;
int
pfState
;
/* number of 3d windows (0,1,2ormore) */
int
pfCurrentPage
;
/* which buffer is being displayed? */
...
...
drivers/char/drm/radeon_drv.h
View file @
d9cfe75a
...
...
@@ -581,6 +581,7 @@ extern void radeon_do_release(drm_device_t *dev);
#define RADEON_TXFORMAT_ARGB4444 5
#define RADEON_TXFORMAT_ARGB8888 6
#define RADEON_TXFORMAT_RGBA8888 7
#define RADEON_TXFORMAT_Y8 8
#define RADEON_TXFORMAT_VYUY422 10
#define RADEON_TXFORMAT_YVYU422 11
#define RADEON_TXFORMAT_DXT1 12
...
...
Write
Preview
Markdown
is supported
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