drm/vmwgfx: Calculate the cursor position based on the crtc gui origin
Base the cursor position on the coordinate of the crtc origin in the gui coordinate system rather than in the framebuffer coordinate system. With explicit placement, these may differ (for example when two crtcs scan out of the same framebuffer location). Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
此提交包含在:
@@ -179,6 +179,8 @@ struct vmw_display_unit {
|
||||
int gui_y;
|
||||
bool is_implicit;
|
||||
bool active_implicit;
|
||||
int set_gui_x;
|
||||
int set_gui_y;
|
||||
};
|
||||
|
||||
#define vmw_crtc_to_du(x) \
|
||||
|
新增問題並參考
封鎖使用者