Re: omapdrm regressions on n900

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forgot to add linux-omap list, added now.

* Tony Lindgren <tony@xxxxxxxxxxx> [170412 11:17]:
> Hi Peter & Tomi,
> 
> Looks like commit a09d2bc15035 ("drm/omap: Use omapdss_stack_is_ready()
> to check that the display stack is up") causes a regression on n900
> where /sys/class/graphics/fb0 no longer exists so fb0 can't be
> unblanked. Reverting the commit above fixes the issue.
> 
> Then another issue I'm seeing is that current mainline and next
> produce the following omap_crtc_error_irq errors:
> 
> tsc2005 spi1.0: GPIO lookup for consumer reset
> tsc2005 spi1.0: using device tree for GPIO lookup
> of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp@68000000/spi@48098000/tsc2005@0[0]' - status (0)
> input: TSC2005 touchscreen as /devices/platform/68000000.ocp/48098000.spi/spi_master/spi1/spi1.0/input/input0
> omapdss_dss 48050000.dss: 48050000.dss supply vdda_video not found, using dummy regulator
> DSS: OMAP DSS rev 2.0
> omapdss_dss 48050000.dss: bound 48050400.dispc (ops dispc_component_ops [omapdss])
> omapdss_dss 48050000.dss: bound 48050c00.encoder (ops venc_component_ops [omapdss])
> of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp@68000000/spi@48098000/acx565akm@2[0]' - status (0)
> acx565akm spi1.2: omapfb: acx565akm rev 8b LCD detected
> omapdrm omapdrm.0: DMM not available, disable DMM support
> [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [drm] No driver support for vblank timestamp query.
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> Console: switching to colour frame buffer device 100x30
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004020
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> omapdrm omapdrm.0: fb0: omapdrm frame buffer device
> [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
> omap_crtc_error_irq: 178642 callbacks suppressed
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> 
> And then one more issue.. Starting X on n900 seems to produce
> two desktops on top half of the LCD that are both 1/4 of the
> size of the LCD :)
> 
> I'm testing with the following:
> 
> # modprobe tsc2005
> # modprobe omapdss
> # modprobe panel_sony_acx565akm
> # modprobe omapdrm
> # echo 255 > /sys/class/backlight/acx565akm/brightness
> # echo 0 > /sys/class/graphics/fb0/blank
> # echo 1 > /sys/class/graphics/fb0/blank
> # echo 0 > /sys/class/graphics/fb0/blank
> 
> The diff against omap2plus_defconfig I'm using is below.
> 
> Regards,
> 
> Tony
> 
> 8< ------------------------------
> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
> --- a/arch/arm/configs/omap2plus_defconfig
> +++ b/arch/arm/configs/omap2plus_defconfig
> @@ -314,27 +314,31 @@ CONFIG_V4L_PLATFORM_DRIVERS=y
>  CONFIG_VIDEO_OMAP3=m
>  # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
>  CONFIG_VIDEO_TVP5150=m
> +CONFIG_DRM=m
> +CONFIG_DRM_OMAP=m
> +CONFIG_DRM_OMAP_NUM_CRTCS=2
> +CONFIG_OMAP5_DSS_HDMI=y
> +CONFIG_OMAP2_DSS_SDI=y
> +CONFIG_OMAP2_DSS_DSI=y
> +CONFIG_DRM_OMAP_ENCODER_OPA362=m
> +CONFIG_DRM_OMAP_ENCODER_TFP410=m
> +CONFIG_DRM_OMAP_ENCODER_TPD12S015=m
> +CONFIG_DRM_OMAP_CONNECTOR_DVI=m
> +CONFIG_DRM_OMAP_CONNECTOR_HDMI=m
> +CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV=m
> +CONFIG_DRM_OMAP_PANEL_DPI=m
> +CONFIG_DRM_OMAP_PANEL_DSI_CM=m
> +CONFIG_DRM_OMAP_PANEL_SONY_ACX565AKM=m
> +CONFIG_DRM_OMAP_PANEL_LGPHILIPS_LB035Q02=m
> +CONFIG_DRM_OMAP_PANEL_SHARP_LS037V7DW01=m
> +CONFIG_DRM_OMAP_PANEL_TPO_TD028TTEC1=m
> +CONFIG_DRM_OMAP_PANEL_TPO_TD043MTEA1=m
> +CONFIG_DRM_OMAP_PANEL_NEC_NL8048HL11=m
> +CONFIG_DRM_TILCDC=m
>  CONFIG_FB=y
>  CONFIG_FIRMWARE_EDID=y
>  CONFIG_FB_MODE_HELPERS=y
>  CONFIG_FB_TILEBLITTING=y
> -CONFIG_FB_OMAP2=m
> -CONFIG_FB_OMAP5_DSS_HDMI=y
> -CONFIG_FB_OMAP2_DSS_SDI=y
> -CONFIG_FB_OMAP2_DSS_DSI=y
> -CONFIG_FB_OMAP2_ENCODER_TFP410=m
> -CONFIG_FB_OMAP2_ENCODER_TPD12S015=m
> -CONFIG_FB_OMAP2_CONNECTOR_DVI=m
> -CONFIG_FB_OMAP2_CONNECTOR_HDMI=m
> -CONFIG_FB_OMAP2_CONNECTOR_ANALOG_TV=m
> -CONFIG_FB_OMAP2_PANEL_DPI=m
> -CONFIG_FB_OMAP2_PANEL_DSI_CM=m
> -CONFIG_FB_OMAP2_PANEL_SONY_ACX565AKM=m
> -CONFIG_FB_OMAP2_PANEL_LGPHILIPS_LB035Q02=m
> -CONFIG_FB_OMAP2_PANEL_SHARP_LS037V7DW01=m
> -CONFIG_FB_OMAP2_PANEL_TPO_TD028TTEC1=m
> -CONFIG_FB_OMAP2_PANEL_TPO_TD043MTEA1=m
> -CONFIG_FB_OMAP2_PANEL_NEC_NL8048HL11=m
>  CONFIG_BACKLIGHT_LCD_SUPPORT=y
>  CONFIG_LCD_CLASS_DEVICE=y
>  CONFIG_LCD_PLATFORM=y
> -- 
> 2.12.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux