File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7830,9 +7830,6 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)
7830
7830
7831
7831
intel_program_dpkgc_latency (state );
7832
7832
7833
- if (state -> modeset )
7834
- intel_set_cdclk_post_plane_update (state );
7835
-
7836
7833
intel_wait_for_vblank_workers (state );
7837
7834
7838
7835
/* FIXME: We should call drm_atomic_helper_commit_hw_done() here
@@ -7906,6 +7903,8 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)
7906
7903
intel_verify_planes (state );
7907
7904
7908
7905
intel_sagv_post_plane_update (state );
7906
+ if (state -> modeset )
7907
+ intel_set_cdclk_post_plane_update (state );
7909
7908
intel_pmdemand_post_plane_update (state );
7910
7909
7911
7910
drm_atomic_helper_commit_hw_done (& state -> base );
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ static unsigned int tile_row_pages(const struct drm_i915_gem_object *obj)
164
164
* 4 - Support multiple fault handlers per object depending on object's
165
165
* backing storage (a.k.a. MMAP_OFFSET).
166
166
*
167
+ * 5 - Support multiple partial mmaps(mmap part of BO + unmap a offset, multiple
168
+ * times with different size and offset).
169
+ *
167
170
* Restrictions:
168
171
*
169
172
* * snoopable objects cannot be accessed via the GTT. It can cause machine
@@ -191,7 +194,7 @@ static unsigned int tile_row_pages(const struct drm_i915_gem_object *obj)
191
194
*/
192
195
int i915_gem_mmap_gtt_version (void )
193
196
{
194
- return 4 ;
197
+ return 5 ;
195
198
}
196
199
197
200
static inline struct i915_gtt_view
You can’t perform that action at this time.
0 commit comments