[Mesa-dev] [PATCH 0/3] clover: Add support for quering CL_DEVICE_MAX_CLOCK_FREQUENCY

Bruno Jiménez brunojimen at gmail.com
Fri Apr 18 07:28:38 PDT 2014


This series is based in Tom Stellard's 'clover-clock' branch:
http://cgit.freedesktop.org/~tstellar/mesa/log/?h=clover-clock
And should fix this bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=73511

The only changes from the original branch are in patches 2 and 3.
Patch 2 has been updated so that it applies to current master.
Patch 3 has been updated so that it returns the frequency in MHz,
not in kHz.

v2: Updated docs in patch 1, the frequency is returned in MHz in
patch 2, and patch 3 is returned to it's original form.

Tom Stellard (3):
  gallium: Add PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY
  radeon/compute: Implement PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY
  clover: Query drivers for max clock frequency

 src/gallium/docs/source/screen.rst                | 2 ++
 src/gallium/drivers/radeon/r600_pipe_common.c     | 7 +++++++
 src/gallium/include/pipe/p_defines.h              | 3 ++-
 src/gallium/state_trackers/clover/api/device.cpp  | 2 +-
 src/gallium/state_trackers/clover/core/device.cpp | 6 ++++++
 src/gallium/state_trackers/clover/core/device.hpp | 1 +
 src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 5 +++++
 src/gallium/winsys/radeon/drm/radeon_winsys.h     | 1 +
 8 files changed, 25 insertions(+), 2 deletions(-)

-- 
1.9.2



More information about the mesa-dev mailing list