gallium/hud: update some query functions
It seems these were missed when struct pipe_context * argument was
added to hud_graph::query_new_value.
Fixes: 3132afdf4c
"gallium/hud: pass pipe_context explicitly to most functions"
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
09f49b9e50
commit
13ada91740
|
@ -91,7 +91,7 @@ get_file_value(const char *fn, uint64_t *KHz)
|
|||
}
|
||||
|
||||
static void
|
||||
query_cfi_load(struct hud_graph *gr)
|
||||
query_cfi_load(struct hud_graph *gr, struct pipe_context *pipe)
|
||||
{
|
||||
struct cpufreq_info *cfi = gr->query_data;
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ get_file_values(const char *fn, struct stat_s *s)
|
|||
}
|
||||
|
||||
static void
|
||||
query_dsi_load(struct hud_graph *gr)
|
||||
query_dsi_load(struct hud_graph *gr, struct pipe_context *pipe)
|
||||
{
|
||||
/* The framework calls us periodically, compensate for the
|
||||
* calling interval accordingly when reporting per second.
|
||||
|
|
|
@ -171,7 +171,7 @@ query_nic_rssi(const struct nic_info *nic, uint64_t *leveldBm)
|
|||
}
|
||||
|
||||
static void
|
||||
query_nic_load(struct hud_graph *gr)
|
||||
query_nic_load(struct hud_graph *gr, struct pipe_context *pipe)
|
||||
{
|
||||
/* The framework calls us at a regular but indefined period,
|
||||
* not once per second, compensate the statistics accordingly.
|
||||
|
|
|
@ -154,7 +154,7 @@ find_sti_by_name(const char *n, unsigned int mode)
|
|||
}
|
||||
|
||||
static void
|
||||
query_sti_load(struct hud_graph *gr)
|
||||
query_sti_load(struct hud_graph *gr, struct pipe_context *pipe)
|
||||
{
|
||||
struct sensors_temp_info *sti = gr->query_data;
|
||||
uint64_t now = os_time_get();
|
||||
|
|
Loading…
Reference in New Issue