projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf6604
)
r600g: more valgrind fixes
author
Marek Olšák
<maraeo@gmail.com>
Mon, 11 Jul 2011 02:13:35 +0000
(
04:13
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 11 Jul 2011 02:13:35 +0000
(
04:13
+0200)
src/gallium/winsys/r600/drm/r600_drm.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/r600_drm.c
b/src/gallium/winsys/r600/drm/r600_drm.c
index fa2d77ed4646e1764badc99c26506352187f10d2..b5a4d928bf5412ad7a40cb994058193887791648 100644
(file)
--- a/
src/gallium/winsys/r600/drm/r600_drm.c
+++ b/
src/gallium/winsys/r600/drm/r600_drm.c
@@
-209,7
+209,7
@@
static int radeon_drm_get_tiling(struct radeon *radeon)
static int radeon_get_clock_crystal_freq(struct radeon *radeon)
{
struct drm_radeon_info info = {};
- uint32_t clock_crystal_freq;
+ uint32_t clock_crystal_freq
= 0
;
int r;
info.request = RADEON_INFO_CLOCK_CRYSTAL_FREQ;
@@
-227,7
+227,7
@@
static int radeon_get_clock_crystal_freq(struct radeon *radeon)
static int radeon_get_num_backends(struct radeon *radeon)
{
struct drm_radeon_info info = {};
- uint32_t num_backends;
+ uint32_t num_backends
= 0
;
int r;
info.request = RADEON_INFO_NUM_BACKENDS;