Skip to content

Commit 4e3f3ad

Browse files
committed
drm/i915: Set PKG_C_LATENCY.added_wake_time to 0
AFAIK PKG_C_LATENCY.added_wake_time only matters for flip queue. As long as we're not using that there's no point in adding any extra wake time. Reviewed-by: Uma Shankar <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0dc6bfb commit 4e3f3ad

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/gpu/drm/i915/display/skl_watermark.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@
3333
#include "skl_watermark.h"
3434
#include "skl_watermark_regs.h"
3535

36-
/*It is expected that DSB can do posted writes to every register in
37-
* the pipe and planes within 100us. For flip queue use case, the
38-
* recommended DSB execution time is 100us + one SAGV block time.
39-
*/
40-
#define DSB_EXE_TIME 100
41-
4236
struct intel_dbuf_state {
4337
struct intel_global_state base;
4438

@@ -2899,9 +2893,6 @@ intel_program_dpkgc_latency(struct intel_atomic_state *state)
28992893
}
29002894

29012895
if (fixed_refresh_rate) {
2902-
added_wake_time = DSB_EXE_TIME +
2903-
display->sagv.block_time_us;
2904-
29052896
latency = skl_watermark_max_latency(display, 1);
29062897

29072898
/* Wa_22020432604 */

0 commit comments

Comments
 (0)