gpu/amd: Force RGB output for HDMI
This commit is contained in:
parent
7931f1f3f5
commit
44aa1d363f
|
@ -11,4 +11,17 @@
|
||||||
radeontop
|
radeontop
|
||||||
rocm-smi
|
rocm-smi
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# force RGB otput for HDMI (otherwise the default is YCbCr)
|
||||||
|
# see https://gitlab.freedesktop.org/drm/amd/-/issues/476
|
||||||
|
# FIXME: remove once sayuri uses DisplayPort
|
||||||
|
boot.kernelPatches = [
|
||||||
|
{
|
||||||
|
name = "force-rgb";
|
||||||
|
patch = pkgs.fetchurl {
|
||||||
|
url = "https://gitlab.freedesktop.org/drm/amd/uploads/99b3664a49ec759075bde5c454e1d7c2/0001-force-rgb.patch";
|
||||||
|
sha256 = "03dhnlxx9vlj1x8izh3c3j4r9s75q47nx8kf6mbdxqfy3cj96mjm";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue