struct drm_device *drm;
};
-#define XLNX_CRTC_MAX_HEIGHT_WIDTH UINT_MAX
+#define XLNX_CRTC_MAX_HEIGHT_WIDTH INT_MAX
unsigned int xlnx_crtc_helper_get_align(struct xlnx_crtc_helper *helper)
{
int xlnx_crtc_helper_get_max_width(struct xlnx_crtc_helper *helper)
{
struct xlnx_crtc *crtc;
- unsigned int width = XLNX_CRTC_MAX_HEIGHT_WIDTH, tmp;
+ int width = XLNX_CRTC_MAX_HEIGHT_WIDTH, tmp;
list_for_each_entry(crtc, &helper->xlnx_crtcs, list) {
if (crtc->get_max_width) {
int xlnx_crtc_helper_get_max_height(struct xlnx_crtc_helper *helper)
{
struct xlnx_crtc *crtc;
- unsigned int height = XLNX_CRTC_MAX_HEIGHT_WIDTH, tmp;
+ int height = XLNX_CRTC_MAX_HEIGHT_WIDTH, tmp;
list_for_each_entry(crtc, &helper->xlnx_crtcs, list) {
if (crtc->get_max_height) {