mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
intel_fb: initial backlight brightness of 75%
This commit is contained in:
parent
6fcf95d536
commit
02d7b401fe
10
repos/dde_linux/patches/intel_fb_backlight.patch
Normal file
10
repos/dde_linux/patches/intel_fb_backlight.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/drivers/gpu/drm/i915/intel_panel.c
|
||||
+++ a/drivers/gpu/drm/i915/intel_panel.c
|
||||
@@ -1715,6 +1715,7 @@
|
||||
|
||||
panel->backlight.present = true;
|
||||
|
||||
+ intel_panel_set_backlight(intel_connector, panel->backlight.max*75/100, panel->backlight.max);
|
||||
DRM_DEBUG_KMS("Connector %s backlight initialized, %s, brightness %u/%u\n",
|
||||
connector->name,
|
||||
panel->backlight.enabled ? "enabled" : "disabled",
|
@ -1 +1 @@
|
||||
7df0d8be79c7e2250d82d9040fe2c8b855725325
|
||||
71088fe54dc4e32413dac2c7a124f4e3e6783342
|
||||
|
@ -194,5 +194,6 @@ PATCH_OPT(patches/usb_usbnet.patch) := $(USB_OPT)
|
||||
# INTEL FB
|
||||
PATCH_OPT(patches/intel_fb_export_api.patch) := -p1 -d$(SRC_DIR_INTEL_FB)
|
||||
PATCH_OPT(patches/intel_fb_drm_remove.patch) := -p1 -d$(SRC_DIR_INTEL_FB)
|
||||
PATCH_OPT(patches/intel_fb_backlight.patch) := -p1 -d$(SRC_DIR_INTEL_FB)
|
||||
|
||||
# vi: set ft=make :
|
||||
|
Loading…
x
Reference in New Issue
Block a user