Home
last modified time | relevance | path

Searched refs:src_name (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/vkms/
Dvkms_composer.c261 static int vkms_crc_parse_source(const char *src_name, bool *enabled) in vkms_crc_parse_source() argument
265 if (!src_name) { in vkms_crc_parse_source()
267 } else if (strcmp(src_name, "auto") == 0) { in vkms_crc_parse_source()
277 int vkms_verify_crc_source(struct drm_crtc *crtc, const char *src_name, in vkms_verify_crc_source() argument
282 if (vkms_crc_parse_source(src_name, &enabled) < 0) { in vkms_verify_crc_source()
283 DRM_DEBUG_DRIVER("unknown source %s\n", src_name); in vkms_verify_crc_source()
308 int vkms_set_crc_source(struct drm_crtc *crtc, const char *src_name) in vkms_set_crc_source() argument
314 ret = vkms_crc_parse_source(src_name, &enabled); in vkms_set_crc_source()
Dvkms_drv.h150 int vkms_set_crc_source(struct drm_crtc *crtc, const char *src_name);
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c153 amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc, const char *src_name, in amdgpu_dm_crtc_verify_crc_source() argument
156 enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name); in amdgpu_dm_crtc_verify_crc_source()
160 src_name, crtc->index); in amdgpu_dm_crtc_verify_crc_source()
224 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name) in amdgpu_dm_crtc_set_crc_source() argument
226 enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name); in amdgpu_dm_crtc_set_crc_source()
239 src_name, crtc->index); in amdgpu_dm_crtc_set_crc_source()
Damdgpu_dm_crc.h76 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name);
78 const char *src_name,
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c76 static enum dpu_crtc_crc_source dpu_crtc_parse_crc_source(const char *src_name) in dpu_crtc_parse_crc_source() argument
78 if (!src_name || in dpu_crtc_parse_crc_source()
79 !strcmp(src_name, "none")) in dpu_crtc_parse_crc_source()
81 if (!strcmp(src_name, "auto") || in dpu_crtc_parse_crc_source()
82 !strcmp(src_name, "lm")) in dpu_crtc_parse_crc_source()
84 if (!strcmp(src_name, "encoder")) in dpu_crtc_parse_crc_source()
91 const char *src_name, size_t *values_cnt) in dpu_crtc_verify_crc_source() argument
93 enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name); in dpu_crtc_verify_crc_source()
97 DRM_DEBUG_DRIVER("Invalid source %s for CRTC%d\n", src_name, crtc->index); in dpu_crtc_verify_crc_source()
139 static int dpu_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name) in dpu_crtc_set_crc_source() argument
[all …]