gallium: Add PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY
authorTom Stellard <thomas.stellard@amd.com>
Fri, 18 Apr 2014 15:35:59 +0000 (17:35 +0200)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 29 Apr 2014 22:24:53 +0000 (15:24 -0700)
Bruno JimĂ©nez:
  v2: Updated the docs
  v3: Remove trailing comma

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h

index f5acebb3508eabcb693d81c89d9f18e1908c0f87..e22435cd46a1540ebc496939de9732de96c7d8f2 100644 (file)
@@ -313,6 +313,8 @@ pipe_screen::get_compute_param.
   resource.  Value type: ``uint64_t``.
 * ``PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE``: Maximum size of a memory object
   allocation in bytes.  Value type: ``uint64_t``.
+* ``PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY``: Maximum frequency of the GPU
+  clock in MHz. Value type: ``uint32_t``
 
 .. _pipe_bind:
 
index fec17f9133ff90b306d01fe3442855bb21e2554b..9436e7e4222d297bd0be58f6d922fef402ba163c 100644 (file)
@@ -642,7 +642,8 @@ enum pipe_compute_cap
    PIPE_COMPUTE_CAP_MAX_LOCAL_SIZE,
    PIPE_COMPUTE_CAP_MAX_PRIVATE_SIZE,
    PIPE_COMPUTE_CAP_MAX_INPUT_SIZE,
-   PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE
+   PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE,
+   PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY
 };
 
 /**