[Intel-gfx] [PATCH v4] drm/i915/psr: Add PSR mode/revision to debugfs

2018-08-22 Thread Azhar Shaikh
Log the PSR mode/revision (PSR1 or PSR2) in the debugfs file i915_edp_psr_status. Suggested-by: Dhinakaran Pandiyan Signed-off-by: Azhar Shaikh --- Changes in v4: - Fix the rebase error in v3 of adding typecast to bool - in i915_edp_psr_status(), which is not needed Changes in v3: - rebased

[Intel-gfx] [PATCH v3] drm/i915/psr: Add PSR mode/revision to debugfs

2018-08-20 Thread Azhar Shaikh
Log the PSR mode/revision (PSR1 or PSR2) in the debugfs file i915_edp_psr_status. Signed-off-by: Azhar Shaikh --- Changes in v3: - rebased Changes in v2: - Fix checkpatch warning. - Add Reviewed-by: from v1 drivers/gpu/drm/i915/i915_debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1

[Intel-gfx] [PATCH v2] drm/i915/psr: Add PSR mode/revision to debugfs

2018-08-09 Thread Azhar Shaikh
Log the PSR mode/revision (PSR1 or PSR2) in the debugfs file i915_edp_psr_status. Suggested-by: Dhinakaran Pandiyan Signed-off-by: Azhar Shaikh Reviewed-by: Dhinakaran Pandiyan --- Changes in v2: - Fix checkpatch warning. - Add Reviewed-by: from v1 drivers/gpu/drm/i915/i915_debugfs.c | 2

[Intel-gfx] [PATCH] drm/i915/psr: Add PSR mode/revision to debugfs

2018-08-08 Thread Azhar Shaikh
Log the PSR mode/revision (PSR1 or PSR2) in the debugfs file i915_edp_psr_status. Suggested-by: Dhinakaran Pandiyan Signed-off-by: Azhar Shaikh --- drivers/gpu/drm/i915/i915_debugfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm

[Intel-gfx] [PATCH v8] drm/i915: Fix assert_plane() warning on bootup with external display

2018-07-06 Thread Azhar Shaikh
return value of intel_initial_commit() and print a message in case of an error Changes in v3: - Add comments Changes in v2: - Force all planes to recompute their states.(Ville Syrjälä) - Update the commit message Signed-off-by: Azhar Shaikh Reviewed-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_di

[Intel-gfx] [PATCH v7] drm/i915: Fix assert_plane() warning on bootup with external display

2018-07-06 Thread Azhar Shaikh
of an error Changes in v3: - Add comments Changes in v2: - Force all planes to recompute their states.(Ville Syrjälä) - Update the commit message Signed-off-by: Azhar Shaikh --- drivers/gpu/drm/i915/intel_display.c | 61 ++-- 1 file changed, 59 insertions(+),

[Intel-gfx] [PATCH v6] drm/i915: Fix assert_plane() warning on bootup with external display

2018-07-03 Thread Azhar Shaikh
return value of intel_initial_commit() and print a message in case of an error Changes in v3: - Add comments Changes in v2: - Force all planes to recompute their states.(Ville Syrjälä) - Update the commit message Signed-off-by: Azhar Shaikh --- drivers/gpu/drm/i915/intel_di

[Intel-gfx] [PATCH v5] drm/i915: Fix assert_plane() warning on bootup with external display

2018-06-27 Thread Azhar Shaikh
ore than one active crtc on boot. - Save the return value of intel_initial_commit() and print a message in case of an error Changes in v3: - Add comments Changes in v2: - Force all planes to recompute their states.(Ville Syrjälä) - Update the commit message Signed-off-by: Azhar Shaikh Cc: Ville

[Intel-gfx] [PATCH v4] drm/i915: Fix assert_plane() warning on bootup with external display

2018-06-26 Thread Azhar Shaikh
tes in probe. Signed-off-by: Azhar Shaikh --- Changes in v4: - Handle locking in intel_initial_commit() - Move the for loop inside intel_initial_commit() so that drm_atomic_commit() is called only once - Call intel_initial_commit() only for more than one active crtc on boot. - Save the

[Intel-gfx] [PATCH v3] drm/i915: Fix assert_plane() warning on bootup with external display

2018-06-25 Thread Azhar Shaikh
tes in probe. Signed-off-by: Azhar Shaikh --- Changes in v3: - Add comments Changes in v2: - Force all planes to recompute their states.(Ville Syrjälä) - Update the commit message drivers/gpu/drm/i915/intel_display.c | 54 1 file changed, 54 insertions(+)

[Intel-gfx] [PATCH v2] drm/i915: Fix assert_plane() warning on bootup with external display

2018-06-25 Thread Azhar Shaikh
tes in probe. Signed-off-by: Azhar Shaikh --- Changes in v2: - Force all planes to recompute their states.(Ville Syrjälä) - Update the commit message drivers/gpu/drm/i915/intel_display.c | 49 1 file changed, 49 insertions(+) diff --git a/drivers/

[Intel-gfx] [RFC] drm/i915: Fix assert_plane() warning on bootup with external display

2018-06-17 Thread Azhar Shaikh
NE_CTL register, OR it with intel_plane_state->ctl and then write it to PLANE_CTL register instead of just relying on intel_plane_state->ctl value. Signed-off-by: Azhar Shaikh --- drivers/gpu/drm/i915/intel_sprite.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_sp

[Intel-gfx] [PATCH v2] drm/i915: Add an option to disable SAGV

2018-02-28 Thread Azhar Shaikh
to debug the issue. Having a module parameter will help in debugging the system hang. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104975 Signed-off-by: Azhar Shaikh <azhar.sha...@intel.com> --- Changes from v1: - Update the title and commit message. - Rename the module param to enabl

[Intel-gfx] [PATCH] drm/i915: Add a parameter to disable SAGV

2018-02-26 Thread Azhar Shaikh
SAGV handling is currently broken which can result in system hangs. Add a parameter to disable SAGV, till the SAGV handling is fixed. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104975 Signed-off-by: Azhar Shaikh <azhar.sha...@intel.com> --- drivers/gpu/drm/i915/i915_params