Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323207
b: refs/heads/master
c: 3a75885
h: refs/heads/master
i:
  323205: a481e23
  323203: daa2b9e
  323199: 35d3280
v: v3
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Sep 26, 2012
1 parent 4109a75 commit 57249df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68c4fce737c4b963e336435f225621dc21138397
refs/heads/master: 3a75885848996baab5276ff37ebf7295c3c753f0
7 changes: 7 additions & 0 deletions trunk/drivers/gpu/drm/udl/udl_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ static int udl_get_modes(struct drm_connector *connector)
static int udl_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode)
{
struct udl_device *udl = connector->dev->dev_private;
if (!udl->sku_pixel_limit)
return 0;

if (mode->vdisplay * mode->hdisplay > udl->sku_pixel_limit)
return MODE_VIRTUAL_Y;

return 0;
}

Expand Down

0 comments on commit 57249df

Please sign in to comment.