fix typo 12/186512/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 10 Aug 2018 04:44:14 +0000 (13:44 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 10 Aug 2018 04:44:14 +0000 (13:44 +0900)
Change-Id: Ica9e506fc106fb0ca95bf40ee5f1549b08c2a295

src/tdm_vc4.c
src/tdm_vc4_display.c

index 9d58251..da46b0d 100644 (file)
@@ -296,7 +296,7 @@ tdm_vc4_init(tdm_display *dpy, tdm_error *error)
                vc4_func_hwc.hwc_create_window = vc4_hwc_create_window;
 
                vc4_func_hwc.hwc_create_window = vc4_hwc_create_window;
-               vc4_func_hwc.hwc_get_supported_formats = vc4_hwc_get_supported_formats;
+               vc4_func_hwc.hwc_get_video_supported_formats = vc4_hwc_get_video_supported_formats;
                vc4_func_hwc.hwc_get_available_properties = vc4_hwc_get_available_properties;
                vc4_func_hwc.hwc_get_client_target_buffer_queue = vc4_hwc_get_client_target_buffer_queue;
                vc4_func_hwc.hwc_set_client_target_buffer = vc4_hwc_set_client_target_buffer;
index 68c8f21..3b98618 100644 (file)
@@ -2496,7 +2496,7 @@ vc4_hwc_get_video_supported_formats(tdm_hwc *hwc, const tbm_format **formats, in
 tdm_error
 vc4_hwc_get_video_capability(tdm_hwc *hwc, tdm_hwc_video_capability *video_capability)
 {
-       tdm_exynos_hwc_data *hwc_data = hwc;
+       tdm_vc4_hwc_data *hwc_data = hwc;
 
        RETURN_VAL_IF_FAIL(hwc_data != NULL, TDM_ERROR_INVALID_PARAMETER);
        RETURN_VAL_IF_FAIL(video_capability != NULL, TDM_ERROR_INVALID_PARAMETER);