Re: omapdrm with n900

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

 



On 01/26/2017 08:05 PM, Jarkko Nikula wrote:
> On 01/26/2017 07:17 PM, Tony Lindgren wrote:
>> # modprobe tsc2005
>> # 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
>>
> I got it working with this script:
> 
> #!/bin/sh
> #modprobe panel-sony-acx565akm
> #sleep 1
> echo 255 >/sys/class/backlight/acx565akm/brightness
> echo 1 >/sys/devices/platform/omapdrm.0/graphics/fb0/blank
> echo 0 >/sys/devices/platform/omapdrm.0/graphics/fb0/blank
> 
> omapdrm was autoloading on top of next-20161224 but for ACX565AKM I had
> to add MODULE_ALIAS to the
> drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c:
> 
> https://git.kernel.org/cgit/linux/kernel/git/tomba/linux.git/commit/?id=42f7f3c4811b3149253ecf2e133832c969884466
> 
I just retested above on v4.10.0-rc5 with my patch and above script made
the display working. I have these DRM options:

CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_OMAP=m
CONFIG_DRM_OMAP_NUM_CRTCS=1
CONFIG_OMAP2_DSS_INIT=y
CONFIG_OMAP2_DSS=m
CONFIG_OMAP2_DSS_VENC=y
CONFIG_OMAP2_DSS_SDI=y
CONFIG_DRM_OMAP_PANEL_SONY_ACX565AKM=m
CONFIG_DRM_BRIDGE=y

+ some FB options and 8x8 font for the FB console.

-- 
Jarkko

--
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