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
e070868e
Commit
e070868e
authored
Sep 19, 2010
by
Chris Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/i915/ringbuffer: Mark the initialisation structs as constant.
Signed-off-by:
Chris Wilson
<
chris@chris-wilson.co.uk
>
parent
881f47b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.c
+3
-3
No files found.
drivers/gpu/drm/i915/intel_ringbuffer.c
View file @
e070868e
...
...
@@ -792,7 +792,7 @@ void intel_fill_struct(struct drm_device *dev,
intel_ring_advance
(
dev
,
ring
);
}
static
struct
intel_ring_buffer
render_ring
=
{
static
const
struct
intel_ring_buffer
render_ring
=
{
.
name
=
"render ring"
,
.
id
=
RING_RENDER
,
.
regs
=
{
...
...
@@ -830,7 +830,7 @@ static struct intel_ring_buffer render_ring = {
/* ring buffer for bit-stream decoder */
static
struct
intel_ring_buffer
bsd_ring
=
{
static
const
struct
intel_ring_buffer
bsd_ring
=
{
.
name
=
"bsd ring"
,
.
id
=
RING_BSD
,
.
regs
=
{
...
...
@@ -948,7 +948,7 @@ gen6_bsd_ring_dispatch_gem_execbuffer(struct drm_device *dev,
}
/* ring buffer for Video Codec for Gen6+ */
static
struct
intel_ring_buffer
gen6_bsd_ring
=
{
static
const
struct
intel_ring_buffer
gen6_bsd_ring
=
{
.
name
=
"gen6 bsd ring"
,
.
id
=
RING_BSD
,
.
regs
=
{
...
...
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