New: clinfo mises Max clock frequency on r600
https://bugs.freedesktop.org/show_bug.cgi?id=73511
Priority: medium
Bug ID: 73511
Assignee: [email protected]
Summary: clinfo mises Max clock frequency on r600
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: Drivers/Gallium/r600
Product: Mesa
$ clinfo Number of platforms 1 Platform Name Default Platform Vendor Mesa Platform Version OpenCL 1.1 MESA 10.0.2 Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd
Platform Name Default
Number of devices 1
Device Name AMD PALM
Device Vendor X.Org
Device Version OpenCL 1.1 MESA 10.0.2
Driver Version 10.0.2
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Max compute units 1
Max clock frequency 0MHz <-- Is missing
Device Partition (n/a)
Max work item dimensions 3
Max work item size[0] 256
Max work item size[1] 256
Max work item size[2] 256
Max work group size 256
Preferred work group size multiple 1 Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 0 (n/a)
float 4 / 4
double 2 / 2 (n/a)
Half-precision Floating-point support (n/a) <--- Is there
floating-point support?
Single-precision Floating-point support
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Correctly-rounded divide and sqrt operations No
Support is emulated in software No
Double-precision Floating-point support (n/a)
Address bits 32, Little-Endian
Global memory size 201326592 ( 192MB)
Error Correction support No
Max memory allocation 50331648 ( 48MB)
Unified memory for Host and Device Yes
Minimum alignment for any data type 128 bytes
Alignment of base address 128 bits (16 bytes)
Global Memory cache type None
Image support Yes
Max number of samplers per kernel 16
Max 2D image size 32768x32768 pixels
Max 3D image size 32768x32768x32768 pixels
Max number of read image args 32
Max number of write image args 32
Local memory type Local
Local memory size 32768 ( 32KB)
Max constant buffer size 65536 ( 64KB)
Max number of constant args 13
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Device Available Yes
Compiler Available YesDevice Extensions
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
https://bugs.freedesktop.org/show_bug.cgi?id=73511
--- Comment #1 from Tom Stellard <[email protected]> ---
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
--- Comment #2 from Tom Stellard <[email protected]> --- Here's the kernel patch:
http://people.freedesktop.org/~agd5f/0001-drm-radeon-add-query-to-fetch-the-max-engine-clock.patch
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
--- Comment #3 from Tom Stellard <[email protected]> --- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
--- Comment #4 from Igor Gnatenko <[email protected]> --- Created attachment 92115
--> https://bugs.freedesktop.org/attachment.cgi?id=92115&action=edit
[PATCH rebased] drm/radeon: add query to fetch the max engine clock.
(In reply to comment #2)
Quoted 3 lines
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
--- Comment #5 from Tom Stellard <[email protected]> --- (In reply to comment #4)
Quoted 8 lines
Created attachment 92115 [details] [review]
[PATCH rebased] drm/radeon: add query to fetch the max engine clock.(In reply to comment #2)
Quoted 3 lines
Here's the kernel patch:
http://people.freedesktop.org/~agd5f/0001-drm-radeon-add-query-to-fetch-the-
max-engine-clock.patchThis patch doesn't apply to latest git tree. I've rebased it.
Have you been able to test the patches? Do they work?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
Igor Gnatenko <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #92115|0 |1
is obsolete| |
--- Comment #6 from Igor Gnatenko <[email protected]> --- Created attachment 94288
--> https://bugs.freedesktop.org/attachment.cgi?id=94288&action=edit
[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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
--- Comment #7 from Igor Gnatenko <[email protected]> --- Created attachment 94289
--> https://bugs.freedesktop.org/attachment.cgi?id=94289&action=edit
[PATCH v2 rebased 2/3] radeon/compute: Implement PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
--- Comment #8 from Igor Gnatenko <[email protected]> --- Created attachment 94290
--> https://bugs.freedesktop.org/attachment.cgi?id=94290&action=edit
[PATCH v2 rebased 3/3] clover: Query drivers for max clock frequency
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 73511] clinfo mises Max clock frequency on r600
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=73511
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #9 from Tom Stellard <[email protected]> --- I've committed these patches. This will require a 3.14 or newer kernel.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel