Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
2f02cc3f
Commit
2f02cc3f
authored
Sep 22, 2006
by
Eric Anholt
Committed by
Dave Airlie
Sep 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: add device/vendor id to drm_device_t for compat with FreeBSD drivers
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
e08870c8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
drivers/char/drm/drmP.h
drivers/char/drm/drmP.h
+2
-0
drivers/char/drm/drm_stub.c
drivers/char/drm/drm_stub.c
+2
-0
drivers/char/drm/i915_dma.c
drivers/char/drm/i915_dma.c
+4
-4
No files found.
drivers/char/drm/drmP.h
View file @
2f02cc3f
...
...
@@ -723,6 +723,8 @@ typedef struct drm_device {
drm_agp_head_t
*
agp
;
/**< AGP data */
struct
pci_dev
*
pdev
;
/**< PCI device structure */
int
pci_vendor
;
/**< PCI vendor id */
int
pci_device
;
/**< PCI device id */
#ifdef __alpha__
struct
pci_controller
*
hose
;
#endif
...
...
drivers/char/drm/drm_stub.c
View file @
2f02cc3f
...
...
@@ -65,6 +65,8 @@ static int drm_fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,
mutex_init
(
&
dev
->
ctxlist_mutex
);
dev
->
pdev
=
pdev
;
dev
->
pci_device
=
pdev
->
device
;
dev
->
pci_vendor
=
pdev
->
vendor
;
#ifdef __alpha__
dev
->
hose
=
pdev
->
sysdata
;
...
...
drivers/char/drm/i915_dma.c
View file @
2f02cc3f
...
...
@@ -31,10 +31,10 @@
#include "i915_drm.h"
#include "i915_drv.h"
#define IS_I965G(dev) (dev->p
dev->
device == 0x2972 || \
dev->p
dev->
device == 0x2982 || \
dev->p
dev->
device == 0x2992 || \
dev->p
dev->
device == 0x29A2)
#define IS_I965G(dev) (dev->p
ci_
device == 0x2972 || \
dev->p
ci_
device == 0x2982 || \
dev->p
ci_
device == 0x2992 || \
dev->p
ci_
device == 0x29A2)
/* Really want an OS-independent resettable timer. Would like to have
* this loop run for (eg) 3 sec, but have the timer reset every time
...
...
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