projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec3e7a6
)
lib: Add the declaration of intel_register_access_needs_fakewake()
author
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 29 Apr 2013 17:57:47 +0000
(18:57 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Wed, 8 May 2013 12:34:35 +0000
(13:34 +0100)
Otherwise gcc complains that the function hasn't been declared.
lib/intel_gpu_tools.h
patch
|
blob
|
history
diff --git
a/lib/intel_gpu_tools.h
b/lib/intel_gpu_tools.h
index
77aac5d
..
faa948c
100644
(file)
--- a/
lib/intel_gpu_tools.h
+++ b/
lib/intel_gpu_tools.h
@@
-45,6
+45,8
@@
int intel_register_access_init(struct pci_device *pci_dev, int safe);
void intel_register_access_fini(void);
uint32_t intel_register_read(uint32_t reg);
void intel_register_write(uint32_t reg, uint32_t val);
+int intel_register_access_needs_fakewake(void);
+
/* Following functions are relevant only for SoCs like Valleyview */
uint32_t intel_dpio_reg_read(uint32_t reg);
void intel_dpio_reg_write(uint32_t reg, uint32_t val);