diff options
author | 2018-07-13 19:29:39 +0530 | |
---|---|---|
committer | 2018-08-13 14:00:20 +0200 | |
commit | 260bc55116c58756aabf5e9beab4370297fb6369 (patch) | |
tree | f38de90893ea36ecd3bfb8b1f0e56caa2c759b7a /drivers/gpu/drm/i915/intel_display.c | |
parent | drm/i915/crc: implement verify_crc_source callback (diff) | |
download | linux-dev-260bc55116c58756aabf5e9beab4370297fb6369.tar.xz linux-dev-260bc55116c58756aabf5e9beab4370297fb6369.zip |
drm/i915/crc: implement get_crc_sources callback
This patch implements get_crc_sources callback, which returns list of
all the valid crc sources supported by driver in current platform.
Changes since V1:
- Return array of crc sources
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180713135942.25061-8-mahesh1.kumar@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index b0daa95158db..bd8956f2544d 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -12866,6 +12866,7 @@ static const struct drm_crtc_funcs intel_crtc_funcs = { .atomic_destroy_state = intel_crtc_destroy_state, .set_crc_source = intel_crtc_set_crc_source, .verify_crc_source = intel_crtc_verify_crc_source, + .get_crc_sources = intel_crtc_get_crc_sources, }; struct wait_rps_boost { |