display: re-implement assignToDevice method

1. Re-implement assignToDevice method for TngPrimaryPlane
class to get plane ModeInfo.
2. Remove the formula to calculate screen position when
rotation is enabled, since the calculation method of
screen position should be same no matter whether rotation feature
is enabled or not.

Change-Id: I1e265fa149c2559a90448693bdf563ebcb1af72f
Tracked-On: https://jira01.devtools.intel.com/browse/AW-690
Signed-off-by: wenshelx <[email protected]>
2 files changed
tree: d8dfd484c3ea3ac996fc8fa038e2cf42be2b67c9
  1. merrifield/
  2. moorefield_hdmi/