summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
diff options
context:
space:
mode:
authorAnthony Koo <Anthony.Koo@amd.com>2017-11-24 15:43:05 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-12-20 14:46:32 -0500
commit23bfb33181d2af0109672b5f25f542378e7a01b1 (patch)
treead02d5c778cf91a9a408c7299e0ff2921463c1a7 /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
parent38cb3e96e0c4362194aab662b424e89da8755561 (diff)
downloadlinux-23bfb33181d2af0109672b5f25f542378e7a01b1.tar.gz
linux-23bfb33181d2af0109672b5f25f542378e7a01b1.tar.bz2
linux-23bfb33181d2af0109672b5f25f542378e7a01b1.zip
drm/amd/display: Fix check for whether dmcu fw is running
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
index b59712b41b81..ce206355461b 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
@@ -63,6 +63,7 @@ struct dmcu_funcs {
unsigned int wait_loop_number);
void (*get_psr_wait_loop)(struct dmcu *dmcu,
unsigned int *psr_wait_loop_number);
+ bool (*is_dmcu_initialized)(struct dmcu *dmcu);
};
#endif