]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: add query to fetch the max engine clock (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Jan 2014 23:20:29 +0000 (18:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Jan 2014 23:20:29 +0000 (18:20 -0500)
commitd352c81fb079cb2aaff81daa6cee2d5661a71e35
tree18197d06c797c03e13d91e0e0519cf4428fedf1a
parent563277d8a56fef7a5962c20fc26e8abcf3b576b7
drm/radeon: add query to fetch the max engine clock (v2)

This is needed for reporting the max GPU engine clock
in OpenCL.  This just reports the max possible engine
clock, it does not take into account current conditions
that may limit that clock.

v2: fix query number for merge with 3.13

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/rv770_dpm.c
include/uapi/drm/radeon_drm.h