disp: msm: dp: clear cache upon writing to edid debugfs node
Currently, any edids read by the driver are cached in the sde_connector object. In the event that subsequent edids are written, the cached edid is used instead of the newly written edid. In the event a new edid is written to the edid debugfs node over dpsim, this change clears the current cached edid before overwriting the new one. Change-Id: I53f870e97c3b9ac5954d193f74e4b272386f67a8 Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
这个提交包含在:
@@ -18,6 +18,7 @@
|
||||
#include "dp_pll.h"
|
||||
#include "dp_hpd.h"
|
||||
#include "dp_mst_sim.h"
|
||||
#include "dp_mst_drm.h"
|
||||
|
||||
#define DEBUG_NAME "drm_dp"
|
||||
|
||||
@@ -178,6 +179,7 @@ static ssize_t dp_debug_write_edid(struct file *file,
|
||||
}
|
||||
|
||||
dp_debug_enable_sim_mode(debug, DP_SIM_MODE_EDID);
|
||||
dp_mst_clear_edid_cache(debug->display);
|
||||
dp_sim_update_port_edid(debug->sim_bridge, debug->mst_edid_idx,
|
||||
edid, edid_size);
|
||||
bail:
|
||||
|
在新工单中引用
屏蔽一个用户