[PATCH] amdgpu: fix edp brightness control on some HP laptops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a workaround to this issue:
https://gitlab.freedesktop.org/drm/amd/-/issues/3701

Signed-off-by: poscat <poscat0x04@xxxxxxxxxxx>
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
index f9961a6446f3..a82fe9f8193f 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
@@ -173,7 +173,7 @@ void dcn31_panel_cntl_construct(
 	dcn31_panel_cntl->base.ctx = init_data->ctx;
 	dcn31_panel_cntl->base.inst = init_data->inst;
 
-	if (dcn31_panel_cntl->base.ctx->dc->config.support_edp0_on_dp1) {
+	if (true) {
 		//If supported, power sequencer mapping shall follow the DIG instance
 		uint8_t pwrseq_inst = 0xF;
 
-- 
2.48.1




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux