ecore_drm : fix output subpixel setting error 20/65220/2
authorJunkyeong Kim <jk0430.kim@samsung.com>
Fri, 8 Apr 2016 02:08:57 +0000 (11:08 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 11 Apr 2016 16:03:41 +0000 (09:03 -0700)
Change-Id: I413b1a31d6bf6ba25f5146c998aece4a926c6e48
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/lib/ecore_drm/ecore_drm_display.c

index 0cc7fa3..a9ff086 100644 (file)
@@ -553,7 +553,8 @@ _ecore_drm_display_output_create(Ecore_Drm_Device *dev, unsigned int crtc_id, in
    tdm_output_get_physical_size(hal_output->output, &mmWidth, &mmHeight);
    output->phys_width = mmWidth;
    output->phys_height = mmHeight;
-   output->subpixel = tdm_output_get_subpixel(hal_output->output, &subpixel);
+   tdm_output_get_subpixel(hal_output->output, &subpixel);
+   output->subpixel = subpixel;
 
    tdm_output_get_model_info(hal_output->output, &maker, &model, &name);