Summary: | clinfo mises Max clock frequency on r600 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Fabian Deutsch <fabian.deutsch> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | i.gnatenko.brain, vinaykumarms356 |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
[PATCH rebased] drm/radeon: add query to fetch the max engine clock.
[PATCH v2 rebased 1/3] gallium: Add PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY [PATCH v2 rebased 2/3] radeon/compute: Implement PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY [PATCH v2 rebased 3/3] clover: Query drivers for max clock frequency |
Description
Fabian Deutsch
2014-01-11 21:47:22 UTC
This is unsupported at the moment. To get this to work you would need to add GPU clock speed to the RADEON_INFO ioctl in the kernel and also add a PIPE_COMPUTE_CAP for it. This shouldn't be too difficult to do, if you are interested. Here's the kernel patch: http://people.freedesktop.org/~agd5f/0001-drm-radeon-add-query-to-fetch-the-max-engine-clock.patch Here are the mesa changes: http://cgit.freedesktop.org/~tstellar/mesa/log/?h=clover-clock Can you test these? I have only compile tested them. Created attachment 92115 [details] [review] [PATCH rebased] drm/radeon: add query to fetch the max engine clock. (In reply to comment #2) > Here's the kernel patch: > http://people.freedesktop.org/~agd5f/0001-drm-radeon-add-query-to-fetch-the- > max-engine-clock.patch This patch doesn't apply to latest git tree. I've rebased it. (In reply to comment #4) > Created attachment 92115 [details] [review] [review] > [PATCH rebased] drm/radeon: add query to fetch the max engine clock. > > (In reply to comment #2) > > Here's the kernel patch: > > http://people.freedesktop.org/~agd5f/0001-drm-radeon-add-query-to-fetch-the- > > max-engine-clock.patch > This patch doesn't apply to latest git tree. I've rebased it. Have you been able to test the patches? Do they work? Created attachment 94288 [details] [review] [PATCH v2 rebased 1/3] gallium: Add PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY Tom, I've rebased you patches from your clover-clock branch. Kernel changes already merged. Created attachment 94289 [details] [review] [PATCH v2 rebased 2/3] radeon/compute: Implement PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY Created attachment 94290 [details] [review] [PATCH v2 rebased 3/3] clover: Query drivers for max clock frequency I've committed these patches. This will require a 3.14 or newer kernel. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.