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
Kirill Smelkov
linux
Commits
8f394872
Commit
8f394872
authored
Jan 05, 2014
by
Patrik Jakobsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/gma500: Always trap MMU page faults
Signed-off-by:
Patrik Jakobsson
<
patrik.r.jakobsson@gmail.com
>
parent
ae012bdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/gpu/drm/gma500/psb_drv.c
drivers/gpu/drm/gma500/psb_drv.c
+1
-7
No files found.
drivers/gpu/drm/gma500/psb_drv.c
View file @
8f394872
...
...
@@ -37,14 +37,8 @@
#include <acpi/video.h>
#include <linux/module.h>
static
int
drm_psb_trap_pagefaults
;
static
int
psb_probe
(
struct
pci_dev
*
pdev
,
const
struct
pci_device_id
*
ent
);
MODULE_PARM_DESC
(
trap_pagefaults
,
"Error and reset on MMU pagefaults"
);
module_param_named
(
trap_pagefaults
,
drm_psb_trap_pagefaults
,
int
,
0600
);
static
DEFINE_PCI_DEVICE_TABLE
(
pciidlist
)
=
{
{
0x8086
,
0x8108
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
(
long
)
&
psb_chip_ops
},
{
0x8086
,
0x8109
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
(
long
)
&
psb_chip_ops
},
...
...
@@ -356,7 +350,7 @@ static int psb_driver_load(struct drm_device *dev, unsigned long chipset)
if
(
ret
)
goto
out_err
;
dev_priv
->
mmu
=
psb_mmu_driver_init
(
dev
,
drm_psb_trap_pagefaults
,
0
,
0
);
dev_priv
->
mmu
=
psb_mmu_driver_init
(
dev
,
1
,
0
,
0
);
if
(
!
dev_priv
->
mmu
)
goto
out_err
;
...
...
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