Install a shell script based on instructions on GitHub repo. After running this shell, you can find your current display’s ProductID and VendorID.
According to these 2 IDs, generate your configure file on this page.
Turn off your Mac’s SIP:
Restart your Mac and go to the recovery mode by pressing ⌘+R
In recovery mode, open terminal and execute csrutil disable to disable SIP
Move the config file to this path: /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-{yourVendorID}/DisplayProductID-{yourProductID}. Restart your computer then.