I tried for hours on no end to patch on 12.0
patch: **** malformed patch at line xyz: } is killing me
chatgpt is no help in this issue
Rant about Samugn TV
Samsung TVs are just annoying. The moment you connect something like a PC, the TV decides: “Oh, you’re using a computer? Then you definitely don’t want correct color profiles.”
Yes, Samsung. I actually do.
There’s supposed to be a fix. If you set the HDMI input to Cable Box, everything suddenly looks normal again. But it doesn’t last. As soon as something glitches, the TV updates, or the input is detected again, the settings reset and you have to redo the entire process.
my tried patch
Diff
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -2194,11 +2194,18 @@ intel_hdmi_sink_format(const struct intel_crtc_state *crtc_state,
if (!crtc_state->has_hdmi_sink)
return INTEL_OUTPUT_FORMAT_RGB;
- if (connector->base.ycbcr_420_allowed && ycbcr_420_output)
- return INTEL_OUTPUT_FORMAT_YCBCR420;
- else
- return INTEL_OUTPUT_FORMAT_RGB;
+ /* Prefer full YCbCr444 if supported */
+ if (crtc_state->output_format == INTEL_OUTPUT_FORMAT_YCBCR444 ||
+ connector->ycbcr_444_allowed)
+ return INTEL_OUTPUT_FORMAT_YCBCR444;
+
+ /* Fallback to YCbCr420 if available */
+ if (connector->base.ycbcr_420_allowed && ycbcr_420_output)
+ return INTEL_OUTPUT_FORMAT_YCBCR420;
+
+ /* Otherwise: RGB */
+ return INTEL_OUTPUT_FORMAT_RGB;
}
Display More
I would really love it if someone could make a newer version of the Sky42 image.