drm/tilcdc add call to pm_runtime_irq_safe

set_scanout is called in irq context, which then calls pm_runtime_get_sync
which is not irq safe.  Adding a call to pm_runtime_irq_safe allows
pm_runtime_get_sync to be called from irq.  This eliminates a kernel oops from
occuring when modetest -v is used to do a flip test with pm enabled in the
kernel.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drm/tilcdc: restore correct display mode and contents on pm resume

On resume the screen contents were not being restored properly.  Looking at
other DRM drivers it seems a call to drm_helper_resume_force_mode() is needed
in the resume handler to force restoration of the mode and framebuffer data.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
fbdev: da8xx-fb: disable console switching during pm operations

The default behavior of consoles during power management operations is: On
entry to suspend a new console is allocated and switched to. On resume the
original console is restored.

However this isn't the observed behavior and the original console is not
restored. This commit avoids the problem by disabling the switching of
consoles at suspend/resume. This works because the driver already restores
all necessary hardware context during such pm operations.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
drm/tilcdc: disable console switching during pm operations

The default behavior of consoles during power management operations is: On
entry to suspend a new console is allocated and switched to. On resume the
original console is restored.

However this isn't the observed behavior and the original console is not
restored. This commit avoids the problem by disabling the switching of
consoles at suspend/resume. This works because the driver already restores
all necessary hardware context during such pm operations.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Merge branch 'audio-display-ti-linux-3.14.y' of git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree into ti-linux-3.14.y

TI-Feature: audio-display
TI-Tree: git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree.git
TI-Branch: audio-display-ti-linux-3.14.y

* 'audio-display-ti-linux-3.14.y' of git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree:
  drm/tilcdc: disable console switching during pm operations
  fbdev: da8xx-fb: disable console switching during pm operations
  drm/tilcdc: restore correct display mode and contents on pm resume
  drm/tilcdc add call to pm_runtime_irq_safe

Signed-off-by: Dan Murphy <DMurphy@ti.com>
system_test.cfg: Added config fragment for system test build

This patch adds config fragment for system test build

Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>