This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | |
index 3e1be9894..eee410758 100644 | |
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | |
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | |
@@ -2719,6 +2719,9 @@ static u32 *dw_hdmi_bridge_atomic_get_output_bus_fmts(struct drm_bridge *bridge, | |
* if supported. In any case the default RGB888 format is added | |
*/ | |
+ /* Default 8bit RGB fallback */ | |
+ output_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/MAINTAINERS b/MAINTAINERS | |
index 3b79fd441dde..c7f17525b340 100644 | |
--- a/MAINTAINERS | |
+++ b/MAINTAINERS | |
@@ -13400,6 +13400,12 @@ S: Maintained | |
F: drivers/video/fbdev/nvidia/ | |
F: drivers/video/fbdev/riva/ | |
+NVIDIA WMI EC BACKLIGHT DRIVER | |
+M: Daniel Dadap <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import contextlib | |
import functools | |
from kivy.core.video import video_ffpyplayer | |
from kivy.factory import Factory | |
from kivy.properties import BooleanProperty | |
from kivy.uix import video | |
_orig_media_player = video_ffpyplayer.MediaPlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sqlalchemy import Column, Float, ForeignKey, Integer, String | |
from sqlalchemy.orm import relationship | |
from . import Base | |
class Dealership(Base): | |
__tablename__ = 'dealerships' | |
id = Column(Integer, primary_key=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@dataclass | |
class Event: | |
callback_name: str | |
def __call__(self, args_converter): | |
def register(cls, handler): | |
@functools.wraps(handler) | |
def wrapper(*args): | |
return handler(*args_converter(cls, *args)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
import time | |
from dbus import SystemBus, Interface | |
from dbus.mainloop.glib import DBusGMainLoop, threads_init | |
from gi.repository import GLib | |
UDISKS2_SERVICE = 'org.freedesktop.UDisks2' | |
BLOCK_INTERFACE = f'{UDISKS2_SERVICE}.Block' | |
FILESYSTEM_INTERFACE = f'{UDISKS2_SERVICE}.Filesystem' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass, field | |
from typing import Callable, List | |
from samp import ( | |
INVALID_TEXT_DRAW, | |
CancelSelectTextDraw, | |
CreatePlayerTextDraw, | |
GetTickCount, | |
IsPlayerConnected, | |
PlayerTextDrawAlignment, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inspect | |
import types | |
import samp | |
t_unauthorized = 'You are not allowed to use this command' | |
t_unauthd_color = 0xFF1111FF | |
_cmd_list = dict() | |
current_cmd = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import functools | |
import time | |
import trio | |
from kivy.app import App | |
from kivy.clock import Clock | |
from kivy.lang import Builder | |
from kivy.properties import NumericProperty | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from samp import ( | |
MAX_PLAYERS, | |
GetPlayerName, | |
GetPlayerScore, | |
IsPlayerConnected, | |
KillTimer, | |
SendClientMessage, | |
SetPlayerScore, | |
SetTimer, | |
) |